Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-06-2024 20:06

General

  • Target

    XClient.exe

  • Size

    65KB

  • MD5

    8617f1ab9fdd3fdf84eea078439f72c7

  • SHA1

    998b0f01504bbd9b3055553f87a70240a68827fc

  • SHA256

    a85ae2633f7af6b455122f6a67b9540f97458f969dddef41957412c877717cb4

  • SHA512

    a6e8adf148fe60a26eb8cf46afe8e455936a648b662dd31b9aaf86d057f9d7943509e98e3763079d5cf12948da48dee3be2c588b6816b2054e0044055943ed5c

  • SSDEEP

    1536:q224eK/Zxf/waUj9bw+bJcIBKLhcDn66RBWOUuR2jg:324eK/Zxf4aUB8+bJcIkhemOUuReg

Malware Config

Extracted

Family

xworm

C2

5.tcp.eu.ngrok.io:7771

Attributes
  • 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 2 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.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Checks computer location settings
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4552
    • 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:4208
    • 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:4236

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Command and Control

Web Service

1
T1102

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

    62623d22bd9e037191765d5083ce16a3

    SHA1

    4a07da6872672f715a4780513d95ed8ddeefd259

    SHA256

    95d79fd575bbd21540e378fcbc1cd00d16f51af62ce15bae7080bb72c24e2010

    SHA512

    9a448b7a0d867466c2ea04ab84d2a9485d5fd20ab53b2b854f491831ee3f1d781b94d2635f7b0b35cb9f2d373cd52c67570879a56a42ed66bc9db06962ed4992

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ghi5sfua.1rf.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/4208-11-0x00000230E92B0000-0x00000230E92D2000-memory.dmp
    Filesize

    136KB

  • memory/4208-12-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4208-13-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4208-14-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4208-17-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4552-0-0x00007FFA35933000-0x00007FFA35935000-memory.dmp
    Filesize

    8KB

  • memory/4552-1-0x0000000000770000-0x0000000000786000-memory.dmp
    Filesize

    88KB

  • memory/4552-30-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4552-31-0x00007FFA35933000-0x00007FFA35935000-memory.dmp
    Filesize

    8KB

  • memory/4552-32-0x00007FFA35930000-0x00007FFA363F1000-memory.dmp
    Filesize

    10.8MB