SigmaHQ/rules/windows/sysmon/sysmon_susp_powershell_parent_combo.yml

28 lines
809 B
YAML

title: Suspicious PowerShell Invocation based on Parent Process
status: experimental
description: Detects suspicious powershell invocations from interpreters or unusual programs
author: Florian Roth
references:
- https://www.carbonblack.com/2017/03/15/attackers-leverage-excel-powershell-dns-latest-non-malware-attack/
logsource:
product: windows
service: sysmon
detection:
selection:
EventID: 1
ParentImage:
- '*\wscript.exe'
- '*\cscript.exe'
Image:
- '*\powershell.exe'
falsepositive:
CurrentDirectory: '*\Health Service State\*'
condition: selection and not falsepositive
fields:
- CommandLine
- ParentCommandLine
falsepositives:
- Microsoft Operations Manager (MOM)
- Other scripts
level: medium