Identity security
How attackers target identity, from account takeover to forged tokens, and how to detect, respond and build resilient systems.
Start with Why attackers go after identity
Understanding identity threats
Why attackers go after identity, and how an identity attack unfolds from first access to persistence.
- Why attackers go after identityFollow an account takeover at Cedar Inc. to see why attackers sign in rather than break in, what each stolen piece of identity gives them, and why the weakest path wins.
- Threat modeling an identity systemMap what a password reset protects, describe attackers by what they can do, question each step of the flow, and decide which threats to fix first.
Account takeover
Guessing, spraying and stuffing passwords, phishing and relayed sign-ins, getting around MFA, recovery and help desk abuse, and fake accounts.
- Guessing, spraying, and stuffingTell brute force, password spraying and credential stuffing apart, slow guessing without locking real people out, and refuse passwords that are already known.
- Phishing and relayed sign-insFollow a relayed sign-in that captures a password, a code and the session, and see why a credential bound to its site refuses to work at a look-alike address.
- Getting around MFASee how attackers get past MFA without breaking it, through approval fatigue, phone number takeover, weaker fallbacks and paths that never ask for a second factor.
- Attacks on recovery and the help deskTreat account recovery and help-desk resets as attack paths, verify people in proportion to what is being restored, and make every recovery visible to the owner.
- Fake accounts and message abuseRecognize identity abuse that needs no stolen account: fake sign-ups, message floods, SMS pumping and deliberate lockouts, and the automation defenses and limits that stop them.
Sessions, tokens, and trust
Stolen sessions and tokens, limiting and revoking stolen access, shared security events, forged tokens and stolen signing keys, and abuse of federation and account linking.
- How sessions and tokens are stolenFollow a session or token after sign-in, see how malware, injected scripts, URLs, logs, and tickets leak copies, and learn why a replayed copy skips MFA.
- Limiting what stolen access can doLimit stolen sessions and tokens with timeouts, refresh token reuse detection, narrow audiences, key binding, and re-authentication people can live with.
- Revoking access and sharing security eventsCompare how sessions, refresh tokens, and access tokens end, understand the revocation gap, and see how security events tell applications what changed.
- Forged tokens and stolen signing keysLearn how stolen signing keys and validation mistakes let attackers mint tokens with no sign-in, and how to protect keys, spot forgeries, and respond.
- Abusing federation and account linkingSee how attacker-controlled providers, linking on email, and changed trust settings let someone sign in as others, and how to match and monitor safely.
Privilege and persistence
How attackers escalate privilege and stay in, protecting privileged access, and attacks through connected apps and integrations.
- Escalating privilegeFollow how an ordinary account becomes administrative access through self-grants, groups, nesting and integrations, and learn the limits that close each path.
- Protecting privileged accessProtect accounts that can change everything with fewer standing administrators, time-limited elevation, phishing-resistant sign-in and tested emergency access.
- How attackers stay inSee the footholds attackers add to a taken-over account, from new authenticators to app grants and mail rules, and why a password reset alone leaves them in place.
- Attacks through apps and integrationsUnderstand consent phishing, device code phishing, breached integrations and misled agents, and choose controls for which apps people can approve and keep.
Detection and response
Recording identity activity, detecting attacks, writing detection queries, investigating a compromise, containing and recovering, and rotating exposed credentials.
- Recording identity activityDecide which identity events to record, tell an actor from a subject and a claimed identity, and keep secrets out of audit history and operational logs.
- Detecting identity attacksSpot identity attacks as patterns across many records, separate unusual activity from malicious activity, combine weak signals, and write alerts people can act on.
- Identity telemetry and detection queriesWrite detection rules as queries over sign-in records: password spraying by source, push fatigue, impossible travel and session replay, then tune and test them.
- Investigating an account compromiseFollow an investigation from one alert to a full timeline, tell the attacker's actions from the owner's, widen the scope, and preserve evidence before cleanup.
- Containing and recoveringContain a taken-over account in the right order, remove every foothold together, return the account to its owner safely, and watch for the attacker to return.
- Rotating credentials and keys after exposureRespond to an exposed secret: find what depends on it, choose between overlapping rotation and immediate revocation, and check what the secret already touched.
Building resilient identity systems
Layered defenses and secure defaults, reviewing security posture, and testing identity defenses.
- Layered defenses and secure defaultsMap each step of an account takeover to the layer that would have stopped it, and see why secure defaults, failing safely and checking every request matter.
- Reviewing identity security postureFind where identity settings have drifted, decide which findings to fix first, fix them without breaking people's work, and make posture review a routine.
- Testing identity defensesTest that identity defenses refuse what they should, start every test with written authorization and scope, and rehearse detection, response and recovery.