2018-06-09 00:15:06 +02:00
|
|
|
---
|
2018-09-26 11:41:58 +02:00
|
|
|
Name: Pester.bat
|
|
|
|
Description: Used as part of the Powershell pester
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
2021-03-09 14:56:47 +01:00
|
|
|
- Command: Pester.bat [/help|?|-?|/?] "$null; notepad"
|
2018-09-26 11:41:58 +02:00
|
|
|
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
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows 10, Windows 11
|
2022-08-23 15:44:57 +02:00
|
|
|
- Command: Pester.bat ;calc.exe
|
2022-08-23 15:47:17 +02:00
|
|
|
Description: Execute code using Pester. Example here executes calc.exe
|
2022-08-23 15:44:57 +02:00
|
|
|
Usecase: Proxy execution
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1216
|
|
|
|
OperatingSystem: Windows 10, Windows 11
|
2022-09-02 18:23:45 +02:00
|
|
|
- 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
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\bin\Pester.bat
|
|
|
|
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\*\bin\Pester.bat
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_pester_1.yml
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Link: https://twitter.com/Oddvarmoe/status/993383596244258816
|
2022-08-23 15:44:57 +02:00
|
|
|
- Link: https://twitter.com/_st0pp3r_/status/1560072680887525378
|
2022-09-02 18:23:45 +02:00
|
|
|
- Link: https://twitter.com/_st0pp3r_/status/1560072680887525378
|
2018-09-26 11:41:58 +02:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Emin Atac
|
|
|
|
Handle: '@p0w3rsh3ll'
|
2022-08-23 15:44:57 +02:00
|
|
|
- Person: Stamatis Chatzimangou
|
|
|
|
Handle: '@_st0pp3r_'
|