ef7548f04c
* Update collection_email_powershell_exchange_mailbox.toml * Update command_and_control_remote_file_copy_powershell.toml * Update defense_evasion_disabling_windows_defender_powershell.toml * Update execution_scheduled_task_powershell_source.toml * Update execution_via_compiled_html_file.toml * Update impact_volume_shadow_copy_deletion_via_powershell.toml * Update initial_access_suspicious_ms_exchange_worker_child_process.toml * Update persistence_powershell_exch_mailbox_activesync_add_device.toml * Update persistence_webshell_detection.toml * Update defense_evasion_execution_msbuild_started_by_script.toml * Update defense_evasion_clearing_windows_event_logs.toml * Update defense_evasion_suspicious_zoom_child_process.toml * Update defense_evasion_defender_exclusion_via_powershell.toml * Update persistence_local_scheduled_task_scripting.toml * Update persistence_local_scheduled_task_creation.toml * Update persistence_system_shells_via_services.toml * Update collection_email_powershell_exchange_mailbox.toml * Update command_and_control_remote_file_copy_powershell.toml * Update defense_evasion_clearing_windows_event_logs.toml * Update defense_evasion_defender_exclusion_via_powershell.toml * Update defense_evasion_disabling_windows_defender_powershell.toml * Update defense_evasion_execution_msbuild_started_by_script.toml * Update defense_evasion_suspicious_zoom_child_process.toml * Update execution_scheduled_task_powershell_source.toml * Update execution_via_compiled_html_file.toml * Update impact_volume_shadow_copy_deletion_via_powershell.toml * Update initial_access_suspicious_ms_exchange_worker_child_process.toml * Update persistence_local_scheduled_task_creation.toml * Update persistence_local_scheduled_task_scripting.toml * Update persistence_powershell_exch_mailbox_activesync_add_device.toml * Update persistence_system_shells_via_services.toml * Update persistence_webshell_detection.toml * Update rules/windows/persistence_local_scheduled_task_creation.toml Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> * Update rules/windows/initial_access_suspicious_ms_exchange_worker_child_process.toml Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> * Update rules/windows/defense_evasion_disabling_windows_defender_powershell.toml Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> * Update rules/windows/defense_evasion_defender_exclusion_via_powershell.toml Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> Co-authored-by: Jonhnathan <jonhnathancesar@gmail.com>
76 lines
2.2 KiB
TOML
76 lines
2.2 KiB
TOML
[metadata]
|
|
creation_date = "2020/02/18"
|
|
maturity = "production"
|
|
updated_date = "2021/10/17"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Compiled HTML files (.chm) are commonly distributed as part of the Microsoft HTML Help system. Adversaries may conceal
|
|
malicious code in a CHM file and deliver it to a victim for execution. CHM content is loaded by the HTML Help executable
|
|
program (hh.exe).
|
|
"""
|
|
false_positives = [
|
|
"""
|
|
The HTML Help executable program (hh.exe) runs whenever a user clicks a compiled help (.chm) file or menu item that
|
|
opens the help file inside the Help Viewer. This is not always malicious, but adversaries may abuse this technology
|
|
to conceal malicious code.
|
|
""",
|
|
]
|
|
from = "now-9m"
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Process Activity via Compiled HTML File"
|
|
risk_score = 47
|
|
rule_id = "e3343ab9-4245-4715-b344-e11c56b0a47f"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Execution"]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
process where event.type in ("start", "process_started") and
|
|
process.parent.name : "hh.exe" and
|
|
process.name : ("mshta.exe", "cmd.exe", "powershell.exe", "pwsh.exe", "powershell_ise.exe", "cscript.exe", "wscript.exe")
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1204"
|
|
name = "User Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1204/"
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1204.002"
|
|
name = "Malicious File"
|
|
reference = "https://attack.mitre.org/techniques/T1204/002/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0002"
|
|
name = "Execution"
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1218"
|
|
name = "Signed Binary Proxy Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1218/"
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1218.001"
|
|
name = "Compiled HTML File"
|
|
reference = "https://attack.mitre.org/techniques/T1218/001/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|