GCP IAM Role Deletion

Identifies an Identity and Access Management (IAM) role deletion in Google Cloud Platform (GCP). A role contains a set of permissions that allows you to perform specific actions on Google Cloud resources. An adversary may delete an IAM role to inhibit access to accounts utilized by legitimate users.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/09/22"
 3integration = ["gcp"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/06/22"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies an Identity and Access Management (IAM) role deletion in Google Cloud Platform (GCP). A role contains a set
13of permissions that allows you to perform specific actions on Google Cloud resources. An adversary may delete an IAM
14role to inhibit access to accounts utilized by legitimate users.
15"""
16false_positives = [
17    """
18    Role deletions may be done by a system or network administrator. Verify whether the user email, resource name,
19    and/or hostname should be making changes in your environment. Role deletions by unfamiliar users or hosts should be
20    investigated. If known behavior is causing false positives, it can be exempted from the rule.
21    """,
22]
23index = ["filebeat-*", "logs-gcp*"]
24language = "kuery"
25license = "Elastic License v2"
26name = "GCP IAM Role Deletion"
27note = """## Setup
28
29The GCP Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
30references = ["https://cloud.google.com/iam/docs/understanding-roles"]
31risk_score = 21
32rule_id = "e2fb5b18-e33c-4270-851e-c3d675c9afcd"
33severity = "low"
34tags = ["Domain: Cloud", "Data Source: GCP", "Data Source: Google Cloud Platform", "Use Case: Identity and Access Audit", "Tactic: Impact"]
35timestamp_override = "event.ingested"
36type = "query"
37
38query = '''
39event.dataset:gcp.audit and event.action:google.iam.admin.v*.DeleteRole and event.outcome:success
40'''
41
42
43[[rule.threat]]
44framework = "MITRE ATT&CK"
45[[rule.threat.technique]]
46id = "T1531"
47name = "Account Access Removal"
48reference = "https://attack.mitre.org/techniques/T1531/"
49
50
51[rule.threat.tactic]
52id = "TA0040"
53name = "Impact"
54reference = "https://attack.mitre.org/tactics/TA0040/"

Setup

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

References

Related rules

to-top