SigmaHQ/rules/windows/powershell/powershell_suspicious_invocation_specific.yml

23 lines
762 B
YAML
Raw Normal View History

title: Suspicious PowerShell Invocations - Specific
2017-03-05 14:01:51 +00:00
status: experimental
description: Detects suspicious PowerShell invocation command parameters
tags:
- attack.execution
- attack.t1086
2017-03-05 14:01:51 +00:00
author: Florian Roth (rule)
logsource:
product: windows
service: powershell
2017-03-05 14:01:51 +00:00
detection:
keywords:
- ' -nop -w hidden -c * [Convert]::FromBase64String'
- ' -w hidden -noni -nop -c "iex(New-Object'
- ' -w hidden -ep bypass -Enc'
- 'powershell.exe reg add HKCU\software\microsoft\windows\currentversion\run'
- 'bypass -noprofile -windowstyle hidden (new-object system.net.webclient).download'
2017-03-05 21:45:54 +00:00
- 'iex(New-Object Net.WebClient).Download'
2017-03-05 14:01:51 +00:00
condition: keywords
falsepositives:
- Penetration tests
level: high