Potential Abuse of Repeated MFA Push Notifications

Detects when an attacker abuses the Multi-Factor authentication mechanism by repeatedly issuing login requests until the user eventually accepts the Okta push notification. An adversary may attempt to bypass the Okta MFA policies configured for an organization to obtain unauthorized access.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2022/01/05"
 3integration = ["okta"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/08/17"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Detects when an attacker abuses the Multi-Factor authentication mechanism by repeatedly issuing login requests until the
13user eventually accepts the Okta push notification. An adversary may attempt to bypass the Okta MFA policies configured
14for an organization to obtain unauthorized access.
15"""
16index = ["filebeat-*", "logs-okta*"]
17language = "eql"
18license = "Elastic License v2"
19name = "Potential Abuse of Repeated MFA Push Notifications"
20note = """## Triage and analysis
21
22### Investigating Potential Abuse of Repeated MFA Push Notifications
23
24Multi-Factor Authentication (MFA) is an effective method to prevent unauthorized access. However, some adversaries may abuse the system by repeatedly sending MFA push notifications until the user unwittingly approves the access.
25
26This rule detects when a user denies MFA Okta Verify push notifications twice, followed by a successful authentication event within a 10-minute window. This sequence could indicate an adversary's attempt to bypass the Okta MFA policy.
27
28#### Possible investigation steps:
29
30- Identify the user who received the MFA notifications by reviewing the `user.email` field.
31- Identify the time, source IP, and geographical location of the MFA requests and the subsequent successful login.
32- Review the `event.action` field to understand the nature of the events. It should include two `user.mfa.okta_verify.deny_push` actions and one `user.authentication.sso` action.
33- Ask the user if they remember receiving the MFA notifications and subsequently logging into their account.
34- Check if the MFA requests and the successful login occurred during the user's regular activity hours.
35- Look for any other suspicious activity on the account around the same time.
36- Identify whether the same pattern is repeated for other users in your organization. Multiple users receiving push notifications simultaneously might indicate a larger attack.
37
38### False positive analysis:
39
40- Determine if the MFA push notifications were legitimate. Sometimes, users accidentally trigger MFA requests or deny them unintentionally and later approve them.
41- Check if there are known issues with the MFA system causing false denials.
42
43### Response and remediation:
44
45- If unauthorized access is confirmed, initiate your incident response process.
46- Alert the user and your IT department immediately.
47- If possible, isolate the user's account until the issue is resolved.
48- Investigate the source of the unauthorized access.
49- If the account was accessed by an unauthorized party, determine the actions they took after logging in.
50- Consider enhancing your MFA policy to prevent such incidents in the future.
51- Encourage users to report any unexpected MFA notifications immediately.
52- Review and update your incident response plans and security policies based on the findings from the incident.
53
54## Setup
55
56The Okta Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
57references = [
58    "https://www.mandiant.com/resources/russian-targeting-gov-business",
59    "https://www.elastic.co/security-labs/testing-okta-visibility-and-detection-dorothy",
60]
61risk_score = 73
62rule_id = "97a8e584-fd3b-421f-9b9d-9c9d9e57e9d7"
63severity = "high"
64tags = ["Use Case: Identity and Access Audit", "Tactic: Credential Access", "Data Source: Okta"]
65type = "eql"
66
67query = '''
68sequence by user.email with maxspan=10m
69  [any where event.dataset == "okta.system" and event.module == "okta" and event.action == "user.mfa.okta_verify.deny_push"]
70  [any where event.dataset == "okta.system" and event.module == "okta" and event.action == "user.mfa.okta_verify.deny_push"]
71  [any where event.dataset == "okta.system" and event.module == "okta" and event.action == "user.authentication.sso"]
72'''
73
74
75[[rule.threat]]
76framework = "MITRE ATT&CK"
77[[rule.threat.technique]]
78id = "T1110"
79name = "Brute Force"
80reference = "https://attack.mitre.org/techniques/T1110/"
81
82
83[rule.threat.tactic]
84id = "TA0006"
85name = "Credential Access"
86reference = "https://attack.mitre.org/tactics/TA0006/"

Triage and analysis

Investigating Potential Abuse of Repeated MFA Push Notifications

Multi-Factor Authentication (MFA) is an effective method to prevent unauthorized access. However, some adversaries may abuse the system by repeatedly sending MFA push notifications until the user unwittingly approves the access.

This rule detects when a user denies MFA Okta Verify push notifications twice, followed by a successful authentication event within a 10-minute window. This sequence could indicate an adversary's attempt to bypass the Okta MFA policy.

Possible investigation steps:

  • Identify the user who received the MFA notifications by reviewing the user.email field.
  • Identify the time, source IP, and geographical location of the MFA requests and the subsequent successful login.
  • Review the event.action field to understand the nature of the events. It should include two user.mfa.okta_verify.deny_push actions and one user.authentication.sso action.
  • Ask the user if they remember receiving the MFA notifications and subsequently logging into their account.
  • Check if the MFA requests and the successful login occurred during the user's regular activity hours.
  • Look for any other suspicious activity on the account around the same time.
  • Identify whether the same pattern is repeated for other users in your organization. Multiple users receiving push notifications simultaneously might indicate a larger attack.

False positive analysis:

  • Determine if the MFA push notifications were legitimate. Sometimes, users accidentally trigger MFA requests or deny them unintentionally and later approve them.
  • Check if there are known issues with the MFA system causing false denials.

Response and remediation:

  • If unauthorized access is confirmed, initiate your incident response process.
  • Alert the user and your IT department immediately.
  • If possible, isolate the user's account until the issue is resolved.
  • Investigate the source of the unauthorized access.
  • If the account was accessed by an unauthorized party, determine the actions they took after logging in.
  • Consider enhancing your MFA policy to prevent such incidents in the future.
  • Encourage users to report any unexpected MFA notifications immediately.
  • Review and update your incident response plans and security policies based on the findings from the incident.

Setup

The Okta Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top