Detect Admin Grants and 2-Step Verification Removal in Google Workspace Audit Logs
Published · Updated
MITRE ATT&CK: T1098T1556.006T1078.004
Sigma Rule
title: Google Workspace Admin Privilege Grant or 2-Step Verification Removal
id: 5898235a-abe3-4152-b4ee-26642696c381
status: experimental
description: >
Detects two steps of a Google Workspace admin takeover in the Admin SDK
Reports API: an account being granted admin privileges
(GRANT_ADMIN_PRIVILEGE, GRANT_DELEGATED_ADMIN_PRIVILEGES) and 2-Step
Verification being turned off for a user, by an administrator
(TURN_OFF_2_STEP_VERIFICATION) or by the user (2sv_disable).
references:
- https://developers.google.com/workspace/admin/reports/v1/appendix/activity/admin-user-settings
- https://developers.google.com/workspace/admin/reports/v1/appendix/activity/login
- https://attack.mitre.org/techniques/T1098/
author: LogTriage
date: 2026/09/18
modified: 2026/10/20
logsource:
product: google_workspace
detection:
admin_granted:
eventName:
- 'GRANT_ADMIN_PRIVILEGE'
- 'GRANT_DELEGATED_ADMIN_PRIVILEGES'
second_step_removed:
eventName:
- 'TURN_OFF_2_STEP_VERIFICATION'
- '2sv_disable'
condition: admin_granted or second_step_removed
falsepositives:
- Planned admin appointments (correlate with a ticket)
- Helpdesk turning off 2-Step Verification for a user who lost their phone
- Routine delegated admin role grants
level: high
tags:
- attack.persistence
- attack.t1098
- attack.credential_access
- attack.t1556.006
1 · Each event is compared with 2 selections. Every field in a selection must match; listed values are alternatives.
- eventName is any of
GRANT_ADMIN_PRIVILEGEGRANT_DELEGATED_ADMIN_PRIVILEGES
- eventName is any of
TURN_OFF_2_STEP_VERIFICATION2sv_disable
2 · An event counts when
admin_grantedorsecond_step_removed
google_workspace_attack.json, silent on google_workspace_normal.json — both in the public sample dataset ↗︎ What this rule detects
The Google Workspace Admin SDK Reports API records every consequential administrative action. This rule fires on two steps of an admin takeover:
- An admin grant:
GRANT_ADMIN_PRIVILEGEorGRANT_DELEGATED_ADMIN_PRIVILEGES, an account receiving admin rights in the tenant. - 2-Step Verification removed:
TURN_OFF_2_STEP_VERIFICATION(an administrator turned it off for a user) or2sv_disable(a user turned it off for their own account).
Each is an or branch, and each is rare enough that one occurrence justifies an alert, so there
is no threshold.
Detection logic
The rule keys on the event name (events[].name in the Reports API, eventName in most SIEM
mappings):
admin_grantedis the escalation: what an attacker does after compromising one admin to gain durable, tenant-wide control.second_step_removedis the persistence: without the second step, a password reset, which a compromised admin can do freely, becomes reusable access to the account.
Google’s own suspicious_login warning is deliberately not part of the rule. Google already
alerts on it, and on its own it is often benign travel. Use it as correlation context instead:
an admin grant by an account whose login was just flagged as suspicious is an incident.
Validated against a real sample
Validated against google_workspace_attack.json (shipped with LogTriage), a three-event chain:
- A
suspicious_loginwarning for[email protected]from185.220.101.42 TURN_OFF_2_STEP_VERIFICATIONperformed by the same admin, from the same address, for[email protected]GRANT_ADMIN_PRIVILEGEby the same admin, now from45.142.212.100, for[email protected]
The rule fires on the second and third events. It stays silent on the matching benign log, which
contains only a login_success and a document view.
False positives
Legitimate versions of these events exist, but they share a property the attack does not: they are expected. A planned admin appointment is announced and ticketed. A helpdesk turning off 2-Step Verification for a user who lost their phone correlates with a support case and a known, uncompromised admin. Delegated admin roles are granted far more often than super admin, so if they are routine in your tenant, alert on them at a lower priority rather than dropping them.
The tuning move is correlation, not suppression: enrich each event with the actor’s recent login history and any linked ticket.
Frequently Asked Questions
- Which events does this rule use, and where do they come from?
- Google's documented Reports API event names. Admin privilege grants are `GRANT_ADMIN_PRIVILEGE` ("Admin privileges granted to {USER_EMAIL}") and `GRANT_DELEGATED_ADMIN_PRIVILEGES`, both of type `USER_SETTINGS` in the admin application. An administrator turning off a user's 2-Step Verification is `TURN_OFF_2_STEP_VERIFICATION`, also in the admin application. A user turning it off for their own account is `2sv_disable`, of type `2sv_change` in the login application. Make sure your collector pulls both the admin and the login applications, or half of these events never reach your SIEM.
- Why is an admin grant worth an alert every time?
- Because admin rights are how one compromised account becomes durable, tenant-wide control. A super admin can read any mailbox and Drive, reset any password, turn off anyone's 2-Step Verification and create more admins. Legitimate grants are rare, planned and traceable to an existing owner, so alerting on each costs little and catches the one that matters.
- What does turning off 2-Step Verification tell you that a failed login wouldn't?
- That someone is thinking about persistence, not just access. With the second step gone, the next login to that account needs only a password, which a compromised admin can reset at will. It turns a temporary foothold into a reusable backdoor account.
- Should I correlate these events or alert on each one?
- Both. Alert on each, because each is rare and meaningful and a grant should not wait for a full chain. Then correlate by actor and address: in the validation sample, the same [email protected] account turns off 2-Step Verification for one user and grants admin privileges to another within a minute, right after Google flagged that admin's own login as suspicious. That clustering is what separates an incident from routine administration.
Related Resources
Reference
- Google Workspace Audit Log Fields: field reference → every field explained, with real sample records
- Paste one record and see what each field means → free, runs in your browser
See this detection run on a real report
Try the live demo with a pre-loaded malicious log set — no signup required — or upload your own log file and get a full AI-reviewed threat report in minutes.