Pwned Passwords is a great web service that lets you check your own password against millions of compromised and leaked password. It’s not only getting constantly updated by the owner, Troy Hunt but offers text-based downloadable files and API for anyone interested in building a 3rd party app.
Newly added to the list is the password hashes in NTLM format, which can be used to compare to the hashes in any AD environment. That’s a wonderful news to those mostly working in a Windows environment, myself included.
Here are the steps how this can be done. I personally haven’t got chance to test it myself but sure will in the near future.
- Download the entire 517M NTLM passwords either as a torrent or courtesy of Cloudflare aggressively caching them.
- Export AD hashes either using PowerShell or the built-in
- Check out the Match-ADHashes PowerShell script on GitHub or the Compromise Checker by Semrau Security.