Analysis

  • max time kernel
    142s
  • max time network
    155s
  • 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:32

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:4292
    • 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:3948
    • 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:820
    • 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:824
    • 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:3728
  • 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=3720 --field-trial-handle=2252,i,16504368816373493055,9578615028378602855,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:2224

    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

      4822327741294722927d46423be14304

      SHA1

      3049826ae49ca304bd4a84a21b8ccb6a9499c39e

      SHA256

      b6ed5510a3376ce391d154b219c2d70cebb62e6fdef97022ad2bc305c5137a74

      SHA512

      c7607f4bab5688baaeab93bc92a2546d60f9f77b52614ad718133e4313674ae3bdbd497282220c399b2cd97c45a09adbecf1997ac82cab9e221129fa3ac83c8b

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

      Filesize

      944B

      MD5

      2f154a03d8e551f9504a1518466e078b

      SHA1

      0e86b7b383076172274015e3b0b5c63cccc1dfcf

      SHA256

      9e4b3b8ae2ff2beb2a1849ef05455c6e0542e9227267decbcd1b96a48f7227be

      SHA512

      7f1fba4d131b3ec4f1bbe204e29516bcd2ea111afe4b03da2f5eaf25b3bfbea08808192005020eb7d706a9e971fdd8ebe068f883f72c6759926ef58ae9db47e4

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3iuiwfoc.ape.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/3948-4-0x000002BE44DE0000-0x000002BE44DF0000-memory.dmp

      Filesize

      64KB

    • memory/3948-5-0x000002BE44DE0000-0x000002BE44DF0000-memory.dmp

      Filesize

      64KB

    • memory/3948-15-0x000002BE44D50000-0x000002BE44D72000-memory.dmp

      Filesize

      136KB

    • memory/3948-16-0x000002BE44DE0000-0x000002BE44DF0000-memory.dmp

      Filesize

      64KB

    • memory/3948-19-0x00007FFC4E980000-0x00007FFC4F441000-memory.dmp

      Filesize

      10.8MB

    • memory/3948-3-0x00007FFC4E980000-0x00007FFC4F441000-memory.dmp

      Filesize

      10.8MB

    • memory/4292-0-0x00000000003A0000-0x00000000003CC000-memory.dmp

      Filesize

      176KB

    • memory/4292-2-0x0000000002700000-0x0000000002710000-memory.dmp

      Filesize

      64KB

    • memory/4292-1-0x00007FFC4E980000-0x00007FFC4F441000-memory.dmp

      Filesize

      10.8MB

    • memory/4292-58-0x00007FFC4E980000-0x00007FFC4F441000-memory.dmp

      Filesize

      10.8MB

    • memory/4292-59-0x0000000002700000-0x0000000002710000-memory.dmp

      Filesize

      64KB