Analysis

  • max time kernel
    150s
  • 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, 17:46

General

  • Target
    XClient.exe
  • Size 88KB
  • Sample240608-wch6vsdh8y
  • SHA256 b4a3a725fd7884b73edfd50985d097370dc2111184395d0f9a51571436ad95c5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • medical-m.gl.at.ply.gg:7000

Attributes
  • Install_directory

    %ProgramData%

  • install_file

    conhost.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 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
  • Executes dropped EXE 4 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).

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 13 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 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⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:5104
    • 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:2308
    • 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:848
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\conhost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2608
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'conhost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3512
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "conhost" /tr "C:\ProgramData\conhost.exe"
      2⤵
      • Creates scheduled task(s)
      PID:3136
  • C:\ProgramData\conhost.exe
    C:\ProgramData\conhost.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:4296
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /7
    1⤵
    • Checks SCSI registry key(s)
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:2352
  • C:\ProgramData\conhost.exe
    C:\ProgramData\conhost.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:2880
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:1460
    • C:\ProgramData\conhost.exe
      "C:\ProgramData\conhost.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:772
    • C:\ProgramData\conhost.exe
      C:\ProgramData\conhost.exe
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:3916

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          conhost.exe

          • Path C:\ProgramData\conhost.exe
          • Size 88KB
          • SHA256 b4a3a725fd7884b73edfd50985d097370dc2111184395d0f9a51571436ad95c5
          • MD5 SHA1 SHA512 SSDEEP

          conhost.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\conhost.exe.log
          • Size 654B
          • SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
          • MD5 SHA1 SHA512

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 19203153fb14d0839deb91301581159a308528575387b52c536f871ff80d2789
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 e834e1da338b9644d538cefd70176768816da2556939c1255d386931bd085105
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_2ce0w0uy.pf3.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_2ce0w0uy.pf3.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          conhost.lnk

          • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\conhost.lnk
          • Size 670B
          • SHA256 c092a18cb2e2d88b0d8e165ee9e3c5bd95f970e9243f877b6d4920bad83b0ec3
          • MD5 SHA1 SHA512

          memory/2308-12-0x000001AD725B0000-0x000001AD725D2000-memory.dmp

          memory/2308-18-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/2308-15-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/2308-14-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/2308-13-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/2352-82-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-83-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-78-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-71-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-72-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-73-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-77-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-79-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-80-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/2352-81-0x0000019FFE3B0000-0x0000019FFE3B1000-memory.dmp

          memory/5104-1-0x00007FFD234B3000-0x00007FFD234B5000-memory.dmp

          memory/5104-58-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/5104-57-0x00007FFD234B3000-0x00007FFD234B5000-memory.dmp

          memory/5104-2-0x00007FFD234B0000-0x00007FFD23F71000-memory.dmp

          memory/5104-0-0x00000000009B0000-0x00000000009CC000-memory.dmp