LoFP LoFP / legitimate decommissioning of an aws account, regional consolidation, or removal of an unused detective deployment may trigger this rule. validate the caller identity and confirm a corresponding change management ticket exists before closing.

Techniques

Sample rules

AWS Detective Graph Deleted

Description

Detects the deletion of an Amazon Detective behavior graph via the DeleteGraph API. Amazon Detective automatically collects log data from AWS services and uses machine learning, statistical analysis, and graph theory to build an interactive model of resource behaviors and interactions. Deleting a behavior graph destroys its historical analysis data and removes the ability to investigate security incidents using Detective’s relationship mapping. An attacker with sufficient IAM permissions may delete the Detective graph to impair forensic investigation of a compromise.

Detection logic

data_stream.dataset: "aws.cloudtrail"
    and event.provider: "detective.amazonaws.com"
    and event.action: "DeleteGraph"
    and event.outcome: "success"