mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-28 15:58:24 +01:00
4f83231697
* Update SigmaHQ ref Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com> * Update SigmaHQ ref Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com> * Update SigmaHq ref Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com> * Update SigmaHq ref Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com> --------- Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com>
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
---
|
|
Name: Pester.bat
|
|
Description: Used as part of the Powershell pester
|
|
Author: 'Oddvar Moe'
|
|
Created: 2018-05-25
|
|
Commands:
|
|
- Command: Pester.bat [/help|?|-?|/?] "$null; notepad"
|
|
Description: Execute code using Pester. The third parameter can be anything. The fourth is the payload. Example here executes notepad
|
|
Usecase: Proxy execution
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1216
|
|
OperatingSystem: Windows 10, Windows 11
|
|
- Command: Pester.bat ;calc.exe
|
|
Description: Execute code using Pester. Example here executes calc.exe
|
|
Usecase: Proxy execution
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1216
|
|
OperatingSystem: Windows 10, Windows 11
|
|
- Command: Pester.bat ;calc.exe
|
|
Description: Execute code using Pester. Example here executes calc.exe
|
|
Usecase: Proxy execution
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1216
|
|
OperatingSystem: Windows 10, Windows 11
|
|
Full_Path:
|
|
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\bin\Pester.bat
|
|
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\*\bin\Pester.bat
|
|
Code_Sample:
|
|
- Code:
|
|
Detection:
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_pester_1.yml
|
|
Resources:
|
|
- Link: https://twitter.com/Oddvarmoe/status/993383596244258816
|
|
- Link: https://twitter.com/_st0pp3r_/status/1560072680887525378
|
|
- Link: https://twitter.com/_st0pp3r_/status/1560072680887525378
|
|
Acknowledgement:
|
|
- Person: Emin Atac
|
|
Handle: '@p0w3rsh3ll'
|
|
- Person: Stamatis Chatzimangou
|
|
Handle: '@_st0pp3r_'
|