Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
hacktivity-vulns-exploits-lab — Writeup + CVE analysis + countermeasures for the Hacktivity 'Vulnerabilities, Exploits, and Remote Access Payloads' lab (netcat shells, Metasploit, CVE-2010-1240, CVE-2004-2687). | Kitploit
Tools/GitHubGitHub/ocfagb/hacktivity-vulns-exploits-lab
Vulnerability AnalysisExploitationPost-ExploitationPenetration TestingLearning & EducationRed TeamingPayload DevelopmentLabs & Practice
GitHub
ocfagb/hacktivity-vulns-exploits-lab

hacktivity-vulns-exploits-lab

Writeup + CVE analysis + countermeasures for the Hacktivity 'Vulnerabilities, Exploits, and Remote Access Payloads' lab (netcat shells, Metasploit, CVE-2010-1240, CVE-2004-2687).

View Repository
6h 51m agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Vulnerabilities, Exploits, and Remote Access Payloads — lab writeup

My walkthrough and analysis of the Hacktivity Cyber Security Labs sheet "Vulnerabilities, Exploits, and Remote Access Payloads" (Ethical Hacking and Penetration Testing course, Leeds Beckett University).

It covers how software vulnerabilities lead to arbitrary code execution, the difference between bind and reverse shells, the Metasploit Framework, and two real CVEs exploited end to end against deliberately vulnerable training VMs:

CVETargetVector
CVE-2010-1240Adobe Reader < 8.1.2 (Windows)Client-side — malicious PDF with an embedded executable, social-engineering launch
CVE-2004-2687distcc (Linux)Remote — unauthenticated command execution in a network service

Contents

  • writeup.md — the full step-by-step walkthrough, every command annotated with what it does and the output to expect
  • analysis/ — deeper notes: bind vs. reverse shells, and a per-CVE breakdown (root cause, why it works, detection)
  • defence/countermeasures.md — how to prevent, detect, and limit the blast radius of each attack (answers the lab's "what countermeasures?" self-study questions)
  • reference/commands.md — condensed command reference
  • evidence/ — where run screenshots and transcripts go

Lab environment

Three VMs on an isolated host-only network (10.x.x.x/24), provisioned per lab-set by the Hacktivity platform:

HostRoleThis run
Kali Linuxattacker10.252.0.4
Windows victimAdobe Reader < 8.1.2, Netcat10.252.0.2
Linux victim serverdistcc10.252.0.3

The last octet is stable per role (.2 / .3 / .4); the first three change with each lab set.

Skills demonstrated

  • Payload theory: shellcode, staged vs. stageless, bind vs. reverse shells, and why reverse shells beat inbound-blocked firewalls and NAT
  • Netcat for manual shell handling
  • Metasploit Framework — msfconsole, module search, info / show options / set / check / run, multi/handler, msfvenom
  • Client-side exploitation — generating a weaponised document and delivering it over a self-hosted web server
  • Remote service exploitation — distcc_exec, TTY upgrade with python -c 'import pty; pty.spawn("/bin/bash")', basic post-exploitation
  • Mapping each step to defensive controls and MITRE ATT&CK techniques

Authorisation

Everything here was performed against my own allocated, deliberately vulnerable training VMs on an isolated network, as part of a structured security-education lab. No third-party systems were touched. The CVEs are from 2004 and 2010 and are long since patched.

Attribution and licence

Original lab sheet: "Vulnerabilities, Exploits, and Remote Access Payloads" by Z. Cliffe Schreuders, Anatoliy Gorbenko, and Thalita Vergilio — Hacktivity Cyber Security Labs, Cybercrime and Security Innovation Centre, Leeds Beckett University. Source: https://hacktivity.co.uk · https://github.com/cliffe/HacktivityLabSheets

This writeup is my own explanatory text and analysis, built while working through that lab. Licensed CC BY-SA 4.0 to match the original — see LICENSE.

Download Tool