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