Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240508-en
  • resource tags

    arch:x64arch:x86image:win11-20240508-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    30-06-2024 20:42

General

  • Target

    XCl1ient.exe

  • Size

    60KB

  • MD5

    a0808b7618eb5893c254173472d1adcd

  • SHA1

    9ec40f929de580cf65697b62ffa73c98e74d81a8

  • SHA256

    1daf0068b904a151117993bd6004d6097eaf104995e00e25785a26d78f8abf0a

  • SHA512

    982afbac94e7e83046b7f9aafc5fc4f9c578dc1bb2972e29211d78328b5a363892a78ca287bcb49b8a2b2fa96092b0ae3eb0b17891fc21f4cedf5abca3046602

  • SSDEEP

    768:Rwb4vnaiY9W8vk93noPqu/Ug1WPZ9Irbt6LBI2Ticie6WOWhUAAoenk:R5vai+Zxcg+ZKbgLC2TUe6WOWeJtk

Malware Config

Extracted

Family

xworm

Version

3.1

C2

0.tcp.eu.ngrok.io:12233

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 2 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.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 7 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\XCl1ient.exe
    "C:\Users\Admin\AppData\Local\Temp\XCl1ient.exe"
    1⤵
    • 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:3000
    • 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\XCl1ient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4868
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XCl1ient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2204
    • 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\XCl1ient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3012
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XCl1ient" /tr "C:\Users\Admin\AppData\Roaming\XCl1ient.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4400
  • C:\Users\Admin\AppData\Roaming\XCl1ient.exe
    C:\Users\Admin\AppData\Roaming\XCl1ient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3016
  • C:\Users\Admin\AppData\Roaming\XCl1ient.exe
    C:\Users\Admin\AppData\Roaming\XCl1ient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:2192

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Persistence

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Privilege Escalation

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Defense Evasion

Modify Registry

1
T1112

Discovery

System Information Discovery

1
T1082

Query Registry

1
T1012

Command and Control

Web Service

1
T1102

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\XCl1ient.exe.log
    Filesize

    654B

    MD5

    2cbbb74b7da1f720b48ed31085cbd5b8

    SHA1

    79caa9a3ea8abe1b9c4326c3633da64a5f724964

    SHA256

    e31b18f21621d9983bfdf1ea3e53884a9d58b8ffd79e0e5790da6f3a81a8b9d3

    SHA512

    ecf02d5240e0c1c005d3ab393aa7eff62bd498c2db5905157e2bf6d29e1b663228a9583950842629d1a4caef404c8941a0c7799b1a3bd1eb890a09fdb7efcff9

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
    Filesize

    2KB

    MD5

    627073ee3ca9676911bee35548eff2b8

    SHA1

    4c4b68c65e2cab9864b51167d710aa29ebdcff2e

    SHA256

    85b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c

    SHA512

    3c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb

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

    944B

    MD5

    1a9fa92a4f2e2ec9e244d43a6a4f8fb9

    SHA1

    9910190edfaccece1dfcc1d92e357772f5dae8f7

    SHA256

    0ee052d5333fd5fd86bc84856fec98e045f077a7ac8051651bf7c521b9706888

    SHA512

    5d2361476fa22200e6f83883efe7dcb8c3fe7dae8d56e04e28a36e9ae1270c327b6aa161d92b239593da7661289d002c574446ecfd6bd19928209aae25e3ef64

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

    944B

    MD5

    80b42fe4c6cf64624e6c31e5d7f2d3b3

    SHA1

    1f93e7dd83b86cb900810b7e3e43797868bf7d93

    SHA256

    ee20a5b38a6674366efda276dbbf0b43eb54efd282acfc1033042f6b53a80d4d

    SHA512

    83c1c744c15a8b427a1d3af677ec3bfd0353875a60fe886c41570981e17467ebbb59619b960ca8c5c3ab1430946b0633ea200b7e7d84ab6dca88b60c50055573

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gxq5i2me.rjp.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\XCl1ient.exe
    Filesize

    60KB

    MD5

    a0808b7618eb5893c254173472d1adcd

    SHA1

    9ec40f929de580cf65697b62ffa73c98e74d81a8

    SHA256

    1daf0068b904a151117993bd6004d6097eaf104995e00e25785a26d78f8abf0a

    SHA512

    982afbac94e7e83046b7f9aafc5fc4f9c578dc1bb2972e29211d78328b5a363892a78ca287bcb49b8a2b2fa96092b0ae3eb0b17891fc21f4cedf5abca3046602

  • memory/3000-1-0x00007FFB96953000-0x00007FFB96955000-memory.dmp
    Filesize

    8KB

  • memory/3000-2-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/3000-48-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/3000-0-0x00000000005A0000-0x00000000005B6000-memory.dmp
    Filesize

    88KB

  • memory/4868-12-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/4868-13-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/4868-14-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/4868-15-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/4868-18-0x00007FFB96950000-0x00007FFB97412000-memory.dmp
    Filesize

    10.8MB

  • memory/4868-11-0x000002EEFCC80000-0x000002EEFCCA2000-memory.dmp
    Filesize

    136KB