Files
splunk-security_content/detections/cloud/gcp_multi_factor_authentication_disabled.yml
2024-06-26 14:41:53 +00:00

73 lines
2.6 KiB
YAML

name: GCP Multi-Factor Authentication Disabled
id: b9bc5513-6fc1-4821-85a3-e1d81e451c83
version: 3
date: '2024-05-25'
author: Bhavin Patel, Mauricio Velazco, Splunk
status: production
type: TTP
description: The following analytic detects an attempt to disable multi-factor authentication
(MFA) for a Google Cloud Platform (GCP) user. It leverages Google Workspace Admin
log events, specifically the `UNENROLL_USER_FROM_STRONG_AUTH` command. This activity
is significant because disabling MFA can allow an adversary to maintain persistence
within the environment using a compromised account without raising suspicion. If
confirmed malicious, this action could enable attackers to bypass additional security
layers, potentially leading to unauthorized access, data exfiltration, or further
exploitation of the compromised account.
data_source:
- Google Workspace
search: '`gws_reports_admin` command=UNENROLL_USER_FROM_STRONG_AUTH | stats count
min(_time) as firstTime max(_time) as lastTime by user, command, actor.email, status,
id.applicationName, event.name, vendor_account, action | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`| `gcp_multi_factor_authentication_disabled_filter`'
how_to_implement: You must install the latest version of Splunk Add-on for Google
Workspace from Splunkbase (https://splunkbase.splunk.com/app/5556) which allows
Splunk administrators to collect Google Workspace event data in Splunk using Google
Workspace APIs. Specifically, this analytic leverages the Admin log events.
known_false_positives: Legitimate use case may require for users to disable MFA. Filter
as needed.
references:
- https://support.google.com/cloudidentity/answer/2537800?hl=en
- https://attack.mitre.org/tactics/TA0005/
- https://attack.mitre.org/techniques/T1556/
tags:
analytic_story:
- GCP Account Takeover
asset_type: GCP
confidence: 90
impact: 50
message: MFA disabled for User $user$ initiated by $actor.email$
mitre_attack_id:
- T1586
- T1586.003
- T1556
- T1556.006
observable:
- name: user
type: User
role:
- Victim
- name: actor.email
type: User
role:
- Attacker
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- actor.email
- user
- command
- status
risk_score: 45
security_domain: identity
tests:
- name: True Positive Test
attack_data:
- data:
https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1556/gcp_disable_mfa/gws_admin.log
source: gws:reports:admin
sourcetype: gws:reports:admin
update_timestamp: true