30 lines
924 B
YAML
30 lines
924 B
YAML
title: Invoke-Obfuscation Via Use MSHTA
|
|
id: e55a5195-4724-480e-a77e-3ebe64bd3759
|
|
description: Detects Obfuscated Powershell via use MSHTA in Scripts
|
|
status: experimental
|
|
author: Nikita Nazarov, oscd.community
|
|
date: 2020/10/08
|
|
references:
|
|
- https://github.com/Neo23x0/sigma/issues/1009 #(Task31)
|
|
tags:
|
|
- attack.defense_evasion
|
|
- attack.t1027
|
|
- attack.execution
|
|
- attack.t1059.001
|
|
logsource:
|
|
product: windows
|
|
service: powershell
|
|
detection:
|
|
selection_1:
|
|
EventID: 4104
|
|
selection_2:
|
|
- ScriptBlockText|re: '(?i).*(set).*(&&).*(mshta).*(vbscript:createobject).*(\.run).*\(window\.close\).*"'
|
|
selection_3:
|
|
EventID: 4103
|
|
selection_4:
|
|
- Payload|re: '(?i).*(set).*(&&).*(mshta).*(vbscript:createobject).*(\.run).*\(window\.close\).*"'
|
|
condition: ( selection_1 and selection_2 ) or ( selection_3 and selection_4 )
|
|
falsepositives:
|
|
- Unknown
|
|
level: high
|