All Practice Exams

100+ Free HTB CPTS Practice Questions

Prepare for the HTB Certified Penetration Testing Specialist exam with instant access — no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
100+ Questions
100% Free

Loading practice questions...

2026 Statistics

Key Facts: HTB CPTS Exam

10 days

Exam Duration

Hack The Box

12/14 flags

Minimum Passing Requirement

Hack The Box

~8 machines

Target Machines in Exam

Hack The Box

28 modules

Path Prerequisite

HTB Academy

~$490/yr

Student Subscription

Hack The Box

Report required

Commercial-Grade Report

Hack The Box

HTB CPTS is a 10-day practical penetration testing exam requiring candidates to capture at least 12 of 14 flags across approximately 8 Linux and Windows machines in a simulated enterprise environment (including Active Directory), then submit a commercial-grade report. Prerequisites include completing all 28 modules of the HTB Academy Penetration Tester path. This practice exam covers knowledge areas: Nmap, ffuf, BloodHound, Kerberoasting, Metasploit, SQLi, LFI, privesc, and AD attacks.

Sample HTB CPTS Practice Questions

Try these sample questions to test your HTB CPTS exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1Which Nmap flag performs a TCP SYN (half-open) scan without completing the three-way handshake?
A.-sS
B.-sT
C.-sU
D.-sA
Explanation: -sS sends a SYN packet and waits for SYN/ACK or RST without completing the handshake, making it stealthier than a full TCP connect scan. It is the default scan type when run as root. The incomplete handshake reduces logging on many systems.
2Which Nmap flag enables service version detection on open ports?
A.-O
B.-sC
C.-sV
D.-A
Explanation: -sV probes open ports and attempts to determine the running service and version. This is essential during footprinting to identify exact software versions that may have known CVEs. Without -sV, Nmap only reports the port state.
3During footprinting, you want to enumerate all 65,535 TCP ports on a target. Which Nmap flag set achieves this?
A.-p-
B.-p 1-1024
C.--top-ports 1000
D.-F
Explanation: -p- is shorthand for -p 1-65535 and instructs Nmap to scan every TCP port. This is critical during thorough penetration tests because services running on non-standard ports (e.g., a web server on 8080 or SSH on 2222) would be missed by the default top-1000 scan.
4What is the primary purpose of the Nmap Scripting Engine (NSE) category 'vuln'?
A.Check for known vulnerabilities using scripts that produce actionable results
B.Enumerate open shares and user accounts
C.Brute-force service credentials
D.Fingerprint the operating system by TTL values
Explanation: The 'vuln' NSE category runs scripts designed to detect specific known vulnerabilities (e.g., ms17-010 for EternalBlue, http-shellshock). These scripts produce results that directly support the vulnerability assessment phase of a penetration test.
5Which ffuf flag specifies the wordlist used for web directory fuzzing?
A.-w
B.-u
C.-d
D.-H
Explanation: -w specifies the wordlist file path in ffuf. A typical command is: ffuf -u http://TARGET/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt. The FUZZ keyword in the URL is replaced with each wordlist entry during fuzzing.
6You are fuzzing for virtual hosts on a web server. Which ffuf flag tells it to match only responses with a specific HTTP response code?
A.-mc
B.-ms
C.-mr
D.-fc
Explanation: -mc (match code) filters results to only show responses with specified HTTP status codes. For example, -mc 200,301 shows only successful or redirected responses. This is essential when fuzzing vhosts or subdomains to filter out noise from default 404 responses.
7What does the 'FUZZ' keyword in an ffuf command represent?
A.A placeholder replaced by each wordlist entry during the scan
B.The output file path where results are saved
C.The authentication token for the target application
D.The filter pattern to exclude false positives
Explanation: FUZZ is the injection point marker in ffuf. When placed in the URL, headers, or POST body, each wordlist entry replaces FUZZ in turn. Multiple injection points (FUZZ, FUZ2Z, etc.) can be used for multi-parameter fuzzing simultaneously.
8Which protocol does Kerberoasting attack to retrieve service account ticket hashes for offline cracking?
A.NTLM
B.LDAP
C.Kerberos
D.SMB
Explanation: Kerberoasting exploits the Kerberos protocol. Any authenticated domain user can request a TGS (service ticket) for any SPN-registered service account. The TGS is encrypted with the service account's NTLM hash, which can be extracted and cracked offline using tools like hashcat or John the Ripper.
9Which tool is used to perform Kerberoasting from a Linux host, requesting TGS tickets for all SPNs in a domain?
A.BloodHound
B.Rubeus
C.GetUserSPNs.py (Impacket)
D.CrackMapExec
Explanation: Impacket's GetUserSPNs.py is the primary Linux-side tool for Kerberoasting. It authenticates to the domain, enumerates all service principal names, requests TGS tickets, and outputs them in hashcat-crackable format (-request flag). Rubeus is the Windows-side equivalent.
10AS-REP Roasting is possible when a user account has which specific attribute set?
A.Do not require Kerberos preauthentication is enabled
B.Account is a member of Domain Admins
C.Account has an SPN registered
D.Account has a password that never expires
Explanation: AS-REP Roasting requires the 'Do not require Kerberos preauthentication' (UF_DONT_REQUIRE_PREAUTH) flag set on the account. Without preauthentication, the KDC responds to any AS-REQ with an AS-REP containing a part encrypted with the user's hash, which can be cracked offline without providing credentials.

About the HTB CPTS Exam

The HTB Certified Penetration Testing Specialist (CPTS) is a practical penetration testing certification from Hack The Box that validates skills across network enumeration, web application attacks, Active Directory exploitation, privilege escalation, and pivoting. Unlike multiple-choice exams, CPTS requires compromising real machines in a 10-day black-box enterprise lab environment and submitting a commercial-grade report.

Assessment

Performance-based assessment

Time Limit

10 days (240 hours)

Passing Score

12/14 flags + accepted report

Exam Fee

~$490/year (Student subscription) or standalone voucher (Hack The Box)

HTB CPTS Exam Content Outline

15%

Network Enumeration & Footprinting

Nmap scanning flags, NSE scripts, SMB/SNMP/DNS/LDAP/FTP enumeration, and service version detection

20%

Active Directory Enumeration & Attacks

BloodHound, Kerberoasting, AS-REP roasting, DCSync, Pass-the-Hash, NTLM relay, ACL abuse, and Golden/Silver tickets

15%

Web Attacks

SQL injection, LFI/RFI, command injection, XSS, IDOR, SSRF, XXE, file upload bypasses, and ffuf fuzzing

15%

Linux & Windows Privilege Escalation

SUID abuse, sudo misconfigs, cron jobs, unquoted service paths, SeImpersonatePrivilege, Potato exploits, and LinPEAS/WinPEAS

15%

Password Attacks

Hashcat modes, John the Ripper, credential dumping (SAM/NTDS), password spraying, and Pass-the-Hash

10%

Shells, Payloads & Post-Exploitation

msfvenom, Metasploit modules, Meterpreter commands, shell upgrades, and file transfer techniques

5%

Pivoting & Tunneling

SSH port forwarding, Chisel SOCKS5 proxy, proxychains, and multi-hop network traversal

5%

Pentest Process & Documentation

Pre-engagement scoping, Rules of Engagement, MITRE ATT&CK mapping, CVSS scoring, and professional report writing

How to Pass the HTB CPTS Exam

What You Need to Know

  • Passing score: 12/14 flags + accepted report
  • Assessment: Performance-based assessment
  • Time limit: 10 days (240 hours)
  • Exam fee: ~$490/year (Student subscription) or standalone voucher

Keys to Passing

  • Work through all 100 available questions
  • Review every answer and explanation
  • Track weak areas and revisit them
  • Use our AI tutor for tough concepts

HTB CPTS Study Tips from Top Performers

1Complete every HTB Academy Penetration Tester module thoroughly, including skills assessments — the exam requires full path completion
2Master BloodHound for AD attack path discovery — it is the most important tool for the AD portion of the exam
3Practice Kerberoasting, AS-REP Roasting, and Pass-the-Hash from both Windows and Linux using Impacket and Rubeus
4Build a personal methodology document covering enumeration → exploitation → post-exploitation → AD attacks → reporting
5Practice writing professional pentest reports throughout your preparation — not just at the end
6Use Chisel and proxychains for pivoting — you will almost certainly need multi-hop access in the exam environment
7Run LinPEAS and WinPEAS on every compromised machine immediately to surface privilege escalation vectors
8Set up a Kali Linux VM with all tools pre-installed before the exam — Impacket, Evil-WinRM, BloodHound, Chisel, ffuf
9Complete retired HTB machines rated Easy/Medium — Forest, Active, Sauna, and Cascade are excellent AD practice

Frequently Asked Questions

What is the HTB CPTS exam format?

The HTB CPTS exam is a 10-day (240-hour) practical black-box penetration test conducted via VPN against approximately 8 Linux and Windows machines in a simulated enterprise environment including Active Directory. Candidates receive a letter of engagement defining scope. They must capture at least 12 of 14 flags and submit a commercial-grade penetration test report. Both the flag threshold and an accepted report are required for certification.

What are the prerequisites for the HTB CPTS?

Candidates must complete all 28 modules of the HTB Academy Penetration Tester job-role path at 100% before the exam becomes accessible. Each module includes skills assessments that must be completed. The path covers enumeration, web attacks, Active Directory attacks, privilege escalation, pivoting, password attacks, and reporting — approximately 150-300 hours of study.

How should I prepare for the HTB CPTS?

Complete every module in the HTB Academy Penetration Tester path thoroughly, including all skills assessments. Practice on retired HTB machines that match CPTS difficulty (Easy to Medium). Focus especially on Active Directory attacks (BloodHound, Kerberoasting, Pass-the-Hash), web attacks (SQLi, LFI, command injection), and privilege escalation on both Linux and Windows. Practice report writing alongside your technical skills — the report is separately graded.

How does the HTB CPTS compare to the OSCP?

Both are practical penetration testing certifications, but they differ in scope and format. OSCP (24 hours) tests exploitation and AD compromise with a specific scoring structure; CPTS (10 days) provides more time and covers a broader range of web attacks, footprinting, and methodology documentation. CPTS costs less (~$490/year vs $1,699+) and is gaining industry recognition, particularly among HTB community members. Many candidates pursue both.

What does the CPTS professional report require?

The HTB CPTS report must be a commercial-grade penetration test document including an executive summary, methodology description, detailed findings with risk ratings and remediation recommendations, proof screenshots with flag captures, and supporting evidence for each compromise. HTB provides a sample report structure. The report is reviewed by HTB staff and must demonstrate professional technical writing quality in addition to correct findings.

Is this practice exam like the real HTB CPTS?

No — this is a knowledge-prep multiple-choice practice exam. The real HTB CPTS requires actually compromising machines in a live lab environment over 10 days. These practice questions build conceptual knowledge of tools (Nmap, BloodHound, Metasploit), techniques (Kerberoasting, Pass-the-Hash, LFI), and methodology that underpin practical exploitation. Use this alongside hands-on HTB machine practice for complete exam preparation.