Skip to content

Lesson 7 of 14 · 15m

Identity and Auth Telemetry

Okta, Entra, VPN, and sshd logs — where MFA fatigue, legacy-protocol bypass, and impossible travel actually show up.

Attackers log in; they rarely break in. Verizon's DBIR has said the same thing for a decade: stolen credentials and phishing dominate initial access, which means the control plane you read on shift is the identity provider's log — Entra sign-in logs, Okta's System Log, the VPN concentrator, and sshd's auth.log — not the firewall.

Where the events live

  • Entra ID sign-in logs. Per attempt: status, Client app (the protocol — Browser, IMAP4, SMTP, Exchange ActiveSync), Conditional Access results, location, device state, and risk detections. The trap is Client app: legacy protocols like IMAP/SMTP basic auth don't pass through Conditional Access — no MFA, no device compliance, nothing. A "successful" sign-in over IMAP4 on an account with enforced MFA is not fine; it's the hole. Microsoft disabled basic auth on Exchange Online in late 2022 for most tenants; if your tenant still answers it, expect it to be the path sprays take.
  • Okta System Log. Event types like user.session.start, user.authentication.auth_via_mfa, core.user.factor.attempt_success / attempt_failed, user.account.lock, policy.evaluate_sign_on, user.authentication.universal_logout. The sequence is the story — which is the next section.
  • VPN logs. Cisco ASA/AnyConnect, GlobalProtect, whatever terminates remote access. Successful auth here moves the attacker inside the perimeter where the identity logs stop seeing them — correlate VPN session IPs with everything downstream.
  • sshd. Debian/Ubuntu /var/log/auth.log, RHEL /var/log/secure: Accepted publickey for user from ip, Failed password, Invalid user admin from ip. Invalid user at volume is enumeration; Accepted password from a fresh geography on a service account is a ticket.

The shapes that indict

MFA fatigue. In September 2022 the Uber breach ran on exactly this: the attacker pushed MFA prompts to a contractor's phone for an hour, then messaged them on WhatsApp pretending to be Uber IT — "approve the prompt." They approved. In the logs this looks like dozens of denied/failed MFA attempts followed by a success — attempt_failed × 38, then attempt_success at 02:41 from a new device in an unusual city. Deny-then-approve is not a user waking up; it's a compromised credential plus a worn-down human. Cisco's Yanluowang intrusion the same year used the same play with voice phishing.

Password spray vs. brute force. One account, many failures = brute force, ends in 4740 lockout. Many accounts, few failures each, one source = spray, engineered to never lock out. Then the inverse: a spray that produces zero 4624 successes still matters — it's reconnaissance of your account list.

Impossible travel. New York at 14:00, Berlin at 14:20 — Entra ID Protection's "atypical travel" detection. Real, but the false-positive list is long: the user's VPN egress, mobile carrier CGNAT geography, airplane Wi-Fi, anycast. The verdict comes from corroboration — device state, app used, what the session did — not the map.

Evidence: the protocol layer won a breach

The 0ktapus campaign in August 2022 phished credentials from ~135 organizations — Twilio among them — through SMS lures to lookalike Okta pages that relayed MFA codes. Cloudflare got hit by the same campaign and the phish failed: their FIDO2 hardware keys can't be relayed, and they published the postmortem. Same attacker, same lure — the authentication protocol decided the outcome, which is why "did the session pass phishing-resistant auth" is a verdict-level fact, not a detail.

And Storm-0558 — Microsoft's forged-token incident in mid-2023 — was only caught because customers had audit logs with MailItemsAccessed records showing the anomalies. Microsoft expanded default Purview audit logging afterward because the logging gap was the actual vulnerability.

The practice

Read protocol before verdict. Check Client app/auth protocol on every auth alert; block legacy auth in Conditional Access if you can write the recommendation. Treat deny-then-approve as full compromise — revoke sessions (universal_logout, Entra's revoke-sign-in), reset creds, hunt OAuth grants. And when "impossible travel" fires, corroborate before you escalate: VPN egress and airline Wi-Fi are the usual suspects, and crying wolf on them trains Tier 2 to skim your escalations.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.