Google Cloud: Service Account Disabled or Deleted via IAM Audit Events
Identifies GCP IAM audit events where service accounts are disabled or deleted via serviceAccounts.disable/delete.
- Product
- gcp
- Service
- gcp.audit
- Author
- Austin Songer @austinsonger (SigmaHQ), DRL 1.1
- Published
- 2021-08-14
- Updated
- 2026-07-31
ATT&CK techniques
ImpactRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
What it detects
This rule identifies Google Cloud IAM service account disablement or deletion actions by matching audit method names that end with .serviceAccounts.disable and .serviceAccounts.delete. Attackers may disable or remove service accounts to break access paths or to cover tracks after gaining control. The detection relies on GCP audit log telemetry that records the IAM method name for these account lifecycle changes.
Reporting behind it
Changelog
v4- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Google Cloud: Service Account Disabled or Deleted via IAM Audit Events"
id: 30d4a92d-1578-4b1d-bd56-bbb7138e4041
status: test
description: This rule identifies Google Cloud IAM service account disablement or deletion actions by matching audit method names that end with .serviceAccounts.disable and .serviceAccounts.delete. Attackers may disable or remove service accounts to break access paths or to cover tracks after gaining control. The detection relies on GCP audit log telemetry that records the IAM method name for these account lifecycle changes.
references:
- https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/gcp/audit/gcp_service_account_disabled_or_deleted.yml
author: Austin Songer @austinsonger, Huntrule Team
date: 2021-08-14
modified: 2022-10-09
tags:
- attack.impact
- attack.t1531
logsource:
product: gcp
service: gcp.audit
detection:
selection:
gcp.audit.method_name|endswith:
- .serviceAccounts.disable
- .serviceAccounts.delete
condition: selection
falsepositives:
- Service Account being disabled or deleted may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
- Service Account disabled or deleted from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: medium
license: DRL-1.1
related:
- id: 13f81a90-a69c-4fab-8f07-b5bb55416a9f
type: derived