Analysis

  • max time kernel
    149s
  • max time network
    122s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/07/2024, 19:47

General

  • Target

    XClient2.exe

  • Size

    72KB

  • MD5

    40663a80e6470891d3c983b7143f460f

  • SHA1

    d41411214e04ea17eac12174abac3d746c01b59e

  • SHA256

    41ac04f717912442f57958f140f4e7da4f09a2866b01d7f6bae75f94fa4c96e6

  • SHA512

    069a3bd3f786ba22d3502ad4d4117f7abfe3e8ee6c4c35518b6398efdb8bcab00a0ba4d493d8d6670a4ba7185d727c631ee2349744ae127138801509a42f339d

  • SSDEEP

    1536:JMIahO8dQiGSmttjQR8YRZZbMgA/omS8W5XZF6KdSyuDbkOBjnBn:7OdQnthQRPZbMgA/fIZZdSyusOBVn

Malware Config

Extracted

Family

xworm

Version

3.1

C2

http://127.0.0.1:4040

Attributes
  • Install_directory

    %Temp%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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
  • 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).

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 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\XClient2.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient2.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:4632
    • 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\XClient2.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3068
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient2.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3240
    • 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\XClient2.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4552
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient2" /tr "C:\Users\Admin\AppData\Local\Temp\XClient2.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2888
  • C:\Users\Admin\AppData\Local\Temp\XClient2.exe
    C:\Users\Admin\AppData\Local\Temp\XClient2.exe
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:3032
  • C:\Users\Admin\AppData\Local\Temp\XClient2.exe
    C:\Users\Admin\AppData\Local\Temp\XClient2.exe
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:4820

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          2979eabc783eaca50de7be23dd4eafcf

          SHA1

          d709ce5f3a06b7958a67e20870bfd95b83cad2ea

          SHA256

          006cca90e78fbb571532a83082ac6712721a34ea4b21f490058ffb3f521f4903

          SHA512

          92bc433990572d9427d0c93eef9bd1cc23fa00ed60dd0c9c983d87d3421e02ce3f156c6f88fe916ef6782dbf185cbce083bc0094f8c527f302be6a37d1c53aba

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

          Filesize

          944B

          MD5

          0256bd284691ed0fc502ef3c8a7e58dc

          SHA1

          dcdf69dc8ca8bf068f65d20ef1563bbe283e2413

          SHA256

          e2fb83098e114084f51ed7187334f861ce670051046c39f338928296ca9a49cf

          SHA512

          c5b29c1e0a15ddb68b0579848066774fa7cdc6f35087bbbf47c05a5c0dcc1eb3e61b2ddadfbded8c1ed9820e637596a9f08a97db8fb18000d168e6b159060c42

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ltneiwjc.pkt.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • memory/3068-18-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/3068-14-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/3068-15-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/3068-4-0x000002414FFD0000-0x000002414FFF2000-memory.dmp

          Filesize

          136KB

        • memory/3068-13-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/4632-0-0x00000000003B0000-0x00000000003C8000-memory.dmp

          Filesize

          96KB

        • memory/4632-2-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/4632-43-0x000000001B710000-0x000000001B812000-memory.dmp

          Filesize

          1.0MB

        • memory/4632-45-0x00007FF8334D3000-0x00007FF8334D5000-memory.dmp

          Filesize

          8KB

        • memory/4632-46-0x00007FF8334D0000-0x00007FF833F91000-memory.dmp

          Filesize

          10.8MB

        • memory/4632-1-0x00007FF8334D3000-0x00007FF8334D5000-memory.dmp

          Filesize

          8KB