[Tuning] Suspicious Managed Code Hosting Process (#3338)

* Update defense_evasion_suspicious_managedcode_host_process.toml

* Update defense_evasion_suspicious_managedcode_host_process.toml
This commit is contained in:
Samirbous
2023-12-14 17:51:35 +00:00
committed by GitHub
parent 727c23e3d2
commit 8b2aed4fc0
@@ -4,7 +4,7 @@ integration = ["endpoint", "windows"]
maturity = "production"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2023/10/09"
updated_date = "2023/12/14"
[rule]
author = ["Elastic"]
@@ -13,7 +13,7 @@ Identifies a suspicious managed code hosting process which could indicate code i
code execution.
"""
from = "now-9m"
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
index = ["winlogbeat-*", "logs-endpoint.events.file-*", "logs-windows.*"]
language = "eql"
license = "Elastic License v2"
name = "Suspicious Managed Code Hosting Process"
@@ -22,13 +22,11 @@ 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"]
timestamp_override = "event.ingested"
type = "eql"
query = '''
sequence by process.entity_id with maxspan=5m
[process where host.os.type == "windows" and event.type == "start" and
process.name : ("wscript.exe", "cscript.exe", "mshta.exe", "wmic.exe", "regsvr32.exe", "svchost.exe", "dllhost.exe", "cmstp.exe")]
[file where host.os.type == "windows" and event.type != "deletion" and
file where host.os.type == "windows" and event.type != "deletion" and
file.name : ("wscript.exe.log",
"cscript.exe.log",
"mshta.exe.log",
@@ -36,7 +34,7 @@ sequence by process.entity_id with maxspan=5m
"svchost.exe.log",
"dllhost.exe.log",
"cmstp.exe.log",
"regsvr32.exe.log")]
"regsvr32.exe.log")
'''