4233fef238
* win folder * Other folders * Update test_all_rules.py * . * updated missing elastic defend tags --------- Co-authored-by: terrancedejesus <terrance.dejesus@elastic.co>
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[metadata]
|
|
creation_date = "2020/09/02"
|
|
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/06/22"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies Mshta.exe making outbound network connections. This may indicate adversarial activity, as Mshta is often
|
|
leveraged by adversaries to execute malicious scripts and evade detection.
|
|
"""
|
|
from = "now-20m"
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Mshta Making Network Connections"
|
|
risk_score = 47
|
|
rule_id = "c2d90150-0133-451c-a783-533e736c12d7"
|
|
severity = "medium"
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Defense Evasion", "Data Source: Elastic Defend"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
sequence by process.entity_id with maxspan=10m
|
|
[process where host.os.type == "windows" and event.type == "start" and process.name : "mshta.exe" and
|
|
not process.parent.name : "Microsoft.ConfigurationManagement.exe" and
|
|
not (process.parent.executable : "C:\\Amazon\\Amazon Assistant\\amazonAssistantService.exe" or
|
|
process.parent.executable : "C:\\TeamViewer\\TeamViewer.exe") and
|
|
not process.args : "ADSelfService_Enroll.hta"]
|
|
[network where host.os.type == "windows" and process.name : "mshta.exe"]
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1218"
|
|
name = "System Binary Proxy Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1218/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1218.005"
|
|
name = "Mshta"
|
|
reference = "https://attack.mitre.org/techniques/T1218/005/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|