methodNameHigh signal
google.iam.admin.v1.SetIAMPolicy: IAM policy set on a service account
Who can act as or manage a service account changed.
How to read it
Granting roles/iam.serviceAccountTokenCreator or serviceAccountUser lets the grantee impersonate the account.
Find it
gcloud logging read 'protoPayload.methodName="google.iam.admin.v1.SetIAMPolicy"' \
--freshness=30d --format=json --project=<project-id>ATT&CK
About methodName
The API method recorded in protoPayload.methodName of a Cloud Audit Logs entry. Admin Activity logs are always on; Data Access logs mostly have to be enabled.
Questions
- What does methodName google.iam.admin.v1.SetIAMPolicy mean?
- IAM policy set on a service account. Who can act as or manage a service account changed. Granting roles/iam.serviceAccountTokenCreator or serviceAccountUser lets the grantee impersonate the account.
- Is methodName google.iam.admin.v1.SetIAMPolicy a sign of an attack?
- Often, yes. It is a strong signal. It is associated with MITRE ATT&CK Additional Cloud Roles (T1098.003). Confirm it with the surrounding events: who made the request, from where, and what happened next.
- Where is methodName google.iam.admin.v1.SetIAMPolicy recorded?
- In the protoPayload.methodName field of Google Cloud audit logs.
- How do I search for methodName google.iam.admin.v1.SetIAMPolicy?
- The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.
Appears in
Other Google Cloud audit log methodName values
- SetIamPolicyIAM policy set (Resource Manager)
- google.iam.admin.v1.CreateServiceAccountKeyService account key created
- google.iam.admin.v1.CreateServiceAccountService account created
- GenerateAccessTokenService account token generated
- storage.setIamPermissionsBucket IAM changed
- storage.objects.getObject read
- google.logging.v2.ConfigServiceV2.DeleteSinkLog sink deleted
- google.logging.v2.ConfigServiceV2.UpdateSinkLog sink updated
- v1.compute.projects.setCommonInstanceMetadataProject metadata set
- v1.compute.instances.setMetadataInstance metadata set
- v1.compute.instances.insertVM created
- v1.compute.firewalls.insertFirewall rule created
- v1.compute.firewalls.patchFirewall rule changed
- google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersionSecret accessed
Decode a whole event
Paste the event and every field is explained, in your browser.