OSWE is the certification that punishes candidates who are good at finding bugs but slow at reading code. The exam gives you 48 hours, multiple machines, and a requirement that most web certifications do not have: a custom exploit that works against the target you were given.
That last part changes preparation completely. You are not being tested on whether you can trigger a vulnerability. You are being tested on whether you can trace it through source, understand why it exists, and write code that abuses it reliably.
The exam structure
- Duration: 48 hours, proctored over a private VPN.
- Targets: multiple machines on a network, some reachable remotely and some requiring several steps.
- Deliverable: a professional report describing the exploitation process for each target, plus proof files.
- Grading: missing documentation or proof for an objective can mean partial or zero points for it.
- Course: WEB-300, seventeen modules and twenty challenge labs.
- Validity: does not expire. Combined with OSEP and OSED, it forms the OSCE³.
Forty-eight hours sounds generous until you count the report. Realistically you have thirty-five hours of testing and thirteen of writing, minus sleep. The candidates who fail often fail on the boundary between those two blocks.
What “white box” actually means here
You get source code. That does not make the exam easier — it removes the excuse. In a black-box exam, a missed vulnerability is bad luck. In a white-box exam, every line you did not read is a decision you made.
The workflow that works:
- Map the application from the code, not the browser. Routes, controllers, models, middleware, and authentication flow.
- Find the sinks. Where does user input reach a dangerous function? Deserialization, file read/write, command execution, template rendering, SQL.
- Trace backwards. Which route reaches that sink, and what validation sits between the request and the call?
- Confirm dynamically. Send the request, observe the behaviour, then write the exploit.
Candidates who start in the browser usually find the easy bugs and miss the intended chain. The code tells you where the chain is.
The exploit is the exam
A proof-of-concept that works once in Burp is not a custom exploit. The exam expects code: a script that authenticates, sends the payload, handles the response, and achieves the objective without manual steps.
Practical requirements for that script:
- Session handling. Log in, keep cookies, refresh tokens if needed.
- Encoding. Serialized payloads, base64, URL encoding, and the order in which they must be applied.
- Reliability. Idempotent where possible, and able to recover from a failed attempt without restarting.
- Logging. Output that proves what the exploit did, which becomes report evidence.
Python is the pragmatic choice. The point is not elegance; the point is that a reviewer can run it and reach the same result.
A preparation plan that maps to the exam
| Week | Focus | Output |
|---|---|---|
| 1 | Source review fundamentals | Trace five endpoints end to end in an open-source app |
| 2 | Deserialization and injection sinks | Two working exploits, written as scripts |
| 3 | Authentication and session flaws | Bypass and hijack exercises with evidence |
| 4 | Fuzzing and automation | One custom fuzzer for a parameter you found manually |
| 5 | Full simulation | Two targets in 24 hours, report included |
Week one is the one candidates skip. Reading code is a skill that feels unproductive until it becomes the fastest route to a finding.
What the report has to show
Per target, the reviewer needs:
- The vulnerable component and the exact code path that creates the flaw.
- The exploit, with dependencies and invocation instructions.
- Proof of execution, including the objective file or flag.
- Why the exploit works — the mechanism, not just the payload.
“Used a deserialization payload” is not an explanation. “The view state is deserialized without type validation, so a crafted gadget chain reaches Process.Start” is.
Time allocation across 48 hours
| Block | Hours | Task |
|---|---|---|
| Recon and code map | 4 | Application structure, routes, auth flow |
| Target 1 | 10 | Source review, exploit, proof |
| Sleep | 6 | Non-negotiable |
| Target 2 | 10 | Same discipline |
| Remaining objectives | 6 | Chains between machines |
| Report | 12 | Draft, evidence check, submission |
Twelve hours for the report is not padding. OSWE reports are technical documents with code, and assembling them at hour forty-four produces exactly the missing-evidence problem the grading rubric punishes.
Common preparation errors
- Practising only exploits, never code review. The exam is white box; the code is the primary evidence.
- Writing exploits that only work interactively. The reviewer runs a script, not your recollection.
- Ignoring the report template. Structure is free points; use it.
- No sleep plan. A 48-hour exam rewards the candidate who sleeps six hours, not the one who grinds and makes mistakes at hour thirty.
Where to go next
For the certification overview, pricing, and study material, see the OSWE certification hub. For the mistakes that cost attempts, read OSWE common mistakes, and for the day-to-day experience, OSWE exam experience. If you are building toward OSCE³, the OSEP hub covers the evasion half.
Certification names belong to OffSec. This is independent study material, not official course content.
Web application security specialist and bug bounty hunter. OSWA and OSWE certified, focused on web exploitation, API security and source-code review. Writes our web exploitation walkthroughs and reviews report structure for web-focused certifications.