2020-11-20 06:34:02 -08:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/11/17"
|
2023-01-04 09:30:07 -05:00
|
|
|
integration = ["endpoint", "windows"]
|
2020-11-20 06:34:02 -08:00
|
|
|
maturity = "production"
|
2022-08-24 10:38:49 -06:00
|
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
|
|
|
min_stack_version = "8.3.0"
|
2023-10-30 16:53:04 +05:30
|
|
|
updated_date = "2023/10/23"
|
2020-11-20 06:34:02 -08:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
|
|
|
|
Identifies a suspicious image load (wmiutils.dll) from Microsoft Office processes. This behavior may indicate
|
|
|
|
|
adversarial activity where child processes are spawned via Windows Management Instrumentation (WMI). This technique can
|
2021-08-03 13:07:47 -08:00
|
|
|
be used to execute code and evade traditional parent/child processes spawned from Microsoft Office products.
|
2020-11-20 06:34:02 -08:00
|
|
|
"""
|
2021-02-17 19:49:58 -09:00
|
|
|
from = "now-9m"
|
2022-10-19 08:27:44 -07:00
|
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*", "endgame-*"]
|
2020-11-20 06:34:02 -08:00
|
|
|
language = "eql"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-11-20 06:34:02 -08:00
|
|
|
name = "Suspicious WMI Image Load from MS Office"
|
|
|
|
|
references = [
|
|
|
|
|
"https://medium.com/threatpunter/detecting-adversary-tradecraft-with-image-load-event-logging-and-eql-8de93338c16",
|
|
|
|
|
]
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "891cb88e-441a-4c3e-be2d-120d99fe7b0d"
|
2023-10-30 16:53:04 +05:30
|
|
|
setup = """
|
|
|
|
|
|
|
|
|
|
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2,
|
|
|
|
|
events will not define `event.ingested` and default fallback for EQL rules was not added until version 8.2.
|
|
|
|
|
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
|
|
|
|
|
`event.ingested` to @timestamp.
|
|
|
|
|
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
|
|
|
|
|
"""
|
2020-11-20 06:34:02 -08:00
|
|
|
severity = "low"
|
2023-09-05 15:22:01 -03:00
|
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Execution", "Data Source: Elastic Endgame", "Data Source: Elastic Defend"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-11-20 06:34:02 -08:00
|
|
|
type = "eql"
|
|
|
|
|
|
|
|
|
|
query = '''
|
2023-03-05 09:41:19 -09:00
|
|
|
any where host.os.type == "windows" and
|
2022-10-19 08:27:44 -07:00
|
|
|
(event.category : ("library", "driver") or (event.category == "process" and event.action : "Image loaded*")) and
|
2022-08-02 18:40:26 +02:00
|
|
|
process.name : ("WINWORD.EXE", "EXCEL.EXE", "POWERPNT.EXE", "MSPUB.EXE", "MSACCESS.EXE") and
|
|
|
|
|
(dll.name : "wmiutils.dll" or file.name : "wmiutils.dll")
|
2020-11-20 06:34:02 -08:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1047"
|
|
|
|
|
name = "Windows Management Instrumentation"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1047/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0002"
|
|
|
|
|
name = "Execution"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
2021-02-17 19:49:58 -09:00
|
|
|
|