Password Password

Security, explained for the people who have to fix it.

Defender Tooling

Scripts and workflows for log analysis, monitoring, inventory, and testing your own systems.

Defender Tooling is where this site's own working tools will live, each one shipped as code you can read before you run it. There are no articles in this section yet, which is why this page is kept out of search results; we would rather leave it empty than fill it with a tool we have not built and checked.

Two pieces are queued for it. The first parses authentication logs with Python to find failed logins and password-spray patterns and sets an alert threshold you can tune; it builds on the log shapes described in credential stuffing. The second is a personal password audit that checks your own accounts against Have I Been Pwned's range API, which sends only the first five characters of a password's hash, so the password itself never leaves your machine. After those, our plan lists a TLS misconfiguration check for your own domains, finding and rotating secrets in git history, and a security-headers checker.

Until the first of these is published, the nearest working code on this site sits in other sections: the rate limiter at the end of the credential-stuffing article, the regression test in SQL injection for people who write queries, the calculator in password entropy, honestly computed, and the script in the ransomware kill chain. Every tool in this section will be for testing systems you own or are authorised to test.