SigmaHQ/rules/windows/builtin/win_invoke_obfuscation_via_stdin_services.yml

40 lines
864 B
YAML
Raw Normal View History

action: global
title: Invoke-Obfuscation Via Stdin
id: 487c7524-f892-4054-b263-8a0ace63fc25
description: Detects Obfuscated Powershell via Stdin in Scripts
status: experimental
author: Nikita Nazarov, oscd.community
date: 2020/10/12
references:
- https://github.com/Neo23x0/sigma/issues/1009 #(Task28)
tags:
- attack.defense_evasion
- attack.t1027
- attack.execution
- attack.t1059.001
falsepositives:
- Unknown
level: high
detection:
2021-04-15 07:25:04 +00:00
selection:
- ImagePath|re: '(?i).*(set).*&&\s?set.*(environment|invoke|\${?input).*&&.*"'
2021-04-15 07:25:04 +00:00
condition: selection
---
logsource:
product: windows
service: system
detection:
selection:
EventID: 7045
---
logsource:
product: windows
category: driver_load
---
logsource:
product: windows
service: security
detection:
selection:
EventID: 4697