Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

GCP IAM - Service Account Enumeration

Back
Id50e0437e-912d-4cd0-ac19-fef0aebdd3d7
RulenameGCP IAM - Service Account Enumeration
DescriptionDetects possible service account enumeration.
SeverityLow
TacticsDiscovery
TechniquesT1087
Required data connectorsGCPIAMDataConnector
KindScheduled
Query frequency12h
Query period12h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformIAM/Analytic Rules/GCPIAMServiceAccountEnumeration.yaml
Version1.0.0
Arm template50e0437e-912d-4cd0-ac19-fef0aebdd3d7.json
Deploy To Azure
let threshold = 5;
GCP_IAM
| where PayloadMethodname =~ 'google.iam.admin.v1.ListServiceAccounts'
| summarize count() by PayloadAuthenticationinfoPrincipalemail, bin(TimeGenerated, 1h)
| where count_ > threshold
| extend AccountCustomEntity = PayloadAuthenticationinfoPrincipalemail
queryPeriod: 12h
query: |
  let threshold = 5;
  GCP_IAM
  | where PayloadMethodname =~ 'google.iam.admin.v1.ListServiceAccounts'
  | summarize count() by PayloadAuthenticationinfoPrincipalemail, bin(TimeGenerated, 1h)
  | where count_ > threshold
  | extend AccountCustomEntity = PayloadAuthenticationinfoPrincipalemail  
name: GCP IAM - Service Account Enumeration
entityMappings:
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: FullName
  entityType: Account
queryFrequency: 12h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformIAM/Analytic Rules/GCPIAMServiceAccountEnumeration.yaml
requiredDataConnectors:
- connectorId: GCPIAMDataConnector
  dataTypes:
  - GCP_IAM
description: |
    'Detects possible service account enumeration.'
kind: Scheduled
version: 1.0.0
status: Available
severity: Low
relevantTechniques:
- T1087
triggerOperator: gt
triggerThreshold: 0
tactics:
- Discovery
id: 50e0437e-912d-4cd0-ac19-fef0aebdd3d7