Case AD42BD · Blue team / DFIR · L3 Applied
Hunting in Cloud Identity Logs
Interview questionWhat would you hunt for in Entra ID or Okta sign-in and audit logs?
- 01 What is it?
- 02 How is it abused?
- 03 How do you stop it?
What a strong answer covers
Try it out loud first. Then check yourself:
- Token theft: a session used from a new IP or device right after a sign-in elsewhere, often with no new MFA prompt.
- Persistence: new MFA methods, app registrations or service principal credentials, OAuth consents, and mailbox forwarding rules.
- Defense changes: Conditional Access policies edited, legacy authentication used, or admin roles assigned outside change windows.
- Baseline per user and per app; the hard part is telling travel, VPNs and mobile networks apart from attackers.
If the interviewer pushes back
- An attacker added a credential to an existing app registration instead of creating a new one. Which log event shows it, and why is it easy to miss?