← All PBQs

Chapter 5

Emma Reviews the Churchill Aftermath (Diagnostic)

The Friday hostile offboarding went as well as a 4:55 p.m. fire drill can go. Emma disabled Frank Churchill's account at the IdP within eight minutes of the HR call. Federated logout cascaded across Salesforce, ServiceNow, GitHub, and Snowflake. The ticket was closed Friday night. Emma went home.

Forty-three days later, Highbury's source-control team notices an unexpected force-push to a release branch from an automation account, originating from a residential IP in a city no Highbury employee lives in. The commit backdoors the build. Forensics traces it back to Frank.

The offboarding was mostly done. The IdP kill switch did exactly what it was designed to do — for the things it covered. The incident is entirely in what it did not cover, and in the parts of the process that depended on a tired person remembering to do them manually at 5 p.m. on a Friday.

Post-incident report — unauthorized access, ex-employee F. Churchill.   Author: E. Woodhouse, IAM Specialist. Status: draft for legal and the board. Do not forward.

What we now know

  • Offboarding day IdP account disabled at 17:03. Federated apps (Salesforce, ServiceNow, GitHub-SSO, Snowflake) correctly rejected new logins thereafter.
  • Offboarding day SSH public key removed from 20 of 22 production hosts. The runbook was a manual checklist; two hosts in the eng-prod cluster were on a maintenance reboot and got skipped. Nobody re-ran the checklist.
  • Offboarding day The three un-federated LOCAL accounts (legacy-billing, bug-tracker-19, timesheet-old) were never touched. They were not on anyone's list because they were never in the IdP to begin with.
  • Offboarding day The deploy-pipeline API token (no_expiry, scope prod/*) was not rotated. It was nobody's explicit step.
  • Day +43 Frank authenticates to github-enterprise not through SSO but with the still-valid deploy-pipeline token, force-pushes a backdoored commit to a release branch. Source IP: residential, out of state.
  • Day +51 Legal requests a complete, time-correlated record of every system Frank could touch after termination, and every action taken on his accounts. Emma cannot produce one: access logs live on each system separately and were never centralized.

Contributing failures

  • The IdP kill switch covered federated apps only. Three local accounts and one long-lived token were entirely outside its reach.
  • The long-lived API token survived the IdP disable because federation never governed it; it required explicit rotation that no step owned.
  • SSH key removal was a manual checklist with no completeness guarantee; 2 of 22 hosts were silently missed.
  • There was no centralized, tamper-evident record from which a defensible post-termination timeline could be reconstructed for legal.

For each contributing failure in Emma's report, name the specific identity-and-access control that failed.

The three un-federated LOCAL accounts that were never disabled — invisible to the IdP kill switch because they were never in the IdP — are a textbook failure of in the identity lifecycle.

The deploy-pipeline API token survived the IdP disable because federation never governed it in the first place. Killing it required an explicit step that no part of the process owned — the single action that would have rendered the token Frank later used inert.

SSH keys were removed from 20 of 22 hosts because the offboarding ran as a manual checklist with no completeness guarantee. The standard protocol for automating account create, update, and disable across connected systems — so a failed or skipped target is reported and retried instead of silently missed — is .

Even on the two hosts where the orphaned key remained, the residual access was unbrokered standing credential. Routing all privileged access through a platform would have meant there was no standing credential for an orphaned key to ride, because access is issued just-in-time and recorded per session.

When Legal asked for a defensible, time-correlated record of everything Frank could touch and everything done to his accounts, Emma could not produce one. This is a failure of — the single source from which an unbroken post-termination timeline is reconstructed.

The root pattern across all of it: a federated IdP gives you one fast kill switch, but only for federated identities. The lesson Emma takes to the board is that everything outside federation — local accounts, long-lived tokens, cached material, orphaned keys — needs its own guaranteed removal path, ideally handled by rather than a 5 p.m. Friday checklist.