OSCP Cheat Sheet 2026

The 30 highest-yield OSCP facts, distilled from real exam questions. Print it, save it as a PDF, or study it here โ€” free, no sign-up.

OSCP exam key facts

  • The OSCP exam is entirely hands-on, requiring candidates to compromise live systems in a private VPN lab environment and submit a penetration testing report. Source
  • The OSCP+ Standalone Exam costs $1,699 and includes two exam attempts within a 90-day period without course materials. Source
Start the Timed OSCP Mock Exam โ†’
75 questions
90 min time limit
70.00% to pass
  1. What does the command 'updatedb' do in Kali Linux and why is it relevant to OSCP engagements? โ†’ Rebuilds the locate command's file index database
  2. During an OSCP lab, you find port 111 open on a Linux target. What service is most likely running? โ†’ Portmapper/RPC
  3. In a Local File Inclusion (LFI) vulnerability, which of the following payloads is used to traverse directories and read /etc/passwd? โ†’ ../../../etc/passwd
  4. Which Kali Linux tool is used to create a persistent USB drive that saves changes across reboots? โ†’ dd with persistence partition
  5. Which HTTP method is most commonly exploited to upload a malicious web shell to a vulnerable web server? โ†’ PUT
  6. Which command in Kali Linux displays active network connections along with the process name and PID? โ†’ netstat -tulnp
  7. What tool can dump Windows NTLM password hashes from the SAM database when running as SYSTEM? โ†’ Mimikatz
  8. Which Windows registry key stores hashed credentials for locally cached domain accounts? โ†’ HKLM\SECURITY\Cache
  9. Which hashcat attack mode uses a wordlist to crack password hashes? โ†’ Mode 0 (Straight/Wordlist attack)
  10. In Kali Linux, which command updates the package database AND upgrades all installed packages in a single step? โ†’ apt-get update && apt-get upgrade
  11. Which Burp Suite feature allows an attacker to intercept and modify HTTP requests between a browser and a web server? โ†’ Proxy
  12. What is DLL hijacking in the context of Windows privilege escalation? โ†’ Placing a malicious DLL in a directory searched before the legitimate DLL location
  13. A _________ is a sequential section of memory that has been set aside for holding data, like a character string or an array of numbers. โ†’ buffer
  14. What Kali Linux tool would you use to perform ARP spoofing to intercept traffic between two hosts on a local network? โ†’ Both arpspoof and ettercap are correct
  15. Which Nmap output format is most useful for importing results into other tools during OSCP? โ†’ -oX (XML)
  16. Where system binaries (programs) are stored โ†’ /sbin
  17. What Nmap script can identify anonymous FTP login on a target? โ†’ --script=ftp-anon
  18. What Windows privilege escalation technique abuses the SeImpersonatePrivilege token right? โ†’ Juicy Potato / PrintSpoofer token impersonation
  19. Which Kali Linux tool is specifically designed for brute-forcing web application login forms over HTTP? โ†’ hydra with http-post-form module
  20. In Kali Linux, which command would you use to forward local port 8080 to a remote host's port 80 via SSH tunneling? โ†’ ssh -L 8080:remotehost:80 user@sshserver
  21. What procedure deletes a folder? โ†’ rmdir
  22. What is the purpose of the 'rpcinfo -p ' command during enumeration? โ†’ Enumerate all RPC services and their port numbers on the target
  23. Where .so (Library file, stands for "shared object") are stored (basically like Windows .dll files). โ†’ /lib
  24. What Hydra command would brute-force SSH on host 10.10.10.10 using username 'admin' with the rockyou wordlist? โ†’ hydra -l admin -P /usr/share/wordlists/rockyou.txt 10.10.10.10 ssh
  25. Which command in Kali Linux sets a file's SUID bit to make it execute with the owner's privileges? โ†’ chmod u+s filename
  26. What tool is commonly used in OSCP to brute-force SSH, FTP, and HTTP login services? โ†’ Hydra
  27. What command in Windows lists all scheduled tasks with their run-as users? โ†’ schtasks /query /fo LIST /v
  28. In Kali Linux, what does the 'crunch' tool generate and how is it used in OSCP scenarios? โ†’ Generates custom wordlists based on character sets and length parameters
  29. When enumerating NFS shares during OSCP, which command shows available exports on a target? โ†’ showmount -e
  30. Which Kali Linux command would enumerate all users on a Linux system that have a valid login shell? โ†’ cat /etc/passwd | grep -v nologin | grep -v false

What Practice Test Geeks adds beyond an AI chat for OSCP

An AI chatbot can quiz you, but it can't reproduce the exam conditions or keep your record. Here you get:

  • A timed, full-length OSCP mock exam โ€” 75 questions in 90 minutes with a 70% pass mark, modeled on the official exam's question count and time limit, followed by a score report broken down by exam domain.
  • A fixed OSCP question bank: the same test every attempt, so your score is comparable from one try to the next instead of changing with every regenerated quiz.
  • Progress saved on your device: completed tests, scores and missed questions stay in My Progress, so you can retake only what you got wrong.
  • OSCP flashcards built from the same question bank.
  • Free OSCP practice tests with the correct answer shown after each question.
Start the Timed OSCP Mock Exam โ†’
Was this helpful?

Written and edited by , founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. help.offsec.com โ€” Renewal, test dates, score release, eligibility, retake fee ยท verified Nov 2026
  2. offsec.com โ€” Test delivery, score validity, fees, exam format ยท verified Nov 2026