mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-25 19:53:08 +02:00
Adding and updating various LOLBINS (#229)
Co-authored-by: Wietze <wietze@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1587eeaf6c
commit
0d7efb8ead
30
yml/OSScripts/Launch-VsDevShell.yml
Normal file
30
yml/OSScripts/Launch-VsDevShell.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
Name: Launch-VsDevShell.ps1
|
||||
Description: Locates and imports a Developer PowerShell module and calls the Enter-VsDevShell cmdlet
|
||||
Author: 'Nasreddine Bencherchali'
|
||||
Created: 2022-06-13
|
||||
Commands:
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsWherePath "C:\windows\system32\calc.exe"'
|
||||
Description: Execute binaries from the context of the signed script using the "VsWherePath" flag.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
Privileges: User
|
||||
MitreID: T1216
|
||||
OperatingSystem: Windows 10, Windows 11
|
||||
- Command: 'powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsInstallationPath "/../../../../../; calc.exe ;"'
|
||||
Description: Execute binaries and commands from the context of the signed script using the "VsInstallationPath" flag.
|
||||
Usecase: Proxy execution
|
||||
Category: Execute
|
||||
Privileges: User
|
||||
MitreID: T1216
|
||||
OperatingSystem: Windows 10, Windows 11
|
||||
Full_Path:
|
||||
- Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\Launch-VsDevShell.ps1
|
||||
- Path: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1
|
||||
Detection:
|
||||
- Sigma: https://github.com/SigmaHQ/sigma/blob/6199a703221a98ae6ad343c79c558da375203e4e/rules/windows/process_creation/proc_creation_win_lolbin_launch_vsdevshell.yml
|
||||
Resources:
|
||||
- Link: https://twitter.com/nas_bench/status/1535981653239255040
|
||||
Acknowledgement:
|
||||
- Person: Nasreddine Bencherchali
|
||||
Handle: '@nas_bench'
|
Reference in New Issue
Block a user