Potential Kerberos Attack via Bifrost

Identifies use of Bifrost, a known macOS Kerberos pentesting tool, which can be used to dump cached Kerberos tickets or attempt unauthorized authentication techniques such as pass-the-ticket/hash and kerberoasting.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/01/12"
 3integration = ["endpoint"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/06/22"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies use of Bifrost, a known macOS Kerberos pentesting tool, which can be used to dump cached Kerberos tickets or
13attempt unauthorized authentication techniques such as pass-the-ticket/hash and kerberoasting.
14"""
15from = "now-9m"
16index = ["auditbeat-*", "logs-endpoint.events.*"]
17language = "kuery"
18license = "Elastic License v2"
19name = "Potential Kerberos Attack via Bifrost"
20references = ["https://github.com/its-a-feature/bifrost"]
21risk_score = 73
22rule_id = "16904215-2c95-4ac8-bf5c-12354e047192"
23severity = "high"
24tags = ["Domain: Endpoint", "OS: macOS", "Use Case: Threat Detection", "Tactic: Credential Access", "Tactic: Lateral Movement", "Data Source: Elastic Defend"]
25timestamp_override = "event.ingested"
26type = "query"
27
28query = '''
29event.category:process and host.os.type:macos and event.type:start and
30 process.args:("-action" and ("-kerberoast" or askhash or asktgs or asktgt or s4u or ("-ticket" and ptt) or (dump and (tickets or keytab))))
31'''
32
33
34[[rule.threat]]
35framework = "MITRE ATT&CK"
36[[rule.threat.technique]]
37id = "T1550"
38name = "Use Alternate Authentication Material"
39reference = "https://attack.mitre.org/techniques/T1550/"
40[[rule.threat.technique.subtechnique]]
41id = "T1550.003"
42name = "Pass the Ticket"
43reference = "https://attack.mitre.org/techniques/T1550/003/"
44
45
46
47[rule.threat.tactic]
48id = "TA0008"
49name = "Lateral Movement"
50reference = "https://attack.mitre.org/tactics/TA0008/"
51[[rule.threat]]
52framework = "MITRE ATT&CK"
53[[rule.threat.technique]]
54id = "T1558"
55name = "Steal or Forge Kerberos Tickets"
56reference = "https://attack.mitre.org/techniques/T1558/"
57[[rule.threat.technique.subtechnique]]
58id = "T1558.003"
59name = "Kerberoasting"
60reference = "https://attack.mitre.org/techniques/T1558/003/"
61
62
63
64[rule.threat.tactic]
65id = "TA0006"
66name = "Credential Access"
67reference = "https://attack.mitre.org/tactics/TA0006/"

References

Related rules

to-top