AWS IAM Group Deletion

Identifies the deletion of a specified AWS Identity and Access Management (IAM) resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/05/21"
 3integration = ["aws"]
 4maturity = "production"
 5min_stack_comments = "AWS integration breaking changes, bumping version to ^2.0.0"
 6min_stack_version = "8.9.0"
 7updated_date = "2024/04/14"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies the deletion of a specified AWS Identity and Access Management (IAM) resource group. Deleting a resource
13group does not delete resources that are members of the group; it only deletes the group structure.
14"""
15false_positives = [
16    """
17    A resource group may be deleted by a system administrator. Verify whether the user identity, user agent, and/or
18    hostname should be making changes in your environment. Resource group deletions by unfamiliar users or hosts should
19    be investigated. If known behavior is causing false positives, it can be exempted from the rule.
20    """,
21]
22from = "now-60m"
23index = ["filebeat-*", "logs-aws.cloudtrail-*"]
24interval = "10m"
25language = "kuery"
26license = "Elastic License v2"
27name = "AWS IAM Group Deletion"
28note = """## Setup
29
30The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
31references = [
32    "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/delete-group.html",
33    "https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteGroup.html",
34]
35risk_score = 21
36rule_id = "867616ec-41e5-4edc-ada2-ab13ab45de8a"
37severity = "low"
38tags = ["Domain: Cloud", "Data Source: AWS", "Data Source: Amazon Web Services", "Data Source: AWS IAM", "Tactic: Impact"]
39timestamp_override = "event.ingested"
40type = "query"
41
42query = '''
43event.dataset:aws.cloudtrail and event.provider:iam.amazonaws.com and event.action:DeleteGroup and event.outcome:success
44'''
45
46
47[[rule.threat]]
48framework = "MITRE ATT&CK"
49[[rule.threat.technique]]
50id = "T1531"
51name = "Account Access Removal"
52reference = "https://attack.mitre.org/techniques/T1531/"
53
54
55[rule.threat.tactic]
56id = "TA0040"
57name = "Impact"
58reference = "https://attack.mitre.org/tactics/TA0040/"

Setup

The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top