OSEP Exam Guide
Share
Day two, hour 41. I’d planted a C# loader in memory via a signed service I’d spent six hours getting to execute without Defender blowing it up, the Beacon callback came back clean, and I actually hissed "yes" at the laptop like an idiot. OSEP is the one OffSec exam where the small wins feel disproportionately large because you spend so much time losing to AMSI and ETW before you ever get to enjoy a privilege escalation.
I passed OSEP on the first attempt in October 2024, about seven months after I cleared OSCP. This is mostly a story about what the course does and doesn’t prepare you for, and the specific habits that stopped me from failing a challenge I had absolutely no business clearing on a first try.
Why I jumped in so fast after OSCP
Two reasons. One, I’d just quit a four-year appsec job to move into a red-team-adjacent consulting role, and OSEP was the clearest signal I could send that I’d actually touched AV evasion and not just read Rastamouse’s blog on a Sunday. Two, PEN-300 was the course I was most curious about on OffSec’s roster. Process injection, AppLocker bypass, SQL server lateral movement, these were all things I’d bluffed about in interviews for years. I wanted to stop bluffing.
I started PEN-300 in April 2024, spent the European summer working through it maybe ten hours a weekend, booked the exam for October 15, 2024. I was in Amsterdam at the time, freshly moved into a studio with a west-facing window that turned the room into an oven between 15:00 and 18:00, which is relevant because by August I was running the exam prep at a coffee shop around the corner instead.
The course content itself
Honestly, the course materials are long. 700-ish pages in the PDF plus the labs. Everyone who’s written about OSEP will tell you the course is denser than OSCP’s. They’re right. But I’d argue the density is misleading, because the actually-exam-relevant material is maybe 40% of the pages. The rest is background, context, and interesting-but-not-essential detours. If you’re pressed for time, the chapters that matter are:
- Process injection (every variant it covers, not just classic CreateRemoteThread)
- AV evasion in .NET, including D/Invoke patterns
- Kerberos abuse chapter, specifically delegation
- SQL Server linked-server lateral movement
- AppLocker and WDAC bypass
The rest is worth skimming but not grinding. I spent two weekends on Windows API fundamentals that I enjoyed and then never needed in the exam. That’s fine, I liked it, but I wouldn’t repeat it on a schedule.
Lab time: how I actually used it
The challenge labs are the gold. They are more valuable than the PDF. I rooted 5 of the 6 OffSec challenge labs before booking, and the one I skipped was the one most similar to another I’d done, which was probably a mistake. Each lab is roughly a mini exam. I treated them like dress rehearsals: timer on, no outside Googling for the first 90 minutes, notes written like a real report in parallel. Took me between 14 and 36 hours per lab depending on how badly I’d read the intro.
Outside OffSec’s own material I leaned on three things. S4vitar’s YouTube on the AD paths. RastaMouse’s blog for the AV and EDR stuff, especially the AMSI patch articles. And the HackTricks pages for AppLocker and WDAC because they’re a cleaner reference than the course chapters. If you’re going into OSEP without having done the OSCP first, I’d flag that you’ll struggle with the AD assumptions the course makes. The course does not re-teach Kerberoasting or Bloodhound navigation. You are expected to arrive fluent in them.
The 48-hour exam
Booked for October 15, 2024, 09:00 CET. Breakfast: the same two slices of rye bread with cheese and black coffee I’d had for every previous OffSec exam. Started the proctor session twenty minutes early, ran through ID checks, waited. 09:00 hit, I opened the objectives page, and spent the first thirty minutes reading it twice without touching a keyboard. This is the single piece of advice I’d give anyone going into OSEP: the objectives tell you what the required flag positions are, in detail, and you cannot plan your 48 hours properly without that map.
First flag fell at 11:40. Standard external foothold through a vulnerable web app I enumerated with ffuf and feroxbuster running side by side, foothold via a deserialization bug, then a Seatbelt dump to orient myself on the host. By 14:00 I had local admin via a straightforward service misconfig that winPEAS caught.
The grind started on the evasion layer. The host had a current Defender build and I spent three hours trying to get a .NET Rubeus variant to execute. ConfuserEx wasn’t enough. I ended up writing a small custom loader in C# using D/Invoke and reflectively mapping Rubeus into memory via a technique I’d practised in the labs. Got it running at 17:30. Actual lunch was a stroopwafel and a coffee because I’d forgotten to buy food and the nearest shop closed at 17:00.
Day one ended around 01:00 with five of the required positions, a tunnelled C2 via chisel through a dual-homed box, and most of the AD enumeration done with impacket-GetUserSPNs, SharpHound and some manual ldapsearch. Slept five hours. Day two was the back half of the AD and one SQL Server lateral move via linked server using impacket-mssqlclient, then DA at hour 38, then the last two secondary objectives in a cleanup pass.
What nearly broke me
Hour 32. I’d chained to a jump host with ligolo-ng and I kept losing the tunnel every twelve minutes or so. Thought it was the exam network. Spent two hours convinced I was being rate-limited by the proctor. It wasn’t. It was a stale socket on my side because I’d forgotten to configure ligolo to auto-reconnect after a specific idle period. I lost two hours to my own misconfiguration and only caught it when I re-read my own notes from the challenge lab three weeks earlier. The fix was two lines. I actually laughed at my laptop at 03:00.
Report took me the full 24 hours. OSEP reporting is more involved than OSCP. The scoring is "required positions achieved + proven," so you have to tell the story of how you got to each one, with command listings, screenshots at the pivotal moments, and the custom code you wrote. I attached the C# loader as an appendix with comments. The OffSec template is fine. Don’t get fancy.
What I’d tell a first-time OSEP sitter
- Pre-write your tooling. Have your loader templates, your AMSI patch snippet, your ETW patch snippet, your Rubeus wrapper, all ready and tested against a current Defender. You should not be writing new evasion code at 02:00. You should be adapting what you already have.
- Build a BloodHound-first mindset. Ingest early and often. You will touch new credentials repeatedly in the AD phase. Re-ingest after each fresh set.
- Know one C2 well. For OSEP the course uses a lightweight approach. Many people run Mythic or a home-grown C2 on exam day. Pick one, know it cold.
- Challenge labs are the exam. If you can’t finish them clean you are not ready. Book your exam only after at least four of them fall inside their time budget.
- Sleep on day one. Five hours is non-negotiable. The hour 38 brain is slower than the hour 24 brain by a factor you can’t out-coffee.
Pricing and the honest cost
Bundle with PEN-300 is 1,749 USD, same as OSCP, for 90 days of lab plus one attempt. Retake is 249 USD. Learn One at 2,599 USD per year gets you unlimited retakes plus a batch of other courses, which is what I’d buy if I were doing two OffSec exams in a year. Because the exam is 48 hours, the opportunity cost is heavier than OSCP. I took the Monday and Tuesday off work plus the Wednesday for reports. Three full working days gone. Price it in before you commit.
People always ask whether OSEP is "harder than OSCP." Different hard, same tier. OSCP is broader and shallower. OSEP is narrower and deeper. OSCP punishes bad methodology. OSEP punishes bad tooling preparation. If you built strong habits during OSCP prep, OSEP mostly asks you to layer evasion on top.
If you’re planning your route after this, I’d point you at OSED if you want to go deeper into the Windows internals side, or OSWE if you want to swing back to appsec. If you’re thinking about the defender side of what you’re doing in OSEP, the OSDA guide is interesting as a mirror.
If you want someone to run a dry run of the AD phase with you, or just to look over your loader code before you go in, that’s what we do at FsKnockouT for OSEP, pay-after-pass, no upfront fees. Either way, good luck. Remember to buy food before 17:00 on exam day.