61 lines
1.6 KiB
TOML
61 lines
1.6 KiB
TOML
[metadata]
|
|
creation_date = "2020/08/21"
|
|
integration = ["endpoint", "windows"]
|
|
maturity = "production"
|
|
updated_date = "2024/05/21"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies a suspicious managed code hosting process which could indicate code injection or other form of suspicious
|
|
code execution.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["winlogbeat-*", "logs-endpoint.events.file-*", "logs-windows.sysmon_operational-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Suspicious Managed Code Hosting Process"
|
|
references = [
|
|
"http://web.archive.org/web/20230329154538/https://blog.menasec.net/2019/07/interesting-difr-traces-of-net-clr.html",
|
|
]
|
|
risk_score = 73
|
|
rule_id = "acf738b5-b5b2-4acc-bad9-1e18ee234f40"
|
|
severity = "high"
|
|
tags = [
|
|
"Domain: Endpoint",
|
|
"OS: Windows",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Defense Evasion",
|
|
"Data Source: Elastic Defend",
|
|
"Data Source: Sysmon",
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
file where host.os.type == "windows" and event.type != "deletion" and
|
|
file.name : ("wscript.exe.log",
|
|
"cscript.exe.log",
|
|
"mshta.exe.log",
|
|
"wmic.exe.log",
|
|
"svchost.exe.log",
|
|
"dllhost.exe.log",
|
|
"cmstp.exe.log",
|
|
"regsvr32.exe.log")
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1055"
|
|
name = "Process Injection"
|
|
reference = "https://attack.mitre.org/techniques/T1055/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|