Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-05-2024 12:17

General

  • Target

    XClient.exe

  • Size

    39KB

  • MD5

    66f5cca568b2b83c23a69295ad2c643b

  • SHA1

    b822f0bcded0f587413d84f27eb2f5fdcdb48304

  • SHA256

    971294811a8fd3c967958db073238a75573ea1db5749b8153e5f684b27f99da6

  • SHA512

    c8bf4acc4644b614715eeaf4cda10ba100afeceaab0f7b7cb627f1c6f7676308c0c73e7dbbe6833ec3da1f9c10616e2c28a9ba4fc88e180ff3e0123071c50469

  • SSDEEP

    768:VG7+qmT8ztyh6pwDYvCL2v6hCuuJf27iJ1fFWPG9/hL6OOwhnjibH:4fmT8ztyh6pwDnKwCuuJfBFv9/hL6OO3

Malware Config

Extracted

Family

xworm

Version

5.0

C2

127.0.0.1:54921

Mutex

Zv7fhTadtKHCA29x

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

aes.plain

Signatures

  • Detect Xworm Payload 2 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.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 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:\Users\Admin\AppData\Local\Temp\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Checks computer location settings
    • 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:636
    • 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:4072
    • 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:2028
    • 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:1608
    • 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:2128
    • 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:2260
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:1996
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3812

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\XClient.exe.log

    Filesize

    654B

    MD5

    2ff39f6c7249774be85fd60a8f9a245e

    SHA1

    684ff36b31aedc1e587c8496c02722c6698c1c4e

    SHA256

    e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

    SHA512

    1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    d85ba6ff808d9e5444a4b369f5bc2730

    SHA1

    31aa9d96590fff6981b315e0b391b575e4c0804a

    SHA256

    84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

    SHA512

    8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    a8e8360d573a4ff072dcc6f09d992c88

    SHA1

    3446774433ceaf0b400073914facab11b98b6807

    SHA256

    bf5e284e8f95122bf75ead61c7e2b40f55c96742b05330b5b1cb7915991df13b

    SHA512

    4ee5167643d82082f57c42616007ef9be57f43f9731921bdf7bca611a914724ad94072d3c8f5b130fa54129e5328ccdebf37ba74339c37deb53e79df5cdf0dbe

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    b3bc9ca267ea2969eb6201d77e58560c

    SHA1

    78f83a443aa1ca235edcab2da9e2fda6fecc1da4

    SHA256

    7ea18b6f900f2c30a5c34845d62d4fe9fc1f11e40714b3dbd69592cbfb5dc695

    SHA512

    8cc70e4f88f3d9f59beec22dafdb403144f7f390250205e08279a2f8e01e783af44ae31aa4a8a7ea05865b05303ac5e5048f7fb44488be538d9701b6195e9b28

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    feea7dfb5c45a625a0dc282bc60887ad

    SHA1

    71d5d2f1f6d74e57459d33fbac1291fd2d30b8ad

    SHA256

    9572f297f0cd0c5add8601146b91c875ebc9492f0531414961068274bc9ddfd7

    SHA512

    fe97a0a83274d9e6b40c80cf4ad46dbb1bef0cbe94e29f50fd3fe1b800763581b76f3d26673f15f617e13e9ef0019b01cde0342cef16760eae7842e6ab5aa656

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vhdfzlkk.2ve.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    39KB

    MD5

    66f5cca568b2b83c23a69295ad2c643b

    SHA1

    b822f0bcded0f587413d84f27eb2f5fdcdb48304

    SHA256

    971294811a8fd3c967958db073238a75573ea1db5749b8153e5f684b27f99da6

    SHA512

    c8bf4acc4644b614715eeaf4cda10ba100afeceaab0f7b7cb627f1c6f7676308c0c73e7dbbe6833ec3da1f9c10616e2c28a9ba4fc88e180ff3e0123071c50469

  • memory/636-53-0x00007FFEE9C40000-0x00007FFEEA701000-memory.dmp

    Filesize

    10.8MB

  • memory/636-0-0x00007FFEE9C43000-0x00007FFEE9C45000-memory.dmp

    Filesize

    8KB

  • memory/636-54-0x00007FFEE9C43000-0x00007FFEE9C45000-memory.dmp

    Filesize

    8KB

  • memory/636-56-0x00007FFEE9C40000-0x00007FFEEA701000-memory.dmp

    Filesize

    10.8MB

  • memory/636-1-0x0000000000CC0000-0x0000000000CD0000-memory.dmp

    Filesize

    64KB

  • memory/4072-14-0x00007FFEE9C40000-0x00007FFEEA701000-memory.dmp

    Filesize

    10.8MB

  • memory/4072-55-0x00007FFEE9C40000-0x00007FFEEA701000-memory.dmp

    Filesize

    10.8MB

  • memory/4072-7-0x000002A6A9E90000-0x000002A6A9EB2000-memory.dmp

    Filesize

    136KB