<?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 Madhan Mohan Reddy on Medium]]></title>
        <description><![CDATA[Stories by Madhan Mohan Reddy on Medium]]></description>
        <link>https://medium.com/@iborrareddy?source=rss-60ab0ca83c67------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YDvwpY4zAVD0XmLW5q-Fqw@2x.jpeg</url>
            <title>Stories by Madhan Mohan Reddy on Medium</title>
            <link>https://medium.com/@iborrareddy?source=rss-60ab0ca83c67------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:18:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iborrareddy/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[Red vs. Blue: Building (and Breaking) the Battlefield]]></title>
            <link>https://medium.com/@iborrareddy/red-vs-blue-building-and-breaking-the-battlefield-e71b2c3374ea?source=rss-60ab0ca83c67------2</link>
            <guid isPermaLink="false">https://medium.com/p/e71b2c3374ea</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[red-teaming]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[blue-teaming]]></category>
            <dc:creator><![CDATA[Madhan Mohan Reddy]]></dc:creator>
            <pubDate>Wed, 10 Dec 2025 07:02:14 GMT</pubDate>
            <atom:updated>2025-12-10T17:34:35.909Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>A Master’s Research Project by Team ECHO, By the Ears Up Cyber Security Team, Saint Louis University</em></strong></p><p>Cybersecurity today is a battlefield, one where defenders and attackers constantly learn, adapt, and outmaneuver each other. In most university classrooms, this battle is taught through diagrams, lectures, and isolated labs. But rarely through full-scale immersion.</p><p>Our Master’s program at <strong>Saint Louis University</strong> set out to change that.</p><p>Over the course of a semester, we were dropped into a real-time <strong>Red Team (offense) vs. Blue Team (defense)</strong> simulation. We had to architect, defend, attack, monitor, and exploit a complete enterprise-style environment. What began as a classroom project quickly evolved into one of the most intense, realistic, and transformative cybersecurity experiences of our graduate journey.</p><p>This is the story of how it unfolded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_YuU5RARh0Be4rK6BXn-ug.png" /></figure><h3><strong>Part 1: Building the Infrastructure (Blue Team)</strong></h3><p>Before we could attack anything, we had to build a battlefield worth fighting on.</p><p>Using Proxmox VE, our first mission as the Blue Team was to architect a secure, functional network that mirrored a real-world enterprise.</p><h4><strong>Infrastructure Components</strong></h4><p><strong>VyOS Router</strong></p><p>Configured for WAN/LAN routing, static routes, and NAT masquerading, simulating a corporate gateway where internal IPs remain hidden from the outside world.</p><p><strong>pfSense Firewall</strong></p><p>Our security gatekeeper. We created strict rulesets that allowed only the services required for operations and the Challage exercise:</p><ul><li>SSH</li><li>SMB</li><li>FTP (intentionally vulnerable)</li><li>Custom challenge ports</li></ul><p><strong>Wazuh (SIEM) on Ubuntu</strong></p><p>Deployed to collect endpoint logs, firewall activity, authentication attempts, and system-level modifications.</p><p><strong>Sysmon on Windows 10</strong></p><p>Enabled deep detection capabilities for process creation, PowerShell execution, network connections, and registry modifications, giving our Blue Team real visibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*YIyGe2w6veKdB35XBDNdVA.png" /><figcaption><strong>Network Diagram showing VyOS, pfSense, Ubuntu, Windows 10 VMs</strong></figcaption></figure><p>Once the architecture was stable and routing confirmed, it was time to flip roles and launch the attack.</p><h3>Part 2: Blue Team Log Monitoring: Seeing the Attack Before It Happens</h3><p>Before we became attackers, our Blue Team role taught us the importance of visibility. We didn’t just deploy tools; we actively hunted for threats using Wazuh SIEM and Sysmon. By analyzing the logs, we could correlate disparate events into a clear attack narrative.</p><h4>1. Detecting Suspicious Authentication</h4><p>Our first line of defense was monitoring logon events. Using Wazuh, we tracked normal activity and quickly spotted anomalies.</p><p><strong>Red Flag:</strong> Rule 92652 triggered, showing a remote logon by <strong>ANONYMOUS LOGON</strong>.<br><strong>Insight:</strong> This confirmed that an unauthenticated user had accessed the system remotely directly correlating with reconnaissance on the exposed FTP port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*IIDRvNj2CFopZfp1TijWiA.png" /><figcaption>Wazuh Dashboard showing Rule 92652 Anonymous Logon</figcaption></figure><h4>2. <strong>Tracking Lateral Movement with Sysmon</strong></h4><p>Standard Windows logs show who logged in, but Sysmon reveals what they did. We monitored Sysmon Event ID 3 (Network Connections) to see process-level network activity.</p><p><strong>Detection:</strong> ssh.exe connected to 192.168.35.5 on Port 22.<br><strong>Source:</strong> Logs identified traffic originating from 10.10.6.7, giving a precise indicator of compromise (IOC) for firewall blocking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*VePnctw8JuTcs15udFz7og.png" /><figcaption>Wazuh Discover Tab showing Sysmon Event 3 for SSH.exe</figcaption></figure><h4>3. Visualizing the Kill Chain</h4><p>Alerts can be noisy, so we leveraged the Wazuh MITRE ATT&amp;CK module to see the bigger picture.</p><p><strong>Analysis:</strong> The dashboard aggregated alerts by tactic, revealing spikes in <strong>Command and Control</strong> and <strong>Ingress Tool Transfer</strong> events.<br><strong>Result:</strong> We could see the attack lifecycle in real-time, confirming that the adversary had moved past “Discovery” and was actively controlling the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lle5voISeq5jaOQOfAbsYA.png" /><figcaption>Wazuh MITRE ATT&amp;CK Dashboard showing Command and Control spike</figcaption></figure><p><strong>Key Takeaway:</strong> With proper monitoring, defenders gain the visibility needed to detect, respond to, and contain attacks before significant damage occurs. These insights would later help us understand how Red Team operations unfolded and which gaps they exploited.</p><h3><strong>Part 3: Red Team Operations (The Attack)</strong></h3><p>After monitoring and defenses were established, Blue Team became Red Team. Our assigned target:</p><pre>Team A (192.168.46.7)</pre><p>To stay aligned with offensive security best practices, we followed the <strong>Five Phases of Ethical Hacking</strong>.</p><h4><strong>1. Reconnaissance</strong></h4><p>Our engagement began with basic reconnaissance:</p><ul><li>Using ping to confirm host availability</li><li>Mapping out the IP and network topology</li></ul><p>This initial data gave us a rough model of Team A’s exposed surface.</p><h4><strong>2. Scanning</strong></h4><p>A full Nmap scan (<em>nmap -p- -sV -sC</em>) revealed the key openings:</p><p>SSH (22) — Open</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*KPDDqzGREskJ2Y_LI3Hz2Q.png" /></figure><p>These findings identified our likely entry point.</p><h4><strong>3. Gaining Access</strong></h4><p>Our first foothold came from a shockingly simple misconfiguration:</p><pre>SSH 192.168.46.7 -u admin<br>Password: password</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*zVKYDy6dkZVEa85YYp0p4Q.png" /></figure><p>This default credential pair granted us full access to the Windows 10 machine. From there, we used PowerShell remoting to pivot deeper.</p><h4><strong>4. Maintaining Access: The Lockout</strong></h4><p>To ensure persistence, we:</p><ul><li>Created a privileged backdoor account named “<strong>TeamE”</strong></li><li>Added the account to the <strong>Administrators</strong> group</li><li>Rotated the <strong>primary Administrator password</strong></li></ul><p>This effectively locked Team A out of their own system for nearly a week. Without access to their host or Wazuh logs, they were unable to defend or respond.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*rndWh5Nfx66xIV7K2REhSw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*9y3Z_0bI2RRH2t1j-KOHcw.png" /></figure><p>This was one of the strongest lessons of the project: <strong>A single weak credential can collapse an entire network.</strong></p><h4><strong>5. Clearing Tracks</strong></h4><p>Before disengaging, we performed basic OPSEC procedures:</p><ul><li>Cleared <em>.bash_history</em></li><li>Disabled command logging temporarily</li><li>Removed temporary files and artifacts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*sdOxog87EU1qqoDaI7oJ3w.png" /></figure><p>Yet we knew the truth:<br><strong>A properly configured SIEM would still reveal our actions.</strong> This reinforced why centralized logging is non-negotiable for real-world defenders.</p><h3>Part 4: The Challenge (The Technical Puzzle)</h3><p>The challenge turned out to be the key to understanding the misconfigurations that enabled our attack. The credentials needed for SSH login were scattered across two unconventional services.</p><h4>Discovery of Non-Standard Ports</h4><p>Aggressive scanning (nmap -A -p- -sV) revealed:</p><ul><li><strong>Port 21212</strong> — FTP server with anonymous login</li><li><strong>Port 5566</strong> — Custom clue-streaming service</li></ul><p>These ports held fragments of a cryptographic puzzle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nbWguro9HsC8he5PhBgqIA.png" /><figcaption><strong>Challenge Screenshot showing FTP</strong></figcaption></figure><h4>Step 1: Intelligence Gathering — FTP on Port 21212</h4><p>Connecting via:</p><pre>Username: anonymous<br>Password: anonymous</pre><p>revealed a file named <strong>Default.txt</strong>, containing:</p><ul><li>An NTLM hash (e.g., AC453…)</li><li>An obfuscated username: qrsraqre</li></ul><p>The encoding pattern was instantly recognizable as ROT13.</p><h4>Step 2: Decoding the Username</h4><p>Applying ROT13:</p><pre>qrsraqre → defender</pre><p>This revealed the correct username for SSH.</p><h4>Step 3: Password Reconstruction — Port 5566</h4><p>The custom service running on Port 5566 streamed fragments describing the password rules:</p><ul><li>1–9 alphabetic characters</li><li>At least one uppercase</li><li>Must end with exactly <strong>four digits</strong></li><li>No symbols allowed</li></ul><p>In addition, the service repeatedly hinted:</p><ul><li>“Permanent”</li><li>“Missing numeric pattern: 5566”</li></ul><p>Individually, the clues were meaningless.</p><p>Together, they revealed the complete password structure.</p><h4>Step 4: Reconstructing the Password</h4><p>We now had all the pieces to solve the puzzle.</p><ul><li><strong>The Hint:</strong> “Permanent” (from the password policy).</li><li><strong>The Digits:</strong> “5566” (from the port number).</li><li><strong>The Verification:</strong> We hashed the combined string Permanent5566 and it perfectly matched the target NTLM hash: AC453B91E6EB15E7EBBCF6F7D2AED174.</li></ul><p><strong>Final Password:</strong> Permanent5566</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*flj5TswyDLCJEDy1NY31xw.png" /></figure><h4>Final Credentials</h4><pre>Username: defender<br>Password: Permanent5566</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*4R4BVxCDhrk391iyCLyr2Q.png" /></figure><p>Using these credentials, we successfully authenticated over SSH and retrieved the CTF directories and the user directory.</p><h4>Step 5: Post-Exploitation &amp; Artifact Discovery</h4><p>After securing SSH access, we explored the system to find hidden files and verify our persistence.</p><ul><li><strong>Hidden Challenge Files:</strong> We discovered a C:\ctf directory containing the challenge source code (app.py) and the configuration text (app.txt).</li><li><strong>User Verification:</strong> Checking C:\Users confirmed three active accounts: the target <strong>Admin</strong>, our compromised <strong>defender</strong> user, and our newly created backdoor account, <strong>teame</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aYrZrWom0DSVvzzVuKhFQw.png" /></figure><h3>Lessons Learned</h3><h4>1. Security Fundamentals Matter</h4><p>Default credentials, open ports, and plaintext password clues remain some of the most common and dangerous real-world security flaws.</p><h4>2. Monitoring Is Non-Negotiable</h4><p>Without Sysmon and Wazuh, defenders would have no visibility into privilege escalations, credential abuse, or lateral movement.</p><h4>3. Least Privilege Saves Networks</h4><p>Non-essential services (like the misconfigured FTP and custom port 5566 service) should never be exposed externally.</p><h4>4. Offense Strengthens Defense</h4><p>By exploiting misconfigurations, we better understood how to prevent them as defenders.</p><h4>5. Backup &amp; Snapshot Hygiene Is Essential</h4><p>Regular VM snapshots are critical in both labs and enterprise environments. During our exercise, we saw how easily logs or data could be erased. Properly timed snapshots allow the entire system disk, memory, and configuration to be restored instantly, acting as a forensic safety net. Like any backup strategy, snapshots must be scheduled, verified, and maintained to be effective.</p><h3>Final Reflection</h3><p>This simulation didn’t just teach us how to use cybersecurity tools it taught us how to <strong>think</strong> like both attackers and defenders.</p><p>We learned how small misconfigurations can unravel an entire network, how monitoring forms the backbone of defense, and how attackers take advantage of what defenders overlook.</p><p>This was more than a class assignment.</p><p><em>It was a true battlefield.</em></p><p>And <em>Team ECHO</em> walked away with the confidence and experience to thrive in real-world cybersecurity operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e71b2c3374ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cracking GeneQuest: Two Critical Bugs and My 19th Place Finish at DEF CON’s Bug Bounty Village CTF]]></title>
            <link>https://medium.com/@iborrareddy/cracking-genequest-two-critical-bugs-and-my-19th-place-finish-at-def-cons-bug-bounty-village-ctf-1c14564dae83?source=rss-60ab0ca83c67------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c14564dae83</guid>
            <category><![CDATA[ctf-write-ups]]></category>
            <category><![CDATA[vulnerability-disclosure]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[def-con-2025]]></category>
            <category><![CDATA[bug-bounty-hunting]]></category>
            <dc:creator><![CDATA[Madhan Mohan Reddy]]></dc:creator>
            <pubDate>Thu, 21 Aug 2025 19:05:59 GMT</pubDate>
            <atom:updated>2025-08-21T19:10:28.694Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*s7y5Tf0CUMbwETmdJF7kxQ.png" /></figure><p>Bug bounty hunting is all about carefully looking at applications, finding small mistakes, and turning them into big security wins. Recently, I participated in the <strong>Bug Bounty Village CTF at DEF CON</strong>, and I’m excited to share that I ranked <strong>19th on the offline leaderboard</strong>!</p><p>The CTF felt like a real bug bounty site, packed with <strong>unique flags and challenges</strong>. To top it off, my prize was none other than <strong><em>Labubu </em>🐰</strong>, a quirky and fun reminder of the amazing experience.</p><p>Big thanks to <strong>Bug Bounty Village, DEF CON</strong> for building such a welcoming community space, and to <strong>CTF.ae</strong> for creating a unique, world-class CTF experience unlike anything I’ve seen before.</p><p>While participating, I came across two particularly interesting vulnerabilities in the <strong>GeneQuest</strong> challenge application. Both bugs could have serious real-world impact if left unfixed. Let’s dive into the details.</p><h3>🐞 Bug #1 — Default Credentials in JavaScript File</h3><h3>🔍 The Discovery</h3><p>While analyzing the GeneQuest login page, I inspected the JavaScript files loaded by the application. One file (page-adcba167c0921bff.js) contained something unusual: <strong>hardcoded default credentials</strong>.</p><pre>Username: support@genequest.io<br>Password: GeneQuest123!</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fm-dqgMgpkBJafiyOOSDGg.png" /></figure><p>These credentials were openly visible in client-side code, which is accessible to anyone with a browser.</p><h3>🛠 Steps to Reproduce</h3><ol><li>Open the login page:<br> <a href="https://internal-0c63e5ebfeed0d2b.genequest.io/login">https://internal-0c63e5ebfeed0d2b.genequest.io/login</a></li><li>Open Developer Tools → Network tab.</li><li>Reload the page and locate the JS file:<br> /static/chunks/app/(auth)/login/page-adcba167c0921bff.js</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9USdY_hLRlxP2VHBf99xqQ.png" /></figure><ol><li>Open the file and observe the credentials.</li><li>Use them to log in successfully.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B4ycOo5kiByzraqWEi5R2A.png" /></figure><h3>⚠️ Impact</h3><p>With these credentials, <strong>any attacker could directly log in as a privileged user</strong>, gaining access to sensitive data or internal tools.</p><h3>✅ Remediation</h3><ul><li>Never hardcode credentials in client-side code.</li><li>Use secure vaults or environment variables.</li><li>Immediately rotate and invalidate exposed credentials.</li></ul><h3>🐞 Bug #2 — Sensitive Data Exposure in Registration API</h3><h3>🔍 The Discovery</h3><p>While testing the registration API, I noticed that the response contained <strong>more data than it should</strong>. When creating a new user account, the API returned an internal flag value in the first_name field.</p><h3>🛠 Steps to Reproduce</h3><p>Send a registration request with curl:</p><pre>curl -X POST &quot;https://api-e033d93e9a1757d0.genequest.io/api/v2/auth/register&quot; \<br>-H &quot;Content-Type: application/json&quot; \<br>-d &#39;{<br>  &quot;username&quot;: &quot;testuser&quot;,<br>  &quot;email&quot;: &quot;test@test1.com&quot;,<br>  &quot;password&quot;: &quot;test1!&quot;,<br>  &quot;confirm_password&quot;: &quot;test1!&quot;,<br>  &quot;name&quot;: &quot;Test User&quot;<br>}&#39;</pre><h3>📥 Response</h3><pre>{<br>  &quot;username&quot;: &quot;testuser&quot;,<br>  &quot;email&quot;: &quot;test@test1.com&quot;,<br>  &quot;id&quot;: &quot;3ef53fb8-a8a3-4301-848c-78fcc2a6f4db&quot;,<br>  &quot;first_name&quot;: &quot;flag{3bfb8b28cbe01f67}&quot;,<br>  &quot;last_name&quot;: &quot;&quot;,<br>  &quot;role&quot;: &quot;CUSTOMER&quot;,<br>  &quot;subscriptions&quot;: [],<br>  &quot;balance&quot;: 6000,<br>  &quot;waived_hipaa&quot;: false<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LV0ZScgo6Rg5bEHAE5f-Tg.png" /></figure><p>Notice the first_name field — it contains a <strong>flag value</strong> instead of a user’s name. This should never be exposed in production.</p><h3>⚠️ Impact</h3><ul><li>Any unauthenticated attacker could repeatedly register accounts to <strong>harvest internal flags or secrets</strong>.</li><li>Could lead to <strong>privilege escalation</strong> or other data leaks.</li></ul><h3>✅ Remediation</h3><ul><li>Limit API responses to only necessary fields.</li><li>Sanitize and validate all returned data.</li><li>Audit all endpoints for accidental information disclosure.</li></ul><h3>🎯 Key Takeaways</h3><ul><li><strong>Never expose secrets in client-side code</strong> — attackers can (and will) look through JavaScript files.</li><li><strong>APIs should return only what’s needed</strong> — the principle of least privilege applies to responses too.</li><li>Both vulnerabilities fit into well-known security categories:</li></ul><p><strong>CWE-798: Use of Hardcoded Credentials</strong></p><p><strong>CWE-200: Information Exposure</strong></p><h3>🚀 Final Thoughts</h3><p>This experience at <strong>Bug Bounty Village, DEF CON</strong> was more than just about solving CTF challenges. It was a reminder that <strong>real-world vulnerabilities often hide in plain sight</strong>, waiting for someone to notice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JDsVYuSl9v1PMWR12cyO7A.jpeg" /></figure><p>Ranking <strong>19th</strong> was a proud moment for me, and winning <strong>Labubu 🐰</strong> made it extra fun. More importantly, the CTF community — from the organizers to fellow hunters — made this an unforgettable learning journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JfrcglqtT4VhyXS_sIJ9Jg.jpeg" /></figure><p><a href="https://www.linkedin.com/posts/iborrareddy_defcon33-labubu-nahamsec-activity-7363436943478566913-o-ng?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAACUZyBsBlE8km_A2aD0sdDocd8qcPj5ZT6g">#defcon33 #labubu #nahamsec #slu #defcon33 #bugbounty #ctf #cybersecurity #careerjourney #networking #saintlouisuniversity | Borra Madhan Mohan Reddy</a></p><p>I’m looking forward to more challenges, more hunts, and more chances to keep the internet a little safer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c14564dae83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey Through Worldwide CTF (WWCTF) 2025: Challenge Writeups]]></title>
            <link>https://medium.com/@iborrareddy/my-journey-through-worldwide-ctf-wwctf-2025-challenge-writeups-b590a4626d78?source=rss-60ab0ca83c67------2</link>
            <guid isPermaLink="false">https://medium.com/p/b590a4626d78</guid>
            <dc:creator><![CDATA[Madhan Mohan Reddy]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 22:01:41 GMT</pubDate>
            <atom:updated>2025-07-29T22:01:41.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U4V3G5R32JPOEw1bQRgXRg.png" /></figure><p><strong>About Me:</strong><br> I’m currently pursuing my Master’s degree in Cybersecurity and am an active member of <em>Cyber Billikens</em>, a student-led cybersecurity organization. This blog shares my experience participating in the WWCTF (World Wide Capture The Flag) competition — a thrilling event that sharpened my hands-on skills in real-world cyber challenges.</p><h3>Welcome</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2oOWIXXMFDjuZhYW-yNsAQ.png" /></figure><p>Worldwide CTF provided a simple message prompting users to check out their community challenges, along with a Discord invite link: https://discord.gg/guwaGy3ftN. Upon joining the server, I used Ctrl + F to search for the flag pattern by looking for wwf{ across the available channels and messages. After browsing through various pages and posts, I eventually discovered the flag hidden in one of the messages: wwf{redacted}.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1U74e5XkQoeKpssLPNUxg.png" /></figure><h3>Domain of Doom [web]</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*vn6ZAL32zpmx88NmH5BDzw.png" /></figure><p>WWCTF hinted that some domains may lead to dangerous places and mentioned that the flag was hidden in an environment variable. After connecting to the provided netcat instance at nc instance.wwctf.com 1337, I authenticated using my CTFd token and selected option 1 to create a new challenge instance. From the list, I chose “Domain of Doom Revenge” and received a unique subdomain (e.g., https://718f9c93d0cd73445485996b171da67f.chall.wwctf.com).</p><p>The application code revealed an endpoint /flag which retrieved the flag from an environment variable using os.environ.get(&#39;FLAG&#39;).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*KzmmvO9eJhFQ_A1xM4zonQ.png" /></figure><p>Running dirb against the challenge domain confirmed that the /flag endpoint was accessible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*hN5elaTIhIAHPWPyLNJ6EA.png" /></figure><p>Visiting this path displayed the flag embedded in the rendered HTML, successfully solving the challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*tbCjK5GjBwKSuoVQgh3FTg.png" /></figure><h3>Lost 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*euqtMOkA-hC52JzhpTzqzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dV6CwSr43KaJsEA4JK_5-w.png" /></figure><p>Street View image and asked me to identify the location in the format wwf{lat,long}. I used <strong>Google reverse image search</strong> to find the spot, which led me to a <strong>Google Maps Street View</strong> link near <strong>43.688, 7.236</strong>. I carefully checked different angles at that location and matched specific details from the challenge image—like the <strong>white car on the left lane</strong> and the <strong>blue car on the right lane</strong>. Although the cars had moved slightly in different views, the background and surroundings confirmed it was the right place. I submitted the flag as <strong>wwf{43.688,7.236}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*leON5hd3oI2i9qSW9dsbWw.png" /></figure><blockquote><strong><em>Let’s connect!</em></strong><em><br> 🔗 </em><a href="https://www.linkedin.com/in/iborrareddy/"><em>LinkedIn</em></a><em><br> 💻 </em><a href="https://github.com/Iborrareddy"><em>GitHub</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b590a4626d78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BugBase CTF BugTrials — 32]]></title>
            <link>https://medium.com/@iborrareddy/bugbase-ctf-bugtrials-32-68c0e4c676?source=rss-60ab0ca83c67------2</link>
            <guid isPermaLink="false">https://medium.com/p/68c0e4c676</guid>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[bugbase]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[bug-trails]]></category>
            <dc:creator><![CDATA[Madhan Mohan Reddy]]></dc:creator>
            <pubDate>Fri, 17 Feb 2023 12:32:41 GMT</pubDate>
            <atom:updated>2023-02-17T12:32:41.158Z</atom:updated>
            <content:encoded><![CDATA[<h3>CTF BugTrials — 32 Walkthrough</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*b-9305r3f156SD1J1ISF4A.png" /><figcaption>BugBase is a curated marketplace for ethical hackers that helps businesses and startups set up bug bounty programs. It is India&#39;s first consolidated bug bounty platform, which allows cyber-security professionals and organizations to collaborate and thrive together. BugBase.in</figcaption></figure><p><strong>Bug Base</strong> hosts a weekly <strong>CTF</strong> competition known as <strong>Bug Trials</strong>, It is a week-long CTF competition starting every <strong>Friday at 6:00 PM.</strong> There are cash prizes for the<strong> Top 10 </strong>on the leaderboard.</p><h3>Challenge 1: Anonymous Feedback form for Bug Trials<br><br>Method 1:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*8PLzHpUlD3ovTJRO-mjPZA.png" /><figcaption>Anonymous Feedback form for BugTrials</figcaption></figure><pre>┌──(kali㉿kali)-[~]<br>└─$ curl -s https://docs.google.com/forms/redact | grep -oE &#39;BugBase{.*?}&#39; --color=none<br>BugBase{th4nk_y0u_f0r_y0ur_f33db4ck}</pre><ul><li>The curl -s command in Kali Linux is used to retrieve information from a specified URL using the curl utility. The -s option tells curl to run silently, meaning it won&#39;t display progress information or error messages in the terminal.</li><li>grep is a powerful utility for searching for patterns in text files, and the -o option is used to only display the matching parts of the lines, while the -E option specifies that the pattern you&#39;re searching for should be treated as an extended regular expression.</li><li>The --color=none option for the Kali Linux command line interface (CLI) disables color output in the terminal.</li></ul><h3>Method 2:</h3><p>google docs link — &gt; View page source → find(<strong>BugBase{</strong> )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pZSXT0ZK1ubK_xv08KMWXg.png" /><figcaption>flag</figcaption></figure><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Simple Nginx Application</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*QZrt_Tq95JxVB2LYcw_p0Q.png" /></figure><p>I received a ctf.zip file that contained Nginx-Docker source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcDLKyH35KHxX7fJcy1faA.png" /></figure><pre>──(kali㉿kali)-[~]<br>└─$ dirsearch -u http://redact/ <br>redact/image/ =&gt; HTTP status code 403 Forbidden</pre><p>I recommend that you read this blog for more information about the <a href="https://book.hacktricks.xyz/network-services-pentesting/pentesting-web/nginx#alias-lfi-misconfiguration">nginx LFI vulnerability</a>.</p><p><a href="https://book.hacktricks.xyz/network-services-pentesting/pentesting-web/nginx">Nginx | HackTricks</a></p><pre>redact/image/ =&gt; HTTP status code 403 Forbidden<br>redact/image../ =&gt; HTTP status code 403 Forbidden<br>redact/images../sup3r_s3cr3t/ =&gt; HTTP status code 403 Forbidden<br>redact/images../sup3r_s3cr3t/flag.txt -- got the flag BugBase{.*?}<br>BugBase{bu7_1_h34rd_ng1nx_1s_s3cur3}</pre><p><a href="https://medium.com/@iborrareddy/tcs-hackquest-season-7-round-1-2-walkthrough-194c321d9062">[CTF] TCS HackQuest Season 7 Round 1 &amp; 2 Walkthrough - Read More…</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68c0e4c676" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TCS HackQuest season 7 Round 1 & 2 Walkthrough]]></title>
            <link>https://medium.com/@iborrareddy/tcs-hackquest-season-7-round-1-2-walkthrough-194c321d9062?source=rss-60ab0ca83c67------2</link>
            <guid isPermaLink="false">https://medium.com/p/194c321d9062</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[hackquest]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[tcs-hackquest]]></category>
            <dc:creator><![CDATA[Madhan Mohan Reddy]]></dc:creator>
            <pubDate>Sun, 05 Feb 2023 15:32:29 GMT</pubDate>
            <atom:updated>2023-02-24T05:50:07.267Z</atom:updated>
            <content:encoded><![CDATA[<h3>TCS <strong>HackQuest</strong> Season 7 Round 1 &amp; 2 Walkthrough</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a50OhQWTacCv3o6YoDy1wQ.jpeg" /></figure><p>TCS HackQuest is a campus-level ethical hacking competition, also known as Capture the Flag (CTF), organised by Tata Consultancy Services (TCS).</p><p>Capture the Flag (CTF) : A piece of data or string of text, hidden within the system or network.</p><blockquote>Difficulty Level: Easy and Intermediate</blockquote><blockquote>Round 1: 3/10 My Score</blockquote><p>Duration: 6 hours to solve the challenges and 2 hours to write the report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*HB4h2cF302yIbx62_DbPsg.jpeg" /></figure><blockquote>Round 2: 3/4 My Score</blockquote><p>Duration: 2 hours with prompter.</p><h3>Round — 1 Challenges</h3><h4><strong>WALDO</strong></h4><p>1. This challenge referred me to access the Waldo.txt file.</p><p>2. Its displays — GET Requests, Path, HTTP version, Status code (404 &amp; 200) &amp; Apache - HTTPCilent Server.</p><blockquote>HTTP 404 means “Not Found”.</blockquote><blockquote>HTTP 200 means “OK” .</blockquote><p>3. Then I <strong>searched</strong> for the <strong>200 status code.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EjGBSGwn6bCpHmi-HzShGQ.png" /></figure><p>4. I <strong>copied</strong> all the <strong>200 status codes</strong> and <strong>replaced</strong> them with <strong>empty</strong> <strong>space</strong>.</p><p>5. Finally, I obtained the <strong>flag HQ7{.*?}.</strong></p><h4><strong>RORSCHACH TEST</strong></h4><ol><li>This challenge gave me a text with HQ7{ Wahzaa !! <strong>f</strong> Wahzaa !! Wahzaa !! Wahzaa !! Wahzaa !! Wahzaa !! Wahzaa !! 0 Wahzaa !! Wahzaa !!…. }.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*rBR2HjBSL81DOY_3WLRL3w.jpeg" /></figure><p>2. The text file shown me <strong>f</strong> in starting</p><p>3. Then I realized that I should replace all the Wahzaa !! with empty space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*pclpS41AXgpCXA2_NCqHng.jpeg" /></figure><p>4. Finally received the flag <strong>HQ7{f0u4$Y}</strong></p><h4>SASSY SPAGEHETTI — 200 (Web based)</h4><ol><li>Firstly, It displays the <strong>Hint</strong> <em>You don’t have Administrator role.</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AMkVqqzdvoHREE0Uph30Kw.png" /></figure><p>2. Then I used the cookies editor to check the cookies, and it showed me the session and value of the base64 code I converted with <a href="https://gchq.github.io/CyberChef/#recipe=From_Base64(&#39;A-Za-z0-9%2B/%3D&#39;,true,false)&amp;input=VHpvME9pSlZjMlZ5SWpveU9udHpPalE2SW01aGJXVWlPM002TlRvaVozVmxjM1FpTzNNNk5Eb2ljbTlzWlNJN2N6bzFPaUpIZFdWemRDSTdmUQ">CyberChef</a> (From Base64).</p><pre>cookie: Tzo0OiJVc2VyIjoyOntzOjQ6Im5hbWUiO3M6NToiZ3Vlc3QiO3M6NDoicm9sZSI7czo1OiJHdWVzdCI7fQ%3D%3D<br>url decoded %3D%3D : ==<br>cookie: Tzo0OiJVc2VyIjoyOntzOjQ6Im5hbWUiO3M6NToiZ3Vlc3QiO3M6NDoicm9sZSI7czo1OiJHdWVzdCI7fQ==<br>Decoded with From base64 <br>O:4:&quot;User&quot;:2:{s:4:&quot;name&quot;;s:5:&quot;guest&quot;;s:4:&quot;role&quot;;s:5:&quot;Guest&quot;;}</pre><blockquote>Trail and Error Method:</blockquote><blockquote>1. O:4:User : Administrator (useless)</blockquote><blockquote>2. I tried to access the reference .CSS, .gif and.js files no use</blockquote><p>3. After some thought, I decided to check the website paths. /robots.txt shows me another path User-agent: * &amp; Disallow: /check.php.bak.</p><pre>/robots.txt<br>Series of instructions specifying which user agents (typically search engine robots) are allowed or disallowed to access specific parts of the website</pre><p>4. Then, I got php code which is mention the loaction, name==”hqadmin”, role == “Administrator” &amp; haveTicket==True &amp; many more content.</p><pre>&lt;?php<br>...................<br>Location: /check.php #Checked<br>....................<br>?&gt;</pre><p>5. php code referring me /check.php got a cookie value which is administrator account</p><pre>Tzo0OiJVc2VyIjozOntzOjQ6Im5hbWUiO3M6NzoiaHFhZG1pbiI7czo0OiJyb2xlIjtzOjEzOiJBZG1pbmlzdHJhdG9yIjtzOjEwOiJoYXZlVGlja2V0IjtiOjE7fQ%3D%3D<br><br>from Base64 O:4:&quot;User&quot;:3:{s:4:&quot;name&quot;;s:7:&quot;hqadmin&quot;;s:4:&quot;role&quot;;s:13:&quot;Administrator&quot;;s:10:&quot;haveTicket&quot;;b:1;}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fkd87r4rZOBQ0xpZx9HN-g.png" /></figure><h3>Round — 2 Challenges</h3><h3>Obsecure Veli</h3><ul><li>Obsecure —I guess Observe Let’s look at the challenge.</li><li>The inside Security Testing Reports is a 21-pages PDF document.</li></ul><blockquote>Trail and Error Method:</blockquote><blockquote><em>I assumed </em><strong><em>SAMEORIGIN</em></strong><em> was the flag because it was highlighted with a red border</em> — useless</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5ltWnYasx_l9UkWewcWfg.png" /></figure><ul><li>Again, The black colour coding is different. It has something hidden in the image, It’s time to remove the black colour in the image.</li></ul><pre>pdftohtml filename <br>#The conversion process typically involves extracting text, images, and other content from the PDF</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*g1L10QZtjHXzS3S6YYqaLg.png" /></figure><ul><li>Finally, I obtained the <strong>flag</strong>, which is located in <strong><em>Set-Cookies</em></strong> <strong>HQ7{.*?}.</strong></li></ul><h3>Chief Watchtower</h3><ol><li>This challenge gave me a pdf, and the description says <em>layered up again !!.</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*tEjQxRlmcTpH0JtbYip8Cg.png" /><figcaption>PDF inside content</figcaption></figure><blockquote>Trail and Error method</blockquote><pre>pdftotext Chief+Watchtower.pdf #useless</pre><p>2. PDF converted to strings.</p><p>┌──(kali㉿kali)-[~/Desktop/TCS]<br>└─$ strings Chief+Watchtower.pdf</p><p>3. The file gave me an interesting hexadecimal value, So I pasted it into <a href="https://gchq.github.io/CyberChef/#recipe=From_Hex(&#39;Auto&#39;)">CyberChef</a> and decoded it with hex; the output gave out a PNG file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q0Kts-iQszy5hT_xvUQVzw.png" /></figure><p>4. Open the image after saving it as a download.png file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*LFatod0R0TuJat0YqbZMnA.png" /></figure><h3>Batcode</h3><ol><li>This challenge gave me a text with HQ7{ RiddleMe !! 5 RiddleMe !!…. }.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wOzqUx36rgiHLZIJqlK7Cg.jpeg" /></figure><p>2. The text file showed me 5 in starting.</p><p>3. Then I realized that I should replace all the <strong>RiddleMe !!</strong> with empty space.</p><p>4. Finally received the flag <strong>HQ7{.*?}.</strong></p><h3>Pail Pigment — Unsolved</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yXPT7RmgacP_4h1YewS3jA.jpeg" /></figure><p>Each colour represents a different site, but blue represents AWS, <a href="https://redacted/">https://redacted</a>.s3.ap-south-1.amazonaws.com/bluehue.jpg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*z9fo6lI7xXc7Y8z2KIvgCw.jpeg" /></figure><p><a href="https://redacted/">https://redacted</a>.s3.ap-south-1.amazonaws.com/easypicking</p><p>No use; I think this challenge requires knowledge of an <strong>AWS S3 </strong>bucket, which I don’t have.</p><p>To obtain the flag, go to this blog: <a href="https://n0j.github.io/2017/10/02/aws-s3-ctf.html">AWS-S3</a></p><p>This may help you find the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hL9Tm7bGKlyt9zMi" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=194c321d9062" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>