Skip to content
Threat Feed
medium advisory

Google Workspace Device Registration Burst for Single User

Detects bursts of Google Workspace device registration events for a single user exceeding three distinct device registrations within one minute, indicative of AiTM phishing or stolen OAuth token replay attacks.

This detection identifies anomalous Google Workspace device registration activity indicative of adversary-in-the-middle (AiTM) phishing or stolen OAuth token replay attacks. The rule focuses on bursts of DEVICE_REGISTER_UNREGISTER_EVENT logs where a single user registers three or more distinct device IDs within a one-minute window. While legitimate session/sync registrations can trigger this event, a high-cardinality burst is rare and suggests malicious activity, such as a phishing kit relaying user sign-ins or token-replay tooling driving multiple sessions against a stolen OAuth refresh token. This activity can lead to account compromise, data exfiltration, and unauthorized access to Google Workspace resources. The rule leverages Google Workspace device logs.

Attack Chain

  1. The attacker initiates a phishing campaign targeting Google Workspace users (T1566).
  2. The victim clicks a malicious link, leading to an AiTM phishing kit or a credential harvesting page (T1566.001).
  3. The attacker relays the victim’s credentials to Google, successfully authenticating and bypassing multi-factor authentication (MFA) if present (T1557).
  4. The attacker’s relay or stolen OAuth token replay tooling registers multiple device contexts in rapid succession, generating multiple DEVICE_REGISTER_UNREGISTER_EVENT logs with distinct google_workspace.device.id values (T1098.005).
  5. The attacker leverages the newly registered devices or replayed tokens to gain persistent access to the victim’s Google Workspace account (T1078.004).
  6. The attacker performs unauthorized actions, such as accessing sensitive data, modifying account settings, or sending malicious emails (T1530).

Impact

Successful exploitation can lead to account compromise, unauthorized access to sensitive data within Google Workspace, and potential business email compromise (BEC). The attacker could exfiltrate data, modify account settings, or use the compromised account to further propagate attacks within the organization. The impact is magnified if the compromised user has elevated privileges or access to critical resources.

Recommendation

  • Deploy the provided Sigma rule Detect Google Workspace Device Registration Burst for Single User to detect suspicious bursts of device registrations (Log Source: Google Workspace Device Logs).
  • Investigate users triggering the rule, focusing on device fingerprint consistency and preceding login events, as described in the rule’s note section.
  • Cross-reference logs-google_workspace.login events for successful logins preceding the burst, examining source.geo.country_name, source.as.organization.name, and user_agent.original for anomalies.
  • Revoke OAuth tokens for affected users (DELETE /admin/directory/v1/users/<email>/tokens/<clientId>) if compromise is suspected, as mentioned in the rule’s note section.

Detection coverage 1

Detect Google Workspace Device Registration Burst for Single User

medium

Detects a burst of Google Workspace device registration events for a single user, indicating potential AiTM phishing or token replay attacks.

sigma tactics: credential_access, initial_access, persistence techniques: T1078.004, T1098.005, T1557 sources: device, google_workspace

Detection queries are available on the platform. Get full rules →