[New Rule] [BBR] Expired or Revoked Driver Loaded (#2880)

* [New Rule] Expired or Revoked Driver Loaded

* Update privilege_escalation_expired_driver_loaded.toml

* Update rules_building_block/privilege_escalation_expired_driver_loaded.toml

Co-authored-by: eric-forte-elastic <119343520+eric-forte-elastic@users.noreply.github.com>

---------

Co-authored-by: eric-forte-elastic <119343520+eric-forte-elastic@users.noreply.github.com>
This commit is contained in:
Jonhnathan
2023-06-27 09:18:35 -03:00
committed by GitHub
parent 48cf95c8eb
commit 5da2771c12
@@ -0,0 +1,48 @@
[metadata]
creation_date = "2023/06/26"
integration = ["endpoint"]
maturity = "production"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2023/06/26"
bypass_bbr_timing = true
[rule]
author = ["Elastic"]
description = """
Identifies an attempt to load a revoked or expired driver. Adversaries may bring outdated drivers with vulnerabilities
to gain code execution in kernel mode or abuse revoked certificates to sign their drivers.
"""
from = "now-9m"
index = ["logs-endpoint.events.*"]
language = "eql"
license = "Elastic License v2"
name = "Expired or Revoked Driver Loaded"
references = [
"https://docs.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653559(v=vs.85)?redirectedfrom=MSDN"
]
risk_score = 21
rule_id = "d12bac54-ab2a-4159-933f-d7bcefa7b61d"
severity = "low"
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Privilege Escalation", "Rule Type: BBR"]
timestamp_override = "event.ingested"
type = "eql"
building_block_type = "default"
query = '''
driver where host.os.type == "windows" and process.pid == 4 and
dll.code_signature.status : ("errorExpired", "errorRevoked")
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1068"
name = "Exploitation for Privilege Escalation"
reference = "https://attack.mitre.org/techniques/T1068/"
[rule.threat.tactic]
id = "TA0004"
name = "Privilege Escalation"
reference = "https://attack.mitre.org/tactics/TA0004/"