<?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 Yuzhe Zhang on Medium]]></title>
        <description><![CDATA[Stories by Yuzhe Zhang on Medium]]></description>
        <link>https://medium.com/@yuzhezhangwork?source=rss-6eacf5acc684------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pV6jKlGYYFYpNnWw</url>
            <title>Stories by Yuzhe Zhang on Medium</title>
            <link>https://medium.com/@yuzhezhangwork?source=rss-6eacf5acc684------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:17:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yuzhezhangwork/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[Certified Red Team Operator (CRTO) Notes and Tips]]></title>
            <link>https://medium.com/@yuzhezhangwork/certified-red-team-operator-crto-notes-and-tips-ce68d64484f4?source=rss-6eacf5acc684------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce68d64484f4</guid>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[crto]]></category>
            <dc:creator><![CDATA[Yuzhe Zhang]]></dc:creator>
            <pubDate>Sun, 09 Feb 2025 16:12:26 GMT</pubDate>
            <atom:updated>2025-02-09T16:20:21.203Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello there!</p><p>Welcome to my notes, tips, and review of the Certified Red Team Operator course and exam. This time, I want to keep it concise and to-the-point; as opposed to my usual style, which packs more emotion and storying-telling.</p><p>Alright. Get comfy, and let’s get started.</p><h3>What is CRTO?</h3><p>On the <a href="https://training.zeropointsecurity.co.uk/courses/red-team-ops">course website</a>, there is a synopsis and course syllabus that paint a pretty good picture of what the course is going to be. There is a couple of things that I would like to mention here that are not super clearly presented at first glance:</p><ul><li><strong><em>The course is centered around Cobalt Strike</em></strong></li></ul><p>This is arguably what makes the course valuable, as it is quite difficult to get experience with Cobalt Strike anywhere other than an actual red team operator role.</p><ul><li><strong><em>The exam is set in an assumed-breach scenario</em></strong></li></ul><p>This implies that Initial Compromise (initial recon, phishing, etc.) is not the highlight of the course. The bulk of the course and exam is about domain/host recon, Windows privilege escalation, lateral movement, and anti-virus evasion.</p><h3>My relevant background before CRTO</h3><ul><li>OSCP (Took the exam before they added Active Directory to it.)</li><li>I know my way around Windows and Linux (both GUI and commandline.)</li><li>Tryhackme Red Teaming path (Didn’t fully finish it.)</li></ul><p>So, in short, I had nearly zero experience.</p><h3>The Course and Labs</h3><p>As you’d expect from a hands-on certificate, there is the course material and the lab network to practice techniques. Here’s what I did with them:</p><p>I went through the course material <strong>4 times</strong>.</p><p><strong>The first time:</strong> I read through all the materials without turning on the labs, and took notes purely to help my brain process information. Some say that the best way to retain knowledge from reading materials is to paraphrase them after reading. That was what my notes were for. Paraphrasing. Don’t worry if some of the attack techniques feel very convoluted at this stage. Just try to get some <em>vague</em> ideas on how everything works.</p><p><strong>The second time:</strong> I practiced all the attack techniques in the labs with Windows Defender OFF. Obviously this means that I didn’t practice topics like Defender/AMSI/AppLocker evasion. After this round, I’m starting to connect the dots on how all the attack techniques <em>might</em> work together.</p><p><strong>The third time: </strong>I was off labs again. I focused on <strong>organizing</strong> my notes into an wiki of attack techniques. Each attack technique had pre-requisites, enumeration techniques, attack steps, and cleanup steps. I also organized them by tags, making it easy to search for them during each stage of the exam. Here is an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*Ldjs-eBC7zOJ5DOLMWoUtw.png" /><figcaption>Attack wiki page for Unconstrained Delegation</figcaption></figure><p>It is by no means a super tidy/neat page, but you get the idea.</p><p>Doing this really helped me connect the dots and truly understand what each attack is used for, and which stage it should be used.</p><p><strong>The fourth time: </strong>This time Windows Defender is ON. This is where I applied the AV evasion techniques, and tried everything out one more time in the labs to figure out which techniques need to be modified for AV evasion, and which techniques just simply won’t work.</p><p>After these 4 rounds, I felt prepared for the exam.</p><h3>The Exam</h3><p>For the exam, you have a 4-day window to access the network; during which you are allowed to have the network running for a total of 48 hours. So you are to work on the exam for 12 hours a day on average. There will be 8 machines to compromise across several domain/forests, and each of the machines holds a flag. Each flag earns you 10 points, so there are a total of 80 points. You only need 60 points to pass.</p><p>The exam is moderately difficult. There are rarely any rabbit holes. If you see indications of a vulnerability, you don’t need to worry about being led into a dead end. However, it is also not simply a matter of copying and pasting commands from the course. It will require some research on the go, and some creativity. It took me the first 6 hours to make all my payloads undetectable by AV. Here is my scoring graph during the exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_rUBeCiQjoku2Hz4LrCBw.png" /></figure><p>As you can see, I’ve hit some walls even when I was quite confident that I have the course material digested 95%.</p><p><strong>My ultimate advice for the exam is this:</strong></p><p>Don’t rush, you have enough time.</p><p>When you’re stuck, patiently review what you know so far, perform thorough recon, and formulate a plan forward.</p><p>Experiment with that plan on your attacker desktop. Make sure every step of the plan is sound, and every payload works as intended.</p><p>Take breaks, go to sleep, the ideas will come to you.</p><h3>Conclusion</h3><p>CRTO is such an amazing experience. One thing that really stood out to me was the pacing of the exam. With 4 days and on average 12 hours a day, it simulates a real-world penetration testing project pretty well. It is never a burst of effort within 24 or 48 hours; rather, it is a consistent endeavor where you wake up each day and choose to march forward.</p><p>Anyways, here you go! My experience with the CRTO. Feel free to ask questions and I’ll try to answer them to the best of my ability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce68d64484f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSCP — I did it!]]></title>
            <link>https://medium.com/@yuzhezhangwork/oscp-i-did-it-ec91d78644d7?source=rss-6eacf5acc684------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec91d78644d7</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[oscp-preparation]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Yuzhe Zhang]]></dc:creator>
            <pubDate>Sun, 08 Aug 2021 23:39:05 GMT</pubDate>
            <atom:updated>2021-08-10T01:02:46.294Z</atom:updated>
            <content:encoded><![CDATA[<h3>OSCP — I did it!</h3><p>On July 17th, 2021, I received an email from Offensive Security.</p><blockquote>“Dear Yuzhe,</blockquote><blockquote>We are happy to inform you that you have successfully…”</blockquote><p>I was a bit surprised. It was a Saturday. I thought they wouldn’t send out exam results on a weekend day.</p><p>But way, way more than that, I was filled with joy and relief. I passed the OSCP!!!</p><p>Ok, I can talk about my feelings all day, having cancer moon and all, but let’s get into what everyone is more interested in: my journey leading up to the passing of OSCP.</p><p><strong>My Background</strong></p><p>Timespan:~12.2019</p><p>I have a Bachelor’s degree in Electrical and Computer Engineering from CMU.</p><p>Before you start thinking “OMG this guy must be a computer genius and his story does not apply to me”, allow me to say that I really struggled during my time there. I graduated with a 2.0 GPA and almost flunked out because of my bad grades.</p><p>That said, I did learn to code in Python and Java, and can vaguely understand other programming languages.</p><p>I also took an intro level computer security class during my last semester, so I knew what buffer overflow and XSS looked like.</p><p><strong>To summarize:</strong></p><ol><li>I can code in Python and Java</li><li>I can vaguely understand most(?) code</li><li>I know about buffer overflow attacks</li></ol><p><strong>Starting Out: Overthewire and HackTheBox</strong></p><p>Timespan: 01.2020–05.2020</p><p>Evidently from my background, my knowledge in the offensive security is nearly zero. I didn’t even know how to use the Linux command line beyond navigating folders. Through a few google searches on “How to get into cybersecurity”, I found a recurring recommendation for a good starting point:</p><p><a href="https://overthewire.org/wargames/bandit/">Bandit</a></p><p>This helped me get the basics in Linux command line. More importantly, I tasted the sweet victory of finding flags for the first time. <em>It was addictive.</em></p><p>Additionally, I did most of the Natas challenges as well, which got me comfortable with “View Page Source”. I’ll link it here too:</p><p><a href="https://overthewire.org/wargames/natas/">Natas</a></p><p>After capturing numerous flags in these challenges, I felt pretty good about myself. I got a copy of the Kali Linux VM, and moved on to the wonderful platform known to all — HackTheBox, hoping to kick down the door and hack through most of them with my newly acquired flag-capturing skills.</p><p>However, reality hits hard. I had no idea what to do with the IP Address of a “box”. I could ping it….but that’s about all I knew.</p><p>Fortunately, after a few more google searches, I realized there are “write-ups” and “walkthroughs” all over the internet; and among those, I came across the man, the myth, the legend’s name for the first time — IppSec.</p><p>Here’s my recommendation to all the beginners watching IppSec’s video:</p><blockquote>Don’t try to digest everything he mentions in a video at first. Focus on his overall approach and process — what he does at the beginning of an engagement, where he goes to look for information, and how he makes use of those information. Watch a few of his videos, find the repeated steps like nmap scanning, gobuster, etc., and learn those first. IppSec has an inhuman repertoire of tools that he’s fluent with, and some tools are situation specific. It can get overwhelming if you try to learn everything at once.</blockquote><p>With the help of IppSec videos and online writeups, I was able to root a bunch of easy boxes on HTB, and gain a basic grasp on the process of penetration testing.</p><p><strong>To summarize:</strong></p><ol><li>Do Overthewire Bandit challenges for linux command line basics.</li><li>Do Natas challenges to get comfortable with reading web page source code for exploits.</li><li>Watch IppSec videos but focus on fundamental, repeated steps first. Don’t try to digest every single thing at first.</li><li>Try to root HTB easy boxes with the help of Ippsec videos and walkthroughs to get familiar with the process.</li></ol><p><strong>Getting Serious: More HTB, less hints, and the PWK Course</strong></p><p>Timespan: 06.2020–02.2021</p><p>As I got comfortable with HTB easy boxes and the fundamentals tools for penetration testing (nmap, burp, gobuster, etc.), I moved on to medium boxes and tried to rely less on writeups. Instead, I turned to the HTB forum for hints when I got stuck. While I still had to use tons of writeups, I’d say this would be a good point to start enforcing the “only use writeup after 2 hours” rule stated below.</p><blockquote>You’re only allowed to take a peek at a writeup after being stuck for more than 2 hours. Additionally, when reading the writeup, only read up to the point that would help you through your current obstacle. DO NOT READ THE WHOLE WRITEUP AT ONCE.</blockquote><p><strong>Note: Start with 2 hours, and increase from there. You’d need to train yourself to stay focused when stuck for up to about 8 hours.</strong></p><p>To be honest, I did not enforce this rule during my time on HTB, and I think it would’ve made a difference on how much I got out of the PWK course.</p><p><strong>The PWK Course</strong></p><p>DO NOT ATTEMPT TO COMPLETE ALL COURSE EXERCISE!</p><p>My reasoning for the above statement is:</p><ol><li>It takes way too much time, especially after the course revision.</li><li>Not all chapters/topics in the course manual are covered in the exam.</li><li>The course manual/exercises aim to build your foundational knowledge base. Rooting machines is a completely different skill set.</li></ol><p>I learned this the hard way. I started my 3-month PWK course in October, 2020, and I dove straight into the course manual. Fast forward to <strong>a month and a half</strong> later, I finished about <strong>70%</strong> of all the exercises. It was halfway through my course time, and I had not touched the labs at all. So I made the decision to pause my effort towards the PDF, and try my hand at the labs.</p><p>I was stunned to find out that the course manual almost offers no help on “how to root a box”.</p><p>From that point on, I spent all the rest of my lab time hacking in the lab network. Despite my best effort, I was only able to root about 17 machines in the public network. I felt like I spent my first half of lab time trying to play catch-up on course manual practices, and the second half trying to catch up on rooting machines. It was not great.</p><p><strong>How I would recommend using your PWK course time:</strong></p><ol><li>Dive straight into the lab network, starting with the Learning Path.</li><li>Really study the writeups for the first two machines in the Learning Path.</li><li>Progress through the lab network, if stuck, refer to course manual for related knowledge, or ask for help in the forum/discord. Apply the 2-hour rule.</li><li>Thoroughly study through the Buffer Overflow chapter.</li></ol><p><strong>Post PWK Course: Proving Grounds Practice</strong></p><p>Timespan: 02.2021 — 07.2021</p><blockquote>Proving Grounds Practice is your most valuable resource for the OSCP exam.</blockquote><p>I repeat, Proving Grounds Practice is your MOST valuable resource for the OSCP exam.</p><p>The machines on PGP has the same “flavor” as the exam machines. It is not that surprising because these machines on designed by Offensive Security people themselves. <strong>Do ALL of the PGP machines if you have time.</strong> I did all machines that are under “Warm Up” and “Get To Work”, and I did a few under “Try Harder”.</p><p>If you have to prioritize, do the community rated “Hard”, “Intermediate”, and “Easy”. After that, do the machines listed in the Proving Grounds section of TJ Null’s list.</p><p>Again, PGP machines are your best prep, so you don’t want to waste them. A few key principles when doing PGP:</p><ol><li>Do not look at hints unless stuck for 2–3 hours.</li><li>Take thorough notes including what ideas worked, and what <strong>didn’t</strong> work.</li><li>Whether you were able to root the machine or not, read the walkthrough.</li><li>Redo the machines that you haven’t touched in more than 3 weeks.</li><li><strong>MOST IMPORTANTLY: Tally up the attack vectors. Something like “FTP anonymous login revealed sensitive info” appeared 3 times, “weak credentials” appeared 5 times, and “SUID binary” appeared 4 times.</strong></li></ol><p>If you follow these principles, especially the tallying up the attack vectors, you’d start getting a sense of where the attack vector might be. With this intuition, you’d be able to enumerate more efficiently, and recognize the fact that you’re down a rabbit hole when you’re in one.</p><p><strong>Other important resources:</strong></p><p><strong>Community</strong></p><p>r/oscp</p><p><a href="https://discord.gg/xqnc7RED">Join the InfoSec Prep Discord Server!</a></p><p>These are the two places I frequent. The subreddit is more for reading of other people’s success/failure stories, and the discord server is a fantastic place to ask for help during preparation. I’ve met many awesome, helpful people over there and have made friends located all over the world!</p><p><strong>Buffer Overflow</strong></p><p>do TryHackMe’s BufferOverflow Prep room:</p><p><a href="https://tryhackme.com/room/bufferoverflowprep">TryHackMe | Buffer Overflow Prep</a></p><p>Make sure to practice it enough to make it almost muscle memory. Also, <strong>write down</strong> your procedures and have it ready when doing BOF on the exam.</p><p>Personally, I was able to complete a BOF attack in this THM room in about 30 minutes and less. On the exam, I completed the BOF with about 90 minutes because of screenshots and minor setbacks. This room gives you almost exactly the BOF experience on the exam. So again, practice until it feels like muscle memory.</p><p><strong>Privilege Escalation</strong></p><p>do TryHackMe’s Linux PrivEsc and Windows PrivEsc rooms:</p><ul><li><a href="https://tryhackme.com/room/linuxprivesc">Linux PrivEsc</a></li><li><a href="https://tryhackme.com/room/windows10privesc">TryHackMe | Windows PrivEsc</a></li></ul><p>These won’t cover EVERY possible PE vector. But these together with you tallying up all the other PE vectors you encountered in PGP machines, I’d say you’d be in good shape :)</p><p><strong>The Bibles:</strong></p><p><a href="https://book.hacktricks.xyz/">HackTricks | HackTricks</a></p><p>This is the ultimate reference. Whatever service you come across, google search “[service name] hacktricks”. If nothing interesting comes up, and no public exploit available, then this particular service might not be the attack vector.</p><p><a href="https://gtfobins.github.io/">GTFOBins</a></p><p>Got an SUID binary or sudo -l command that you don’t know how to make use of? Check GTFOBins.</p><p><strong>Need Reverse Shell?</strong></p><p><a href="https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md">https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md</a></p><p><strong>The Exam</strong></p><p>My exam was scheduled at 10 AM. Ever since I scheduled it, I’ve tried to start working on machines at or before 10 AM whenever possible, in order to get myself in to the habit of start focusing at that time.</p><p>General tips about the exam:</p><ol><li>If it is your first time around, the pre-exam identification process may take a little longer than planned. It might take up your actual exam time. Do not let that worry you. 24 hours is supposed to be a good bit more than enough to pass the exam.</li><li>Do BOF first. If you’ve practiced enough, then this should be a very easy 25 pointer to get. The reassurance of having 25 points in the bag is priceless.</li><li>If you’re stuck, take a short break. Go outside for some air. Remind yourself that the machine is designed to be exploited, and you probably missed something fundamental. (Maybe pull out the tally for attack vectors for ideas.)</li><li>It is going to be a mental rollercoaster. Every flag you get will cheer you up, and every time you get stuck, you will feel defeated. This is natural, as all of us who take this exam has a lot riding on it. Throughout the exam, check in with yourself mentally. Remind yourself to not get too cocky when you’re on a roll, and not to feel beaten up when stuck. Try your best to stay level-headed.</li><li>Include as much detail as possible in your report. You’ve rooted enough machines to pass the exam. Don’t let the report ruin the win. They don’t take off points for too much detail. So include each command in text form, the output screenshot, your thought process, etc.</li></ol><p>This is all I can think of right now. I will add more info if I think of any in the future. If you have any questions, feel free to DM me on twitter: @YuzheZhang18</p><p>Passion grants you the drive to overcome all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec91d78644d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>