A cloud incident handler detects active unauthorized API activity within a production cloud tenant. Investigation reveals that a developer accidentally committed an administrative API key to a public code repository, allowing an external threat actor to deploy unauthorized compute instances and initiate unauthorized data export jobs. The handler has verified the malicious activity in the cloud provider's audit logs. According to standard incident response lifecycle guidelines, which of the following actions should the handler take FIRST to contain the threat?
- Revoke the compromised API key and invalidate all active session tokens generated by that key.Answer
- BRestore affected database assets from the latest verified clean backup taken before the breach.
- CConduct a post-incident review to mandate static code analysis scanning in the developer CI/CD pipeline.
- DDeploy Web Application Firewall rules to block the threat actor's external IP address.
Answer
Revoke the compromised API key and invalidate all active session tokens generated by that key.
According to NIST SP 800-61 and standard incident response playbooks, when an active security breach involves stolen or leaked credentials, the immediate priority during the Containment phase is to disable or revoke those credentials and invalidate active session tokens. This immediately halts the threat actor's ability to issue management commands without altering system state needed for forensics or jumping ahead to recovery.
Step-by-Step Solution
Key Concept
Incident Response Lifecycle - Containment Phase
Estimated Time:2m 0s