CPTS Notes
Rex's notes on Hack The Box's CPTS course and exam preparation.
51 articles, 237 min of reading
- Foundations1 article1 article
- Passwords10 articles10 articles
- File Services4 articles4 articles
- Network2 articles2 articles
- Mail3 articles3 articles
- Databases2 articles2 articles
- Remote Access5 articles5 articles
- Linux6 articles6 articles
- File Transfer8 articles8 articles
- Windows6 articles6 articles
- Reference4 articles4 articles
Foundations
1 articlePasswords
10 articles- WordlistsWhich password wordlist to reach for first: the online and offline order across Kali defaults and SecLists.5 min, Oct 20, 20265 minOct 20, 2026
- CrackingCracking password hashes: identify the hash, let speed set the wordlist, and know why salt matters.4 min, Oct 20, 20264 minOct 20, 2026
- Protected FilesCracking password-protected files, keys, and archives: hunt them, extract a hash with 2john, then crack.3 min, Oct 20, 20263 minOct 20, 2026
- Spraying and DefaultsOnline credential attacks: password spraying, credential stuffing, and default credentials.2 min, Oct 20, 20262 minOct 20, 2026
- Hunting (Windows)Credential hunting on Windows: search files and apps by keyword with findstr and LaZagne, and the high-value spots to check.3 min, Oct 25, 20263 minOct 25, 2026
- Hunting (Linux)Credential hunting on Linux: search configs, databases, notes, scripts, history, and logs, then pull saved passwords from memory and browsers.4 min, Nov 6, 20264 minNov 6, 2026
- Hunting (Shares)Credential hunting across network shares: search SMB shares by keyword from Windows with Snaffler and PowerHuntShares, and from Linux with NetExec and MANSPIDER.3 min, Nov 6, 20263 minNov 6, 2026
- Hunting (Traffic)Credential hunting in network traffic: find cleartext logins and NTLM hashes in a capture with Wireshark filters and Pcredz.3 min, Nov 6, 20263 minNov 6, 2026
- Looting (Windows)Looting Windows credentials: dump the SAM, LSASS memory, Credential Manager, and NTDS.dit, then crack or pass the hash.7 min, Oct 25, 20267 minOct 25, 2026
- Looting (Linux)Looting Linux credentials: read /etc/passwd, /etc/shadow, and opasswd, identify the hash type, and crack it.3 min, Nov 6, 20263 minNov 6, 2026
File Services
4 articles- FTPFTP cheatsheet: enumeration, misconfigurations, known vulnerabilities, and an attack playbook.7 min, Oct 11, 20267 minOct 11, 2026
- SMBSMB cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.8 min, Oct 11, 20268 minOct 11, 2026
- NFSNFS cheatsheet: enumeration, misconfigurations, and an attack playbook.4 min, Oct 11, 20264 minOct 11, 2026
- RsyncRsync cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 20262 minOct 16, 2026
Network
2 articles- SMTPSMTP cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.5 min, Oct 11, 20265 minOct 11, 2026
- Mail RetrievalIMAP and POP3 cheatsheet: enumeration, misconfigurations, and an attack playbook.4 min, Oct 20, 20264 minOct 20, 2026
- Cloud MailCloud mail cheatsheet: tenant discovery, O365 and G-Suite user enumeration, and password spraying.2 min, Oct 20, 20262 minOct 20, 2026
Databases
2 articlesRemote Access
5 articles- SSHSSH cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.2 min, Oct 16, 20262 minOct 16, 2026
- R-ServicesR-services cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 20262 minOct 16, 2026
- RDPRDP cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.4 min, Oct 16, 20264 minOct 16, 2026
- WinRMWinRM cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 20262 minOct 16, 2026
- WMIWMI cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 20262 minOct 16, 2026
Linux
6 articles- Reading FilesLinux reading files cheatsheet: cat, less, head, tail, cut, awk, sort, uniq, and paste.6 min, Oct 16, 20266 minOct 16, 2026
- Editing FilesLinux editing files cheatsheet: sed, tr, tee, and touch.4 min, Oct 16, 20264 minOct 16, 2026
- Searching FilesLinux searching files cheatsheet: find by name, type, owner, permissions, time, and size, and grep inside files.13 min, Oct 16, 202613 minOct 16, 2026
- Requests and Transfercurl, wget, and openssl primers: web requests, downloads, and TLS checks for pentesting.11 min, Oct 16, 202611 minOct 16, 2026
- Local EnumerationLinux local enumeration: what to run first on a box, from identity and network to users, processes, and software.8 min, Oct 16, 20268 minOct 16, 2026
- Privesc PrimerLinux privilege escalation primer: where to look, the command that finds each lead, and what it gives you.12 min, Oct 16, 202612 minOct 16, 2026
File Transfer
8 articles- Choosing a MethodFile transfer try order: which method to try first, egress checks, writable folders, hash checks, and pivots.4 min, Oct 16, 20264 minOct 16, 2026
- Serving FilesAttack-host servers for file transfer: HTTP, HTTP upload, SMB, WebDAV, FTP, and Nginx PUT.5 min, Oct 16, 20265 minOct 16, 2026
- Windows TransfersWindows file transfer: PowerShell, curl.exe, SMB, certutil, BITS, FTP, uploads, and LOLBAS.5 min, Oct 16, 20265 minOct 16, 2026
- Linux TransfersLinux file transfer: wget, curl, bash /dev/tcp, netcat, scp, a web server on the target, uploads, and GTFOBins.5 min, Oct 16, 20265 minOct 16, 2026
- Code One-LinersFile transfer with interpreters: Python, PHP, Perl, Ruby, JavaScript, and VBScript download and upload one-liners.3 min, Oct 16, 20263 minOct 16, 2026
- Session TransfersFile transfer over a session you hold: evil-winrm, PowerShell remoting, RDP drives, SMB admin shares, Meterpreter, and base64 paste.4 min, Oct 16, 20264 minOct 16, 2026
- Protected TransfersEncrypted file transfer: openssl and AES file encryption, and HTTPS, TLS, and SSH transports.2 min, Oct 16, 20262 minOct 16, 2026
- Detection & EvasionHow defenders see file transfers: user agents, command lines, and AV signatures, and how to change them.2 min, Oct 16, 20262 minOct 16, 2026
Windows
6 articles- Reading FilesWindows reading files cheatsheet: Get-Content, head and tail, picking columns, sorting, and deduping with PowerShell.4 min, Oct 25, 20264 minOct 25, 2026
- Editing FilesWindows editing files cheatsheet: the -replace operator, Set-Content, Tee-Object, New-Item, and timestamps.4 min, Oct 25, 20264 minOct 25, 2026
- Searching FilesWindows searching files cheatsheet: Get-ChildItem by name, attribute, time, and size, Select-String inside files, and findstr.4 min, Oct 25, 20264 minOct 25, 2026
- Requests and TransferPowerShell web requests and downloads: Invoke-WebRequest, Invoke-RestMethod, certutil, BITS, and download cradles.3 min, Oct 25, 20263 minOct 25, 2026
- Local EnumerationWindows local enumeration: identity, privileges, network, users, services, patches, and files to check on a new foothold.5 min, Oct 25, 20265 minOct 25, 2026
- Privesc PrimerWindows privilege escalation primer: token privileges, service and task misconfigurations, AlwaysInstallElevated, and missing patches.5 min, Oct 25, 20265 minOct 25, 2026
Reference
4 articles- Port ReferencesCommon ports, their services, and what to check on each.10 min, Oct 8, 202610 minOct 8, 2026
- DNS ResolutionHow DNS works: server roles, zones, zone transfers, and encryption.2 min, Oct 11, 20262 minOct 11, 2026
- The Mail PipelineThe mail pipeline, send versus retrieve, STARTTLS, and SPF/DKIM/DMARC.2 min, Oct 11, 20262 minOct 11, 2026
- SMB & NetBIOSSMB, CIFS and Samba, the dialects, NetBIOS, the IPC$ pipe, and signing.2 min, Oct 11, 20262 minOct 11, 2026