2020-09-22 14:27:03 +02:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/08/21"
|
2024-11-04 11:47:43 -03:00
|
|
|
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
|
2020-09-22 14:27:03 +02:00
|
|
|
maturity = "production"
|
2024-11-04 11:47:43 -03:00
|
|
|
updated_date = "2024/10/31"
|
2024-10-15 15:27:44 -03:00
|
|
|
min_stack_version = "8.14.0"
|
|
|
|
|
min_stack_comments = "Breaking change at 8.14.0 for the Windows Integration."
|
2020-09-22 14:27:03 +02:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
2020-09-24 01:03:29 -05:00
|
|
|
Identifies a suspicious managed code hosting process which could indicate code injection or other form of suspicious
|
|
|
|
|
code execution.
|
2020-09-22 14:27:03 +02:00
|
|
|
"""
|
2020-09-30 19:16:04 -05:00
|
|
|
from = "now-9m"
|
2024-11-04 11:47:43 -03:00
|
|
|
index = ["winlogbeat-*", "logs-endpoint.events.file-*", "logs-windows.sysmon_operational-*", "logs-m365_defender.event-*", "logs-sentinel_one_cloud_funnel.*", "endgame-*", "logs-crowdstrike.fdr*"]
|
2021-04-30 11:21:12 -08:00
|
|
|
language = "eql"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-09-22 14:27:03 +02:00
|
|
|
name = "Suspicious Managed Code Hosting Process"
|
2024-05-23 00:45:10 +05:30
|
|
|
references = [
|
|
|
|
|
"http://web.archive.org/web/20230329154538/https://blog.menasec.net/2019/07/interesting-difr-traces-of-net-clr.html",
|
|
|
|
|
]
|
2020-09-22 14:27:03 +02:00
|
|
|
risk_score = 73
|
|
|
|
|
rule_id = "acf738b5-b5b2-4acc-bad9-1e18ee234f40"
|
|
|
|
|
severity = "high"
|
2024-05-23 00:45:10 +05:30
|
|
|
tags = [
|
|
|
|
|
"Domain: Endpoint",
|
|
|
|
|
"OS: Windows",
|
|
|
|
|
"Use Case: Threat Detection",
|
|
|
|
|
"Tactic: Defense Evasion",
|
|
|
|
|
"Data Source: Elastic Defend",
|
|
|
|
|
"Data Source: Sysmon",
|
2024-10-11 15:01:45 -03:00
|
|
|
"Data Source: Microsoft Defender for Endpoint",
|
|
|
|
|
"Data Source: SentinelOne",
|
|
|
|
|
"Data Source: Elastic Endgame",
|
2024-11-04 11:47:43 -03:00
|
|
|
"Data Source: Crowdstrike",
|
2024-05-23 00:45:10 +05:30
|
|
|
]
|
2023-12-14 17:51:35 +00:00
|
|
|
timestamp_override = "event.ingested"
|
2021-04-30 11:21:12 -08:00
|
|
|
type = "eql"
|
2020-09-22 14:27:03 +02:00
|
|
|
|
|
|
|
|
query = '''
|
2023-12-14 17:51:35 +00:00
|
|
|
file where host.os.type == "windows" and event.type != "deletion" and
|
2021-04-30 11:21:12 -08:00
|
|
|
file.name : ("wscript.exe.log",
|
2023-10-15 18:12:20 -03:00
|
|
|
"cscript.exe.log",
|
2021-04-30 11:21:12 -08:00
|
|
|
"mshta.exe.log",
|
|
|
|
|
"wmic.exe.log",
|
|
|
|
|
"svchost.exe.log",
|
|
|
|
|
"dllhost.exe.log",
|
|
|
|
|
"cmstp.exe.log",
|
2023-12-14 17:51:35 +00:00
|
|
|
"regsvr32.exe.log")
|
2020-09-22 14:27:03 +02:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
2020-09-24 01:03:29 -05:00
|
|
|
id = "T1055"
|
2021-04-30 11:21:12 -08:00
|
|
|
name = "Process Injection"
|
2023-01-04 09:30:07 -05:00
|
|
|
reference = "https://attack.mitre.org/techniques/T1055/"
|
2020-09-22 14:27:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0005"
|
2021-04-30 11:21:12 -08:00
|
|
|
name = "Defense Evasion"
|
2023-01-04 09:30:07 -05:00
|
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
2020-09-24 01:03:29 -05:00
|
|
|
|