QuestionQ60

VerifiedIncident Response

A security engineer receives an Amazon GuardDuty alert for a finding involving the Amazon EC2 instance that hosts the company’s primary website. The GuardDuty finding reads:

UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.

The security engineer confirms that a malicious actor used API access keys intended for the EC2 instance from a country in which the company does not operate. The security engineer must deny the malicious actor access.

What should the security engineer do first?

Explanation

EC2 instance profiles supply temporary AWS STS credentials for an IAM role. When those credentials are exfiltrated and used maliciously, revoking all IAM sessions associated with the instance-profile role immediately invalidates the compromised temporary credentials and blocks their further use. Network-rule changes and host assessments do not invalidate the stolen API credentials.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!