Administrator Privileges Assigned to an Okta Group

Detects when an administrator role is assigned to an Okta group. An adversary may attempt to assign administrator privileges to an Okta group in order to assign additional permissions to compromised user accounts and maintain access to their target organization.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/05/21"
 3integration = ["okta"]
 4maturity = "production"
 5updated_date = "2024/09/23"
 6
 7[rule]
 8author = ["Elastic"]
 9description = """
10Detects when an administrator role is assigned to an Okta group. An adversary may attempt to assign administrator
11privileges to an Okta group in order to assign additional permissions to compromised user accounts and maintain access
12to their target organization.
13"""
14false_positives = [
15    """
16    Administrator roles may be assigned to Okta users by a Super Admin user. Verify that the behavior was expected.
17    Exceptions can be added to this rule to filter expected behavior.
18    """,
19]
20index = ["filebeat-*", "logs-okta*"]
21language = "kuery"
22license = "Elastic License v2"
23name = "Administrator Privileges Assigned to an Okta Group"
24note = """## Setup
25
26The Okta Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
27references = [
28    "https://help.okta.com/en/prod/Content/Topics/Security/administrators-admin-comparison.htm",
29    "https://developer.okta.com/docs/reference/api/system-log/",
30    "https://developer.okta.com/docs/reference/api/event-types/",
31    "https://www.elastic.co/security-labs/testing-okta-visibility-and-detection-dorothy",
32    "https://www.elastic.co/security-labs/monitoring-okta-threats-with-elastic-security",
33    "https://www.elastic.co/security-labs/starter-guide-to-understanding-okta",
34]
35risk_score = 47
36rule_id = "b8075894-0b62-46e5-977c-31275da34419"
37severity = "medium"
38tags = ["Use Case: Identity and Access Audit", "Data Source: Okta", "Tactic: Persistence"]
39timestamp_override = "event.ingested"
40type = "query"
41
42query = '''
43event.dataset:okta.system and event.action:group.privilege.grant
44'''
45
46
47[[rule.threat]]
48framework = "MITRE ATT&CK"
49[[rule.threat.technique]]
50id = "T1098"
51name = "Account Manipulation"
52reference = "https://attack.mitre.org/techniques/T1098/"
53
54
55[rule.threat.tactic]
56id = "TA0003"
57name = "Persistence"
58reference = "https://attack.mitre.org/tactics/TA0003/"

Setup

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

References

Related rules

to-top