Incident Response Runbook: Account Compromise
1. Identification
- Triggers: Suspicious logins (Impossible travel, unfamiliar IP, unusual timing), Privileged Identity Management (PIM) alert, Defender for Identity alert, user reporting compromised credentials.
- Immediate Action: Confirm if the behavior was authorized. Verify with the affected user out-of-band (e.g., Slack, phone).
2. Containment
- Revoke Active Sessions:
- Azure Portal > Microsoft Entra ID > Users > Select User > Revoke sessions.
- Reset Password:
- Enforce immediate password reset on next login.
- Block Sign-in (If necessary):
- If the threat is ongoing, block the account from signing in entirely until investigation is complete.
- Disable MFA Devices:
- Remove any unfamiliar Authentication methods registered to the account.
3. Eradication & Investigation
- Query
SigninLogsin the Log Analytics workspace: - Identify IP addresses and locations of the malicious logins.
- Review
AuditLogsfor any administrative actions performed by the user in Azure AD (e.g., adding credentials to an app, modifying groups). - Review Azure Activity Logs to determine if the compromised user altered any Azure resources (e.g., VMs, Storage, Key Vaults).
4. Recovery
- Unblock the account (if blocked) after securing credentials and verifying MFA methods.
- Revert any unauthorized changes identified in the logs (e.g., remove malicious app credentials, revert modified RBAC assignments).
- Monitor account activity closely for 72 hours.
5. Lessons Learned
- Was MFA bypassed (e.g., MFA fatigue)? Consider enforcing phishing-resistant MFA (FIDO2 / Windows Hello) for this user.
- Document timeline and update policies if needed.