01 / TRADECRAFT
2 examplesCommand reference
Execute2
EXAMPLE 01T1216
Execute binaries from the context of the signed script using the "VsWherePath" flag.
COMMAND
powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsWherePath {PATH_ABSOLUTE:.exe}EXAMPLE 02T1216
Execute binaries and commands from the context of the signed script using the "VsInstallationPath" flag.
COMMAND
powershell -ep RemoteSigned -f .\Launch-VsDevShell.ps1 -VsInstallationPath "/../../../../../; {PATH:.exe} ;"02 / ON DISK
Known paths
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\Launch-VsDevShell.ps1C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps103 / DEFENSIVE INTELLIGENCE
1 resourcesDetection & indicators
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Nasreddine Bencherchali@nas_bench