<?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 Chetan Patil on Medium]]></title>
        <description><![CDATA[Stories by Chetan Patil on Medium]]></description>
        <link>https://medium.com/@devchetanpatil?source=rss-f3f67c579436------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wAwHOwsmwfGXma0uJsOU3w.png</url>
            <title>Stories by Chetan Patil on Medium</title>
            <link>https://medium.com/@devchetanpatil?source=rss-f3f67c579436------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:44:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@devchetanpatil/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[TryHackMe: Advent of Cyber 2026 — Day 4: “/home Alone”]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-advent-of-cyber-2026-day-4-home-alone-00cf1e9dc0e1?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/00cf1e9dc0e1</guid>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Sun, 06 Dec 2026 16:24:22 GMT</pubDate>
            <atom:updated>2026-12-06T16:24:22.864Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R4oOJcFpCuV5WbEXRM0yiQ.png" /></figure><p><strong>Difficulty:</strong> Beginner | <strong>Time:</strong> ~30 min | <strong>Category:</strong> Linux Fundamentals</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6hKDyL63BPrbS8HyQ-vWA.png" /></figure><h3>The Story 🖥️🎄</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UAlOE_4neqPR2N7g2bVi9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*NXo0hFZxSGLzkYI7ViFylQ.gif" /></figure><h3>Connecting In</h3><p>SSH creds are provided for the target VM:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ecU_jVPKof3eoR96ARkb_g.png" /></figure><p>Logging in drops you into a retro ASCII-art banner on a box called <strong>ECTO1-WEB</strong> — already a fun hint (Ghostbusters’ Ecto-1, “ghosted” password, a <em>haunted</em> old test machine… the theming is not subtle, and I love it).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2vDJw13LRSoPp4klGXoIg.png" /></figure><h3>Task 2: Poking Around</h3><h4>Step 1 — What’s in the home directory? Whats inside files?</h4><pre>ls, cat, cd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3PGOoBJ8AH6BSQPm5sY1SA.png" /></figure><p>The notes are a developer’s diary, and they tell a whole story on their own:</p><pre>2025-11-02 23:07<br>starting development<br>TODO: think of a name</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*brNodWaH5d0BGdySilrtTQ.gif" /></figure><h4>Step 2 — Exploring the filesystem</h4><p>bash</p><pre>cd ..<br>cd ..<br>ls<br># standard Linux root structure: bin, etc, home, var, usr...</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZB2JubZiL1j1gEjRFwwHg.png" /></figure><p>Found it — a web directory serving the “ECTO1” project from the notes, sitting in the standard Apache/var/www web root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/227/1*FUwCdTPWnGo1mGzKVpnmFw.gif" /></figure><h3>Task 2 (cont.): Reading the Script</h3><p>bash</p><pre>cat call-ecto1.sh</pre><p>The script is a dual CLI/CGI bash script — meaning it can run both as a command-line tool and as a web endpoint. It pulls random “quotes” from quotes.txt, and has a reply() function that checks user input against keyword triggers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Svt3fkHVJdYV38zAUMJb5Q.png" /></figure><p>There it is — hardcoded directly in the script, triggered by any of several holiday-themed keywords. Classic “leftover test/dev endpoint with a secret baked in” — exactly the kind of thing that “TODO: add guardrails” was supposed to prevent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*gaECWXPYFOvupMBFROb0Xw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2sTvnQnFhIVcg9lcHANIYg.png" /></figure><h3>Task 3: Epilogue 👻</h3><p>As McSkidy finishes logging the machine, she feels a pang of sadness. <em>“I hope no other ghosts come and haunt me,”</em>she says to herself — right as a translucent ghost emoji floats over her shoulder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zA_ZnxJBzXrkgGE6DvC9tA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9QzvXHIA3Ygsr8pIoqsqrg.png" /></figure><h3>Room Completed: 100% ✅</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_24ToWSgCtMgDEQQ6cTQw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00cf1e9dc0e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Advent of Cyber 2026 — Day 3: “Gone Phishing”]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-advent-of-cyber-2026-day-3-gone-phishing-3c86c5276970?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c86c5276970</guid>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Sun, 06 Dec 2026 15:04:16 GMT</pubDate>
            <atom:updated>2026-12-06T15:04:16.395Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1YBOxidddttGWNKSjDjdUg.png" /></figure><p><strong>Difficulty:</strong> Beginner | <strong>Time:</strong> ~30 min | <strong>Category:</strong> Phishing / Social Engineering</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yyrk-L5cxreIYkEmL0S4Xw.png" /></figure><h3>The Story</h3><p>December 1st. McSkidy wakes up, looks out the window, and Wareville is empty. Not quiet-morning empty — <em>nobody-anywhere</em> empty. No cars, no neighbors, no lights. Then her SOC hall starts screaming: the whole town read the same email, believed it, and packed up for a “fully paid December off” that never existed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FAWM4xa8NHKEVwFA91FXIQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6VWoiEiZCr2toEx5oG-QxQ.png" /></figure><h3>Task 2: Why Phishing Works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QXTcive9Oq2yz3s6iJjAtA.png" /></figure><p><strong>Answers:</strong></p><p>General category of attack phishing falls under</p><p>- social engineering</p><p>Persuasion lever created by &quot;act before the offer disappears&quot;</p><p>- urgency</p><p>What phishing targets instead of machines?</p><p>- people</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mKYdXXudmHR4jk92fdyGag.png" /></figure><h3>Task 3: Reading the Red Flags</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AaoMKMXfIvpz3elGJJIksQ.png" /></figure><p>Desktop action that previews a link’s true destination</p><p>- hover</p><p>Display name says &quot;TBFC HR&quot; but domain uses capital I instead of lowercase</p><p>- lookalike domain</p><p>Confirming an urgent request through a separate, known-good route</p><p>- second channel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YR7g8Rf_11AeQB-eWDXAlg.png" /></figure><h3>Task 4: The Verdict — Wareville Mail</h3><p>This is where it gets hands-on. You <em>become</em> McSkidy, sitting in the same SOC chair, working through the same inbox that emptied the entire town — one email at a time, with 2 lives and a rule of thumb: <strong>every real TBFC email ends in </strong><strong>wareville.thm.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zL_hmfCkDhmeWTGiZlCsnA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d2NjcDO3iKzmwRJhypFNkA.png" /></figure><h4>Email 1 — TBFC IT Helpdesk: “Scheduled Maintenance This Weekend, No Action Needed”</h4><p>✅ <strong>Legitimate.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FjrCo48NT8A5YdxmX0bcrg.png" /></figure><ul><li>Sender and link both genuinely resolve to wareville.thm</li><li>No request to verify anything — the subject literally says “No Action Needed”</li><li>Addressed by name (“Hi McSkidy”), not a generic mass-mail greeting</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*ZT-f2r6N-3IuYP2QtCjZEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*so9MdwPIuFLasHX9N1rpHQ.png" /></figure><h4>Email 2 — Sam Whitfield: “Quick one, can we move our 2pm?”</h4><p>✅ <strong>Legitimate.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x26DkyRlX_upfB3PyjBPbQ.png" /></figure><p>A mundane, low-stakes internal scheduling message — no link, no urgency, no ask for credentials or money. Exactly the kind of boring email a real colleague sends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*hC3gIwxzFkWn9ewS9QPI2A.png" /></figure><h4>Email 3 — TBFC Rewards: “You’ve Won! Claim Your TBFC Rewards Seasonal Bundle”</h4><p>🚩 <strong>Phishing.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqDO-zqITHw4lxWduzpn5A.png" /></figure><ul><li>TBFC doesn’t run a rewards program that emails surprise winners out of nowhere</li><li>Sender domain was giftclaim-portal.biz — zero connection to wareville.thm</li><li>A prize you never entered, with a 48-hour countdown, is built to get you clicking before you think</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*eBHDNzMQUB2gfjD1BG6Prg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Vf5-fDTGTUhQ44833NSYQ.png" /></figure><h4>Email 4 — TBFC Rewards &amp; Perks: “A Free World Cup 2026 Fan Bundle Is Waiting for You”</h4><p>🚩 <strong>Phishing.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aN-1_WxFGqWUUYHFrf58XA.png" /></figure><p>Same playbook as Email 3: generic “Dear Valued Employee” greeting, manufactured urgency (“offer closes tonight”), and a link to fanbundle-rewards.info — not wareville.thm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/1*H6T4evUmDmInNKpix_vejw.png" /></figure><h4>Emails 5–9 — the rest of the stack you can identify and mark.</h4><h4>Clearing the inbox</h4><p>With every message correctly classified and no lives lost:</p><blockquote><strong><em>“You Held The Line”</em></strong><em> — Every message classified, every trick caught. McSkidy held the line for Wareville. Today, so did you.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MY-XI9OKyutao35RJS_eLw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sWwmaoDQrDQfFMnTTtXbpg.png" /></figure><h3>Room completed: 100% ✅</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QcdLUyZbTwPsa71D9vJMMw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c86c5276970" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Advent of Cyber 2026 — Day 2: “Key Under the Mat”]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-advent-of-cyber-2026-day-2-key-under-the-mat-9211017e8856?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/9211017e8856</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Fri, 04 Dec 2026 08:22:14 GMT</pubDate>
            <atom:updated>2026-12-04T08:22:14.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*usgSDVq45wYkHMi94AY44A.png" /></figure><p><strong>Difficulty:</strong> Beginner | <strong>Time:</strong> ~30 min | <strong>Category:</strong> Password Security</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*W_GMQDMihNwnMrKw_-SN_Q.png" /></figure><h3>The Story</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i7vo3MNlNgFr05eU1M5SOw.png" /></figure><h3>Task 2: Why Passwords Fail</h3><p>A table runs through classic weak passwords and why they fall:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z2za-tXWT79ocBBHJT3s9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zG1XSsxxJOihmlyYVR6Xjg.png" /></figure><p><strong>Answers:</strong></p><p>Credential Stuffing</p><p>qwerty / tyuiop</p><p>Keyboard walk pattern</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c1MVp_NdL7HaD5qhlqW5GQ.png" /></figure><h3>Task 3: Building a Strong Password</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUVJbK9jQXcKbI_g6_ZkDQ.png" /></figure><p><strong>Answer:</strong> Most important best practice → Length</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Y6qY9dkEVybStnel8MsTw.png" /></figure><h3>Task 4: Password Managers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PpigsH1U7IekpkBAgZp8NA.png" /></figure><p><strong>Answer:</strong> The one password you must remember when using a manager → master password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LGJljnsr8Az3AvTMAq7cCw.png" /></figure><h3>Task 5: PassSec — the Practical Part</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XO_hrpCbObuPWKZGsOTHyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gmwl7NW7SkXd_pp8VbjHbg.png" /></figure><p>🎮 Game 1 — The Break-In</p><p>Elf Robin walks through the real attacker checklist, run top to bottom, fastest method first:</p><ol><li>The famous-passwords list (123456, password, qwerty…)</li><li>Every word in the dictionary (+ names, teams, pets)</li><li>A word + a number or year (sunset → Sunset2019) — the #1 human habit</li><li>Letter-for-symbol swaps (a→@, o→0, s→$) — a costume attackers have already seen</li><li>Try every combination (brute force) — the slow last resort, not the first move</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmCqXUo53ZFr1DcMwqTRAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*upFCsN4oHsrqnJFroI8HSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bsSIcC2dOBzch-XXd0_Z3w.png" /></figure><p>Example: Elf Tom’s password Sunset2019 gets caught at step 3 almost instantly — &quot;sunset&quot; is an ordinary word, adding a year is the most common habit there is. Attackers never even reach the slow brute-force step.</p><p>Then a 20-password judgment round: for each password, decide <strong>Survives</strong> or <strong>Cracked</strong> against the checklist. Random strings (jL8wQznFtkPa3xR, 7yQ$mK2pLxRt9nZ, b3Kx9mQwZaFtrQp) and long nonsense passphrases survive; anything built from a dictionary word, name, pet, year, or common symbol swap (Soccer2019, P@ssword, iloveyou, 123456, qwerty123) gets cracked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JSf_cJoFcWJ6wRvX8MxysA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*THS2oDN8oblcXoyq25NtxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QjjjpXwUPFk9vMImESqVaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2EvcLALxU566IxPdZk60Q.png" /></figure><pre>FLAG: THM{Ch3ckl1st_B34ts_H4ck3rs}</pre><h4>🎮 Game 2 — The Stalker’s Notebook</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*_uPlS18RIplMOl0ddbN02Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BLN0Uj5l7jvsHm7ztKhaNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dpXot-OFnqd9L4nvobjjBw.png" /></figure><p>The lesson lands on the next screen: when picking Elf Maya’s <em>new</em> password, the only safe option is one her own notebook could never contain — a password built from <strong>random unrelated words</strong>, not personal facts, however disguised (Coco2024! and GoTigers1994 both fail; kettle-harbor-violet-spoon wins).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aT-M-MlLvIra7_lY3VDkIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K4x7PqOGaSyJGloAIgQtPQ.png" /></figure><p>A second round flips it: given three more public profiles, you (the attacker) get 5 guesses each, mixing names/pets/years straight off their posts — scoring 2/3 correctly guessed before the game reveals the message: your posts are the clues.</p><pre>FLAG: THM{Y0ur_P0st5_4r3_Clu35}</pre><h4>🎮 Game 3 — The Spare Key</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*GN0KAX8bVWk_n9JmH_aRRg.png" /></figure><p>Elf Sam’s credentials leaked: sam.rivera@example.com / Sunshine2015. As the attacker, you try that stolen login across four reused sites — MailBox, NorthBank, Snapgram, ShopMart — plus a fifth, CloudDrive, which is also reused.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3SDx37nfdvZAzUC7UP-Mwg.png" /></figure><p>CloudDrive’s login works… but then demands a 6-digit verification code sent straight to Elf Sam’s actual phone. The stolen password alone isn’t enough — that’s <strong>MFA (multi-factor authentication)</strong> in action: even a perfectly correct password fails without the second factor only the real owner has.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeOJAm4ejQvuEAPHc_H1qA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xT-TGbZgwfLmWoLpSxzgqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RCOXPxFN8-bEjqh49PyQxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YNj1lsGRQ_-oweZsHIQ2Rg.png" /></figure><p>The fix for the rest: create <strong>Elf Sam’s Vault</strong> with one master password, then tap <strong>Generate</strong> on every reused account (MailBox, Snapgram, PizzaGo were flagged reused; NorthBank and ShopMart were already unique). After generating fresh unique passwords for all of them, replaying the old stolen login against every site results in <strong>0/4 broken into</strong> — the leak is now worthless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LlG4_1KsWHbbW5lI1LzG7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQ1WCn-eaku63c72oDod4A.png" /></figure><h3>Room Answers</h3><p>ChallengeFlagThe Break-InTHM{Ch3ckl1st_B34ts_H4ck3rs}The Stalker&#39;s NotebookTHM{Y0ur_P0st5_4r3_Clu35}The Spare KeyTHM{MFA_St0ps_Br34ch3s}</p><p>Room completed!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KWsvWn8h_O0HYfVWEGeqig.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9211017e8856" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Advent of Cyber 2026 — Day 1: “Who’s Home?”]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-advent-of-cyber-2026-day-1-whos-home-df9d3d2db836?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/df9d3d2db836</guid>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Thu, 03 Dec 2026 09:58:15 GMT</pubDate>
            <atom:updated>2026-12-03T09:58:15.480Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWriL82FYbp0Unyq9e0RHA.png" /></figure><p><strong>Difficulty:</strong> Beginner | <strong>Time:</strong> ~30 min | <strong>Category:</strong> Windows Fundamentals / User Accounts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*raEw0XZ-liBiXWNo6YXIwg.png" /></figure><h3>The Setup 🎄🕵️</h3><p>Wareville’s gone quiet for the holidays and McSkidy is the only one left to guard the fort. Something — or someone — has been lurking in the Wareville Workstation’s user accounts, and it’s on her (and us) to sniff them out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*XhDNwihl4_Ofut_RBXUfcw.gif" /></figure><h3>Quick Theory Dump</h3><p>Before touching the machine, the room covers the basics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wKez-hiMDv98xIjVNJ32Ag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OwQPTosjJuu8DrNKQrFMzQ.png" /></figure><p>Quick knowledge check, answered straight from the theory:</p><p>QuestionAnswerGroup with full control of a Windows machineAdministratorsTool that shows a record of eventsEvent ViewerEvent ID for successful login4624</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NhTGc-Pn0l3SE3h-fze5yg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JylSVVrDI69hQTqSzxyrcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-v6DINdwlJhbpAm1D5xOw.png" /></figure><h3>Into the Workstation</h3><p>No AttackBox, no VM creds — just a direct split-screen link into McSkidy’s workstation. Power it on and you’re dropped straight onto her festively snowy ElfOS desktop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*zue9bIx-7dlAqRLGil7wPg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NFWtsejRQlGVfwXfKjniKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtDscRu6de88zqFyesMfWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mWan1WJNsB_WKpOOB3nKuw.png" /></figure><h3>Clue Hunting Before the Hunt</h3><p>The task hints there’s snooping to be done first — how did an intruder even get admin rights? So before disabling anyone, we go digging.</p><h4>📧 Mail</h4><p>That’s useful — it tells us <em>Vihari</em> is expected to be logged in. Anyone else showing activity is suspicious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tccM1eejtSX7nqWmEdVzcQ.png" /></figure><h4>🗑️ Recycle Bin</h4><p>Digging through deleted files turns up secret_santa_ideas.txt, restored from McSkidy_Admin&#39;s Documents:</p><pre>Secret Santa for Buzz (£10!!)</pre><pre>- mug that says WORLD&#39;S OKAYEST INTERN<br>- cable ties (he&#39;ll need them)<br>- NOT a singing fish</pre><p>Buzz = the new intern. Noted. 🎁</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EVG_kktYE1k5pJXEuAmAbA.png" /></figure><p>So now we know two legitimate names:</p><p>RoleNameEmployee of the Month / IT Lead<strong>Vihari </strong>New intern <strong>Buzz</strong></p><h3>The Hunt: Local Users and Groups</h3><p>Time to open <strong>Local Users and Groups</strong> and check every account against who’s <em>actually</em> supposed to be there.</p><p>One account stands out: <strong>betti_user</strong> (Betti Dangs) — not Vihari, not Buzz, not a name anyone emailed about. No description, no obvious reason to exist. That’s our imposter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-GI26BEz9_7xfd2mXr76TQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*Jb9B3C_Mf8NVlhOArQLPpw.gif" /></figure><h3>Locking the Door 🔒</h3><p>On the <strong>General</strong> tab, tick <strong>Account is disabled</strong> → <strong>Apply</strong>.</p><blockquote><em>If you pick the wrong account, don’t panic — the room just flips it back on and gives you a warning. Pick correctly and you get the flag.</em></blockquote><p>Ticking the box on betti_user pops a success dialog:</p><blockquote>“Account disabled. Whoever was hiding in this machine is locked out… for now.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*1L0kyYDkbGb2cHev9Z8FZQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HUPTpquc92kgYStEInDB_A.png" /></figure><p><strong>ROOM COMPLETED!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ETj6jXmIHpVKwuROsMUY0g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df9d3d2db836" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Lab: Reflected XSS into a JS String (quotes escaped)]]></title>
            <link>https://medium.com/@devchetanpatil/portswigger-lab-reflected-xss-into-a-js-string-quotes-escaped-d934ba0cfc99?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/d934ba0cfc99</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[portswigger-academy-labs]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 10:34:33 GMT</pubDate>
            <atom:updated>2026-12-02T10:34:33.238Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXV9fiIimmKnNxP2cgHdnw.png" /></figure><p><strong>Difficulty:</strong> Practitioner | <strong>Category:</strong> XSS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*QaYq-GlQS1j947mi" /></figure><h3>The Challenge</h3><p>Our input lands inside a JS string. &lt;, &gt;, &quot; get HTML-encoded — doesn&#39;t matter, we&#39;re not in HTML. But every &#39; we send gets auto-escaped with a \. Goal: pop alert() anyway.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3orifgmUHrUiVCQ3MQ%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExZjhwdmt5YTcyZmZ0YWdxdW16bWk1OGF4MjYydHV3azRuZWcyN2dqMiZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2F3orifgmUHrUiVCQ3MQ%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExNWE0b3I4ZmtxN2Zmb3JjazQ3ZXcwZDY0MG44N2RmeWg4b3k3OWJoNSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2F3orifgmUHrUiVCQ3MQ%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/00d4b250c05e5afc82e76fe635a17538/href">https://medium.com/media/00d4b250c05e5afc82e76fe635a17538/href</a></iframe><h3>Step 1 — Find the sink</h3><p>Search for 12345, check source:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a_drS5o7f1X3Y_r4DA_FUA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3t9OeiEVLLFPa3CYQk77Q.png" /></figure><p>We’re inside a single-quoted string. Time to break out.</p><h3>Step 2 — First attempt fails</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTCxi-6RTxaYaFqPqpS7qA.png" /></figure><p>Source shows: var searchTerms = &#39;\&#39;-alert()-\&#39;&#39;;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bqvUk3r4TQihceo608eFQ.png" /></figure><p>The app slapped a \ in front of our quote. Our &quot;closing&quot; quote is just an escaped character now. Nothing closes.</p><p>App -</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FFKsrUaxsi3NHRUXSif%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExbHdieW0ydWdzMWdpcTM5NW55d2R2Zm1tc2VwZTJ1Ymo2N3A2Zml0ZSZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2FFKsrUaxsi3NHRUXSif%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExOWdwcTM0dmI5bDFzNzgwOG1qeGhpb2w1Z2ppbWgzcnN5dG5zM3dkbiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FFKsrUaxsi3NHRUXSif%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/42839f62dcb53be195a16a3344609a62/href">https://medium.com/media/42839f62dcb53be195a16a3344609a62/href</a></iframe><h3>Step 3 — The trick</h3><p>Send our <strong>own</strong> backslash first:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gE14juvzfgM4v9aeBCw4WQ.png" /></figure><p>Now: &#39;\\&#39; → the app&#39;s auto-backslash + our backslash = \\, a literal escaped backslash — <em>not</em> an escaped quote anymore. That frees the real &#39; right after it to actually close the string. -alert() runs live, // comments out the rest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qDAIZ8c50ubRa24pd1wc7Q.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FUCLqVJuzgOROGXWRfF%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcnp6em44dTVmMGQ1aGFuMzVsZXpuOWFjYWhiYnMyaTFwdnMzZ2N5ayZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2FUCLqVJuzgOROGXWRfF%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExajZ1d2VuaW44djljdHFscGpkMnVoaGphNDBqemZ6aGxxNmljc2V3cyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FUCLqVJuzgOROGXWRfF%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/240c47ec281d3e3566a6a16ec9f0ae8e/href">https://medium.com/media/240c47ec281d3e3566a6a16ec9f0ae8e/href</a></iframe><h3>Step 4 — Boom 💥</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p4R2yLsDWm9zPe-1bTFsug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GoF1bK227Efyj6G6MQnNEQ.png" /></figure><h3>Lab solved ✅</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FgHomxnPbWQAB1TntqS%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExenh6MWs2cWJ4Mm0zaW9laWNqMWZ0NGdkZjJ2dmFzanV6bzNzNmdxaSZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2FgHomxnPbWQAB1TntqS%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExYjFtdmMzd3NnaXo0ODl0dnNyM3BrM3cwMnR4Z2l6eHlpdDg5NHh4NyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FgHomxnPbWQAB1TntqS%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="413" frameborder="0" scrolling="no"><a href="https://medium.com/media/62f9de192a41bbd990ae054af040b8a5/href">https://medium.com/media/62f9de192a41bbd990ae054af040b8a5/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oMjjvHEHpP72Y3yOBYKQpA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d934ba0cfc99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Operation Slither Walkthrough]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-operation-slither-walkthrough-025df086c9a9?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/025df086c9a9</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 10:40:01 GMT</pubDate>
            <atom:updated>2026-12-01T10:40:01.896Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOapbGZwDo1UkkWi-SFyJA.png" /></figure><p><strong>Difficulty:</strong> Easy | <strong>Time:</strong> ~20 min | <strong>Category:</strong> OSINT</p><h3>Introduction</h3><p>Operation Slither is an OSINT room. A hacker group called <strong>Sneaky Viper</strong> is selling TryTelecomMe’s stolen data on a forum, and the only starting point is a username. You follow the digital footprints of three operators across social media, SoundCloud and GitHub, and collect a flag for each.</p><p>No exploitation is involved. It’s all search, pivoting and noticing small details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*lJ2_Lz9FM1GJq3RW_pIRcg.png" /></figure><h3>Task 1: The Leader</h3><p>The forum post is signed <strong>@v3n0mbyt3_</strong>. The questions ask for the platform he uses besides Twitter/X, and a flag.</p><h4>Finding the platform</h4><p>I searched the exact handle on Google. The top result was a <strong>Threads</strong> profile, so the first answer is threads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RD7qGduTyQ7xzHtQkoEqEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4LUFYlyCr-qwYaCC-XJSw.png" /></figure><h4>Finding the flag</h4><p>His Threads feed has only a few harmless posts, like a “workstation upgrade” photo and a “lazy day” post. The useful part was the <strong>Replies</strong> tab. There, another account, <strong><em>myst1cv1x3n</em></strong>, replied with a string that looks like Base64.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Q7_DY46gaJumfpAGpu3bw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evDqSqTMmHYzh4JNd-xkqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4p9MYxMOLRX_D3nMEIIX9Q.png" /></figure><p>Decoding it gives the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yc134DJK8qSj4e5YXEO8tA.png" /></figure><h3>Task 2: The Sidekick</h3><p>The second forum post hides the operator’s handle, but it mentions that bids go through Threads. The reply account from Task 1 is the obvious lead.</p><h4>Identifying the second operator</h4><p>The account that replied to v3n0mbyt3_ was <strong><em>myst1cv1x3n</em></strong>. That’s the answer to the first question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vx4ZGSfA-x0Cb45i5BEuHg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i5j0WKNtnkwzt1zJKvUvqA.png" /></figure><h4>Pivoting to other platforms</h4><p>Searching that username showed matching <strong>Threads</strong> and <strong>Instagram</strong> profiles with the same bio (“Delightfully Chaotic xo”) and the same fox avatar. On Instagram, the Reels tab had a video captioned <em>“Been playing with EDM for a while now. Check the extended prototype here!”</em>, with a link to <strong>SoundCloud</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GVoapAwPMxI5KozGjFzAxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*ZVRWQC1VhxU-Gjg4l25fCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1EC0e6N_R2ZG93G91qCSrQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0mFrtATgVXwibwBPiDVrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ePSoPtEncyRFp4d6Ll81g.png" /></figure><h4>The SoundCloud trail</h4><p>The link led to the track <strong>Prototype1</strong> by v1×3n_. It had no flag, but the related tracks were Prototype2, 3 and 4. The description of <strong>Prototype2</strong> contained another Base64 string:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-GdwBMIKmcLJdellQVJDQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xohDXlriz9yRxeP7FOYR6Q.png" /></figure><p>Decoding it gives the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3BBCSX8BQrNtZazlq-ExAA.png" /></figure><h3>Task 3: The Last Operator</h3><p>The third post advertises phishing tooling for sale: Terraform scripts, an Evilginx phishlet, GoPhish automation and EDR bypass payloads. We need the handle of the third operator, his other platform, and a flag.</p><h4>Finding the third operator</h4><p>My first idea was to search the second operator’s username together with “github”. That returned nothing useful, only a Wolfram|Alpha math interpretation of the text, so it was a dead end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUKq6HaZCvBsSJQhxhYbCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1l9lK1H9cEj0f6WC-UGWw.png" /></figure><p>The better route was back on SoundCloud. I opened the <strong>Followers</strong> list of v1×3n_ and saw an account with a hooded avatar, <strong>sh4d0wF4NG</strong>. His profile has no tracks. He follows only v1×3n_ and has liked only Prototype2, which ties him to the group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*29-SrkySMNcgyuLKtXFZ7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TWLIsSenEy3Cfc-YNeLHIQ.png" /></figure><h4>Finding his GitHub</h4><p>Searching sh4d0wF4NG returned a <strong>GitHub</strong> profile (display name <em>sdF4NG</em>) with three repos:</p><ul><li><strong>red-team-infra</strong>, written in HCL (Terraform)</li><li><strong>evilginx2</strong>, a fork of the MITM phishing framework</li><li><strong>gophish</strong>, a fork of the open-source phishing toolkit</li></ul><p>These match the tools in the sale post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YXB0lSmaUew3KpUPidNcWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vT4NSHg-UJ9T2lKxvA6Ulw.png" /></figure><h4>Digging through commit history</h4><p>The profile shows 0 contributions in the last year, but red-team-infra has a commit history from <strong>April 23, 2024</strong>. Commit messages like “Initial instance setup”, “Created new script — evilginx” and “Created new gophish script” show the attacker building his phishing infrastructure.</p><p>In one of these commits (the one that added ec2_gophish.tf and fixed .gitignore), the diff <strong>deleted </strong><strong>terraform.tfstate and </strong><strong>terraform.tfstate.backup</strong>. The .gitignore fix came too late, because the state files had already been committed. The deleted terraform.tfstate had an output named shadow-password:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZHexTPw9pXX5pcnwwR1ogg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQU59IJpOH18cDS7IWptzQ.png" /></figure><p>Base64-decoding it gives the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-dA9mTkFeMds2N0t8Xgfg.png" /></figure><p>All Answers Collected!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Qb3n1czOEREVushRLhFvg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UkyjKhfsmS8-bDRScjVE_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1TZNGJ5yC3GruOywYnwSFw.png" /></figure><p><em>Thanks for reading! Follow for more TryHackMe walkthroughs.</em></p><p><strong>ROOM COMPLETED!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wCwv9HrQjqjxqC1UOsSiA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=025df086c9a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Web Security Academy: Reflected XSS into a JavaScript String with Angle Brackets HTML…]]></title>
            <link>https://medium.com/@devchetanpatil/portswigger-web-security-academy-reflected-xss-into-a-javascript-string-with-angle-brackets-html-d88a11446184?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/d88a11446184</guid>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 12:01:53 GMT</pubDate>
            <atom:updated>2026-11-30T12:01:53.433Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZthQz8cPQI9a0MsEu-uJg.png" /></figure><h3><strong>PortSwigger Web Security Academy: Reflected XSS into a JavaScript String with Angle Brackets HTML Encoded</strong></h3><p><strong>Lab: Reflected XSS into a JavaScript string with angle brackets HTML encoded<br>Difficulty: Apprentice</strong></p><p><strong>Step 1: The Lab</strong></p><p>The description sets the constraint clearly: input reflects inside a JavaScript string used for search tracking, and angle brackets are HTML-encoded — but this time, unlike the previous “single quote and backslash escaped” lab, nothing is said about the quote character itself. That’s the whole hint: if the quote isn’t escaped, the classic string-breakout technique should just work directly, with no need for the &lt;/script&gt; tag-closing trick from before.</p><p><strong>Step 2: Finding the Sink</strong></p><p>Searched a plain marker (anything) to locate the reflection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCGjNvyugvwy0UTMKTbPYA.png" /></figure><p>DevTools confirmed the same tracking-script pattern as the previous JS-string lab:</p><pre>&lt;script&gt;<br>  var searchTerms = &#39;anything&#39;;<br>  document.write(&#39;&lt;img src=&quot;/resources/images/tracker.gif?searchTerms=&#39; + encodeURIComponent(searchTerms) + &#39;&quot;&gt;&#39;);<br>&lt;/script&gt;<br>&lt;img src=&quot;/resources/images/tracker.gif?searchTerms=anything&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0q41TOu0ySlTJGJSrBR1hA.png" /></figure><p><strong>Step 3: Confirming Only Angle Brackets Are Encoded</strong></p><p>PortSwigger’s own documentation on breaking out of a JavaScript string gives the exact technique for this situation: since the string is wrapped in single quotes, closing it with a &#39;, inserting JavaScript, then reopening a fresh &#39; to keep the rest of the line syntactically valid, lets arbitrary code run inline — no &lt;script&gt; tag or angle bracket needed at all, which matters here since those are the one thing being encoded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sMzN031ZVnsNfiWt7F3l8A.png" /></figure><p><strong>Step 4: Testing the Breakout</strong></p><p>Submitted the suggested pattern first, just to confirm the quote survives unescaped:</p><pre>&#39;-alert()-&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KbG1Axk016vTDBZrit4nHA.png" /></figure><p><strong>Step 5: The Alert Fires</strong></p><p>The alert fired immediately, confirming code execution rather than inert reflected text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjQZAP7k5SPDSXuKPANyXQ.png" /></figure><p><strong>Step 6: Confirming the Breakout in the DOM</strong></p><p>Checking the rendered script confirmed exactly what happened — the quote was never encoded, so it closed the string literal cleanly:</p><pre>&lt;script&gt;<br>  var searchTerms = &#39;&#39;-alert()-&#39;&#39;;<br>  document.write(&#39;&lt;img src=&quot;/resources/images/tracker.gif?searchTerms=&#39; + encodeURIComponent(searchTerms) + &#39;&quot;&gt;&#39;);<br>&lt;/script&gt;<br>&lt;img src=&quot;/resources/images/tracker.gif?searchTerms=NaN&quot;&gt;</pre><p>The searchTerms=NaN at the end is a small but useful confirmation of its own: alert() returns undefined, and &#39;&#39; - undefinedevaluates to NaN in JavaScript — meaning the browser actually <em>executed</em> the injected expression as code (subtraction included) rather than just printing it as a string. If the payload had only been reflected as inert text, that tracker URL would still show the literal payload string, not a computed NaN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*en4mZbYfVuvHB29YmMA3Vw.png" /></figure><p><strong>Step 7: Breaking Down Why the Payload Works</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WF_Bhh0RFhy1tp1J-lYFPA.png" /></figure><p>The payload &#39;-alert(1)-&#39; looks odd at first glance — it&#39;s not valid JavaScript on its own, so it&#39;s worth walking through exactly what each character is doing once it lands inside the existing string assignment:</p><pre>var searchTerms = &#39;[OUR INPUT]&#39;;</pre><p>Substituting the payload in:</p><pre>var searchTerms = &#39;&#39;-alert(1)-&#39;&#39;;</pre><p><strong>Lab marked as solved.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJt0VQyBGxK17pnMVGfxmw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d88a11446184" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: The Phishing Pond (Walkthrough)]]></title>
            <link>https://medium.com/@devchetanpatil/tryhackme-the-phishing-pond-walkthrough-2442417a6322?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/2442417a6322</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 06:56:13 GMT</pubDate>
            <atom:updated>2026-11-29T06:56:13.917Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8z9wGVcenG-SAxCy2rWb-g.png" /></figure><p><strong>TryHackMe: The Phishing Pond (Walkthrough)</strong></p><p><strong>Room: The Phishing Pond<br>Difficulty: Easy</strong></p><p><strong>Step 1: The Room</strong></p><p>The premise is a quick, practical exercise: identify which of ten emails are phishing and which are legitimate. The task page lays out the common red flags to watch for first — urgency/scare tactics, look-alike sender domains, display-name impersonation, malicious attachments, compromised real accounts, and too-good-to-be-true offers — before dropping you into the actual game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sblwbCpd57YwjaLvujXS5g.png" /></figure><p><strong>Step 2: Starting the Game</strong></p><p>The VM hosts a small web app, <strong>TryPhishMe</strong>, framed as phishing-detection training: 30 seconds per email, 3 lives, 10 scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNFRPvt-77F8J-TF2iLcNQ.png" /></figure><p><strong>Step 3: Working Through the Levels</strong></p><p><strong>Level 1 — Project Updates (internal sender, informational only).</strong> Sender domain matches the company (tryhackme.com), no link, no request for action, no urgency. Marked <strong>Not Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ec_NrUAOps3BPAWvkLYkGw.png" /></figure><p><strong>Level 2 — IT Notices, planned maintenance.</strong> Internal sender domain, informational, asks only to “report unexpected behaviour” rather than click anything or hand over credentials. Marked <strong>Not Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n_-V_HMn8tpSdRSQc9As_Q.png" /></figure><p><strong>Level 3 — Jane Doe, lunch plans.</strong> Internal sender, casual personal content, no links or requests for sensitive data. Marked <strong>Not Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yx4O-0qdD9KyOpOzNOQFzg.png" /></figure><p><strong>Level 4 — “Exciting job opportunity.”</strong> This is where the red flags stack up: the sender domain (career-opps.example.com) has no relation to the company the recipient works for, the message is unsolicited, and it directly asks for a <strong>national ID and bank details</strong> before any real onboarding process would ever need them. Classic too-good-to-be-true + data-harvesting combo. Marked <strong>Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fX1YDOYOP2LknykgN44dNg.png" /></figure><p>The game then asks <em>why</em> it’s phishing, out of three options. The correct answer is the one tied to actual harm potential — <strong>“Asks for sensitive personal identification and banking details”</strong> — since a mismatched external domain is a signal to look deeper, but the concrete attack is the request for identity and financial information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r0BSK1u3jVs4BNKeJ0drSA.png" /></figure><p><strong>Level 5 — Conference Team invitation.</strong> Internal sender domain, informational with an optional RSVP, nothing resembling a credential or payment request. Marked <strong>Not Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*milBh0PqAwlq9-ytxKJg1A.png" /></figure><p><strong>Level 6 — “Overdue Invoice — Pay Immediately.”</strong> Two separate red flags here: the sender domain is trustedvendor.co, but the embedded link points to paypel.trustedvendor-example.com — a classic typosquat/look-alike domain (note the <strong>&quot;paypel&quot;</strong> misspelling echoing a well-known payment brand, stitched onto a domain that only superficially resembles the real vendor), combined with urgency language (&quot;Pay Immediately&quot;). Marked <strong>Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MLKJhzNDabNdcmPc1O2Ang.png" /></figure><p><strong>Level 7 — “CEO Office,” urgent wire transfer.</strong> This is textbook Business Email Compromise (BEC): the sender domain is tryhackme-support.com, not the real company domain, impersonating a senior executive, demanding an urgent, confidential, large wire transfer, and explicitly asking the recipient <em>not to circulate it</em> — isolating the target from anyone who might double-check the request. Marked <strong>Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qbxum-JteiCdrRQKSmCJUw.png" /></figure><p><strong>Level 8 — “Quick favor — can you buy gift cards?”</strong> Same BEC pattern as Level 7, just lower-tech: external-looking sender, urgency (“swamped,” “urgent client need”), and a request to purchase gift cards and hand over the codes directly — gift card codes being effectively untraceable cash the moment they’re sent. Marked <strong>Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyYhiVP-cbxqnmJFy48xmw.png" /></figure><p><strong>Level 9 — “Updated benefits package,” macro-enabled attachment.</strong> The line “if it appears blank, enable macros to view the content” is one of the most well-known malware delivery tricks in existence — blank documents that only “work” once macros (and therefore embedded malicious code) are explicitly allowed to run. Combined with an external HR-provider domain that has no established relationship with the recipient, this is a clear <strong>Phishing</strong> attempt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZFG54-K3JruAQMSnakJuw.png" /></figure><p><strong>Level 10 — “We value your feedback — quick survey.”</strong> The sender domain itself (survey-feedback.example) is suspicious, but the real tell is the link: survey-feedback.shadylink.fake — a domain that doesn&#39;t even attempt to look legitimate, let alone match the sender&#39;s claimed identity. Marked <strong>Phishing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-zPxT8AKlSM9Zq-1tEUoFQ.png" /></figure><p><strong>Step 4: Completion</strong></p><p>All ten identified correctly, all three lives intact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMvZZ9aAavRyQxWmDGmXMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3TA2uNRQIksLVghurw-TRw.png" /></figure><p>Room marked 100% complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HyFjrIzE0cOMrkLN_U2Jjw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2442417a6322" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Web Security Academy: Reflected XSS into a JavaScript String with Single Quote and…]]></title>
            <link>https://medium.com/@devchetanpatil/portswigger-web-security-academy-reflected-xss-into-a-javascript-string-with-single-quote-and-72a9f71c3f7b?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/72a9f71c3f7b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[portswigger]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Sat, 28 Nov 2026 06:05:37 GMT</pubDate>
            <atom:updated>2026-11-28T06:05:37.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q28MxWmpeqUxzSLtGj0UJw.png" /></figure><p><strong>PortSwigger Web Security Academy: Reflected XSS into a JavaScript String with Single Quote and Backslash Escaped</strong></p><p><strong>Lab: Reflected XSS into a JavaScript string with single quote and backslash escaped<br>Difficulty: Practitioner</strong></p><p><strong>Step 1: The Lab</strong></p><p>The description is specific about the constraint: input lands inside a JavaScript string (used for search query tracking), and both the single quote and the backslash are escaped. Normally breaking out of a JS string just means closing it with an unescaped &#39; — here that exact character gets neutralized, along with the backslash that would otherwise be used to smuggle a quote past a naive filter.</p><p><strong>Step 2: Finding the Sink</strong></p><p>Searched for a plain marker (test) to see where it lands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVCLHJYXQxeVZQa0Cu57yQ.png" /></figure><p>Inspecting the page source revealed the actual sink — a tracking script embedded directly in the page:</p><pre>&lt;script&gt;<br>  var searchTerms = &#39;test&#39;;<br>  document.write(&#39;&lt;img src=&quot;/resources/images/tracker.gif?searchTerms=&#39; + encodeURIComponent(searchTerms) + &#39;&quot;&gt;&#39;);<br>&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6BzZ1YRItDT66UFkMHQqzw.png" /></figure><p><strong>Step 3: Understanding the Sink</strong></p><p>Breaking this down: searchTerms is a JavaScript string holding our raw input, and it&#39;s immediately fed into document.write()— wrapped through encodeURIComponent() for the tracker URL, but the <strong>assignment itself</strong> (var searchTerms = &#39;test&#39;;) uses our input completely unescaped, straight into the page&#39;s live script block. If that single-quote boundary could be broken, arbitrary JavaScript would execute right there, before document.write is even reached.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5TmH4Hs6rYeWlFf3X1PTQ.png" /></figure><p><strong>Step 4: The Key Insight — Don’t Fight the Quote, Close the Tag</strong></p><p>The lab escapes &#39; and \, so the obvious move — ending the string with a raw &#39; — is blocked, and so is the usual bypass of smuggling an escaped quote past a weak filter. But breaking the <em>JavaScript string</em> was never actually necessary. The browser&#39;s <strong>HTML parser</strong> looks for the literal sequence &lt;/script&gt; to know where a script block ends, and it does this blindly — it has no awareness of JavaScript string context at all. A &lt;/script&gt; sequence sitting <em>inside</em> what looks like a JS string literal still closes the tag at the HTML level, because HTML tokenization happens before the browser ever tries to parse the JavaScript inside it.</p><p>That means the escaped quote and backslash don’t matter: the injection doesn’t need to produce syntactically valid JavaScript at all. It just needs to get a literal &lt;/script&gt; into the response, closing the script block early — at which point everything following it is parsed as fresh HTML, where a plain &lt;img src=1 onerror=alert()&gt; fires immediately.</p><p><strong>Step 5: Building and Testing the Payload</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XKkqXYzLKL-t1h1y9dXhZg.png" /></figure><p>The alert fired immediately. The raw tail of the original script (everything that would’ve come after our injection point) rendered as plain visible text on the page — expected, since once &lt;/script&gt; closes the tag at the HTML level, none of that leftover content is treated as code anymore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F534iRdTlDW68_R2_glqWw.png" /></figure><p><strong>Step 6: Confirming the Escaping Still Happened (and Didn’t Matter)</strong></p><p>Checking the DOM confirmed the filter did exactly what the lab promised — the single quote in test&#39; came through as test\&#39;, properly backslash-escaped, so the JS string itself was never actually broken:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ls4Da4LxMe64vgxwBAWhHA.png" /></figure><p>This is the proof of the whole technique: the escaped quote sits there, inert, inside a string that’s no longer even part of a valid script block, because the literal &lt;/script&gt; text — regardless of the backslash right before it — already ended the tag as far as the HTML parser is concerned.</p><p>Lab marked as solved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GUOlyyj0XNS6dIOVc-Bk1A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72a9f71c3f7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PortSwigger Web Security Academy: Reflected XSS in Canonical Link Tag]]></title>
            <link>https://medium.com/@devchetanpatil/portswigger-web-security-academy-reflected-xss-in-canonical-link-tag-ce64a96cc7b0?source=rss-f3f67c579436------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce64a96cc7b0</guid>
            <category><![CDATA[portswigger]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Chetan Patil]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 13:06:42 GMT</pubDate>
            <atom:updated>2026-11-27T13:06:42.373Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhD_70Q85FeKzNE7HL8Kzw.png" /></figure><p><strong>PortSwigger Web Security Academy: Reflected XSS in Canonical Link Tag</strong></p><p><strong>Lab: Reflected XSS in canonical link tag<br>Difficulty: Practitioner</strong></p><p><strong>Step 1: The Lab</strong></p><p>The description sets two constraints at once: input is reflected into a &lt;link rel=&quot;canonical&quot;&gt; tag, and angle brackets are escaped — so no new tag can be injected, only an <strong>attribute</strong> on the existing &lt;link&gt; element. The lab also gives a hint most labs don&#39;t: it tells us exactly which key combinations the simulated victim will press (ALT+SHIFT+X, CTRL+ALT+X, Alt+X), and warns the intended solution only works in Chrome.</p><p>That hint is the whole puzzle, worth flagging up front: those three key combinations are the <strong>accesskey</strong> shortcut across Windows/Linux Firefox, Chrome, and classic bindings respectively — meaning the lab is steering us toward the HTML accesskey attribute, which lets any element (not just links/buttons) become keyboard-activatable. Since the victim is simulated pressing a shortcut, not clicking anything, the payload needs to fire via a keyboard-triggered event, not onclickfrom a real mouse click.</p><p><strong>Step 2: Finding the Reflection</strong></p><p>The target is a blog, same as previous labs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keqAZupqqctlVsizjVimwA.png" /></figure><p>Inspecting the page’s &lt;head&gt; showed the canonical link tag, and its href directly reflects the current page&#39;s query string:</p><pre>&lt;link rel=&quot;canonical&quot; href=&quot;https://0a7a004...web-security-academy.net/post?postId=5&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wtK-13uhggW0l1pCFgQDKw.png" /></figure><p>To confirm the reflection is controllable, added a junk query string to the home page URL and reloaded:</p><pre>https://0a7a004....web-security-academy.net/?dumb</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rzzRAZ_D4RFGrlnbj6LG2Q.png" /></figure><p>Sure enough, the canonical tag’s href echoed it back exactly:</p><pre>&lt;link rel=&quot;canonical&quot; href=&quot;https://0a7a004....web-security-academy.net/?dumb&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*joaQkZFYpuI7mJFOw5UoUA.png" /></figure><p><strong>Step 3: Breaking Out of the href Attribute</strong></p><p>Angle brackets are escaped, so a new &lt;script&gt; tag is off the table — but the lab never said quotes were escaped. If the quote wrapping href&#39;s value can be closed, new attributes can be tacked onto the same &lt;link&gt; element, exactly like the attribute-injection lab earlier, except this time there&#39;s no click to rely on.</p><p>That’s where accesskey comes in: it&#39;s a real HTML attribute usable on virtually any element, and it binds a keyboard shortcut to that element. Since the simulated user is scripted to press exactly the accesskey trigger combo, setting accesskey=&quot;x&quot; plus an onclick handler means pressing that shortcut fires the click handler — without ever needing an actual mouse click, which a &lt;link&gt; tag (hidden in the page &lt;head&gt;, never rendered) could never receive anyway.</p><p>The payload closes the href value early, adds accesskey=&#39;x&#39;, then adds onclick=&#39;alert(1)&#39;:</p><pre>?&#39;accesskey=&#39;x&#39;onclick=&#39;alert(1)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mXbXHhctZjmVCfyKqwXxAw.png" /></figure><p><strong>Step 4: Confirming the Injection</strong></p><p>Checking the DOM confirmed the attributes landed cleanly on the &lt;link&gt; tag, exactly as intended:</p><pre>&lt;link rel=&quot;canonical&quot; href=&quot;https://0a7a004....web-security-academy.net/?&quot; accesskey=&quot;x&quot; onclick=&quot;alert(1)&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tTJgLBpdL2f-Wm8_PGJeOw.png" /></figure><p>With this payload delivered to the victim (as a crafted link they’d click, per the lab’s standard reflected-XSS delivery), the simulated browser’s scripted key presses trigger the accesskey binding, firing the injected onclick and calling alert(1).</p><p>Lab marked as solved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rNtg5YD6MnZKIl6tCY4qGQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce64a96cc7b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>