01 / TRADECRAFT
1 examplesCommand reference
AWL Bypass1
EXAMPLE 01T1127
VSTest functionality may allow an adversary to executes their malware by wrapping it as a test method then build it to a .exe or .dll file to be later run by vstest.console.exe. This may both allow AWL bypass or defense bypass in general
COMMAND
vstest.console.exe {PATH:.dll}02 / ON DISK
Known paths
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exeC:\Program Files (x86)\Microsoft Visual Studio\2022\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe03 / DEFENSIVE INTELLIGENCE
0 resourcesDetection & indicators
Indicators & detection notes
- IOC
vstest.console.exe spawning unexpected processes
REFERENCE IMPLEMENTATIONS
Code samples
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Onat Uzunyayla
Ayberk Halac