Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/06/2024, 01:25

General

  • Target
    XWorm V5.4/Icons/XClient.exe
  • Size 162KB
  • Sample240605-btgddaaa51
  • SHA256 2c177b01f77136c9f18b106a80d9a8cbe95e8232eeeac1df7061eb096cdd4d56
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 127.0.0.1:7000

Attributes
  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Detects Windows executables referencing non-Windows User-Agents 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Looks up external IP address via web service 1 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\XWorm V5.4\Icons\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XWorm V5.4\Icons\XClient.exe"
    1⤵
    • Checks computer location settings
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\XWorm V5.4\Icons\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2644
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2276

Network

        MITRE ATT&CK Enterprise v15

        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 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 385da35673330e21ac02545220552fe301fe54dedefbdafc097ac4342a295233
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_l3rvu1vw.vb5.ps1

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

        memory/2644-3-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp

        memory/2644-9-0x00000293EFB90000-0x00000293EFBB2000-memory.dmp

        memory/2644-14-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp

        memory/2644-15-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp

        memory/2644-18-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp

        memory/4052-0-0x00007FF9D4E53000-0x00007FF9D4E55000-memory.dmp

        memory/4052-2-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp

        memory/4052-1-0x00000000003D0000-0x00000000003FE000-memory.dmp

        memory/4052-31-0x00007FF9D4E53000-0x00007FF9D4E55000-memory.dmp

        memory/4052-32-0x00007FF9D4E50000-0x00007FF9D5911000-memory.dmp