<?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 Demon Hunter on Medium]]></title>
        <description><![CDATA[Stories by Demon Hunter on Medium]]></description>
        <link>https://medium.com/@demonhunter?source=rss-f3f588086515------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*qfOdOG3-qrYFh5wD.</url>
            <title>Stories by Demon Hunter on Medium</title>
            <link>https://medium.com/@demonhunter?source=rss-f3f588086515------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:42:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@demonhunter/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[Lateral Movement]]></title>
            <link>https://medium.com/@demonhunter/lateral-movement-758bbd313286?source=rss-f3f588086515------2</link>
            <guid isPermaLink="false">https://medium.com/p/758bbd313286</guid>
            <dc:creator><![CDATA[Demon Hunter]]></dc:creator>
            <pubDate>Sun, 23 Jul 2023 18:49:04 GMT</pubDate>
            <atom:updated>2023-07-23T18:49:04.592Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>SMB Relay Attack</strong></h3><p>In this attack attacker will get the NTLM hash of the Target machine and relays its to another machine on the network.</p><p>Below is the screenshot from one machine which is connected to our domain controller (DC). We can see 445 is open and smb2-security-mode:311: <strong>Message signing enabled but not required.</strong></p><p>It means we perform SMB relay attack as <strong>signing is not required</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*TKsvDJ_l2eSeRNuGCXMqZA.png" /></figure><p>Tools:-<strong>Inveigh, Hashcat</strong></p><p>In our windows 10 Student machine we have local admin access now run the Inveigh using administrator</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*h2alqa_EJhMX43-MfA9gSQ.png" /></figure><p>As we can see our tool is running.</p><p>Now when another user ssnape will share file. we will get the response with NTLM hash of the user as shown below screenshot .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*BX5hwV2kBXiLbbS51_9hTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*9wS27NsIksa8kHerfMRRDg.png" /></figure><p>All the logs and NTLM file will save in the folder of the tool <strong>Inveigh.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*-4GgLFXYUbeMaJJIE01TVw.png" /></figure><p>Now we can try to crack the NTLM Hash using Hashcat .</p><p>Go to kali and save the NTLM has as txt file and we will use rockyou.txt.</p><p><strong>hashcat -m 5600 t.txt /usr/share/wordlists/rockyou.txt — show</strong></p><p>SSNAPE::HARRY:465943514c555248:347edca8c8e71dfd0d3e7d98afa0ccbc:0101000000000000a0b230d076bdd901a1c741e42efc6f8f0000000002000a004800410052005200590001000e00530054005500440045004e00540004001600480041005200520059002e006c006f00630061006c0003000e00530054005500440045004e00540005001600480041005200520059002e006c006f00630061006c0007000800a0b230d076bdd9010600040002000000080030003000000000000000010000000020000050bbb94f0b9789b45553533093b64714f11e63815dc8d767d6894bf66a3aa6260a0010000000000000000000000000000000000009001c0048005400540050002f00660069006c006500730068006100720065000000000000000000:<strong>Password123</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*nIy2Paje--JnuxP47Y7mWw.png" /></figure><p>Now we can try to RDP to ssnape machine.</p><p>Below you can see the Two machine <strong>Student and Demonhunter </strong>connected to AD <strong>DEER-DC</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWTM9ETYxeIwa2w_OpWBoA.png" /></figure><p><strong>FIX:- ‘Message Signing enabled and required’ we will not be able to perform a SMB relay attack.</strong></p><p>Thanks for reading :) We will share how we can make a Vulnerable AD machine and attack soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=758bbd313286" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How SSL Certificate Works.]]></title>
            <link>https://medium.com/@demonhunter/how-ssl-certificate-works-886a4a5e969c?source=rss-f3f588086515------2</link>
            <guid isPermaLink="false">https://medium.com/p/886a4a5e969c</guid>
            <category><![CDATA[ssl]]></category>
            <dc:creator><![CDATA[Demon Hunter]]></dc:creator>
            <pubDate>Thu, 20 Sep 2018 08:24:39 GMT</pubDate>
            <atom:updated>2018-09-21T05:18:30.731Z</atom:updated>
            <content:encoded><![CDATA[<p>What is SSL?</p><p>SSL (Secure Sockets Layer) is the standard security technology for establishing an encrypted link between a web server and a browser. To be able to create an SSL connection a web server requires an SSL Certificate. SSL use port 443.</p><p>How SSL Certificate Works?</p><p>In below Image you can see the Client sends Https request to server. Lets talk in 7 easy steps how SSL Certificate works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*n0WNI97le-uVYzWpKLFKvw.png" /></figure><p>Step 1:- When client type <a href="http://www.facebook.com/">www.any.com</a> and hit enter it requests secure pages (HTTPS) from any web server.</p><p>Step 2:-Then any web Server send Public key or asymmetric key with SSL certificate.which is digitally signed by third party by CA (Certificate Authority).</p><p>Step 3:-Once Browser gets the certificate it will check the issuer’s digital signature to make sure the certificate is valid.</p><p>Step 4:-Digital signature is created by CA’s private key, and in chrome or firefox is previously installed with many major CA’s public key.Thus,digital certificate can be verified.</p><p>For Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*T_dv7pfF9M3ij15AxBNDDA.png" /><figcaption>Previously installed Public key</figcaption></figure><p>Step 5: After verified the certificate green padlock appears in browser. Now its time to exchange secret. Browser creates Symmetric key, It keeps one and gives a copy to the web server,using server’s public key it encrypt the secret.Then send to web server.</p><p>Step 6:- When web server gets the encrypted symmetric key it uses private key to decrypt it.Now the web server gets the browser’s shared key.</p><p>Step 7:- From now all traffic between the client and web server will be encrypted and decrypted with the same key.</p><p>Thanks for the motivation.</p><p>Sharing is Caring.</p><p>I hope you enjoyed reading of this blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=886a4a5e969c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Hacked dutch Government …….]]></title>
            <link>https://medium.com/@demonhunter/reflected-xss-on-dutch-government-f3eea567b72a?source=rss-f3f588086515------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3eea567b72a</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Demon Hunter]]></dc:creator>
            <pubDate>Mon, 09 Jul 2018 09:29:23 GMT</pubDate>
            <atom:updated>2020-06-28T15:38:19.630Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends, I am working as penetration tester in a well known cyber security company.</p><p>It is my first blog about how I reported a bug in Dutch Government.</p><p>I want to share with you a XSS which I found in DUTCH Government website.</p><p>I got a Reflected XSS in <a href="https://www.naarnederland.nl/examen/registration/login.spring">https://www.naarnederland.nl</a></p><p>Path:- p=ibl</p><p>Payload:-”&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;</p><p>“&gt;&lt;script&gt;alert(1)&lt;/script&gt;</p><p>while I was searching XSS I got the parameter P=ibi</p><p>In this parameter I injected a simple java script &lt;script&gt;alert(1)&lt;/script&gt; and using Burp suite in response tab I show the script is reflecting.Then I right click on burp suite and click on show response in browser.</p><p>After paste this in mozilla firefox I got an pop-up. The simple pay load is working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3IvIKxOMbqdys7cUfT3dEA.png" /></figure><p>Now I decided to report to Dutch Government regarding to this Reflected XSS.</p><p><strong>Timeline</strong></p><p>22/06/2018 — Reported Date</p><p>22/06/2018 — Got confirmation mail Regarding vulnerability from Them.</p><p>05/07/2018 — Resolved</p><p>05/07/2018 — Got appreciation as Dutch Government T-shirt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rHy4a5DRcb8_mwhS3kdbig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*2R8I6m1pi9if62Qxc3qd8A.jpeg" /></figure><p>Thank you Dutch Government.</p><p>I hope you enjoyed reading my first blog post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3eea567b72a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>