mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-28 21:22:07 +02:00
@@ -1,11 +1,11 @@
|
||||
---
|
||||
Name: Pester.bat
|
||||
Description: Used as part of the Powershell pester
|
||||
Author: 'Oddvar Moe'
|
||||
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
|
||||
- Command: Pester.bat [/help|?|-?|/?] "$null; {CMD}"
|
||||
Description: Execute code using Pester. The third parameter can be anything. The fourth is the payload.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
Privileges: User
|
||||
@@ -13,8 +13,8 @@ Commands:
|
||||
OperatingSystem: Windows 10, Windows 11
|
||||
Tags:
|
||||
- Execute: EXE
|
||||
- Command: Pester.bat ;calc.exe
|
||||
Description: Execute code using Pester. Example here executes calc.exe
|
||||
- Command: Pester.bat ;{PATH:.exe}
|
||||
Description: Execute code using Pester. Example here executes specified executable.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
Privileges: User
|
||||
@@ -23,9 +23,7 @@ Commands:
|
||||
Tags:
|
||||
- Execute: EXE
|
||||
Full_Path:
|
||||
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\<version>\bin\Pester.bat
|
||||
Code_Sample:
|
||||
- Code:
|
||||
- Path: c:\Program Files\WindowsPowerShell\Modules\Pester\<VERSION>\bin\Pester.bat
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_pester_1.yml
|
||||
Resources:
|
||||
|
Reference in New Issue
Block a user