Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-01-2025 20:46

General

  • Target

    XClient.exe

  • Size

    210KB

  • MD5

    9bfbec6717ad855d87e16a7a36cf2060

  • SHA1

    ad8feff48191bb239ae893caeab35e539735069c

  • SHA256

    8eaad7c6ce7471c8cba5b274b974e11427dcdb743b64480d9386afbd9aaebc79

  • SHA512

    168befaf6d0586a5173e8bf5f6e9efd6afac1b603b117c93464d49a806943cb6b3ecb8f4c318f1cf94e3b12c9b8e72dd0dd1228ca51d4c8eb290c180b17c780b

  • SSDEEP

    3072:EPczFJ9Z4OClv8SKfbzxcwg7es6/Vsb8VKTup49oJMfF/H9N3Ky9NzLn7:ZRJ9oUhcX7elbKTuq9bfF/H9d9n

Malware Config

Extracted

Family

xworm

Version

5.0

Mutex

JdATxGGlLfwymoJ6

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

  • pastebin_url

    https://pastebin.com/raw/4YfEusCJ

aes.plain

Signatures

  • Detect Xworm Payload 4 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 43 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.

  • Enumerates physical storage devices 1 TTPs

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

  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of WriteProcessMemory 21 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:\Users\Admin\AppData\Local\Temp\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1780
    • 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\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1792
    • 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:2768
    • 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\Roaming\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2632
    • 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:2684
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:664
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {6E263324-2D28-4DF7-BA62-0DF27C6829D3} S-1-5-21-2872745919-2748461613-2989606286-1000:CCJBVTGQ\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1228
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2108
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2172

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\J57UFFJ1FV4MORJ78WVF.temp

    Filesize

    7KB

    MD5

    dbaae16bf5238dc2be52c2456922e4b4

    SHA1

    3a550514394278dc2851c3cccf5fb981f030d722

    SHA256

    200f6662a160ee1db48fd7eb231dc8b7c28ca5b76d0150b0ba038add82ca3484

    SHA512

    38b022198b87b38832dd154f71f92691273acaa238298efa5789fa99e2d2fccba3acd4a71bbaea64a82f4d05b6e026bcb0a40e59149fab159b3023affe09d809

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

    Filesize

    210KB

    MD5

    9bfbec6717ad855d87e16a7a36cf2060

    SHA1

    ad8feff48191bb239ae893caeab35e539735069c

    SHA256

    8eaad7c6ce7471c8cba5b274b974e11427dcdb743b64480d9386afbd9aaebc79

    SHA512

    168befaf6d0586a5173e8bf5f6e9efd6afac1b603b117c93464d49a806943cb6b3ecb8f4c318f1cf94e3b12c9b8e72dd0dd1228ca51d4c8eb290c180b17c780b

  • memory/1780-1-0x00000000003D0000-0x000000000040A000-memory.dmp

    Filesize

    232KB

  • memory/1780-2-0x000007FEF5970000-0x000007FEF635C000-memory.dmp

    Filesize

    9.9MB

  • memory/1780-0-0x000007FEF5973000-0x000007FEF5974000-memory.dmp

    Filesize

    4KB

  • memory/1780-33-0x000007FEF5970000-0x000007FEF635C000-memory.dmp

    Filesize

    9.9MB

  • memory/1780-28-0x000007FEF5973000-0x000007FEF5974000-memory.dmp

    Filesize

    4KB

  • memory/1792-7-0x0000000002D70000-0x0000000002DF0000-memory.dmp

    Filesize

    512KB

  • memory/1792-9-0x0000000001E00000-0x0000000001E08000-memory.dmp

    Filesize

    32KB

  • memory/1792-8-0x000000001B5D0000-0x000000001B8B2000-memory.dmp

    Filesize

    2.9MB

  • memory/2108-38-0x0000000000C70000-0x0000000000CAA000-memory.dmp

    Filesize

    232KB

  • memory/2172-40-0x0000000001130000-0x000000000116A000-memory.dmp

    Filesize

    232KB

  • memory/2768-16-0x0000000001E60000-0x0000000001E68000-memory.dmp

    Filesize

    32KB

  • memory/2768-15-0x000000001B720000-0x000000001BA02000-memory.dmp

    Filesize

    2.9MB