Password Password

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

Attack and Defense

How a class of attack works, how it is detected, and how it is closed, written for the people running the systems.

Attack and Defense explains one class of attack per article, at the level the people running the systems need: how it works, what it leaves in the logs, and which controls close it. Every piece is written from the defender's side and cites the references a security team already works from (OWASP, MITRE ATT&CK, CISA and NIST). None of them is a recipe for attacking anyone.

There are six so far. SQL injection for people who write queries shows how a string-built query lets input change the SQL, the parameterised fix, and a regression test that proves it. Credential stuffing shows the shape that reused passwords leave in an authentication log and ends with a rate limiter you can adapt. MFA that fails explains the relay page that captures a one-time code and the session behind it, the push prompts repeated until someone approves one, and the controls that hold against both. Session tokens picks up from there: a stolen cookie is a logged-in user, and an idle timeout does not bound the thief. The ransomware kill chain maps eight stages of an intrusion to ATT&CK mitigations and CISA's guide, with a script that shows which stages your controls leave open. SPF, DKIM and DMARC explains why alignment is the part that stops spoofing and what the May 2026 DMARC standard changed.

If you run a login page, read credential stuffing first, then the MFA-phishing and session-token pieces, in that order; together they follow one chain from a leaked password to a hijacked session. The credentials themselves are covered in Passwords and Auth. Planned for this section: DNS security basics, supply-chain attacks on package registries seen from the defender's side, and a backup strategy that survives ransomware.