Analysis

  • max time kernel
    108s
  • max time network
    113s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/04/2024, 17:58

General

  • Target

    xclient.exe

  • Size

    135KB

  • MD5

    439179334e1527e8d4a6b557b352b915

  • SHA1

    34586204b00571b0c7cc1f042957b9b72cb23e22

  • SHA256

    fcb25edd7e4c2a9e994e1a084488e12df32b46c92a2384f01708b4a1c2cd3a61

  • SHA512

    c3d7c61f0aea42ec887ebee99da3108ac3aeda16feb6e3bedd5c4d30c57c735c591bae34ca377d95e6f0bd4b007c2300502ba01351db5f6f05d242a947bf2c00

  • SSDEEP

    1536:t19JeX4CHpOcrgI1bqOSjzE7d7naRMd6hhucoJOIB+32KXO1He4a:3KX4CHk4D1bqw7TaUJOS02kks

Malware Config

Extracted

Family

xworm

C2

patients-bags.gl.at.ply:30820

Attributes
  • Install_directory

    %Userprofile%

  • install_file

    discord.exe

Signatures

  • Detect Xworm Payload 2 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
  • Executes dropped EXE 2 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 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:2368
    • 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:1768
    • 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:4732
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\discord.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4160
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'discord.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3824
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "discord" /tr "C:\Users\Admin\discord.exe"
      2⤵
      • Creates scheduled task(s)
      PID:1744
  • C:\Users\Admin\discord.exe
    C:\Users\Admin\discord.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3608
  • C:\Users\Admin\discord.exe
    C:\Users\Admin\discord.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3788

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\discord.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

          440cb38dbee06645cc8b74d51f6e5f71

          SHA1

          d7e61da91dc4502e9ae83281b88c1e48584edb7c

          SHA256

          8ef7a682dfd99ff5b7e9de0e1be43f0016d68695a43c33c028af2635cc15ecfe

          SHA512

          3aab19578535e6ba0f6beb5690c87d970292100704209d2dcebddcdd46c6bead27588ef5d98729bfd50606a54cc1edf608b3d15bef42c13b9982aaaf15de7fd6

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

          Filesize

          944B

          MD5

          4a154efa7af25bb8b94d0d9c7b4f15cd

          SHA1

          5e0e04103e4eef1bc7ef242b730aed1958f98e1f

          SHA256

          c216eda372556eb78e680bde247c2fd2085642ee33031905a213c6bec502ccce

          SHA512

          fc4678133318fe1952947be74e244246336c7faacc9b9ae32336d57b106ec8f044e5db41dd98e8f3a54270ddacab2fc84a66d5d67deeadc3056ea5213bcbbba4

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

          Filesize

          944B

          MD5

          67e8893616f805af2411e2f4a1411b2a

          SHA1

          39bf1e1a0ddf46ce7c136972120f512d92827dcd

          SHA256

          ca0dfe104c1bf27f7e01999fcdabc16c6400c3da937c832c26bdbca322381d31

          SHA512

          164e911a9935e75c8be1a6ec3d31199a16ba2a1064da6c09d771b2a38dd7fddd142301ef55d67d90f306d3a454a1ce7b72e129ea42e44500b9b8c623a8d98b4d

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

          Filesize

          944B

          MD5

          96e3b86880fedd5afc001d108732a3e5

          SHA1

          8fc17b39d744a9590a6d5897012da5e6757439a3

          SHA256

          c3077e4cadb4ed246c02abe55aa6cf832fee4c2546b7addb7d22cd1c7c8c1294

          SHA512

          909b1968f7204fa7029109b02232d8cc5438f6b4dc7c9044e4e47c59fcee538199b13029e36592b12ed573d48a308dd4822d2ced4129ab08d4111897e02be55d

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_0nin1so1.0qf.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\discord.exe

          Filesize

          135KB

          MD5

          439179334e1527e8d4a6b557b352b915

          SHA1

          34586204b00571b0c7cc1f042957b9b72cb23e22

          SHA256

          fcb25edd7e4c2a9e994e1a084488e12df32b46c92a2384f01708b4a1c2cd3a61

          SHA512

          c3d7c61f0aea42ec887ebee99da3108ac3aeda16feb6e3bedd5c4d30c57c735c591bae34ca377d95e6f0bd4b007c2300502ba01351db5f6f05d242a947bf2c00

        • memory/1768-14-0x00000237763E0000-0x00000237763F0000-memory.dmp

          Filesize

          64KB

        • memory/1768-15-0x00000237763E0000-0x00000237763F0000-memory.dmp

          Filesize

          64KB

        • memory/1768-18-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/1768-13-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/1768-8-0x0000023778460000-0x0000023778482000-memory.dmp

          Filesize

          136KB

        • memory/2368-0-0x0000000000F80000-0x0000000000FA8000-memory.dmp

          Filesize

          160KB

        • memory/2368-69-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/2368-70-0x000000001BD90000-0x000000001BDA0000-memory.dmp

          Filesize

          64KB

        • memory/2368-2-0x000000001BD90000-0x000000001BDA0000-memory.dmp

          Filesize

          64KB

        • memory/2368-1-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3608-73-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3608-75-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3788-79-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3788-80-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3824-64-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/3824-52-0x000001FE9AB00000-0x000001FE9AB10000-memory.dmp

          Filesize

          64KB

        • memory/3824-51-0x000001FE9AB00000-0x000001FE9AB10000-memory.dmp

          Filesize

          64KB

        • memory/3824-50-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/4160-49-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/4160-46-0x0000022B6BE60000-0x0000022B6BE70000-memory.dmp

          Filesize

          64KB

        • memory/4160-44-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/4160-45-0x0000022B6BE60000-0x0000022B6BE70000-memory.dmp

          Filesize

          64KB

        • memory/4732-34-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB

        • memory/4732-22-0x000001B5A6E80000-0x000001B5A6E90000-memory.dmp

          Filesize

          64KB

        • memory/4732-21-0x000001B5A6E80000-0x000001B5A6E90000-memory.dmp

          Filesize

          64KB

        • memory/4732-20-0x00007FFF40030000-0x00007FFF40AF1000-memory.dmp

          Filesize

          10.8MB