Skip to content

Authorized use only

For the official OSEP labs/exam, or systems you are written-authorized to test. Do not use against unauthorized systems.

Exam day lookup ​

The fastest way to use this on the exam: read the symptom first, then locate the matching module section. Do not flip through all 56 scenarios from the top. The three tables are: by entry, by constraint, and by first-hand verification command.

Locate by entry ​

EntryScenariosModule doc
Word document delivery (background user opens it)1, 2, 3, 4, 5, 1701-word-vba-office
Mail link / HTA6, 7, 802-hta
Mail attachment (JScript/script)9, 10, 1703-jscript-dotnettojscript
ZIP attachment (host + DLL)11, 1204-dll-sideloading
Calendar invite (ICS)1316-ics-calendar
Web ASPX upload (IIS)1410-web-entry-webshell
Web SQL injection15, 4410-web-entry-webshell, 11-mssql
Web command injection1610-web-entry-webshell
Custom EXE delivery18, 19, 2005-applocker-clm-amsi
AppLocker allowed directory21, 2205-applocker-clm-amsi
Trusted host (InstallUtil/Workflow/XSL)23, 2405-applocker-clm-amsi
Local admin with a normal token2506-uac-windows-privesc
Service account + SeImpersonate2606-uac-windows-privesc
Service config/path writable2706-uac-windows-privesc
Egress through a corporate proxy28, 2909-c2-egress-channels
Staged comms30, 3109-c2-egress-channels
DNS channel / domain fronting32, 3309-c2-egress-channels
Internal pivot34, 3508-pivoting-tunneling
Linux upload point (run ELF)36, 3713-linux
Linux shared library loading3813-linux
sudo on a single program3913-linux
Artifact repository (Artifactory)4013-linux
Restricted Kiosk desktop4114-kiosk-jea-jit
JEA endpoint4214-kiosk-jea-jit
JIT temporary privileges4314-kiosk-jea-jit
Low-privilege SQL login4411-mssql
Linked Server4511-mssql
Local high privilege + LSASS protection4607-credentials-lsass
Domain-joined Linux tickets4712-ad-attacks
SSH connection reuse4813-linux
Domain user can read LAPS4912-ad-attacks
Unconstrained delegation host5012-ad-attacks
Write access on a computer object5112-ad-attacks
Constrained delegation service account5212-ad-attacks
Child domain → forest root5312-ad-attacks
ADCS ESC15412-ad-attacks
ADCS ESC85512-ad-attacks
WinRM only5615-winrm-lateral

Full constraint list: scenario map.

Locate by constraint ​

Symptom you seeScenariosFirst move
Macro runs, but Office cannot start PowerShell2Move to pure in-host VBA execution; do not depend on a child process
Stage-2 script blocked by scanning3, 10Switch to AMSI handling matched to the host; the PS version does not carry over to WSH
Temp file from Add-Type dynamic compilation deleted4Switch to a reflective runner / precompiled C#
Session dies when the document closes5Migrate to a persistent process under the same user / a scheduled task
EXE denied by AppLocker6, 21, 22Enumerate effective rules to find a writable allowed directory; or deliver a DLL instead
PowerShell is in CLM7Bypass with a custom Runspace
Simple script runs, but adding a .NET bridge gets blocked10Split stage 2; move the detected content out
Host crashes after the DLL loads12Check the export table/calling convention; use a proxy DLL that forwards everything
Invite sent, but no authentication arrives13Check that the lure was clicked and Responder is listening; do not assume “received = will authenticate”
Uploaded ASPX/EXE gets flagged14, 18, 37Trim signatures + encode/encrypt + change the host form
One download tool is blocked, another works15Rotate in this order: curl → certutil → bitsadmin → PS
Command length limited, complex quoting truncated16Short stage 1 + split download-and-execute
Target cannot reach my file server17Use the embedded-stage-2 version
EXE deleted the moment it lands18Separate “the loader is detected” from “the content is detected”
Lands and starts, then killed at the execution/comms stage19Behavioral detection: switch to an in-process/cross-process implementation
Native EXE cannot be loaded as a managed assembly20Use Assembly.Load + reflection to call the entry point
InstallUtil blocked by policy23Switch to the Workflow Compiler
Normal script entry points restricted24Take the XSL route
You are admin, but high-privilege operations are denied25Token is not elevated → Fodhelper and similar UAC bypasses
Auto-privesc tools fail, but you can modify a service27Manual service binary hijacking + save/restore the original config
Callback works in user context, lost after SYSTEM29The two contexts use different proxy settings (WinHTTP vs WinINet)
Stage 1 succeeds, stage 2 never arrives30One path for all stages: address/port/protocol
HTTPS fails at the handshake or the request stage31Check certificate trust / TLS version / UA / proxy
Neither direct nor the usual proxy works32, 33DNS channel; or domain fronting (depends on service support)
Internal access from Kali is denied, the pivot works34Port forwarding + a callback path that matches the pivot
Outbound access works, target-initiated callback does not35Put a listener/forward at a location the target can reach
ELF detected by AV37Custom ELF / encoded loading (Windows techniques do not apply)
Need to load a shared library from a location you control38Prepare separate LD_PRELOAD / LD_LIBRARY_PATH builds
sudo only allows vim/find/lua39The matching GTFOBins command and its parameter limits
Can overwrite the artifact, cannot log in downstream40Match the downstream architecture/filename/business behavior
Only the Kiosk desktop is available41Look for execution in file dialogs/config/installed apps
JEA exposes only a few commands42Abuse an over-broad file copy to write elsewhere
The temporary admin window is very short43Prepare the in-window commands beforehand; do not improvise live
SQL login works, but you cannot run system commands44Use that identity to trigger outbound authentication + relay
Linked Server can query but not execute remotely45Check the remote mapped account and the RPC out setting
LSASS access fails46Switch credential source; do not assume you can bypass the protection
Domain-joined Linux has tickets, the next hop is Windows47Ticket format conversion + Kerberos authentication
No SSH password, but there is an active connection48ControlMaster socket / agent forwarding
No local privesc point on this machine49Read LAPS to get local admin on another machine
You control an unconstrained delegation host50Coerce authentication + capture the ticket
You have write access on a computer object51RBCD configuration + S4U ticket
Constrained delegation only reaches the specified service52The delegation config and SPN decide the target; watch the protocol transition
Child domain owned, the objective is the forest root53Triage the trust relationship and the Extra SID conditions
A low-privilege user can request the template54ESC1: judge the template conditions → request → authenticate
The CA has an HTTP enrollment endpoint55ESC8: relay to Web Enrollment
Credentials are valid, but only WinRM is open56Authentication templates for password/hash/ticket

First-hand verification ​

What you want to confirmCommand
Whether the target hit my delivery addressCheck ~/osep/logs/http-80.log / the SMB server output
Whether the macro/script actually ranHarmless callback: curl http://LHOST/worked, nslookup LHOST, write a temp file
Office bitnessWMI: check whether the winword.exe command line contains Program Files (x86) (module 01)
Current identity and privilegeswhoami /priv, whoami /groups
System and patchessysteminfo
Egress capabilityDirect curl -v http://LHOST/; proxy curl -x PROXY; DNS nslookup x.LHOST
Effective AppLocker rulesGet-AppLockerPolicy -Effective -Xml, probe paths one by one with Test-Path
Language mode$ExecutionContext.SessionState.LanguageMode
Whether AMSI is activeTrigger a known-scanned string and watch for “script content is blocked”
Service configurationsc qc <svc>, sc query, icacls <binpath>
Domain reachabilitynetexec smb TARGET -u USER -p PASS -d DOMAIN
WinRM reachabilitynetexec winrm TARGET -u USER -p PASS -d DOMAIN
Delegation/ACLCollect with bloodhound-python or SharpHound and read the graph
Certificate templatescertipy find -u USER -p PASS -dc-ip DC
Linux privesc pointssudo -l, find / -perm -4000, getcap -r / 2>/dev/null
Shared library loadingldd <bin>, LD_DEBUG=libs <bin>
SSH reusessh -O check USER@TARGET, ls -l /tmp/ssh-*, ssh-add -l

Copy-paste version of the same checks:

powershell
whoami
whoami /priv
whoami /groups
[Environment]::Is64BitProcess
$ExecutionContext.SessionState.LanguageMode
Get-AppLockerPolicy -Effective -Xml
netsh winhttp show proxy
bash
id; sudo -l
klist
nc -nvz TARGET 5985

Order of use (exam day) ​

  1. Confirm the entry → table 1
  2. Confirm the constraint → table 2
  3. Run the first-hand verification → table 3 (prove delivery worked before you suspect AV)
  4. Open the matching module section → follow the if/then decision and the checklist
  5. If you are stuck, use that section's inline if/then troubleshooting — change one variable at a time and log it

Authorized labs and the official exam environment only.