NewsCrawler.org

Cracking Windows Server 2022 NTLMv1 Hashes with Rainbow Tables

Pasted image 20260310124134.png
Pasted image 20260414164206.png
Pasted image 20260414164255.png
Pasted image 20260414164511.png
Image: hunio.org

The article describes how NTLMv1[1] can be used to recover the NT hash of a domain controller machine account on Windows Server 2022. NTLM downgrade attacks were known for Windows Server 2012, and newer SMB versions and Extended Session Security (ESS)[2] made them less viable. According to the author, Windows Server 2022 still allows this downgrade if NTLMv1 is permitted and the domain is configured as older Windows Server versions are.

The attack starts by setting the challenge to 1122334455667788 in the Responder[3] configuration and running it with --disable-ess. The PetitPotam tool then coerces authentication from the domain controller, and the resulting NTLMv1 response is split into three ciphertexts. Each ciphertext is looked up in a precomputed rainbow table[4], which recovers the NT hash. The author then uses the rebuilt hash with impacket-secretsdump to retrieve data for the krbtgt account.

The downgrade is possible because the LAN Manager authentication level settings 0–2 allow NTLMv1. The recommended fix is the Group Policy setting "Send NTLMv2 response only", which corresponds to LmCompatibilityLevel value 3. The strongest configurations are "Send NTLMv2 response only. Refuse LM & NTLM" in Group Policy and value 5 in LmCompatibilityLevel.

Read the original hunio.orgDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page