mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 09:48:58 +00:00
44 lines
970 B
YAML
44 lines
970 B
YAML
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
|
|
modified: 2021/05/27
|
|
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:
|
|
selection:
|
|
- ImagePath|re: '(?i).*(set).*&&\s?set.*(environment|invoke|\${?input).*&&.*"'
|
|
condition: selection and selection_eventid
|
|
---
|
|
logsource:
|
|
product: windows
|
|
service: system
|
|
detection:
|
|
selection_eventid:
|
|
EventID: 7045
|
|
---
|
|
logsource:
|
|
product: windows
|
|
category: driver_load
|
|
detection:
|
|
selection_eventid:
|
|
EventID: 6
|
|
---
|
|
logsource:
|
|
product: windows
|
|
service: security
|
|
detection:
|
|
selection_eventid:
|
|
EventID: 4697
|