Detect and Contain Cloud Credential Abuse

8 steps · about 2 h 38 min · Intermediate

  1. Recognise abuse of valid cloud accounts (doc, MITRE ATT&CK, 16 min)

    Valid credentials can blend into ordinary administration, so detection depends on context rather than malware alone.

  2. Understand the cloud audit trail (doc, AWS Documentation, 20 min)

    Management and data events provide the identity, source, action and resource evidence needed to build a timeline.

  3. Inventory credentials and recent use (doc, AWS Documentation, 18 min)

    Credential reports and last-access information help identify exposed keys, dormant principals and suspicious changes.

  4. Build an initial event timeline (tutorial, AWS Documentation, 22 min)

    Event history lets you pivot from the reported action to source addresses, user agents and related API calls.

  5. Correlate identity-focused findings (doc, AWS Documentation, 18 min)

    GuardDuty findings add anomaly and threat-intelligence context but still need validation against the audit trail.

  6. Choose reversible containment (doc, AWS Documentation, 20 min)

    Policies, session revocation and isolation can stop abuse while preserving the principal and logs for investigation.

  7. Rotate or remove exposed access keys (doc, AWS Documentation, 16 min)

    A staged key replacement avoids leaving a second active credential or breaking a legitimate workload unexpectedly.

  8. Remove persistence and verify recovery (tutorial, AWS Documentation, 28 min)

    Remediation includes unauthorized roles, policies, resources and trust changes, followed by monitored validation of normal behavior.