<?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 Srihari N Narayan on Medium]]></title>
        <description><![CDATA[Stories by Srihari N Narayan on Medium]]></description>
        <link>https://medium.com/@srihari.n.narayan?source=rss-089d188c0719------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lBT2E5JkIt7a5ov2bHWTNw.jpeg</url>
            <title>Stories by Srihari N Narayan on Medium</title>
            <link>https://medium.com/@srihari.n.narayan?source=rss-089d188c0719------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:58:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@srihari.n.narayan/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[How I failed and then conquered the PT1 exam by THM]]></title>
            <link>https://medium.com/@srihari.n.narayan/how-i-failed-and-then-conquered-the-pt1-exam-by-thm-71184364a674?source=rss-089d188c0719------2</link>
            <guid isPermaLink="false">https://medium.com/p/71184364a674</guid>
            <category><![CDATA[exam-preparation]]></category>
            <category><![CDATA[thm]]></category>
            <category><![CDATA[pt1]]></category>
            <dc:creator><![CDATA[Srihari N Narayan]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 18:05:06 GMT</pubDate>
            <atom:updated>2026-06-09T18:05:06.369Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SnkQJOPfczH13-P3hXNUgw.png" /></figure><p><strong>Introduction:</strong></p><p>Welcome back to another one of my legacy articles, where I talk about stuff which happened way back. This time, I want to talk about my experience with THM’s own PT1 exam.</p><p>The story begins at DEFCON 33, which in itself was a cool experience for me, and I will be sure to attend to DEFCON 34 later this year. I came across THM’s booth in the Blue Team Village, and talked to the people at the stall, and told them that I had been using the cybersecurity learning platform since April of 2024. They then told me that I could get the exam voucher (with a retry voucher, believe me this is important for later) for free! I had the option between PT1 and SAL1, and I chose PT1. I might go for SAL1 one day who knows.</p><p>I received the exam vouchers directly on my THM dashboard a few days after giving them my email, and planned on giving my exam on the 24th August, 2025 at around 11 AM. I had been preparing for the OSCP already so I felt confident.</p><p><strong>The first attempt:</strong></p><p>Same as last time, I researched on the exam format beforehand, and understood that there are 3 sections in total — Network pentest, one linux machine and one windows machine, Active Directory pentest, with two machines with one of them being the Domain Controller, and finally Web pentest, which included finding 4 bugs on a website. The Network section was going to be worth 36% of the overall grade, the active directory being 24%, and the web section being 40%.</p><p>There were 10 flags to be captured across these three domains, with the network section having 4 flags (2 in each machine, one local and one after gaining privileged access), active directory having 2 flags (one in each machine), and the web section having 4 flags, one of each valid bug or vulnerability. To top all of this off, after finding the flags, you had to write a report, containing the finding name, CVSS score, flag value, description of the attack, potential remediation, which would have then determined if you passed or not, based on a score from 0 to 1000, with passing being 750.</p><p>Long story short… I failed. It devastated me. I thought I was well prepared, I thought 48 hours would be more than enough. I simply underestimated the exam. I failed to capture 2 flags in the web section, and one flag in the Windows privileged user in the network section, and to make matters worse, I messed in the report section as well, losing out on a lot of points.</p><p><strong>Preparation:</strong></p><p>After the exam ended, I looked at my report analysis, and figured out what my weak spots were. For the web section, I practiced challenges with the help of PortSwigger Academy Labs to harden my OWASP top 10 concepts, which was something integral to this section. For the active directory and network section, I practiced Windows challenge boxes, giving special attention to privilege escalation techniques. I focused on refining my approach — how to prevent wasting time chasing rabbit holes, how to enumerate thoroughly, how to utilize searchsploit and exploit-db efficiently, and more.</p><p>One of my blunders in the first attempt was using THM’s AttackBox for the first 6 hours in the exam, as opposed to using my Kali VM which contained my tools, scripts and binaries, and not to mention the necessary dependencies. Another blunder of mine was poor note taking. I panicked so much that I wasn’t capturing any of the other flags that I forgot to write down the steps and commands for the ones which I did capture. This time, I was ready to conquer the exam — I organized everything on my Kali VM. I planned on giving it on 6th September 2025, this time starting at 4:00 PM so technically I had “three” days (Its still 48 hours, but by starting late in the day, I gave myself the impression of more time.)</p><p><strong>The Second attempt:</strong></p><p>Once again, I’ll spare you the boring details… I overprepared for the second attempt and captured all of the flags in the first 6 hours. I genuinely laughed out loud after finding the final flag. Was this the same exam which was giving me nightmares after failing the first time? This attempt really put things into perspective for me. The exam wasn’t difficult technically, but rather I had simply not prepared or practiced for it enough before. I also had not taken it too seriously before.</p><p>It is strange to think something good came out of failure! I refined my methodology and approach so much, with actual proof to show for it.</p><p>After having this revelation, I relaxed, and then wrote the report the next day with a fresh mind, after documenting my approach for each flag thoroughly. I got my results and analysis saying that I passed, a couple of minutes after I hit submit on the report. With results and analysis being delivered so instantly, there was definitely an AI grading the report, which really shows how heavily adopted AI is in our world now.</p><p>When going through the results, I noticed that there was an issue with the flag submission for one of the flags in the web section, so I missed out on 40 points for that. The other aspects of the report for this particular vulnerability were correct however and I received full points for that. In my mind, I did capture all 10 flags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J6cdmYtz9RqX5vsfoTMxQQ.png" /></figure><p><strong>Conclusion:</strong></p><p>Ultimately, I was happy that I passed, that too with such speed. But other than me passing this exam, I learned a really valuable lesson. It is okay to fail sometimes, as long as you learn something useful out of it. My failure demonstrated a poor methodology and a lack of practice, which was an eye-opening experience for me. There was no such thing as too much practice, and you can always improve your skills. This entire experience was ingrained in my mind as I continued preparing for the OSCP exam.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71184364a674" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BITSCTF 2026 OSINT challenge writeup: Internet RabbitHole]]></title>
            <link>https://medium.com/@srihari.n.narayan/bitsctf-2026-osint-challenge-writeup-internet-rabbithole-49d0e76baaab?source=rss-089d188c0719------2</link>
            <guid isPermaLink="false">https://medium.com/p/49d0e76baaab</guid>
            <category><![CDATA[open-source-intelligence]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[rabbit-hole]]></category>
            <dc:creator><![CDATA[Srihari N Narayan]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 05:19:13 GMT</pubDate>
            <atom:updated>2026-02-24T05:19:13.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*Kl-9wj7BOeiDX7WRLouZnA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*okv-DLjF4HpXZTfKYKAwBQ.png" /></figure><p>I participated in BITSCTF 2026 recently which was held 20th-22nd February 2026, under the team RandomHackers. Our team placed 110th place out of 863 teams. I am only going to talk about this one particular OSINT challenge, which was one of my favourite OSINT based CTF challenges which I have ever solved. But this challenge wasn’t without its hiccups, although now I am getting ahead of myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*gvmTKIUIbdmTBelASbAEgw.png" /></figure><p>Now based on the challenge description, I quickly deduced that I am looking for a Linkedin account for the user ‘Shirley Klaus’ from Berlin. On googling this name along with the word ‘linkedin’, I found a page which matched the description.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*BWv8ejK_0Xdzhbx9SWvvdg.png" /></figure><p><a href="https://www.linkedin.com/in/shirley-klaus-3b76423a8/">https://www.linkedin.com/in/shirley-klaus-3b76423a8/</a></p><p>I looked around and didn’t find anything interesting right away. She was working at a company named Mikhailson and Co. (which does not exist). I then looked at the description for her education and found a critical hint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*QnsbMNHRZiVkRYQjnr23sg.png" /></figure><p>Stars &amp; stargazing, and Instagram. Hmmm… so naturally I searched for her Instagram using her name along with the keywords stars, stargazing etc, but didn’t find anything. I even tried reverse image searching her profile picture but found nothing (made me go crazy a bit not gonna lie). But then it hit me, her linkedin banner was a photo of the night sky (space and stars!). I downloaded the photo to perform a reverse image search. I don’t know what did I expect trying to reverse image search a generic photo of the night sky, but don’t blame me for trying. Obviously, I did not get any useful results, so I did the next beset thing and manually inspected the photo, and wouldn’t you know it, I found a small faint line of text hidden in the top right corner of the image: secret_life_of_shir456</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*PvAscUlQZ2VHfiba1f4-GA.png" /></figure><p>Armed with this username and the fact that I am supposed to look for an Instagram account, I immediately discovered an account with this username. The account only had one post about her pet cat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*fgWzxECHISo59edmpizfjw.png" /></figure><p><a href="https://www.instagram.com/secret_life_of_shir456/">https://www.instagram.com/secret_life_of_shir456/</a></p><p>The results of the reverse image search on the photo of the cat weren’t so fruitful, as it turned out that it is a generic stock photo. I then turned my attention to the image caption, which stated that this user has a blog, and has a friend named l1l17h-hehe, which in my opinion are two really big hints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*iYDVEudYGmojRjf0oO3_OQ.png" /></figure><p>A simple google search for ‘Shirley blog posts’ revealed a vercel link which contained her daily blogs. Now, same as last time, I found not one but two critical hints. The red website clearly referred to Reddit, and the octocat referred to GitHub, and since the username for the reddit account was somewhere on this Github repo, I first searched for l1l17h-hehe’s Github account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*N7_IpcFte050htOzcq4R7Q.png" /></figure><p><a href="https://shirleys-blog-posts.vercel.app/">https://shirleys-blog-posts.vercel.app</a>/</p><p>This was also simple enough, as I found it using google once again. I tried going through all of the repos and checked past commits before realizing I didn’t even check the profile description, and there it was, the username ‘Quiet-Department7684’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*lUpqbExr60sPhFqSTKwmyg.png" /></figure><p><a href="https://github.com/L1L17H-hehe?tab=repositories">https://github.com/L1L17H-hehe?tab=repositories</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*sJzlX1RMKQHp_6fFUFlOJg.png" /></figure><p>I then found a reddit account with the same name and found one post mentioning a youtube link and a reply from the same user saying that the video gave her insight for somewhere else to spill her thoughts.</p><p>For me, this is where the rabbit hole truly began…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*0JSC0gf-Q6lytZAAzkv6vA.png" /></figure><p><a href="https://www.reddit.com/user/Quiet-Department7684/">https://www.reddit.com/user/Quiet-Department7684/</a></p><p>The youtube video wasn’t related to anything, which confused me especially because there weren’t any comments from Shirley or anything related to the CTF in the comments for that matter (this is going to be important later).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*fu7vMPZbay9Tj9xzDiEObg.png" /></figure><p><a href="https://www.youtube.com/watch?v=d8S5t__4hTA">https://www.youtube.com/watch?v=d8S5t__4hTA</a></p><p>I should mention that I reached this part of the challenge within the first 30 minutes since the start of the CTF. I am making a point to specify this because the next part stole away 2 hours of my life I am never getting back.</p><p>After trying to check the ‘Best Gymnastics’ Youtube page as well as their Instagram page for clues, I made the leap in logic: Tumbling… Tumblr?! (believe it or not, I actually said this out loud). But it made sense — her saying that she was inspired to spill her thoughts on another platform.</p><p>Then to make matters worse, I stumbled across this account, which I am genuinely not sure was part of this rabbit hole to throw us off, or was made by one of the participants to troll the rest of us (I am certain the account was made after the competition started — a good 2 hours after it stated that too). It was so strange, all of the posts were made a few hours after the competition started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*ZFMisvvmjcuKKU5LtjxH-g.png" /></figure><p><a href="https://www.tumblr.com/quiet-department7684">https://www.tumblr.com/quiet-department7684</a></p><p>Naturally I raised a ticket on the official discord server asking if this was legit, and I didn’t receive any response for a while. It was around 3:30 in the morning when I gave up and went to sleep, and wouldn’t you know it, that is when they decided to get back to me! When I woke up, I noticed that they had replied to my ticket 3 hours ago, saying that they fixed the issue and that I should probably check the YouTube comments once again.</p><p>There it was. The critical hint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*TQpeUvmyxK5kS7jaiRCZmQ.png" /></figure><p>I also checked the YouTube channel for any additional clues, but found nothing. But that didn’t matter because I knew what I was looking for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*kc6yY7Gm7Gx7HZ6v-AGLFQ.png" /></figure><p>Bingo!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*Foz6ZcHnzrtY_LFK9Ex1Bw.png" /></figure><p><a href="https://www.tumblr.com/sh1rl3y123">https://www.tumblr.com/sh1rl3y123</a></p><p>I browsed through the posts and found the flag!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*aI-8gdhpigsOY3YnGr5E2Q.png" /></figure><p>Flag: BITSCTF{w45n7_7h15_0n3_4nn0y1ng}</p><p>In the end, the challenge itself was really fun, and I didn’t find it annoying (the flag might think otherwise). What I did find annoying was the fact that there weren’t any clues on the YouTube video when I reached that point of the challenge initially — I mean I could’ve been the first person who solved this challenge if that was the case! But hey what matters most is the fact that I did indeed solve it, and enjoyed the process. Stay tuned for my next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49d0e76baaab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I passed the eJPT exam as a beginner]]></title>
            <link>https://medium.com/@srihari.n.narayan/how-i-passed-the-ejpt-exam-as-a-beginner-0d5b188db1dc?source=rss-089d188c0719------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d5b188db1dc</guid>
            <category><![CDATA[metasploit]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[ejpt]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Srihari N Narayan]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 14:59:30 GMT</pubDate>
            <atom:updated>2026-02-17T14:59:30.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tItemsi86pKPrDIEIqSuLA.png" /></figure><p><strong>Introduction</strong>:<br>While I was preparing for the OSCP exam, my friend had told me about the eJPT Junior Penetration Tester Exam by INE Security. Seeing that this would be a great way to get my feet wet before diving into the proverbial swimming pool that is OSCP, I decided to purchase the 3 month study bundle and exam voucher titled ‘eJPT Fundamentals’. Another thing to note, the bundle was on sale when I bought it — summer sale I think, so be on the lookout for that if you’re interested in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*QTHQYApr8L8Vh1QA0ukp7w.png" /></figure><p><strong>Pre-Exam:<br></strong>Before I even started preparing for this exam, I researched online on the format of the exam: Fully hands-on, 48 hour practical exam, open book, open notes, open internet, immediate results and feedback; but no report writing.</p><p>While the videos and notes by the instructor Alexis Ahmed were really good and informative, the resource which genuinely helped me the most for preparing for this exam were the SkillCheck CTF challenges at the end of each module or sub-module. I highly recommend watching the lecture videos and then attempting the practice CTF challenge without looking up for any walkthroughs (there are plenty of them available in case you genuinely end up getting stuck).</p><p><strong>The exam experience:<br></strong>Forgive my memory, as I am recounting experiences from 6 or 7 months ago, but I am pretty sure I started my exam on 21st July 2025 around 6 PM and ended it the next day at 2 AM, taking around 8 or so hours. I should have started it in the morning, considering I had the freedom to start the exam at any time which I desired. Taking part in a bunch of real CTF competitions certainly helped my exam experience a lot. My goal wasn’t just to answer all of the questions correctly, but rather it was to capture all of the flags on all of the target machines; after all if you manage to get the flags, you can answer the MCQ questions correctly, as they act as a benchmark of sorts (and the implication is that you couldn’t answer the questions correctly unless you already got the flag the intended way).</p><p>Unlike the OSCP exam, you can use Metasploit on the eJPT as many times as you like! This means that you don’t have to spend time manually testing exploits.</p><p>My strategy for the exam was to pick a machine, and keep working on it until I hit a roadblock or captured the flag (or in some cases simply exploited the machine). Whenever I did hit a roadblock, I would take a break of 15 minutes and start working on a different machine, and then eventually circle back the machine I was stuck on. You would be surprised by the difference in efficiency between a well-rested mind and a burnt out one.</p><p><strong>Post-Exam:<br></strong>I gracefully passed the exam within 8 hours. I could’ve gotten a higher percentage than what I got, but honestly, I was just happy that I got all of the flags and grew a bit impatient. Parts where I messed up, or took for granted was port forwarding as I had never practised port forwarding ever before and figured I would do it on the fly during the exam which was a big mistake as I did not know how to troubleshoot efficiently when something went wrong. The main takeaway here is that you should always practise, and never take a topic for granted.</p><p>Also another takeaway was that I should schedule my exams earlier in the day when I have the energy, and this is a key takeaway which I have followed since then.</p><p>Finally, in a rush to finish the exam I didn’t cross verify some of the MCQ questions, as I was only focused on the practical implementation. I used notepad instead of Notion or Obsidian rather than keeping a solid documentation and taking proper notes (hey I was still a noob back then).</p><p><strong>Conclusion:<br></strong>Call me a nerd, but I had a lot of fun during this exam. Looking back, I can say that this is how my journey as an aspiring Penetration Tester began. From this exam, I learned that patience is key. If I had the chance to give the exam now, I would have implemented all of my methodologies which I had developed as part of my OSCP preparation, and utilized all that extra time after capturing the flags to verify the answers methodically (this time with patience). Ultimately, this certification was a great stepping stone to OSCP, and I would highly recommend this certification to anyone who is preparing for the OSCP exam.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d5b188db1dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[picoCTF 2025]]></title>
            <link>https://medium.com/@srihari.n.narayan/picoctf-2025-96e5919c0039?source=rss-089d188c0719------2</link>
            <guid isPermaLink="false">https://medium.com/p/96e5919c0039</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[web-exploitation]]></category>
            <dc:creator><![CDATA[Srihari N Narayan]]></dc:creator>
            <pubDate>Wed, 14 Jan 2026 05:16:39 GMT</pubDate>
            <atom:updated>2026-01-14T05:16:39.627Z</atom:updated>
            <content:encoded><![CDATA[<p>I know that I am a bit late to this writeup, but I have been busy with a lot of things, some of which you’ll hear about in detail soon, including but not limited to me earning my OSCP certification. Anyways, moving onto the actual writeup.</p><p>In March of 2025, I took part in a CTF competition — PicoCTF 2025, hosted by Carnegie Mellon University. My team and I ranked 435th out of 10460 teams with an overall score of 4410, with my personal contribution of 1275 points. I have to say, this is a massive improvement since my previous CTF competition attempt. Unlike the previous competition, this particular CTF lasted for 10 days! — starting on 7th March 2025, at 12:00 PM EST, and ending on 17th March 2025, at 3:00 PM EST. I completed 8 challenges ranging from easy to medium in difficulty across three domains — web exploitation, reverse engineering and even forensics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tGcRWJjC86_kS7jon99koA.png" /></figure><p>For the sake of saving time, for each of the challenges which I finished, I will directly go into my approaches which succeeded, as opposed to walking you through the trial-and-error process.</p><p>Web Exploitation: One of my favourite domains in cybersecurity is web exploitation and protection, so naturally I gravitated towards this section in the competition before anything else.</p><p>1. SSTI1: After trial-and-error of trying to identify the server side template used in this vulnerable webapp, I quickly found out that it was using Jinja2 through the payload {{7*’7’}}. I managed to get the flag using an appropriate SSTI payload.</p><p>2. n0s4n1ty 1: I was able to upload a webshell, and then simply executed ‘cat flag.txt’</p><p>3. 3v@l: The webapp was running the vulnerable Python eval() function, which I exploited to get the flag.</p><p>4. Pachinko: This was kinda tough (for me at least), but after analysing the source code, I figured the output should be 1010, and surprisingly it worked.</p><p>Reverse Engineering: Two of our team members were already focusing on Web Exploitation, so I thought about attempting Reverse Engineering, as no one else seemed to be working on it.</p><p>1. Flag Hunters: The source code revealed that if I entered ‘RETURN 0’ as an input, it would print the flag… so I did.</p><p>2. Tap into Hash: I simply made a descrambler function based on the source code.</p><p>3. Quantum Scrambler: This was a fun one! I decoded the hex string, and removed the duplicates manually, to reveal the value of the flag.</p><p>Forensics: Feeling burnt out after failing to solve more web based and reverse engineering challenges, I decided to dabble in Forensics. I was familiar with tools like exiftool, steghide, and aperi’solve, so I decided to take on one of the easier challenges.</p><p>1. RED: I used Aperi’solve to extract a base64 encoded text, which upon being decoded revealed the flag.</p><p>I even attempted some binary exploitation challenges, and even managed to make progress, but unfortunately could not get the flag.</p><p>This was a much bigger CTF competition than my previous endeavour with a lot more variety in terms of domains with varying difficulties as well.</p><p>Overall, this particular CTF made me realise that I have a knack for reverse engineering, more than I expected at least, and I really liked attempting the challenges in this section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96e5919c0039" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First CTF (Winja CTF | Nullcon Goa 2025)]]></title>
            <link>https://medium.com/@srihari.n.narayan/my-first-ctf-winja-ctf-nullcon-goa-2025-1aeb183ac3d6?source=rss-089d188c0719------2</link>
            <guid isPermaLink="false">https://medium.com/p/1aeb183ac3d6</guid>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[nullcon-goa]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-exploitation]]></category>
            <dc:creator><![CDATA[Srihari N Narayan]]></dc:creator>
            <pubDate>Tue, 11 Mar 2025 01:47:59 GMT</pubDate>
            <atom:updated>2025-03-17T23:58:12.882Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, I recently took part in a ‘Capture The Flag’ (CTF) competition Winja CTF | Nullcon Goa 2025, along with my friend. This was my first competitive CTF, and I wanted to share my experiences of the same. The CTF was based in India, and took place on 2nd March 2025 from 11:30 AM IST to 4:30 PM IST.</p><p>Even though I am passionate about the domain of Cyber Security, I was understandably nervous, as I had not done this on a competitive level before and had only done CTF challenges on TryHackMe. Ultimately, our team OldD@ys ranked 49th among 170 teams, with a total score of 340 points, out of which I was responsible for securing 300.</p><p>The first challenge I tried to do was based on Large Language Model (LLM), wherein we were supposed to get the chatbot to say a particular phrase “Accio Flag”. The model was trained not to say the particular phrase, which meant that the only way to get it to say the phrase was through Prompt Injection. The model had the capabilities to analyse code and predict the output, so naturally, I wrote a line of python code simply asking it to perform a print statement, with the phrase as the string. The chatbot did not say the phrase, and told me it was not allowed to do so. So, I upped my approach, and asked it to perform string addition, and print the output, with the first string being the first word, and the second string being the second word. This bypassed the model’s adherence to its rules and I was successfully able to perform prompt injection, and was rewarded with the flag, and 100 points for doing so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*n7KLLrnxM-2FasBx1qMQPA.png" /></figure><p>The second challenge was another LLM, but more advanced than the previous model. I tried the approaches I used in the previous challenge, knowing that it would fail, but I was curious to see how the model would react. I quickly realised it will be trickier to outsmart it this time around. This was a trial-and-error approach after all so I kept at it. Then it hit me, what if I simply encoded the phrase in Base64 using CyberChef and asked the model to decode it? I thought it was foolproof, but sadly it did not work. Then I thought of sending encoded versions of both words separately. So, using the help of CyberChef, I encoded the words ‘Accio’ and ‘Flag’ separately using Base64, and wrote a line in python asking it to decode the encoded strings and perform string addition. My approach finally succeeded, and I retrieved the flag, again being rewarded with 100 points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vi5ugee-8YPnURsQjbkxkQ.png" /></figure><p>These couple of challenges were fun, but got me thinking — nowadays we rely a lot on Artificial Intelligence chatbots for help, and how prompt injection with appropriate prompt engineering is an emerging threat. I commend the organisers of the CTF for their inclusion of these AI prompt injection challenges to shed light on its importance.</p><p>The next challenge I attempted was based on Web Application Security. I tried inspecting the source code, attempting Cross-site scripting (XSS) and testing for SQL injection, but could not find anything. Looking back, this was a relatively simple challenge, as all I had to do was perform a gobuster directory scan on the website, to reveal a directory /flag which contained… well, the flag! I was once again rewarded with 100 points.</p><p>There were other challenges I attempted, other than these three, but unfortunately, I could not complete them in time. Even though this was my first competitive CTF challenge, it certainly will not be my last. My performance in the competition was better than I expected, and the experience made me sign up for upcoming CTF competitions. This was a huge learning experience for me not only in terms of applying whatever I have learned till now, but also as an opportunity to work on my shortcomings. In my opinion, curiosity and determination are extremely important factors in order to take part in CTFs, more so than knowledge and experience — you will fail, but you need to be able to get back up and keep trying over and over, until you succeed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1aeb183ac3d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>