✳ Field lesson S1 / 11 min

Identity alert triage: reconstructing who, what, and how across logs

Identity alert triage correlates authentication context (origin IP, autonomous system, MFA method, and device posture) with downstream API actions to determine whether a session represents an authorized user, misconfigured automation, or an active adversary.

socidentitytriageincident-responseCISSP D7Security+ (SY0-701) D4CySA+ (CS0-003) D1

Helpful first: Identity, authentication, authorization, and recovery · Logs, alerts, and evidence: why an alert title is a hypothesis, not proof

Key points

  • Triage an identity alert by correlating Identity Provider (IdP) sign-in records, device management posture, and downstream resource logs
  • Balance detection Precision and Recall so high-risk credential anomalies surface without drowning the SOC in false positives
  • Distinguish an adversary-in-the-middle (AitM) session-cookie replay from a routine roaming login or CI service job

Triage starts at 02:18 UTC: reading the four identity signals

At 02:18 UTC at Meridian Space & Robotics (chronos.orbital), Threat Hunter Nyx pulls a high-priority alert from the queue: account dax.mercer@chronos.orbital authenticated from an unfamiliar residential proxy ASN and immediately requested a bulk export from the propulsion configuration repository.

Rather than closing the ticket as "user passed MFA" or immediately wiping Dax’s laptop, Nyx evaluates four structured identity signals in order: Authentication Assurance (did the login use origin-bound FIDO2, a push prompt, or a replayed session cookie?), Device Posture (did the request come from a corporate-managed MDM serial number with a healthy EDR heartbeat?), Network Origin (known corporate egress vs commercial VPN/hosting proxy), and Post-Auth Behavior (normal daily read pattern vs rapid enumeration and privilege escalation).

Triage starts at 02:18 UTC by reading four identity signals for dax.mercer@chronos.orbital. Read each signal against a benign pattern and a compromise pattern.
Correlating telemetry signals during identity alert triage
Telemetry SourceKey Fields to InspectBenign PatternCompromise Indicator
IdP Sign-In LogauthMethod, amr, sessionId, userAgent, ipAddress, asnFIDO2/WebAuthn hardware passkey from known home ISP ASNLegacy SMS/Push prompt followed within seconds by IP/ASN switch (AitM token replay)
Endpoint / MDM PosturedeviceId, osVersion, edrHealthy, clientCertPresentManaged corporate macOS laptop presenting valid mTLS device certificateUnregistered Linux/Windows browser user-agent with no device certificate
Downstream Audit Log (Git / Cloud / API)action, resource, bytesOut, statusCodeRoutine pull of single assigned microservice repository during work hoursRapid cloning of 40 repositories, creation of new API keys, or MFA factor enrollment

Why "MFA succeeded" does not automatically close the alert

A common junior SOC mistake is closing an anomalous login alert the moment they see mfaResult: SUCCESS in the IdP log. If the account used phishable MFA (such as a 6-digit TOTP code or push notification), an Adversary-in-the-Middle (AitM) reverse proxy could have relayed the user’s real MFA response and stolen the resulting session cookie.

Even when FIDO2 is enforced at login, malware on an infected endpoint can steal an already-issued session token from browser storage and replay it from another IP address without triggering a new authentication prompt. That is why Nyx compares the IP and device fingerprint at token issuance time against the IP and device fingerprint at API consumption time.

MFA succeeded does not automatically close the alert. An Adversary-in-the-Middle (AitM) proxy relays real MFA and keeps the session cookie. Issuance and use then come from different places.

Precision vs Recall in identity detections

Detection engineering balances two measures. Recall, also called sensitivity, is TP / (TP + FN): the share of real attacks that fire an alert. Precision is TP / (TP + FP): the share of fired alerts that are real attacks. Specificity is a different measure, TN / (TN + FP): the share of benign events that stay quiet.

A rule that fires each time an engineer logs in from hotel Wi-Fi has high recall for roaming logins but low precision. The rule trains analysts to close the alert as benign. Add unmanaged device posture and a sensitive post-auth action to the network anomaly, and precision goes up. Each added condition can also lower recall, because the rule then misses attacks that do not match every condition.

Adding conditions to an identity detection means precision goes up, and each added condition can also lower recall. Precision: TP / (TP + FP). Recall: TP / (TP + FN). Specificity: TN / (TN + FP). Specificity is not precision.

Separating account actions from human intent

Logs prove what an account or token did, not which human hands were on the keyboard. By correlating the unmanaged browser fingerprint, the commercial proxy ASN, and the rapid repo cloning within 45 seconds of a push-MFA approval, Nyx confirms with high confidence that dax.mercer@chronos.orbital suffered an AitM session hijack - and escalates immediately to containment.

Three correlated facts support the hijack verdict, separating account actions from human intent. Logs show the account, not the hand.

CHECK YOUR JUDGMENT

Threat Hunter Nyx reviews an alert for dax.mercer@chronos.orbital. The IdP log shows a successful push-notification MFA login from IP 198.51.100.12 (corporate office) at 14:01:02 UTC, and four seconds later at 14:01:06 UTC the same sessionId is used from IP 203.0.113.99 (an unmanaged Linux host on an external VPS provider) to register a new authenticator app and download secret environment variables. What does this evidence indicate?

NEXT FIELD LESSON

Investigate, respond, and verify: why HTTP 200 or 504 is not containment proof

↗

Find your next idea.

Tip: press / to open search. Escape closes this window.