Analysis

  • max time kernel
    141s
  • max time network
    159s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-04-2024 01:15

General

  • Target

    XClient.exe

  • Size

    153KB

  • MD5

    1b8820d52554249471ca92c6db6d7e73

  • SHA1

    8b72f08f4c07c2011d42bcdb3cb8299ddceaa16b

  • SHA256

    250faa1e494e594e8faad0cebcd8d2b1d63f9bc5ddfd8ac6f143a98f8ed9980e

  • SHA512

    bfd0864ca829913b66739fe3194e606e7795e8a55ec1da57b79f273f318795d9d41bd6881e5f9e418d4a1fc7481a64ed5728f171a956ebaa2aeb6aaa43208df3

  • SSDEEP

    1536:6UEv+qFIUkzEabbECePsbgoggTLcGu4f069liHbOBPBbyVspJxqmyVttdGFQeOPu:mHpkzFbwCekbgL2+OBPBmVIrqmyBer

Malware Config

Extracted

Family

xworm

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

  • pastebin_url

    https://pastebin.com/raw/PG3MaVGP

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 1 IoCs

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

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

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

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:1804
    • 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⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4348
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3816
    • 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⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:436
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3280
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1316 --field-trial-handle=2280,i,11703952675008463361,17436195144517971517,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:1196

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • 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

      d28a889fd956d5cb3accfbaf1143eb6f

      SHA1

      157ba54b365341f8ff06707d996b3635da8446f7

      SHA256

      21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45

      SHA512

      0b6d88deb9be85722e6a78d5886d49f2caf407a59e128d2b4ed74c1356f9928c40048a62731959f2460e9ff9d9feee311043d2a37abe3bb92c2b76a44281478c

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

      Filesize

      944B

      MD5

      0d8abf9638c74e2459427f0738f597a0

      SHA1

      7f0d7f08e3bab3736388f3db7e5cb5beb726ef4d

      SHA256

      cad3af71b0b153675d87318a3fd44524d95a1b158549e5dd94d64795972d9382

      SHA512

      52e226e566b0b3b3800538c452deccde78ca22fbc47139c34e9f35fc49c2549b44ac4e5c5debc0692251244757af6f2ab447cad4c28fa6a2711661c472ae7b30

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

      Filesize

      944B

      MD5

      2e6ff4783ff9a031d6c7f56fa4addc63

      SHA1

      508812e940fc705865458060d0fb487301422baf

      SHA256

      04362c7f6383fb3e6e53abb076aeca79d84062dd10697caf1457f330e90f17a5

      SHA512

      075aa56e80e90417878b1f847acdfb89e869d5866d87ca7182efc0efdc48ca3ee16bd4b00afcd99e5dd1c24be2a3165fb612bcf5ed58ed4af0b47c44351f30b2

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_fj0ghzmo.o5c.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1804-1-0x00007FFE6DE90000-0x00007FFE6E951000-memory.dmp

      Filesize

      10.8MB

    • memory/1804-2-0x000000001B6A0000-0x000000001B6B0000-memory.dmp

      Filesize

      64KB

    • memory/1804-60-0x000000001B6A0000-0x000000001B6B0000-memory.dmp

      Filesize

      64KB

    • memory/1804-0-0x0000000000810000-0x000000000083C000-memory.dmp

      Filesize

      176KB

    • memory/1804-53-0x00007FFE6DE90000-0x00007FFE6E951000-memory.dmp

      Filesize

      10.8MB

    • memory/4348-5-0x00000203DD860000-0x00000203DD870000-memory.dmp

      Filesize

      64KB

    • memory/4348-20-0x00007FFE6DE90000-0x00007FFE6E951000-memory.dmp

      Filesize

      10.8MB

    • memory/4348-17-0x00000203DD860000-0x00000203DD870000-memory.dmp

      Filesize

      64KB

    • memory/4348-16-0x00000203DD860000-0x00000203DD870000-memory.dmp

      Filesize

      64KB

    • memory/4348-11-0x00000203DD8A0000-0x00000203DD8C2000-memory.dmp

      Filesize

      136KB

    • memory/4348-4-0x00000203DD860000-0x00000203DD870000-memory.dmp

      Filesize

      64KB

    • memory/4348-3-0x00007FFE6DE90000-0x00007FFE6E951000-memory.dmp

      Filesize

      10.8MB