[New Rule] AdminSDHolder Backdoor (#1745)
* AdminSDHolder Backdoor
* Update rules/windows/persistence_ad_adminsdholder.toml
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com>
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com>
(cherry picked from commit 9ce5d0b92a)
This commit is contained in:
committed by
github-actions[bot]
parent
58e0584e73
commit
6ed9769eb6
@@ -17,6 +17,7 @@
|
||||
"CallerProcessName": "keyword",
|
||||
"CallTrace": "keyword",
|
||||
"GrantedAccess": "keyword",
|
||||
"ObjectDN": "keyword",
|
||||
"OriginalFileName": "keyword",
|
||||
"RelativeTargetName": "keyword",
|
||||
"ShareName": "keyword",
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
[metadata]
|
||||
creation_date = "2022/01/31"
|
||||
maturity = "production"
|
||||
updated_date = "2022/01/31"
|
||||
|
||||
[rule]
|
||||
author = ["Elastic"]
|
||||
description = """
|
||||
Detects modifications in the AdminSDHolder object. Attackers can abuse the SDProp process to implement a persistent
|
||||
backdoor in Active Directory. SDProp compares the permissions on protected objects with those defined on the
|
||||
AdminSDHolder object. If the permissions on any of the protected accounts and groups do not match, the permissions on
|
||||
the protected accounts and groups are reset to match those of the domain's AdminSDHolder object, regaining their
|
||||
Administrative Privileges.
|
||||
"""
|
||||
from = "now-9m"
|
||||
index = ["winlogbeat-*", "logs-windows.*", "logs-system.*"]
|
||||
language = "kuery"
|
||||
license = "Elastic License v2"
|
||||
name = "AdminSDHolder Backdoor"
|
||||
references = [
|
||||
"https://adsecurity.org/?p=1906",
|
||||
"https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/appendix-c--protected-accounts-and-groups-in-active-directory#adminsdholder",
|
||||
]
|
||||
risk_score = 73
|
||||
rule_id = "6e9130a5-9be6-48e5-943a-9628bfc74b18"
|
||||
severity = "high"
|
||||
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Persistence", "Active Directory"]
|
||||
timestamp_override = "event.ingested"
|
||||
type = "query"
|
||||
|
||||
query = '''
|
||||
event.action:"Directory Service Changes" and event.code:5136 and winlog.event_data.ObjectDN:CN=AdminSDHolder,CN=System*
|
||||
'''
|
||||
|
||||
|
||||
[[rule.threat]]
|
||||
framework = "MITRE ATT&CK"
|
||||
|
||||
[rule.threat.tactic]
|
||||
id = "TA0003"
|
||||
reference = "https://attack.mitre.org/tactics/TA0003/"
|
||||
name = "Persistence"
|
||||
|
||||
Reference in New Issue
Block a user