Analysis

  • max time kernel
    136s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

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

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:1844
    • 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:4816
    • 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:3420

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

    3a6bad9528f8e23fb5c77fbd81fa28e8

    SHA1

    f127317c3bc6407f536c0f0600dcbcf1aabfba36

    SHA256

    986366767de5873f1b170a63f2a33ce05132d1afd90c8f5017afbca8ef1beb05

    SHA512

    846002154a0ece6f3e9feda6f115d3161dc21b3789525dd62ae1d9188495171293efdbe7be4710666dd8a15e66b557315b5a02918a741ed1d5f3ff0c515b98e2

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_prwwnwhm.twz.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1844-1-0x00000000005C0000-0x00000000005D6000-memory.dmp
    Filesize

    88KB

  • memory/1844-0-0x00007FFE57C23000-0x00007FFE57C25000-memory.dmp
    Filesize

    8KB

  • memory/1844-32-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB

  • memory/1844-31-0x00007FFE57C23000-0x00007FFE57C25000-memory.dmp
    Filesize

    8KB

  • memory/1844-30-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB

  • memory/4816-11-0x000001FA39900000-0x000001FA39922000-memory.dmp
    Filesize

    136KB

  • memory/4816-17-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB

  • memory/4816-14-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB

  • memory/4816-13-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB

  • memory/4816-12-0x00007FFE57C20000-0x00007FFE586E1000-memory.dmp
    Filesize

    10.8MB