Files
hayabusa/rules/sigma/process_creation/win_susp_pester.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

45 lines
1.1 KiB
YAML

title: Execute Code with Pester.bat
ruletype: Sigma
author: Julia Fomina, oscd.community
date: 2020/10/08
description: Detects code execution via Pester.bat (Pester - Powershell Modulte for
testing)
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
Image: '*\powershell.exe'
SELECTION_3:
CommandLine: '*Pester*'
SELECTION_4:
CommandLine: '*Get-Help*'
SELECTION_5:
Image: '*\cmd.exe'
SELECTION_6:
CommandLine: '*pester*'
SELECTION_7:
CommandLine: '*;*'
SELECTION_8:
CommandLine:
- '*help*'
- '*?*'
condition: (SELECTION_1 and ((SELECTION_2 and SELECTION_3 and SELECTION_4) or (SELECTION_5
and SELECTION_6 and SELECTION_7 and SELECTION_8)))
falsepositives:
- Legitimate use of Pester for writing tests for Powershell scripts and modules
id: 59e938ff-0d6d-4dc3-b13f-36cc28734d4e
level: medium
logsource:
category: process_creation
product: windows
modified: 2021/11/27
references:
- https://twitter.com/Oddvarmoe/status/993383596244258816
status: test
tags:
- attack.execution
- attack.t1059.001
- attack.defense_evasion
- attack.t1216