GAIA GCPW Credential Theft Attack Chain
Description
Detects the GAIA (Google Account Information and Authentication) credential theft attack chain: credential dumping tool execution on Windows followed by anomalous Google Workspace authentication. This pattern indicates an attacker has extracted OAuth refresh tokens from a Windows machine and is using them to authenticate to Google Workspace.
Query
Detection:
- Group:
- ID: Windows Credential Dump
RuleID: Windows.Credential.Dumping.Tool
- ID: Google Login Anomaly
RuleID: Google.Workspace.Login.Type.Anomaly
MatchCriteria:
field_name:
- GroupID: Windows Credential Dump
Match: p_alert_context.username_normalized
- GroupID: Google Login Anomaly
Match: p_alert_context.username_normalized
Schedule:
RateMinutes: 1440
TimeoutMinutes: 10
LookbackWindowMinutes: 1800
Rule dependencies
⚠ Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.
Depends on
-
correlates · Panther group
Google.Workspace.Login.Type.Anomalywithin 1800mNot indexed on this site. -
correlates · Panther group
Windows.Credential.Dumping.Toolwithin 1800m
Analyst notes
- Query Windows.EventLogs for all process creation events (EventID 4688 or 1) on the Computer hostname from the Windows alert in the 24 hours before and after the credential dump timestamp to identify the parent process, command line arguments, and any follow-on suspicious activity
- Query GSuite.ActivityEvent for all login and OAuth token events by the user_email from the Google alert in the 48 hours after the Windows credential dump timestamp to establish the full timeline of authentication activity and identify the anomalous_login_type and source ip_address fields
- Verify that p_alert_context.username_normalized from the Windows Credential Dumping Tool alert matches p_alert_context.username_normalized from the Google Workspace Login Type Anomaly alert, and calculate the time gap between p_alert_creation_time values to assess if the attack timeline is consistent with GAIA credential theft exploitation (typically within 6 hours)