OSWE Exam Guide

Day one, hour 19. I’d found the deserialization sink at 04:00 after five hours of grepping through a Java codebase I’d never seen before, and I was eating cold leftover pasta out of the pan with a spoon because I’d forgotten to reheat it. The gadget chain still wasn’t working. I kept copy-pasting payloads into Burp Repeater and staring at the response like it owed me money. At 04:43 something clicked and my proof-of-concept returned a shell. I actually said "finally" out loud to no one and the neighbour’s dog barked.

OSWE is the OffSec exam I had the most fun with and the one I’d most strongly recommend to anyone with an appsec background. I passed in April 2025, first attempt, 85 of 100 points required to pass and I scored enough to clear. This post is how I actually used the WEB-300 course, what the exam day looked like, and the specific habits I built in the twelve months after OSCP that made OSWE feel manageable.

Where I was coming from

Four years as an appsec engineer before I ever did network pentesting. I spent those years mostly in Java and PHP, with a bit of Node and some very bad early-career C#. When I switched into network pentest consulting in 2021, I missed reading code more than I expected. OSWE felt like going home. It also felt like the one OffSec cert where the muscle I’d built in my first career was directly relevant, and I was not going to let that advantage go unused.

I started WEB-300 in January 2025, booked the exam for April 22, 2025, and spent most Saturday and Sunday evenings between January and April working through the course and the extra miles. Weekday work hours stayed 09:00 to 17:00 CET as usual. Prep happened in the evenings and across full weekend days.

The course content, honestly

WEB-300 is the best-written OffSec course I’ve touched. The chapter structure teaches you a repeatable methodology: enumerate the codebase, identify sinks, trace sources, chain into auth bypass or RCE. It covers type juggling in PHP, deserialization chains in Java and .NET, prototype pollution, blind SQLi you have to automate because the WAF won’t let you be lazy, SSRF-to-RCE pivots, and a solid chapter on pre-auth RCE discovery in codebases that are genuinely confusing on first read.

Topics worth grinding:

  • Type juggling and loose comparisons in PHP. More exam-relevant than it looks on paper.
  • Deserialization chains. Java first, then .NET. If you can read a ysoserial payload and explain what each gadget does, you’re in good shape.
  • Prototype pollution. Not just the vuln but the exploitation into gadget chains in Express/Node code.
  • Blind SQLi automation. You will need to write a Python script, probably with requests, during the exam. If you’ve never done that, practice now.
  • The source-code-review methodology chapter. Underrated. It’s where the exam day habits come from.

The chapter I enjoyed least was the Node.js one. It’s technically correct and it put me to sleep twice. I made myself redo it with a strong coffee and a timer, which was the only way I got through.

How I actually prepared beyond the course

Three things outside OffSec’s material moved the needle more than anything else.

First, I set up a local VS Code workspace that mirrored how I’d work in the exam. ripgrep in the integrated terminal, PHP/Java/Node extensions installed, a scratch notes file always open. The exam provides source for you to review. You cannot waste the first hour configuring your editor.

Second, I rebuilt three CVEs from scratch. One PHP deserialization (CVE in a popular forum software), one Node prototype pollution chain, and one Java deserialization that chained through to RCE. I didn’t read a writeup until I’d spent at least four hours alone with each codebase. Two of them took me more than one weekend. Doing this teaches you to live in unfamiliar source without panic, which is 60% of the OSWE exam.

Third, I worked through Tib3rius’s secure code review playlist and a chunk of HackTricks’s web pages, specifically the SSRF and deserialization sections. HackTricks is not a textbook, but it’s a great reference during both prep and exam.

If you came from the OSWA side of things and you’re nervous about jumping into source review, OSWA to OSWE is a bigger jump than people say. OSWA is black-box with Burp. OSWE is white-box with grep. The muscle overlap is maybe 40%.

The exam, hour by hour

April 22, 2025, 09:00 CET. Breakfast was the same two slices of rye bread with cheese I always have on OffSec days. 47 hours 45 minutes of practical. Two target applications in a codebase I’d never seen before. The exam gives you a local-source dump plus a running instance. You need to find a pre-auth vulnerability that chains into RCE or an administrative function on each.

I spent the first 45 minutes doing nothing but reading the two codebases top to bottom, fast, taking notes on routing, auth flow, serialization points, and anything that smelled off. By 10:30 I had a mental map of both. I started on the smaller one first because I’d read somewhere (TJ_Null’s commentary, probably) that OffSec usually makes one of the two easier as a confidence builder.

App one fell at hour 7. A type juggling flaw in a password reset flow combined with a race condition on token invalidation. The exploit script was 60 lines of Python with requests, ran clean on the first full test, popped admin, then I pivoted into RCE through an upload endpoint that only validated the extension server-side. Took the win and moved on.

App two is where I lost the next ten hours. I was convinced the auth bypass was in the OAuth flow and I spent far too long trying to forge a JWT that was actually properly signed. The real vulnerability was a blind SQLi in a search endpoint I’d flagged in my first-hour notes and then ignored. Classic. When I finally circled back around hour 17 I had the extraction script written in about 90 minutes using sqlmap for discovery and then a custom boolean-based extractor in Python. From admin I had RCE via a deserialization sink in a dashboard component I’d spotted but not yet traced. That’s where the 04:00 pasta-and-neighbour’s-dog moment happened.

Submitted exploit scripts and preliminary notes at hour 29. Slept five hours. Wrote the report through Wednesday. Pass email landed a week later.

Tools and resources that earned their place

  • Burp Suite Pro. Repeater, Intruder, and the Decoder module are the three tabs I lived in.
  • VS Code with ripgrep in the terminal. No search box is faster than rg across a 40,000-line codebase.
  • sqlmap for initial SQL injection discovery, then write your own extractor.
  • ysoserial and ysoserial.net. Learn to read their payloads, not just paste them.
  • jadx for Java bytecode if you ever get a compiled .jar rather than source.
  • CyberChef for payload encoding. Saves a lot of "wait, did I double-URL-encode that" seconds.
  • HackTricks and HackingArticles for reference during the exam. Both open in tabs throughout.
  • Python requests. You will write a script. Have a template ready.

Pricing math

WEB-300 bundle is 1,749 USD for 90 days of lab access plus one exam attempt. Retake is 249 USD. Learn One at 2,599 USD covers unlimited retakes across a year and gets you the other OffSec courses too, which is worth it if you’re stacking web certs or planning to retake. The pass mark is 85 of 100, which is higher than most OffSec exams. OffSec weights the two applications so missing one entirely usually means a fail, and partial credit on both can still get you over the line depending on how far you got.

What I’d tell anyone sitting it this year

  • Methodology beats intuition. Enumerate every endpoint, map every route, catalogue every deserialization and reflection call before you take a shortcut.
  • Trust your first-hour notes. The bug you flagged at 10:00 and ignored is probably the one you come back to at 23:00.
  • Write the exploit as a script, not as curl commands in a terminal buffer. You’ll thank yourself when the report is due.
  • Take a proper meal break at hour 5 or 6. No stroopwafel-for-lunch improvisation. Something hot and real.
  • If you’re stuck past two hours on one hypothesis, change your hypothesis. OSWE rewards lateral thinking, not stubbornness.
  • Submit even if you’re not done. Partial credit is real on OSWE. Never walk away empty.

People always ask whether OSWE or OSED is "harder." They’re different hard. OSWE is harder socially because the pass rate feels lower if you don’t come from a dev background. OSED is harder technically because the mental model is further from most people’s day jobs. If you read source for a living, OSWE will feel like a stretch but a reachable one. If you don’t, give yourself an extra three months.

After OSWE I went straight into OSWA as a warm-up for a colleague’s prep (long story), and I’ve written that up separately. If you’re weighing OSWE against deeper source-code work with binary primitives, the OSED writeup is honest about the time cost.

If you want someone to sit on standby for your attempt, run a mock source review with you, or proofread your exploit scripts before submission, that’s what we do at FsKnockouT for OSWE, pay-after-pass, no upfront fees. Good luck. Have hot food ready before you start.

Back to blog