~/articles/series/cpts

CPTS Notes

Rex's notes on Hack The Box's CPTS course and exam preparation.

51 articles, 237 min of reading

Foundations

1 article
  1. Enumeration with NmapHow to use nmap for enumeration8 min, Oct 9, 2026

Passwords

10 articles
  1. WordlistsWhich password wordlist to reach for first: the online and offline order across Kali defaults and SecLists.5 min, Oct 20, 2026
  2. CrackingCracking password hashes: identify the hash, let speed set the wordlist, and know why salt matters.4 min, Oct 20, 2026
  3. Protected FilesCracking password-protected files, keys, and archives: hunt them, extract a hash with 2john, then crack.3 min, Oct 20, 2026
  4. Spraying and DefaultsOnline credential attacks: password spraying, credential stuffing, and default credentials.2 min, Oct 20, 2026
  5. 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, 2026
  6. 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, 2026
  7. 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, 2026
  8. 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, 2026
  9. 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, 2026
  10. Looting (Linux)Looting Linux credentials: read /etc/passwd, /etc/shadow, and opasswd, identify the hash type, and crack it.3 min, Nov 6, 2026

File Services

4 articles
  1. FTPFTP cheatsheet: enumeration, misconfigurations, known vulnerabilities, and an attack playbook.7 min, Oct 11, 2026
  2. SMBSMB cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.8 min, Oct 11, 2026
  3. NFSNFS cheatsheet: enumeration, misconfigurations, and an attack playbook.4 min, Oct 11, 2026
  4. RsyncRsync cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 2026

Network

2 articles
  1. DNSDNS cheatsheet: enumeration, misconfigurations, and an attack playbook.8 min, Oct 11, 2026
  2. SNMPSNMP cheatsheet: enumeration, misconfigurations, and an attack playbook.3 min, Oct 16, 2026

Mail

3 articles
  1. SMTPSMTP cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.5 min, Oct 11, 2026
  2. Mail RetrievalIMAP and POP3 cheatsheet: enumeration, misconfigurations, and an attack playbook.4 min, Oct 20, 2026
  3. Cloud MailCloud mail cheatsheet: tenant discovery, O365 and G-Suite user enumeration, and password spraying.2 min, Oct 20, 2026

Databases

2 articles
  1. MySQLMySQL cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.4 min, Oct 16, 2026
  2. MSSQLMSSQL cheatsheet: enumeration, misconfigurations, and an attack playbook.8 min, Oct 16, 2026

Remote Access

5 articles
  1. SSHSSH cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.2 min, Oct 16, 2026
  2. R-ServicesR-services cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 2026
  3. RDPRDP cheatsheet: enumeration, misconfigurations, version exploits, and an attack playbook.4 min, Oct 16, 2026
  4. WinRMWinRM cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 2026
  5. WMIWMI cheatsheet: enumeration, misconfigurations, and an attack playbook.2 min, Oct 16, 2026

Linux

6 articles
  1. Reading FilesLinux reading files cheatsheet: cat, less, head, tail, cut, awk, sort, uniq, and paste.6 min, Oct 16, 2026
  2. Editing FilesLinux editing files cheatsheet: sed, tr, tee, and touch.4 min, Oct 16, 2026
  3. Searching FilesLinux searching files cheatsheet: find by name, type, owner, permissions, time, and size, and grep inside files.13 min, Oct 16, 2026
  4. Requests and Transfercurl, wget, and openssl primers: web requests, downloads, and TLS checks for pentesting.11 min, Oct 16, 2026
  5. Local EnumerationLinux local enumeration: what to run first on a box, from identity and network to users, processes, and software.8 min, Oct 16, 2026
  6. Privesc PrimerLinux privilege escalation primer: where to look, the command that finds each lead, and what it gives you.12 min, Oct 16, 2026

File Transfer

8 articles
  1. Choosing a MethodFile transfer try order: which method to try first, egress checks, writable folders, hash checks, and pivots.4 min, Oct 16, 2026
  2. Serving FilesAttack-host servers for file transfer: HTTP, HTTP upload, SMB, WebDAV, FTP, and Nginx PUT.5 min, Oct 16, 2026
  3. Windows TransfersWindows file transfer: PowerShell, curl.exe, SMB, certutil, BITS, FTP, uploads, and LOLBAS.5 min, Oct 16, 2026
  4. Linux TransfersLinux file transfer: wget, curl, bash /dev/tcp, netcat, scp, a web server on the target, uploads, and GTFOBins.5 min, Oct 16, 2026
  5. Code One-LinersFile transfer with interpreters: Python, PHP, Perl, Ruby, JavaScript, and VBScript download and upload one-liners.3 min, Oct 16, 2026
  6. 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, 2026
  7. Protected TransfersEncrypted file transfer: openssl and AES file encryption, and HTTPS, TLS, and SSH transports.2 min, Oct 16, 2026
  8. Detection & EvasionHow defenders see file transfers: user agents, command lines, and AV signatures, and how to change them.2 min, Oct 16, 2026

Windows

6 articles
  1. Reading FilesWindows reading files cheatsheet: Get-Content, head and tail, picking columns, sorting, and deduping with PowerShell.4 min, Oct 25, 2026
  2. Editing FilesWindows editing files cheatsheet: the -replace operator, Set-Content, Tee-Object, New-Item, and timestamps.4 min, Oct 25, 2026
  3. Searching FilesWindows searching files cheatsheet: Get-ChildItem by name, attribute, time, and size, Select-String inside files, and findstr.4 min, Oct 25, 2026
  4. Requests and TransferPowerShell web requests and downloads: Invoke-WebRequest, Invoke-RestMethod, certutil, BITS, and download cradles.3 min, Oct 25, 2026
  5. Local EnumerationWindows local enumeration: identity, privileges, network, users, services, patches, and files to check on a new foothold.5 min, Oct 25, 2026
  6. Privesc PrimerWindows privilege escalation primer: token privileges, service and task misconfigurations, AlwaysInstallElevated, and missing patches.5 min, Oct 25, 2026

Reference

4 articles
  1. Port ReferencesCommon ports, their services, and what to check on each.10 min, Oct 8, 2026
  2. DNS ResolutionHow DNS works: server roles, zones, zone transfers, and encryption.2 min, Oct 11, 2026
  3. The Mail PipelineThe mail pipeline, send versus retrieve, STARTTLS, and SPF/DKIM/DMARC.2 min, Oct 11, 2026
  4. SMB & NetBIOSSMB, CIFS and Samba, the dialects, NetBIOS, the IPC$ pipe, and signing.2 min, Oct 11, 2026