<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Brendon Teo on Medium]]></title>
        <description><![CDATA[Stories by Brendon Teo on Medium]]></description>
        <link>https://medium.com/@btkl123?source=rss-6e4304a5c86d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mNcAx1qwyb9NCrzI-hshKw.png</url>
            <title>Stories by Brendon Teo on Medium</title>
            <link>https://medium.com/@btkl123?source=rss-6e4304a5c86d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:26:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@btkl123/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OSCP-How I Tried Harder]]></title>
            <link>https://medium.com/@btkl123/oscp-how-i-tried-harder-d6840a6efec2?source=rss-6e4304a5c86d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6840a6efec2</guid>
            <category><![CDATA[cyber]]></category>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[pwk]]></category>
            <category><![CDATA[oscp-preparation]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Brendon Teo]]></dc:creator>
            <pubDate>Sat, 05 Nov 2022 11:23:59 GMT</pubDate>
            <atom:updated>2022-11-05T11:23:59.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ckOs4GNmVy46oXBns0TgNQ.png" /></figure><blockquote>An OSCP has demonstrated the ability to use persistence, creativity, and perceptiveness to identify vulnerabilities and execute organized attacks under tight time constraints. OSCP holders have also shown they can think outside the box while managing both time and resources.</blockquote><h3>Introduction</h3><pre>whoami /all</pre><p>I am a 25-year-old Cyber Security Systems Engineer working in a Government Agency in Singapore. Back in the year 2019, I pursued a 4-year Degree in Computer Science, with a specialization in Cyber Security, and received my Bachelors in July 2022. All this time, I’ve always had a strong passion for Cyber Security as I enjoyed exploiting application and understanding how they can be better secured as a whole.</p><h3>Dedication</h3><pre>net user </pre><p>Before I begin, I would like to thank these people in my life who have made this amazing milestone of mine come true.</p><p><strong><em>Parents</em></strong></p><blockquote>Mom, thanks for always telling me to go with where my interests lie. Your constant encouragements and faith in me never fail to inspire me to continue doing my best in what I love!</blockquote><blockquote>Dad, thanks for always believing in me and supporting me throughout my entire education journey up till this point. Sponsoring the certification alone was no easy decision as the OSCP course was relatively expensive for us. From the bottom of my heart, thank you dad for sponsoring the certification and having faith in me passing the exam!</blockquote><p><strong><em>Girlfriend</em></strong></p><blockquote>My main pillar of support! You were always there for me behind everything I strived for and worked towards. Thanks for listening to all my rants and complaints about the exam being near impossible to pass and my many nights of staying up till past 4am struggling to solve the machines! I know you don’t really understand what it is I am doing actually but it is the feeling of having someone there always supporting you by your side. I apologize if we didn’t get to go out more often for Cafe dates on those long nights i stayed home and instead chose to give me the time/space I needed to practice the machines. Love you so much and I will promise to strive my best in everything I do for you! :)</blockquote><p><strong><em>Kevin</em></strong></p><blockquote>Remember when I first met you in Year 1 and introduced you to Cyber Security? And how we attended the Certified Ethical Hacker (CEH) course together to learn more about this domain? Hahaha those were the good old days bro where our eyes first landed upon the world of pentesting and red teaming. Thanks for all the fun times we had together staying up till 4am at my place solving machines together and learning through each other’s mistakes! Lastly, all the best to you into eventually passing your OSCP and taking on the start of your pentesting journey with me! To more late nights hacking away together brother :)</blockquote><p><strong><em>Sherwinna</em></strong></p><blockquote>One of my closer friends who’s working in the same company as me and whom I cherish! Thanks for tanking the first few CSDP assignments during our SUTD week to allow me some buffer to complete some PWK lab machines! Knowing those weeks were tough for you, I just want to say thanks too for helping me attain this certification I always dreamed to possess! Let’s go take more photos soon haha :)</blockquote><p><strong><em>Shin</em></strong></p><blockquote>During my 6 months internship in the bank, I remembered how much you inspired me to follow my aspirations and NEVER stop asking questions! Being a newcomer, I was relatively shy at asking questions whenever I encountered a problem. You helped me overcome that barrier and eventually pushed me into just following my dreams. Thank you senpai :)</blockquote><p><strong><em>Nicholas</em></strong></p><blockquote>Bro, if it wasn’t for your tips on using Chisel for pivoting, I would never have passed the exam! Thanks for giving me so much confidence in just taking the exam and believing in my enumeration methodology! Hope to learn more from you in office haha :)</blockquote><h3>Background</h3><pre>systeminfo</pre><p>My passive preparation for the OSCP exam began in the year 2020 after passing my Certified Ethical Hacker exam. I was very intrigued with the new found knowledge and wanted to learn even more offensive skills. During this period, I was also working as a Cyber Security Analyst intern at an American bank under the CSOC team.</p><p>Throughout the 6 months there, I developed many skills that helped me understand how some attacks in the wild can be easily detected by the blue team. I wanted a deeper understanding about how these attacks work and how to exploit common vulnerabilities through public exploits.</p><p>During this time, I took the opportunity to ask my senior colleagues what certifications were recognized in the field and focused more on penetration testing methods. This was when they introduced me to the OSCP exam certification.</p><p>In their words, it was a tough yet very rewarding certificate that will aim to enforce one’s understanding in offensive security skills. I was intrigued. Searching up on the course, I read through a rough syllabus overview of the OSCP and was shocked at how advanced it was for me at that point in time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*5sR8IlQlyax7B9xpNEb6GQ.png" /></figure><p>Looking at the price of the course, I was fairly certain I could not learn the sheer amount of content needed to pass the exam within just 3 months.</p><p>I decided to try harder. Knowing I had so much more to learn, I went to purchase a Web Penetration and Bug Bounty hunting course by Vikash Chaudhary on Udemy.</p><p><a href="https://tutflix.org/resources/offensive-approach-to-hunt-bugs-by-vikas-chaudhary.3622/">https://tutflix.org/resources/offensive-approach-to-hunt-bugs-by-vikas-chaudhary.3622/</a></p><p>Unfortunately, this course is no longer available as of 3 November 2022. It taught me how to easily identify the most common web vulnerabilities in the OWASP top 10. These include:</p><ol><li>Cross Site Scripting Attacks (Reflected, Stored, DOM)</li><li>SQL Injections (Blind, Boolean, Error-Based)</li><li>RFI/LFI</li><li>Parameter Tampering</li><li>HTML Injections</li><li>Server Side Request Forgery</li><li>XML External Entity Injections</li></ol><p>Feeling confident, I practiced my new-found knowledge by attempting to complete the Hack the Box registration challenge.</p><p>Yes, you heard it right. Back then, new users on Hack the Box had to go through a series of steps by analyzing the source code of the registration page in order to forcefully generate a free ticket to allow the registration on the platform. Within an hour, I was finally a member of Hack the Box.</p><p>This was where my first plateau came along. I referred to TJ Null’s old list of Hack the Box machines and decided to attempt some machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*ZbWU9E5jEY7ho5GJXgqrmg.png" /><figcaption><a href="https://docs.google.com/spreadsheets/u/1/d/1dwSMIAPIam0PuRBkCiDI88pU3yzrqqHkDtBngUHNCw8/htmlview">TJ Null’s OSCP-Like Machines</a></figcaption></figure><p>In the first week, I remembered attempting the first Hack the Box machine and was completely stuck on how to solve it. After what seemed like days, I looked up several public writeups on the box and managed to fully compromise the machine. The feeling of satisfaction and anger was something I couldn’t quite describe in words.</p><p>It was obvious I wasn’t ready for the OSCP but yet I thought to myself there was really so much more to learn! I took a break from my studying and Hack The Box machines as I had to focus on passing my University exams. For several months, I did not touch anything related to penetration testing.</p><h3>Compromised Machines</h3><p><strong>PWK Lab Machines: ~24 (Including Both AD Sets)</strong></p><p><strong>HackTheBox Machines: 20</strong></p><p><strong>Proving Grounds Machines: 14</strong></p><p><strong>TryHackMe Machines: 7</strong></p><p><strong>Total Machines: 65</strong></p><h3>OSCP Preparation</h3><h4>Stand-Alone Machines Preparation</h4><p>Here’s a compiled list of resources that I used to help prepare myself Pre-OSCP.</p><p><a href="https://overthewire.org/wargames/bandit/">OverTheWire</a> — Bandit was particularly useful in helping to reinforce one’s understanding of Kali Linux basic commands and syntax.</p><p><a href="https://www.udemy.com/share/101WaI3@G0G0fzdKqFs9p2ShE1SrbmP98iwkPNzw5vCAo8QjKXlhoh3k8XunnYII0Dg-usqeHA==/">Ethical Hacking Course</a> — This course helped me to establish a solid foundation of the tools used by ethical hackers and taught me the use of several offensive tools for wireless attacks as well.</p><p><a href="https://tryhackme.com/">TryHackMe</a> — This platform alone accelerated my progress for OSCP by a huge amount. It contains walkthroughs of each attack along with your own virtual instance for practising what you learnt from each lesson. I highly recommend checking out the <a href="https://tryhackme.com/path-action/jrpenetrationtester/join">Junior Penetration Tester</a> room for your OSCP preparation.</p><p><a href="https://www.hackthebox.com/">HackTheBox</a> — Though not very similiar to OSCP in my opinion, this platform exposed me to many different type of attacks that I had to force myself to read up on. HackTheBox offers machines that are more similiar to CTF boxes and less of OSCP style. However, you will definitely learn a lot from reading writeups and doing the machines whenever you are stuck.</p><p><a href="https://www.youtube.com/watch?v=2DqdPcbYcy8&amp;list=PLidcsTyj9JXK-fnabFLVEvHinQ14Jy5tf">IppSec Videos</a> — This playlist contains all the walkthroughs of the OSCP-like machines from the famous TJ Null’s list. Watch his videos and understand the tools IppSec uses and what does he use them for in different situations. Try to understand his methodology as well particularly in enumeration and finding an initial access to the machine.</p><p><a href="https://www.youtube.com/watch?v=PzPTXDIbw6c">S1REN Videos</a> — What a legend, these videos helped me really get a solid grasp on my enumeration methodology as well as expose myself to new tools like wfuzz, instead of using the traditional gobuster/dirbuster. It was only at this point in time did I realise the power of wfuzz in testing for common web application attack vectors. Watch all her walkthroughs on the OSCP-like boxes from TJ Null’s list <strong>ESPECIALLY the DC 1–9 series.</strong> Thanks S1REN!!</p><p>Machine Writeups — Perhaps the part where I learnt the most was by reading through different machine writeups for <strong>HackTheBox/TryHackMe</strong> machines. If you scroll through the <a href="https://www.reddit.com/r/oscp/"><strong>OSCP Reddit</strong></a>, you will often hear people pointing out that you should only refer to writeups whenever you are stuck. I would have to disagree with that as I strongly feel as long as you are learning something new and recording the whole process down, there’s nothing to lose by just reading through a writeup.</p><p><strong>Note Taking — Notes notes notes!! </strong>I cannot stress the importance of this helping me to become faster at completing machines and recapping everything I learnt from the machines. Try to organise your notes into different sections for instance:</p><ol><li>Enumeration Commands</li><li>Exploitation</li><li>Privilege Escalation</li><li>Post Exploitation</li><li>Useful Commands / Misc.</li></ol><p>Personally, there isn’t any <strong>BEST </strong>note taking software in my opinion, but I used CherryTree in Kali Linux to help me organize my notes in a more concise and easy to understand manner.</p><p>I have included a sample template for my machine writeup that you can incorporate into your own note taking.</p><p>Writeup Template: <a href="https://www.dropbox.com/s/wcbqbdoipld6hz0/Machine%20Template.ctd?dl=0">https://www.dropbox.com/s/wcbqbdoipld6hz0/Machine%20Template.ctd?dl=0</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQ7RjErRPzKCUqwhMhYa6Q.png" /><figcaption>Machine Writeup Notes</figcaption></figure><p>I have also included two writeups for machines that I completed in the TryHackMe platform mainly <strong>BrainPan1</strong> and<strong> SkyNet</strong>. To use the template for a new machine writeup, simply click on machine template and Copy into a new node for your machine. You can refer to my two writeups provided and observe how I organize the findings according to the template!</p><p>As for all the commands I save in my notes, I have also included a template that you can use for note taking throughout your OSCP journey!</p><p>Note-Taking Template: <a href="https://www.dropbox.com/s/smd5i1srewval33/Notes%20Template.ctd?dl=0">https://www.dropbox.com/s/smd5i1srewval33/Notes%20Template.ctd?dl=0</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZHHXaogZJgCZzy649oSLZg.png" /><figcaption>Notes Template</figcaption></figure><p>Default commands for tools like <strong>nmap</strong>, <strong>wpscan </strong>and <strong>smbclient </strong>have also been included into this template for you to use :)</p><h4>Privilege Escalation Preparation</h4><p>This was something I initially struggled with at the start but eventually came to be more comfortable the more machines I compromised. I would suggest getting the two Privilege Escalation Courses from Tiberius on Udemy as this really helped me understand all the possible ways to elevate one’s privileges.</p><ol><li><a href="https://www.udemy.com/course/windows-privilege-escalation/"><strong>Tiberius Windows Privilege Escalation</strong></a></li><li><a href="https://www.udemy.com/course/linux-privilege-escalation/"><strong>Tiberius Linux Privilege Escalation</strong></a></li></ol><p>Though the costs might seem expensive at a total of around $35USD, the courses will definitely help you better understand what to look out for as well as how to automate your PE process and make it more efficient.</p><p>Test your new-found knowledge in his free Privilege Escalation rooms on TryHackMe and you should be good to go!</p><ul><li><a href="https://tryhackme.com/room/windows10privesc">TryHackMe | Windows PrivEsc</a></li><li><a href="https://tryhackme.com/room/linuxprivesc">Linux PrivEsc</a></li></ul><h4>Active Directory Preparation</h4><p>With the new addition of Active Directory in the exam, this allows students the flexibility of choosing either to complete the <strong>AD domain</strong> for 40 points + <strong>1 Root</strong> (10 Points) + 2 <strong>Users </strong>(20 Points) or choose rooting the other <strong>3 stand-alone machines</strong> (60 Points) + <strong>Lab Report</strong> (10 Points) for a total of 70 Points in order to pass.</p><p>This also makes it harder for students like myself to pass who chose not to go with writing the exam report for the 10 bonus points. Instead, I chose to dedicate my time in the PWK labs and <a href="https://www.offensive-security.com/labs/individual/"><strong>Proving Grounds</strong></a> machines to better familiarize myself with the enumeration methodology and exposing myself to more OSCP-like machines in Proving Grounds.</p><p>Here’s my complete guide resources used to better prepare myself for conquering the Active Directory set.</p><p><a href="https://www.hackthebox.com/"><strong>HackTheBox</strong></a> — Complete Active Directory machines like <strong>Active</strong>, <strong>Forest</strong>, <strong>Blackfield, Sizzle </strong>and <strong>Sauna. </strong>If you are attempting to conquer AD for the first time, it is likely you would not be able to grasp what to do for these machines. Read up writeups from people and watch through IppSec’s list of walkthroughs for these machines! Understand his entire methodology behind the enumeration as well as knowing when to use what tools.</p><p><strong>PWK-Labs — </strong>Ensure that you have completed both the <strong>2 AD domains</strong> <strong>in the PWK labs</strong> and the <strong>AD domain in the PWK exercises </strong>as well. Completing the 3 domains here would ensure you understand all the tools and methodology needed to pass the AD section in the OSCP. The only thing you need to practise after compelting them is pivoting as I feel that the 3 AD domains here did not really give you much practice on pivoting. I highly recommend the tool <a href="https://github.com/jpillora/chisel"><strong>Chisel </strong></a>as it is easy and simple to use. The AD lab machines are IMO very similiar to the OSCP’s AD machine set and would definitely help you out!</p><p>Below are the list of tools I find particularly useful in conquering the AD set for the OSCP:</p><ol><li><a href="https://github.com/SecureAuthCorp/impacket"><strong>Impacket</strong></a><strong> — </strong>Though Kali linux comes preinstalled with impacket’s tools, it is better to just git clone from the website itself to ensure you have the full list of updated tools to use for AD. Just be familiar with these Impacket tools: <a href="https://github.com/SecureAuthCorp/impacket/blob/master/examples/GetNPUsers.py"><strong>GetNPUsers.py</strong></a><strong> (AS-REP Roasting) , </strong><a href="https://github.com/SecureAuthCorp/impacket/blob/master/examples/GetUserSPNs.py"><strong>GetUserSPNs.py</strong></a><strong> (Kerberoasting), </strong><a href="https://github.com/SecureAuthCorp/impacket/blob/master/examples/psexec.py"><strong>psexec.py</strong></a><strong> (Spawning NT/Authority shell as admin), </strong><a href="https://github.com/SecureAuthCorp/impacket/blob/master/examples/secretsdump.py"><strong>secretsdump.py</strong></a><strong> (DC-Sync Attack) </strong>and <a href="https://github.com/SecureAuthCorp/impacket/blob/master/examples/smbclient.py"><strong>smbclient.py</strong></a><strong> (Transferring files through SMB to target).</strong></li><li><a href="https://github.com/ParrotSec/mimikatz"><strong>Mimikatz</strong></a><strong> — MOST IMPORTANT TOOL!! </strong>This is by far the most essential of all tools for passing the OSCP’s AD component. Get familiar with how to dump out hashes from the SAM or dumping saved logged on users’ passwords. Ensure you transfer the mimikatz executable of the sam architecture as the host from the Github Link here. Remember that you can only use Mimikatz when you have the SeDebugPrivilege enabled or are running as SYSTEM. If local administrator, might have to do a UAC Bypass to elevate from Medium to High integrity.</li><li><a href="https://github.com/fox-it/BloodHound.py"><strong>Bloodhound-Python</strong></a><strong> — </strong>A python-based ingestor for the famous Bloodhound tool for AD Enumeration and lateral movement. In my opinion, the entire Bloodhound suite is pretty much overkill for the OSCP but would serve as a bonus if you need more ways to pivot towards the Domain Controller (DC).</li><li><a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1"><strong>PowerView.ps1</strong></a><strong> — </strong>Once you obtain a shell on the target, using PowerView’s built in commands will help to better give you an idea of the entire AD. These include Computer IP Addresses in the AD, AD domain name, Kerberoastable Users and Domain Admins etc. The cheatsheet I used to enumerate using PowerView can be found here: <a href="https://book.hacktricks.xyz/windows-hardening/basic-powershell-for-pentesters/powerview">https://book.hacktricks.xyz/windows-hardening/basic-powershell-for-pentesters/powerview</a></li><li><a href="https://github.com/ropnop/kerbrute"><strong>Kerbrute</strong></a><strong> — </strong>A useful tools for speeding through a list of users that you have obtained and verifying with the Domain Controller if any of them are valid AD users. For example, you downloaded a users.txt file containing 100s of users and want to perform an AS-REP Roast attack, however it would take too long to do so. It will be better to trim down the list of actual AD Users in the list using Kerbrute.</li><li><a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/Privesc/PowerUp.ps1"><strong>PowerUp.ps1</strong></a><strong> — </strong>This script will be particularly useful in performing a quick check for common local Windows Privilege Escalation like unquoted service paths or saved credentials for instance. Remember, this script is for performing a local PE and not for enumerating AD like <strong>PowerView.ps1.</strong></li><li><a href="https://github.com/jpillora/chisel"><strong>Chisel </strong></a>— <strong>2nd Most Important tool for Conquering the OSCP AD Set!! </strong>You will need to just understand how to setup dynamic port forwarding through chisel and that’s about it. Run all commands with <strong>proxychains </strong>specified at the front in order to use the chisel tunneling to reach internal networks. e.g. (<strong>proxychains nmap -sT -sV -top-ports=20 172.16.0.1</strong>)</li><li><strong>Crackmapexec — </strong>This tool already comes preinstalled on all kali linux by default. An essential tool for testing if a user is able to access any services. For example, you compromised a user and want to test if he you can list the SMB shares using his credentials. This tool will help u get the job done. *Look out for the ‘<strong>Pwn3d!</strong>’ message which shows you can get an instant shell on the box using the user’s credentials! :)</li><li><strong>evil-winrm — </strong>A pre-installed tool which spawns a winrm shell if the computer is running <strong>winrm </strong>on <strong>port 5985</strong>. This is as good as having a normal shell but better. The tool includes functions like <strong>download </strong>and <strong>upload </strong>which allows you to transfer files to and from the target with just one command. First, check if you can winrm onto the target message and receive the ‘<strong>Pwn3d!</strong>’ message using the command: <strong>crackmapexec winrm &lt;ip address&gt; -U ‘admin’ -P ‘admin123’</strong></li><li><strong>ldapsearch — </strong>A pre-installed tool which allows you to enumerate the LDAP service to extract possible AD information such as AD users and possible saved passwords. Good to know!</li></ol><p><strong>Extra AD Resouces</strong></p><ul><li><a href="https://book.hacktricks.xyz/windows-hardening/active-directory-methodology">Active Directory Methodology | HackTricks</a></li><li><a href="https://fareedfauzi.gitbook.io/oscp-notes/others/active-directory-attack">Active Directory attack</a></li></ul><h4>Buffer Overflow</h4><p>The buffer overflow machine has now been converted into a Low-Privilege vector in the OSCP exam and would not gain you a SYSTEM/root shell once completed. The student would now have to perform a Local Privilege Escalation in order to get the full 20 points. In addition, the buffer overflow is not confirmed and may or may not be present during your exam!</p><p>Though the changes seem to be a downside, it is still helpful to know how to generate your own manual exploit and get a shell on the target buffer overflow machine fast. With a few ready scripts at hand, you really don’t have to be afraid in conquering the buffer overflow when you are presented with one.</p><p>Here’s a list of resouces I used to prepare for Buffer Overflow:</p><ol><li><a href="https://tryhackme.com/room/bufferoverflowprep"><strong>Tiberius’ Buffer Overflow Prep</strong></a><strong> — </strong>Go through the room and complete just a few of the binaries will do. Take down all the steps needed to get a shell on the buffer overflow machine in your own notes and understand the methodology behind it. <strong>Copy and save all the scripts </strong>he used in the room to your own Kali Linux and you should be good to go for the OSCP.</li><li><a href="https://tryhackme.com/room/brainpan"><strong>BrainPan1</strong></a><strong> — </strong>A TryHackMe room similiar to the OSCP’s buffer overflow. Complete this only after completing 2–3 binaries from Tiberius’ room. Once you complete this, you are more or less 90% ready for OSCP’s buffer overflow.</li><li><a href="https://www.youtube.com/watch?v=skvjS4OX8cg"><strong>Elevate Cyber OSCP Buffer Overflow Tips</strong></a><strong> — </strong>Watch this video from elevate cyber as he will tell you interesting short cuts you can do in Immunity Debugger to cut short your buffer overflow time!</li></ol><p>Lastly, remember to check what Operating System is running on the target machine and ensure you are using the correct payload for it! The windows debugging machine will be a windows payload for sure, however if the target is a Linux machine, please remember to change your payload to be that of Linux once you verified your exploit is working!</p><h3><strong>Exam Experience</strong></h3><p>I scheduled my OSCP exam to be on <strong>9th November 2022</strong>. Within the first week, I bought a proving grounds subscription too and managed to compromise 15 machines total from <strong>PWK labs </strong>and <strong>Proving Grounds</strong>.</p><p>At this point in time, I have also rooted 20 machines from <strong>HackTheBox </strong>prior to buying the OSCP and 22 machines from the PWK labs. I was feeling confident in my enumeration methodology as well. I decided to just push forward the OSCP exam to<strong> 1st November 2022</strong>. The official exam start time was scheduled to be at 10:00 am (GMT +8).</p><h4>Exam Day</h4><p>I woke up at 9am and drank my usual coffee to start the day strong. My strategy to passing the exam was to conquer the Active Directory set with everything I learnt followed by moving on to the Buffer Overflow machine if I was presented with one.</p><p><strong>Having not done the Lab Report for the 10 Bonus Points</strong>, I had<strong> NO CHOICE</strong> but to conquer the AD set for the 40 points in order to pass the OSCP exam. I logged in to the exam portal at around 945am and was tasked to run a script on my Kali as well as some Administrative tasks that needed to be checked by the Proctor.</p><p>After around 20 mins, the exam finally begun officially at 10:05am. I could feel the adrenaline racing in me. I begun by conducting a full Nmap scan on the first External facing AD machine and tried to look for suspicious vectors that presented itself with a way of an initial entry to the target.</p><p>I achieved my first <strong>initial access</strong> on the target around <strong>10:40 am(35 Min mark)</strong> and was feeling really excited! From here, I conducted a local privilege escalation technique that I was very sure the machine was susceptible to. Initially, the exploit did not work as planned but I managed to get it to work with a few tweaks and understanding of the exploit. I achieved <strong>SYSTEM</strong> on my first machine at <strong>11:32am (1 Hour 27 Min Mark)</strong>.</p><p>At this point, I was feeling extremely excited with my results having completed full system access on the first machine within roughly an hour and a half. I initialized my pivoting setup and moved on to the next machine in the network. At around <strong>11:56am (1 Hour 51 Min Mark)</strong>, I achieved full <strong>SYSTEM </strong>on the second machine!! I was feeling so so happy at this point as I though to myself I only needed just one more machine (Domain Controller) to conquer the entire AD!!</p><p>Unfortunately, this was where I met my first big plateau which nearly costed me my entire exam. I had no way of reaching the last machine and getting more information out of the 2nd compromised machine due to several reasons in which I will not be able to share. It felt so close yet so far… I really regretted not practicing pivoting in the PWK labs and into the other internal networks.</p><p>I prayed and prayed for God to give me an opening as I was sure there was not only one way to reach the last machine using what I have learnt. After what seemed like eternity, I had an incredible idea and went to test if my theory was right. True enough, I managed to extract what I needed from the 2nd target and achieved full <strong>SYSTEM </strong>compromise at<strong> 15:01 (4 Hours 56 Min Mark).</strong></p><p><strong>HOLY ****!?</strong> I completed the AD set in <strong>roughly 5 hours</strong> and was feeling insanely shocked! I told the proctor I was going for a lunch break and I rememebered screaming “<strong>YESSS</strong>” really loudly. I slowly ate my lunch as I knew I just needed 1 Root and 2 User Flags in order to pass the OSCP!</p><p>At <strong>15:40pm</strong>, I came back and started on the Buffer Overflow machine. Referring to the Buffer Overflow Resources I mentioned earlier, it was pretty much just pluck and paste in order to get the exploit to work eventually on the target.</p><p>I achieved Initial Access on the machine at <strong>4:46pm (6 Hours 41 Min Mark). </strong>Unfortunately, I wasn’t able to get my Privilege Escalation on this machine. I exhausted everything I learnt from Tiberius’ courses and tried running all the PE scripts as well but to no avail. After around <strong>30mins — 1 Hour </strong>of failed enumerations, I decided to just move on to the next box.</p><p>At this point, I had<strong> 50 Points</strong> in the bag and needed <strong>20 points to pass</strong>. I moved on to the next machine and was presented with an interesting machine. This machine was similar to something I did before in Proving Grounds and I was able to get an initial access on the box at <strong>20:09 pm (10 Hours 4 Min Mark). </strong>Though the Privilege Escalation was something I had never done before, the idea was pretty self explanatory having done many similiar machines in Proving Grounds and the PWK labs. I achieved full root 11 minutes later at <strong>20:20 pm (10 Hours 15 Min Mark)</strong>.</p><p>70 Points!!!!! I couldn’t believe my eyes! At this point, I was so happy to the point that I was screaming yes so loudly Infront of the proctor. Honestly, I couldn’t imagine how embarrassing it was but I didn’t care at that point. For 2 years, I only dreamt of achieving this certificate and I had unofficially done it omg. Memories started flooding into my head of all the long nights till 5am rooting machines and constant reading of writeups of OSCP experiences by other students.. I was beyond contented. Proud :,)</p><p>I decided to take a long break and went for my late dinner. I have to thank my mom too for ensuring my exam was a smooth success. Dinner was already prepared by my mom and she was very curious how it went! “<strong>I PASSED MOM OMG!</strong>” I knew it wasn’t officially a pass but it just felt so good to know that I had acheived the minimum to pass at this point! My mom was really happy for me and congratulated me whilst having a good dinner together! I texted my girlfriend and my good friend Kevin who was also curious on my progress and was feeling so excited to share the good news XD. During this time, I watched some shows on Netflix and YouTube too to calm myself as well as reward myself for the hard work I took to accomplish this feat!</p><p>The long break and short celebration came to an end as I braced myself for the final push. Though I achieved the <strong>70 points needed</strong>, I didn’t want to give up there. I came back around 11pm and began enumerating the last machine. Wow, this machine was tricky. I was stuck on the initial access for almost 3 hours.. What I can advise to everyone taking the exam, make sure your public exploits have the right variables changed. Not changing just one variable can result in a failed exploit!</p><p>At around <strong>1:57am (15 Hours 52 Min Mark)</strong>, I achieved a local shell on the machine! I was glad that my decision to continue pushing myself ended out working well. 3 Minutes later , I achieved a root shell through a very simple Privilege Escalation that I have done before in the Proving Grounds / TryHackMe rooms at <strong>02:00am (15 Hours 55 Min Mark)</strong>.</p><p>Words couldn’t describe how happy I was at that point in time… I achieved 90 points in the estimated 16 hours and was so so thankful for everything I put in for this exam as well as to those that contributed so much in helping me achieve this. I decided to just call it a night and told the proctor I would be sleeping for the next few hours. As usual, I scrolled through my favorite Tik Tok app endlessly and only fell asleep an hour later.</p><p>I logged back in later at <strong>06:30am (3 Hours Nap) </strong>and focused on collecting any necessary screenshots that I might have missed throughout the entire time I was documenting the writeups for each machine. When the exam ended at <strong>10:00am, </strong>I thanked the proctor for his time and logged off.</p><p>Tired. I was beyond exhausted at this point. Knowing I had a report to do in the next 24 hours, I knew I could only rest a little more before going for the final push. Fortunately, my report was more or less ready with the necessary screenshots I had and I just had to paste all the information over into the exam template. After checking my report roughly 4–5 times, I submitted my report and waited anxiously for the results.</p><h3>Result Day</h3><p>I waited roughly 2 days after I submitted the report on 3 November. After what seemed like eternity, I finally received the email I had waited for nearly 2 years!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n2m_2J_1DQUep6UmLfCXoA.png" /></figure><p>Official Certification: <a href="https://www.credential.net/da39380c-beae-4f01-8fa3-96804386ce6d#gs.h8z8gw">https://www.credential.net/da39380c-beae-4f01-8fa3-96804386ce6d#gs.h8z8gw</a></p><p>If you have made it to this point, I just want to say thank you for reading through till the end. I would like to assume some of you might be interested in taking the OSCP as well!</p><p>In a nutshell, there’s no reason to be afraid in taking the OSCP exam as this is just a stepping stone into the huge world of Pentesting and there’s just so much more to learn. Watch Ippsec’s and S1REN’s video and understand how would you follow a similar approach and develop your own methodology.</p><p>I wish all of you the best in your Cyber Journey and I thank you once again for embarking on this wonderful journey with me! :))</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*SoyCoCPp2lNqsQM3pAd_EQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6840a6efec2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>