SigmaHQ/rules/windows/builtin/win_susp_mshta_execution.yml

37 lines
1.3 KiB
YAML
Raw Normal View History

title: MSHTA Suspicious Execution 01
2019-11-12 22:12:27 +00:00
id: cc7abbd0-762b-41e3-8a26-57ad50d2eea3
2019-03-06 16:09:43 +00:00
status: experimental
description: Detection for mshta.exe suspicious execution patterns sometimes involving file polyglotism
2020-04-02 08:00:00 +00:00
date: 2019/02/22
modified: 2020/08/23
author: Diego Perez (@darkquassar), Markus Neis, Swisscom (Improve Rule)
references:
- http://blog.sevagas.com/?Hacking-around-HTA-files
- https://0x00sec.org/t/clientside-exploitation-in-2018-how-pentesting-has-changed/7356
- https://docs.microsoft.com/en-us/dotnet/standard/data/xml/xslt-stylesheet-scripting-using-msxsl-script
- https://medium.com/tsscyber/pentesting-and-hta-bypassing-powershell-constrained-language-mode-53a42856c997
tags:
- attack.defense_evasion
- attack.t1140
- attack.t1218.005
logsource:
2019-03-06 16:09:43 +00:00
category: process_creation
product: windows
2019-03-06 16:09:43 +00:00
falsepositives:
- False positives depend on scripts and administrative tools used in the monitored environment
level: high
detection:
2019-03-06 16:09:43 +00:00
selection1:
Image: '*\mshta.exe'
2019-03-06 16:09:43 +00:00
CommandLine:
- '*vbscript*'
- '*.jpg*'
- '*.png*'
- '*.lnk*'
2019-03-06 16:09:43 +00:00
# - '*.chm*' # could be prone to false positives
- '*.xls*'
- '*.doc*'
- '*.zip*'
2019-03-06 16:09:43 +00:00
condition:
selection1