r/oscp • u/EngiFarAway • 1d ago
From Civil Engineering to OSCP: I failed my first attempt with 0 flags, passed the second. Here's everything I'd tell my past self.
Hey everyone,
I just passed my OSCP, and this sub helped me so much along the way that I wanted to give something back. So here is a full brain dump of everything I learned going from a total beginner to passing: the stuff that worked, the mistakes I made, and the tips I wish someone had handed me on day one. I tried to squeeze my brain out to put this together, so I might have missed a thing or two, and if I remember anything else I'll keep adding it. Grab a coffee, this one is long, but I took my time on it because I really want it to help.
Quick background: I came from civil engineering with zero experience in the field. Before PEN 200 I had Security+ and the Google Cybersecurity certificate. Honestly? Security+ was fine but it didn't do much for OSCP. The Google cert was a big help for understanding a lot of the core concepts before I started.
I failed my first attempt on Oct 18 with 0 flags (yes, zero). I passed my second attempt on Nov 19. In the one month between, I fixed a lot, and that's really what this post is about. I split it into Before the exam, During the exam, and General advice.
When I started I felt kind of scared and overwhelmed, and I don't want you to feel like that. I want you to ace your exam. And before anything else: it is not as scary as people make it out to be. Even on my 0 flag attempt it wasn't scary.
How my exam day actually went
Just to give you a real timeline: about 3 hours in, I already owned the domain controller. Another hour and I had a foothold on the first machine. Then I got stuck for 6 hours. I slept for 3 hours, came back, and in less than an hour I got the privesc plus one more foothold. That put me at 70 points. After that I took my sweet time making sure every screenshot was there and every command was documented. I replicated them all twice to be safe.
PART 1: BEFORE THE EXAM
What I actually changed between attempt 1 and 2 (the important part)
- Did way more labs.
- Actually wrote full, detailed notes (how-to below).
- Learned to fix python exploits and do basic debugging.
- Refined my methodology and cheatsheets.
- Stopped touching my environment before the exam. Make sure everything works ahead of time and keep a mirror/snapshot of your VM in case something breaks. Do labs right up to the exam, but do not update or change your setup beforehand.
Test your tools before you trust them
Run most of your commands with the -help -h --help --hh flags (or a quick test run) to make sure the tool is actually working properly. For some reason a few of my tools were broken, and on my first attempt I lost time and a lot of mental energy fixing them mid-exam. Sort this out well before exam day.
Don't rely only on automated tools
Understand that you cannot rely only on automated tools. Take the time to do manual searches and manual enumeration too, and you will often find what you're looking for very fast.
If I were starting from scratch, here's the order
- Blitz the official material just to get the map (see next point).
- Get into labs ASAP and live there.
- Write notes and build cheatsheets from day 1.
- Grind PG (Proving Grounds) labs, and watch LainKusanagi walkthroughs (like IppSec) for extra techniques.
- Understand everything, don't memorize.
The course material: skim it, don't live in it
The official material is OK. It gives you the main idea and what to target, and that's pretty much it. When it comes to tools, methodology, and putting it all together, it's not there. Don't waste time on it; go through it quickly so you can get to the labs and see the tools in action (you'll find better tools along the way). And whenever the material mentions a file or a way to exploit something but doesn't show you how, go search it, learn it, and practice it. Train the habit of always asking "is there a way to exploit this?" for example: if I can reach MySQL, can I get RCE? When do I forge a silver ticket, and what do I do with it?
Labs, labs, labs
The single biggest change between my attempts was volume. Get your eyes used to running a lot of machines, and get used to reading winPEAS / linPEAS output so you can scan it fast and spot what matters. Focus your hands-on reps on PG (Proving Grounds) labs, but at least read and watch walkthroughs for the LainKusanagi list (IppSec is great for this). They are more CTF-y in style, but they teach some really good techniques and tools that you will actually use on the OSCP.
Walkthroughs are NOT bad
No, no, no. When you've been stuck for a long time (say 4 hours), don't waste more. Read a walkthrough just for the next step and continue from there. Even better: read multiple walkthroughs for the same box. You'll be surprised how many ways there are to solve it, different people use different tools and techniques, and that's how you build a stronger methodology. Reading multiple walkthroughs for the same box also makes it stick even more. This is fine as long as you're taking good notes. But if you keep failing on the same thing over and over, that's the signal you're not taking the time to understand the technique and why you failed.
Write good notes from day 1: here's HOW
Everyone says "take notes" and nobody says how. Here it is: write very detailed, step by step notes. Whenever you get stuck on a box, write down exactly what the box was, why you got stuck, and once you solve it, why you missed it (new concept? new tool? weak enumeration? got lazy?). Write it in detail with the exact commands, so when you read that note 3 months later you understand it completely.
Build your own cheatsheet
Build your own. You'll know instantly where to go when you need something. Use AI chatbots to turn your notes into clean, copy-paste ready cheatsheets (like the ones I'm sharing). It makes navigating and copying during the exam effortless.
Get comfortable with your tools
Really comfortable: play with the flags, learn each tool's limitations, so you don't freeze when you hit an issue. Believe me, 2 days before the exam I was still exploring and finding amazing flags I could use with commands, and it makes everything even easier. Also, in OSCP they sometimes don't tell you the real application of a tool, so search "how should I use this?" and learn what it's actually for. Example: using Ligolo in AD to pull a file from an internal subnet machine (or push one to it), I kept forgetting to add the listener in Ligolo. After a few times it became a reflex. That's the goal for every core tool.
Active Directory is a free 40 points, do NOT lose them
I genuinely don't get why people fear AD the most. It's the most predictable part of the exam with the clearest paths, especially with the assumed-breach scenario. Study it until it's second nature. I'm sharing 2 cheatsheets, one for BloodHound attack edges and one for AD enumeration, but seriously, build your own too.
Right before the exam, re-read your own notes
The day before, or the morning of, go through all your own notes and cheatsheets to refresh everything in your head before you go in. You wrote them for exactly this moment, so use them to get your whole methodology loaded and ready.
PART 2: DURING THE EXAM
Document everything as you go
Build this habit in labs, not on exam day: screenshot and copy your commands every time you make any progress. My report ended up being 165 pages. Just add everything, it won't hurt. If it's not automatic before the exam, you'll forget under pressure.
Take notes on every single machine
For each box, note what you have, what you think might work, and your next move. Especially: if you find a service with a known privesc vuln but you don't have a foothold yet, DOCUMENT IT. When you finally get in, you'll be overwhelmed, you'll start trying the usual angles, and you'll forget you already found the path. I wasted real time doing exactly this. Write it down so you can jump straight to it.
Sleep. Sleep. SLEEP.
Tunnel vision is real, really, really real. If you're stuck, take a break and sleep. A fresh mind changes everything. On my second attempt I was stuck for 6 hours forcing things, slept for 3 hours, came back, and got 20 points in 45 minutes.
Avoid rabbit holes, reset to zero
When you've been stuck too long, reset the whole thing and start from nmap as if you know nothing. Do TCP, do UDP, go service by service, one by one, like you have no results yet. Under pressure you will miss something the first time, and this catches it.
Read every error carefully
Any error may contain the answer. Always read them carefully.
Sometimes you just need to reset the machine
Sometimes it is working and all you need is a machine reset. Keep this in mind before you spiral.
If an exploit isn't working, there's almost always another way
Try GitHub, try a different RCE, try v2, try a "fixed" version. You'll hit very common python issues, so document them and the fix, so next time you know immediately what to change.
PART 3: GENERAL ADVICE, MINDSET
Hiding in plain sight
This is SO true in OSCP. It's insane how easy it looks once you see it. Even on my failed attempt, looking back afterward, the path was obviously easy to spot. And even when you find something that seems like an easy path, believe me, it might be even easier than that. Keep this in your head: the answer is usually right there.
Understanding beats typing
Again and again: take your time understanding the concepts and attack vectors. Exploiting the machine takes minutes. Understanding the concept and having a better eye for spotting it is the real skill, not writing commands into your shell.
Understand your tools and the concepts, don't just copy-paste
Never use a tool without understanding what it does, and spend more time on concepts. Don't just know how to exploit something, understand how it works so you connect the dots on something new. Simple example: you have LFI and SSH is open, you find a username, you read their private key through the LFI, and you use it to SSH in. You only chain that instantly if you understand each piece.
Enumeration isn't really the problem
I don't think the issue is a lack of enumeration like most people say. I think it's failing to spot the vulnerable part, or not understanding an error, or missing something the enumeration already told you. You're overlooking it or not connecting the dots. After enough labs and reading other people's walkthroughs, enumeration itself should not be a problem at all. Focus on understanding what you enumerated.
Understand why things work OR fail
When a command or exploit fails, understand why. When it works, understand why too. The point isn't just grabbing the two flags, it's understanding the concepts. After passing every lab I would sit for a while and ask: what actually happened? what was misconfigured? how would you fix it? how do you avoid it? That way, when you face the same vuln again but it's not working, you'll recognize it. You might get an error telling you the configuration has been hardened so it's no longer vulnerable, and you'll know right away that's what you're looking at.
The material lacks a lot of great tools, you'll find them on the way
The biggest one is Ligolo. The course won't hand you the best tools; you pick them up in labs and walkthroughs.
Trust the process
Trust your methodology, you have more than enough to finish. And one more time: it is not scary, and remember, it's hiding in plain sight.
I'm attaching my cheatsheets (BloodHound attack edges + AD enumeration). Use them, but please take your time to go through them and understand what's going on in there, adjust them to your needs, and make them yours. And build your own too.
Quick heads up: both files are HTML, so download them first and then open them in your browser to view them properly.
If you need help, comment here and I'll do my best to answer everything. Good luck, you've got this.
This is just my own experience, and these are the things that worked for me. Everyone is different, so take what works for you and leave the rest. You are welcome to disagree and share your own thoughts. Thank you for reading.