{"id":"13f81a90-a69c-4fab-8f07-b5bb55416a9f","title":"Google Cloud Service Account Disabled or Deleted","description":"Identifies when a service account is disabled or deleted in Google Cloud.","author":"Austin Songer @austinsonger","status":"test","level":"medium","date":"2021-08-14","modified":"2022-10-09","tags":["attack.impact","attack.t1531"],"technique_ids":["T1531"],"logsource":{"product":"gcp","service":"gcp.audit"},"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."],"references":["https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts"],"source_path":"rules/cloud/gcp/audit/gcp_service_account_disabled_or_deleted.yml","source_sha256":"611f4ca410957970175fc072602e3714d209a1b9c0ef68cf31e71ffe73703a3f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/cloud/gcp/audit/gcp_service_account_disabled_or_deleted.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Google Cloud Service Account Disabled or Deleted\nid: 13f81a90-a69c-4fab-8f07-b5bb55416a9f\nstatus: test\ndescription: Identifies when a service account is disabled or deleted in Google Cloud.\nreferences:\n    - https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts\nauthor: Austin Songer @austinsonger\ndate: 2021-08-14\nmodified: 2022-10-09\ntags:\n    - attack.impact\n    - attack.t1531\nlogsource:\n    product: gcp\n    service: gcp.audit\ndetection:\n    selection:\n        gcp.audit.method_name|endswith:\n            - .serviceAccounts.disable\n            - .serviceAccounts.delete\n    condition: selection\nfalsepositives:\n    - 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.\n    - 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.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1531","id":"T1531","name":"Account Access Removal","page":"techniques/enterprise/T1531/"}],"data_path":"data/detection-rules/13f81a90-a69c-4fab-8f07-b5bb55416a9f.json","kind":"sigma"}
