Analysis

  • max time kernel
    146s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/06/2024, 01:14

General

  • Target
    45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe
  • Size 516KB
  • Sample240601-blppsacd8s
  • SHA256 45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 104.250.180.178:7061

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Detects Windows executables referencing non-Windows User-Agents 1 IoCs
  • 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
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe
    "C:\Users\Admin\AppData\Local\Temp\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4336
    • C:\Users\Admin\AppData\Local\Temp\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe
      "C:\Users\Admin\AppData\Local\Temp\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1432
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4056
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1344
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\XClient.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3292
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1176
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=3692 --field-trial-handle=3192,i,2785050981002401924,4037047756083432660,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:4068

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

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

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 3b892458315877326e605e2d98c2344ba451d2610baa634c7831581a5244688e
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 944cbfb81c04f034e2146318b8896176bfafc9decbe9d5aa4d033ee59e4db059
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 9ed4cc1b880ff02ec6c6a70708fd602f5cdede71c8b5b10eeb3227967ce2031e
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_ymxwcmcc.inr.ps1

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

          memory/1176-113-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/1344-71-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/1432-128-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/1432-129-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/1432-10-0x0000000000400000-0x0000000000414000-memory.dmp

          memory/1432-12-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/1432-58-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/3292-92-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/4056-54-0x0000000007950000-0x000000000796A000-memory.dmp

          memory/4056-48-0x0000000007610000-0x000000000762A000-memory.dmp

          memory/4056-16-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4056-17-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4056-18-0x00000000054C0000-0x0000000005AE8000-memory.dmp

          memory/4056-19-0x0000000005300000-0x0000000005322000-memory.dmp

          memory/4056-21-0x0000000005410000-0x0000000005476000-memory.dmp

          memory/4056-20-0x00000000053A0000-0x0000000005406000-memory.dmp

          memory/4056-14-0x0000000004D20000-0x0000000004D56000-memory.dmp

          memory/4056-31-0x0000000005CC0000-0x0000000006014000-memory.dmp

          memory/4056-32-0x0000000005050000-0x000000000506E000-memory.dmp

          memory/4056-33-0x0000000006380000-0x00000000063CC000-memory.dmp

          memory/4056-34-0x00000000068A0000-0x00000000068D2000-memory.dmp

          memory/4056-35-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/4056-45-0x0000000006880000-0x000000000689E000-memory.dmp

          memory/4056-46-0x00000000074E0000-0x0000000007583000-memory.dmp

          memory/4056-47-0x0000000007C50000-0x00000000082CA000-memory.dmp

          memory/4056-15-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4056-49-0x0000000007680000-0x000000000768A000-memory.dmp

          memory/4056-50-0x0000000007890000-0x0000000007926000-memory.dmp

          memory/4056-51-0x0000000007810000-0x0000000007821000-memory.dmp

          memory/4056-52-0x0000000007840000-0x000000000784E000-memory.dmp

          memory/4056-53-0x0000000007850000-0x0000000007864000-memory.dmp

          memory/4056-59-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4056-55-0x0000000007930000-0x0000000007938000-memory.dmp

          memory/4336-13-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4336-0-0x000000007452E000-0x000000007452F000-memory.dmp

          memory/4336-9-0x000000000ABF0000-0x000000000AC8C000-memory.dmp

          memory/4336-8-0x00000000084B0000-0x0000000008506000-memory.dmp

          memory/4336-7-0x0000000005AB0000-0x0000000005AC0000-memory.dmp

          memory/4336-6-0x0000000005A90000-0x0000000005AA8000-memory.dmp

          memory/4336-5-0x00000000057E0000-0x00000000057EA000-memory.dmp

          memory/4336-4-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4336-3-0x0000000005730000-0x00000000057C2000-memory.dmp

          memory/4336-2-0x0000000005D90000-0x0000000006334000-memory.dmp

          memory/4336-1-0x0000000000CC0000-0x0000000000D44000-memory.dmp