<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Security on mkz.me</title>
		<link>https://mkz.me/til/security/</link>
		<description>Recent content in Security on mkz.me</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Mon, 30 Sep 2024 12:49:43 +0200</lastBuildDate>
		
			<atom:link href="https://mkz.me/til/security/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Decrypt ntlm v2 hmac-md5 hashes with hashcat</title>
				<link>https://mkz.me/til/security/decrypt-ntlm-v2-hmac-md5-hashes/</link>
				<pubDate>Mon, 30 Sep 2024 12:49:43 +0200</pubDate>
				<guid>https://mkz.me/til/security/decrypt-ntlm-v2-hmac-md5-hashes/</guid>
				<description>&lt;p&gt;On a recent challenge, a &lt;code&gt;pcapng&lt;/code&gt; file containing a ntlm2 authentication exchange was given and it was asked to find out the password.&lt;/p&gt;&#xA;&lt;p&gt;A hmac-md5 ntlm v2 auth is based on a server challenge, with which the client will compute a &lt;code&gt;NTProofStr&lt;/code&gt; with the request data (ntlmv2 response without the ntproofstr).&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;wireshark&lt;/code&gt; decodes everything quickly, just find out the two packets:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;STATUS_MORE_PROCESSING_REQUIRED, NTLMSSP_CHALLENGE that contains &lt;code&gt;NTLM Server Challenge&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;NTLMSSP_AUTH, User: &amp;lt;domain&amp;gt;\user that contains the NTLMv2 response with the &lt;code&gt;NTProofStr&lt;/code&gt; and the authentication data.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;running-hashcat&#34;&gt;&#xA;  Running hashcat&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#running-hashcat&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;An hashfile composed of the username, domain, server challenge, ntlm proof and data is required to try to crack the user password.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
