Analysis

  • max time kernel
    150s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    30-05-2024 11:04

General

  • Target

    XClient.exe

  • Size

    61KB

  • MD5

    892ddc6e9fc78113c7cd7c863b97408f

  • SHA1

    4d4f1cd50caa21962f66494187c6482dce436545

  • SHA256

    6433a2e6533a9d6789e46c3760e99d63a4ad493a9e9ea035fbb417440e983a51

  • SHA512

    cafe8efc2a2b72b1c7b9f31ba95c4b439318bbc8e5912bf7bd38f8e226c35c560d6d1d974a95a1dbecc371c5652003143d62bb741c0def249fabbd6c33685d64

  • SSDEEP

    1536:V3oAlJbb147e36CMrBVbBVwE6BOWHaNI:BoAzG7zjbBQOKwI

Malware Config

Extracted

Family

xworm

C2

registered-martial.gl.at.ply.gg:62460

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 4 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • 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 4 IoCs
  • 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.

  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 11 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 24 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 behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2156
    • 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:3008
    • 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:2460
    • 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:2464
    • 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:2772
    • 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⤵
      • Creates scheduled task(s)
      PID:112
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {3F1009F0-2808-40B1-A3F1-26B141E9B5B7} S-1-5-21-2297530677-1229052932-2803917579-1000:HKULBIBU\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1588
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1784
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1244
  • C:\Windows\explorer.exe
    "C:\Windows\explorer.exe"
    1⤵
      PID:2820
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      "C:\Users\Admin\AppData\Roaming\XClient.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1888
    • C:\Users\Admin\AppData\Local\Temp\XClient.exe
      "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
      1⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:1836

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

      Filesize

      7KB

      MD5

      626ac5b70a0311a5255a346d638643e0

      SHA1

      0797d03d6a312a60b6b41ed3d51d68925b912dba

      SHA256

      3dfe48e10bfc0e72c5094f91492f73ac762215bcb9748b9f0889d05ed19710b7

      SHA512

      b1b51ed13ee5b3929f3aa1a5a38e81c22e8351d1449dfff593659b7adea1b482359574d54189dbe6187865f38135c00507460ac47d20e89760361ea9ff3bb13d

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

      Filesize

      61KB

      MD5

      892ddc6e9fc78113c7cd7c863b97408f

      SHA1

      4d4f1cd50caa21962f66494187c6482dce436545

      SHA256

      6433a2e6533a9d6789e46c3760e99d63a4ad493a9e9ea035fbb417440e983a51

      SHA512

      cafe8efc2a2b72b1c7b9f31ba95c4b439318bbc8e5912bf7bd38f8e226c35c560d6d1d974a95a1dbecc371c5652003143d62bb741c0def249fabbd6c33685d64

    • \??\PIPE\srvsvc

      MD5

      d41d8cd98f00b204e9800998ecf8427e

      SHA1

      da39a3ee5e6b4b0d3255bfef95601890afd80709

      SHA256

      e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

      SHA512

      cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

    • memory/1588-37-0x0000000000F70000-0x0000000000F86000-memory.dmp

      Filesize

      88KB

    • memory/1888-71-0x0000000000240000-0x0000000000256000-memory.dmp

      Filesize

      88KB

    • memory/2156-2-0x000007FEF5F10000-0x000007FEF68FC000-memory.dmp

      Filesize

      9.9MB

    • memory/2156-0-0x000007FEF5F13000-0x000007FEF5F14000-memory.dmp

      Filesize

      4KB

    • memory/2156-32-0x000007FEF5F13000-0x000007FEF5F14000-memory.dmp

      Filesize

      4KB

    • memory/2156-33-0x000007FEF5F10000-0x000007FEF68FC000-memory.dmp

      Filesize

      9.9MB

    • memory/2156-1-0x0000000000A30000-0x0000000000A46000-memory.dmp

      Filesize

      88KB

    • memory/2460-15-0x000000001B6B0000-0x000000001B992000-memory.dmp

      Filesize

      2.9MB

    • memory/2460-16-0x00000000026E0000-0x00000000026E8000-memory.dmp

      Filesize

      32KB

    • memory/3008-7-0x0000000002C30000-0x0000000002CB0000-memory.dmp

      Filesize

      512KB

    • memory/3008-8-0x000000001B6D0000-0x000000001B9B2000-memory.dmp

      Filesize

      2.9MB

    • memory/3008-9-0x0000000002690000-0x0000000002698000-memory.dmp

      Filesize

      32KB