<?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 Claytalltree on Medium]]></title>
        <description><![CDATA[Stories by Claytalltree on Medium]]></description>
        <link>https://medium.com/@claytalltree?source=rss-34de56d72bee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rVFAjruycJbMSR8M</url>
            <title>Stories by Claytalltree on Medium</title>
            <link>https://medium.com/@claytalltree?source=rss-34de56d72bee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:51:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@claytalltree/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[OffSec Proving Grounds Walkthrough: Squid]]></title>
            <link>https://medium.com/@claytalltree/offsec-proving-grounds-walkthrough-squid-6cf2d435c7f3?source=rss-34de56d72bee------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cf2d435c7f3</guid>
            <category><![CDATA[oscp]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Claytalltree]]></dc:creator>
            <pubDate>Wed, 02 Apr 2025 02:20:08 GMT</pubDate>
            <atom:updated>2025-04-02T02:20:08.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYaVNESsq_PmDpq2wXMEJA.jpeg" /></figure><p>Here’s a quick breakdown of my process working through the “Squid” box on OffSec’s Proving Grounds. This one’s a Windows Server 2019 target with some classic misconfigurations — a solid mix of enumeration, proxy pivoting, and exploiting default credentials.</p><h3>🧰 System Information</h3><p><strong>Target IP:</strong> 192.168.60.189<br><strong>Hostname:</strong> SQUID<br><strong>Domain:</strong> WORKGROUP<br><strong>OS:</strong> Microsoft Windows Server 2019 Standard 10.0.17763</p><p>🔧 Port Scan</p><p>Started off with a full TCP scan:</p><p>nmap -p- -sC -sV 192.168.60.189</p><p>Notable open ports:</p><p>135/tcp msrpc<br>139/tcp netbios-ssn<br>445/tcp microsoft-ds<br>3128/tcp http-proxy Squid http proxy 4.14<br>49666/tcp msrpc<br>49667/tcp msrpc</p><p>The Squid proxy (port 3128) immediately stood out. It wasn’t accessible directly, so I knew I’d need to tunnel through it.</p><h3>🥵 Squid Proxy Pivoting</h3><p>No public exploits for Squid 4.14, but I found <a href="https://github.com/aancw/spose">spose.py</a>, a tool for port scanning via Squid proxies.</p><pre>python3 spose.py --proxy http://192.168.60.189:3128 --target 192.168.60.189</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*2wFZNuVjAthk7bwEL1ey1w.png" /></figure><p><strong>Result:</strong></p><pre>192.168.60.189:3306 seems OPEN<br>192.168.60.189:8080 seems OPEN</pre><p>Using FoxyProxy, I routed traffic through the proxy and accessed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lSikhqEUUqBctj0hIn3NMg.png" /></figure><pre>http://192.168.60.189:8080</pre><p>This led me to a WAMP server dashboard — jackpot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsCrIJaBjxlv98hgcRVZog.png" /></figure><h3>📁 Web App Enumeration</h3><p>While poking around the Wampserver dashboard I found some interesting buttons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yek_TaS1tTkSjMdgzvOvqg.png" /><figcaption>phpinfo() and phpmyadmin</figcaption></figure><p>We’ll take a look at the phpinfo() button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cc3CrYCJgTdng-Y1oGpMCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmIEzRdDUpQPTTYmwFKsXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTxr3oegqcDXJzwabUV1wg.png" /></figure><p>Some Great information here but we like to see allow_url_fopen.</p><h3>⚠️ What’s the Deal with allow_url_fopen?</h3><p>When allow_url_fopen is turned <strong>on</strong> in a PHP config, it allows file functions like fopen(), include(), and require() to load files not just from the local server, but from <strong>remote URLs</strong> as well (e.g., http://evil.com/shell.php). That might sound handy for pulling remote resources, but it’s also a major risk.</p><p>With this information in mind we’ll now check out the phpmyadmin button discovered earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ka-U5mBLur7KmPyezcxwug.png" /></figure><p>Quick google search for default creds:</p><p>“By default, phpMyAdmin uses the MySQL root user with an empty password, meaning the username is “root” and the password field can be left blank.”</p><p>This works!</p><p>Now we have access to the admin dashboard:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CcP4F5pbY2IURMMa5mq7Pg.png" /></figure><p>We do some initial poking around here to see how the dashboard functions.</p><p>Nothing too critical for now but we navigate to the blue question mark button and are sent to this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r5gbHHyQkYorNNk1oi4zjA.png" /></figure><h3>🔪 Gaining Access via phpMyAdmin</h3><p>While researching exploits we could not find any that would be useful in this scenario so we instead google search “How to get shell with phpmyadmin”</p><p>I found a helpful script to create a basic file uploader: <a href="https://gist.github.com/BababaBlue/71d85a7182993f6b4728c5d6a77e669f">https://gist.github.com/BababaBlue/71d85a7182993f6b4728c5d6a77e669f</a></p><p>Inside phpMyAdmin, I used the SQL box to drop this uploader into the webroot:</p><pre>SELECT &quot;&lt;?php echo &#39;&lt;form action=\&quot;\&quot; method=\&quot;post\&quot; enctype=\&quot;multipart/form-data\&quot;&gt;&#39;; ... ?&gt;&quot;<br>INTO OUTFILE &#39;C:/wamp/www/uploader.php&#39;;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kg6sMYhYtmBoDDLCHgwWJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*aXcDiI2_VlcLEDzODuSrDQ.png" /></figure><p>We navigate to the uploaded file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tz5bQ0p9S7-GK_RGKmeQyQ.png" /></figure><p>Then I uploaded a PHP reverse shell (Ivan Sincek’s script).</p><p><a href="https://www.revshells.com/">Online - Reverse Shell Generator</a></p><p>Saved as shell.php</p><p>We then navigate to the uploaded shell to initiate it with our listener active and we successfully got a shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WxJ7zbRN5U4y1V51C9h8sw.png" /></figure><h3>🔍 Post-Exploitation</h3><p>No privilege escalation needed — the shell landed me with high enough privileges to grab both flags.</p><p><strong>Flags found:</strong></p><pre>C:/Users/Administrators/proof.txt<br>C:/local.txt</pre><h3>🌟 Takeaways</h3><p>This was a good reminder of how far weak/default credentials can take you. Key skills used here:</p><ul><li>Enumerating via proxy (Squid)</li><li>Default credential testing</li><li>File upload via SQL</li><li>Working with basic reverse shells</li></ul><p>Definitely a fun one. If you’re working on enumeration or proxy chaining, this box is a great practice ground.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cf2d435c7f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>