Analysis

  • max time kernel
    299s
  • max time network
    303s
  • platform
    windows10-1703_x64
  • resource
    win10-20240404-en
  • resource tags

    arch:x64arch:x86image:win10-20240404-enlocale:en-usos:windows10-1703-x64system
  • submitted
    30-06-2024 11:00

General

  • Target

    XClient.exe

  • Size

    70KB

  • MD5

    1aee9a35a708cb39e8cb4d77493ea266

  • SHA1

    734371aca4a8f81bc8da952687dfe3c9315fdbde

  • SHA256

    69062434a621587b25a7502d5384bed98f5002d34f5e5604abfb7b81d80cf29d

  • SHA512

    108f32dbede91c7552a88046d6cf92b49945744e0bbea380c2a880d460326c66e2ef28948fd2395e6976d6976fa83c974e2f70e9c05ba7b856dd82c2d713e6f2

  • SSDEEP

    1536:1uHWDFSwUrZS8Pm/ZZbZWfweYcYX67lwO+zfh9G:g2sVSS6ZbZBTAlwO+zfLG

Malware Config

Extracted

Family

xworm

Version

3.1

C2

0.tcp.eu.ngrok.io:15792

Attributes
  • Install_directory

    %ProgramData%

  • 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 4 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 8 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).

  • Modifies registry class 1 IoCs
  • 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 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 2 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\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.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:2100
    • 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:164
    • 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:888
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3780
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\ProgramData\XClient.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:3344
  • C:\Windows\system32\OpenWith.exe
    C:\Windows\system32\OpenWith.exe -Embedding
    1⤵
    • Modifies registry class
    • Suspicious use of SetWindowsHookEx
    PID:1856
  • C:\ProgramData\XClient.exe
    C:\ProgramData\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:2296
  • C:\ProgramData\XClient.exe
    C:\ProgramData\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:1568
  • C:\ProgramData\XClient.exe
    C:\ProgramData\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:2980
  • C:\ProgramData\XClient.exe
    C:\ProgramData\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:2224

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:\ProgramData\XClient.exe
    Filesize

    70KB

    MD5

    1aee9a35a708cb39e8cb4d77493ea266

    SHA1

    734371aca4a8f81bc8da952687dfe3c9315fdbde

    SHA256

    69062434a621587b25a7502d5384bed98f5002d34f5e5604abfb7b81d80cf29d

    SHA512

    108f32dbede91c7552a88046d6cf92b49945744e0bbea380c2a880d460326c66e2ef28948fd2395e6976d6976fa83c974e2f70e9c05ba7b856dd82c2d713e6f2

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

    654B

    MD5

    16c5fce5f7230eea11598ec11ed42862

    SHA1

    75392d4824706090f5e8907eee1059349c927600

    SHA256

    87ba77c13905298acbac72be90949c4fe0755b6eff9777615aa37f252515f151

    SHA512

    153edd6da59beea6cc411ed7383c32916425d6ebb65f04c65aab7c1d6b25443d143aa8449aa92149de0ad8a975f6ecaa60f9f7574536eec6b38fe5fd3a6c6adc

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

    3KB

    MD5

    8592ba100a78835a6b94d5949e13dfc1

    SHA1

    63e901200ab9a57c7dd4c078d7f75dcd3b357020

    SHA256

    fdd7d9def6f9f0c0f2e60dbc8a2d1999071cd7d3095e9e087bb1cda7a614ac3c

    SHA512

    87f98e6cb61b2a2a7d65710c4d33881d89715eb7a06e00d492259f35c3902498baabffc5886be0ec5a14312ad4c262e3fc40cd3a5cb91701af0fb229726b88c3

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

    1KB

    MD5

    1fb4f1db8cf6587a456df7b158f5e9de

    SHA1

    931f99cd91a9befe6cbefa29aaa3123af2732c20

    SHA256

    e9a4790f800fd415692df3af70c0f33243fa181512db2ee28bb27680c7a20db7

    SHA512

    b9abbe69c9b1a1b14e52f62d53c22c2a5521ae6a4b5af6fc0d2ec3ec17ef32cdaceb8ac62dc2a02b4a70558b505c410f81e00374313942c65963fc3b2ee9b61c

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

    1KB

    MD5

    9fceaa8f38c649b2e22774fae18c3a57

    SHA1

    5fd53df1613ba5450c0b8efd46825db0d9b524e3

    SHA256

    fd1439be9ac2c7e9657901542c04521cea486ac10ba40144cfd20183b18e51c5

    SHA512

    45846475ef49c7fe0b7ccca1c18404f963f689c73ff4bd29add0fc49ce3872bceb230d5a45782731c4161888d853671253231c23e13b05b0739a4b835ff0c52a

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_y0ntfaso.pxn.ps1
    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

  • memory/164-10-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/164-13-0x0000027FF79A0000-0x0000027FF7A16000-memory.dmp
    Filesize

    472KB

  • memory/164-51-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/164-9-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/164-8-0x0000027FDF1F0000-0x0000027FDF212000-memory.dmp
    Filesize

    136KB

  • memory/164-7-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/2100-0-0x00007FFCC9C13000-0x00007FFCC9C14000-memory.dmp
    Filesize

    4KB

  • memory/2100-2-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/2100-147-0x00007FFCC9C13000-0x00007FFCC9C14000-memory.dmp
    Filesize

    4KB

  • memory/2100-148-0x00007FFCC9C10000-0x00007FFCCA5FC000-memory.dmp
    Filesize

    9.9MB

  • memory/2100-1-0x00000000002F0000-0x0000000000308000-memory.dmp
    Filesize

    96KB