Used to compile and execute code Located at: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Msbuild.exe; C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Msbuild.exe; C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe.
msbuild msbuild Sandbox: execFile · Timeout: 30s
security.defense-evasion.bypass security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Build and execute a C# project stored in the target XML file. (Compile and run code)
msbuild.exe {PATH:.xml} Build and execute a C# project stored in the target csproj file. (Compile and run code)
msbuild.exe {PATH:.csproj} Executes generated Logger DLL file with TargetLogger export. (Execute DLL)
msbuild.exe /logger:TargetLogger,{PATH_ABSOLUTE:.dll};MyParameters,Foo Execute JScript/VBScript code through XML/XSL Transformation. Requires Visual Studio MSBuild v14.0+. (Execute project file that contains XslTransformation tag parameters)
msbuild.exe {PATH:.proj} By putting any valid msbuild.exe command-line options in an RSP file and calling it as above will interpret the options as if they were passed on the command line. (Bypass command-line based detections)
msbuild.exe @{PATH:.rsp} msbuild is a Windows LOLBin. Used to compile and execute code Located at: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Msbuild.exe; C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Msbuild.exe; C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe.