Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/T1127.001_msbuild
Adversaries may use MSBuild to proxy execution of code through a trusted Windows utility.
Passed 21 of 22 test cases with the skill, and 15 of 22 without it.
and 3 more in the full report
6 fixed15 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
When testing Visual Basic inline task execution via MSBuild on Windows endpoints, what default XML project file name is specified in standard Atomic Red Team procedures?
| Checked | Without skill | With skill |
|---|---|---|
| The response identifies vb.xml as the payload project file. | Missed | Passed |
The instructions your model reads when the skill loads.
Sub-technique of: T1127
Adversaries may use MSBuild to proxy execution of code through a trusted Windows utility. MSBuild.exe (Microsoft Build Engine) is a software build platform used by Visual Studio. It handles XML formatted project files that define requirements for loading and building various platforms and configurations.
Adversaries can abuse MSBuild to proxy execution of malicious code. The inline task capability of MSBuild that was introduced in .NET version 4 allows for C# or Visual Basic code to be inserted into an XML project file. MSBuild will compile and execute the inline task. MSBuild.exe is a signed Microsoft binary, so when it is used this way it can execute arbitrary code and bypass application control defenses that are configured to allow MSBuild.exe execution.
Platforms: Windows
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Executes the code in a project file using msbuild.exe. The default C# project example file (T1127.001.csproj) will simply print "Hello From a Code Fragment" and "Hello From a Class." to the screen.
Supported Platforms: windows
#{msbuildpath}\#{msbuildname} "#{filename}"
Dependencies:
test cases passed, vs 15 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.