Detection rules › Sigma

Google Workspace User Granted Admin Privileges

Status
test
Severity
medium
Log source
product gcp, service google_workspace.admin
Author
Austin Songer
Source
github.com/SigmaHQ/sigma

Detects when an Google Workspace user is granted admin privileges.

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1098 Account Manipulation
Privilege EscalationT1098 Account Manipulation

Event coverage

ProviderEventTitle
GoogleWorkspace-adminGRANT_ADMIN_PRIVILEGEGrant Admin Privilege
GoogleWorkspace-adminGRANT_DELEGATED_ADMIN_PRIVILEGESGrant Delegated Admin Privileges

Rule body yaml

title: Google Workspace User Granted Admin Privileges
id: 2d1b83e4-17c6-4896-a37b-29140b40a788
status: test
description: Detects when an Google Workspace user is granted admin privileges.
references:
    - https://cloud.google.com/logging/docs/audit/gsuite-audit-logging#3
    - https://developers.google.com/admin-sdk/reports/v1/appendix/activity/admin-user-settings#GRANT_ADMIN_PRIVILEGE
author: Austin Songer
date: 2021-08-23
modified: 2023-10-11
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1098
logsource:
    product: gcp
    service: google_workspace.admin
detection:
    selection:
        eventService: admin.googleapis.com
        eventName:
            - GRANT_DELEGATED_ADMIN_PRIVILEGES
            - GRANT_ADMIN_PRIVILEGE
    condition: selection
falsepositives:
    - Google Workspace admin role privileges, may be modified by system administrators.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventService: admin.googleapis.com
    eventName:
        - GRANT_DELEGATED_ADMIN_PRIVILEGES
        - GRANT_ADMIN_PRIVILEGE

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
eventNameeq
  • GRANT_ADMIN_PRIVILEGE
  • GRANT_DELEGATED_ADMIN_PRIVILEGES
eventServiceeq
  • admin.googleapis.com