Filters
How to search
  • Plain words find names, texts and examples.
  • "two words" finds the exact phrase.
  • --name or -x finds an option.
  • #word looks only inside commands.
  • @grep finds lessons and labs that use grep.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Put ! before a word to leave it out. OR between words means one of them.
  • ↑ ↓ to move · Enter to open · Esc to close · / to search

Security engineeringMixed 21 series

Five controls that stop most breaches

Most breaches are not clever. They are a known vulnerability on an internet-facing box, a password with no second factor, an admin account everyone shares, a backup that was online when the ransomware arrived, and nobody watching the login page.

Quick reference

  1. Patch what the internet can reach; most breaches start with a known CVE that had a fix.
  2. MFA on every admin path: console, VPN, CI, and the database console.
  3. No shared admin account and no standing root.
  4. Backups offline, and a restore you have actually tested.
  5. Alert on the identity provider, where attackers land first.

Explained

Five controls, in the order that pays back fastest.

Patch what the internet can reach. The CVE had a fix months ago.

Put MFA on every admin path: the console, the VPN, the CI system and the database console. Attackers go where the tokens are.

Remove shared admin accounts and standing root. If two people log in as the same identity, the audit log cannot say which one did it.

Keep backups offline and test a restore. An untested backup is a hope with a cron job.

Alert on the identity provider. Most intrusions begin with a login, and the provider sees it before your app does.

The honest caveat: none of these stops a determined attacker with a zero-day. They do make you an expensive target compared with the next company.

The lesson: five controls, boring, run every week.

Your turn: Which of the five would an audit find missing first?

More notes: Security engineering

Open in the notes app: search, filters, copy This note on GitHub