Sigma rule: Google Cloud Service Account Modified

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-174e1665eed6, updated 2022-10-09T00:00:00.000Z.

Rule

Title
Google Cloud Service Account Modified
Status
test
Level
medium
Author
Austin Songer @austinsonger
Date
2021-08-14
Modified
2022-10-09
File
rules/cloud/gcp/audit/gcp_service_account_modified.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Identifies when a service account is modified in Google Cloud.

Log source

product
gcp
service
gcp.audit

Detection

selection:
    gcp.audit.method_name|endswith:
        - .serviceAccounts.patch
        - .serviceAccounts.create
        - .serviceAccounts.update
        - .serviceAccounts.enable
        - .serviceAccounts.undelete
condition: selection

False positives (as the rule lists them)

  • Service Account being modified 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 modified from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.

Tags

  • attack.impact

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/gcp/audit/gcp_service_account_modified.yml

Sources and licences

  • SigmaHQ

    "Google Cloud Service Account Modified" by Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/gcp/audit/gcp_service_account_modified.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Google Cloud Service Account Modified",
entity page, dataset version ref-174e1665eed6, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6b67c12e-5e40-47c6-b3b0-1e6b571184cc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6b67c12e-5e40-47c6-b3b0-1e6b571184cc, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.