Execute Code with Pester.bat as Parent
Detects code execution via Pester.bat (Pester - Powershell Modulte for testing)
Detection logic
Detection requirements
- Platform
- Windows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Legitimate use of Pester for writing tests for Powershell scripts and modules
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| twitter.com/Oddvarmoe/status/993383596244258816 | 2 |
| twitter.com/_st0pp3r_/status/1560072680887525378 | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 18988e1b-9087-4f8a-82fe-0414dce49878
- Tagged by the source as
- attack.executionattack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1