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
blackbox-pentesting-infsecos — Full black-box penetration test against SecOS:1 (VulnHub) — CSRF exploitation, privilege escalation via CVE-2015-1328 (OverlayFS), post-exploitation | Kitploit
Tools/GitHubGitHub/saqib-butt2/blackbox-pentesting-infsecos
Password CrackingPrivilege EscalationReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationCTFPenetration Testing

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Command and Control
GitHubsaqib-butt2/blackbox-pentesting-infsecos

blackbox-pentesting-infsecos

Full black-box penetration test against SecOS:1 (VulnHub) — CSRF exploitation, privilege escalation via CVE-2015-1328 (OverlayFS), post-exploitation

View Repository
3 months agoNot yet reviewed

Black-Box Penetration Test — SecOS:1 (VulnHub)


Overview

Full black-box penetration test against SecOS:1, a deliberately vulnerable CTF machine from VulnHub. Objective: simulate a real-world attacker with zero prior knowledge and achieve root-level compromise, evidenced by retrieving /root/flag.txt.

All testing was conducted within a controlled virtual lab (Apporto Cloud) as part of a university module. No real systems were targeted.


Lab Environment

MachineRoleIP
Kali Linux (saqib85)Attacker192.168.122.186
SecOS:1 (InfoSecOS)Primary Target192.168.122.202
Ubuntu DVWAAdditional Target192.168.122.51
Windows XPAdditional Target192.168.122.6
  • Network: NAT — 192.168.122.0/24
  • Platform: Apporto Cloud Lab

Methodology

Followed the Hacking Exposed framework (McClure, Scambray & Kurtz, 2003):

  1. Information Gathering (Footprinting)
  2. Scanning & Mapping
  3. Enumeration
  4. Vulnerability Assessment
  5. Gaining Access
  6. Privilege Escalation
  7. Post Exploitation -> Pilfering -> Covering Tracks -> Backdoor Creation

Attack Chain

Vulnerabilities Identified — 22 Total (Nessus)

Tools Used


Repository Files

FileDescription
README.mdThis file
exploit-commands.shAll commands across every phase

Recommendations

  1. CSRF tokens on all state-changing endpoints; require current password to change password
  2. Patch OS and services — upgrade Ubuntu, OpenSSH, and Node.js; apply kernel patches
  3. MongoDB authentication — enforce credentials; never leave unauthenticated
  4. Password hashing — replace SHA-256 with Argon2 or bcrypt with salting
  5. SSH hardening — disable password auth; use key-based authentication only
  6. HTTP security headers — add X-Frame-Options, X-Content-Type-Options, CSP

Evidence

CSRF — hint page source code

hint page source

CSRF — Apache log confirming spiderman accessed the link

apache log

Spiderman login with abc123

spiderman login

SSH access as spiderman

ssh login

MongoDB records extracted

mongodb

Backdoor user created

backdoor user

Cron job reverse shell configured

cronjob

Cron job connection to Kali confirmed

cronjob connection

References

  • McClure, S., Scambray, J. and Kurtz, G. (2003) Hacking Exposed. McGraw-Hill/Osborne.
  • VulnHub — https://www.vulnhub.com/entry/secos-1,88/
  • Exploit-DB 37292 — https://www.exploit-db.com/exploits/37292
  • PEASS-ng LinPEAS — https://github.com/peass-ng/PEASS-ng

Disclaimer: All testing was conducted against a deliberately vulnerable CTF machine within a controlled university lab environment (CSI_7_PTE, LSBU). Authorised for educational purposes only.

Download Tool
StepActionDetail
1Network DiscoveryNmap · Netdiscover identified 192.168.122.202 as target
2Port ScanPort 22 (OpenSSH 6.6p1) · Port 8081 (Node.js/Express)
3Web EnumerationGobuster · Dirb · Nikto → found /hint, /change-password, /users, /messages
4CSRF ExploitCrafted holidays.html → sent to admin spiderman → password changed to abc123
5Credential DiscoverySpiderman inbox contained SSH password: CrazyPassword!
6SSH AccessShell gained as spiderman on port 22
7Privilege EscalationLinPEAS → kernel 3.13.0-24 → CVE-2015-1328 (OverlayFS) → root shell
8Proof of CompromiseRetrieved /root/flag.txt
9Post ExploitationDumped /etc/passwd and /etc/shadow · extracted MongoDB records · cracked SHA-256 hashes · cleared logs · created backdoor user + cron reverse shell on port 4444
VulnerabilitySeverityCVSSCVE
Ubuntu 14.04 LTS — End of LifeCritical10.0—
OverlayFS privilege escalationCritical—CVE-2015-1328
OpenSSH 6.6p1 — outdated / username enumHigh7.8CVE-2018-15473
Node.js RCE via node-serializeHigh7.5—
CSRF on /change-password endpointHigh——
MongoDB — no authenticationHigh——
SHA-256 hashing without saltingHigh——
Slowloris DoSMedium5.0CVE-2007-6750
Missing HTTP security headersLow——
ICMP timestamp disclosureLow2.1—
CategoryTools
DiscoveryNmap, Netdiscover
Web EnumerationGobuster, Dirb, Nikto
Vulnerability AssessmentNessus Essentials, Searchsploit
ExploitationBurp Suite, Metasploit
Privilege EscalationLinPEAS, GCC, Exploit-DB 37292.c
Post ExploitationJohn the Ripper, Netcat, SSH
InfrastructureApache2 (payload hosting)
csrf-exploit.htmlCSRF payload that changed spiderman's password
user-creation.shAttacker user setup on Kali