Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/06/2024, 02:43

General

  • Target
    ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe
  • Size 541KB
  • Sample240607-c7mb8agd2t
  • SHA256 ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb
  • 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 16 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe
    "C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3444
    • C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe
      "C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe"
      2⤵
        PID:5016
      • C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe
        "C:\Users\Admin\AppData\Local\Temp\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.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:1884
        • 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\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe'
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1168
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe'
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4596
        • 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:5016
        • 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:1716
    • 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 --field-trial-handle=4404,i,16710585221322798697,8586257254049248207,262144 --variations-seed-version --mojo-platform-channel-handle=4252 /prefetch:8
      1⤵
        PID:2948

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\ca8b01154f69d84a04afd66dab43bf9a7ace3c5d097d64ff401045fb6cc65dbb.exe.log
            • Size 1KB
            • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
            • MD5 SHA1 SHA512

            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 c488166ef9738dfd874ccc6c9cc444203dc0db6712224ce74fe49964bcbfafea
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

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

            StartupProfileData-NonInteractive

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

            __PSScriptPolicyTest_bsqufgu0.xg2.ps1

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

            memory/1168-56-0x0000000007AD0000-0x0000000007AD8000-memory.dmp

            memory/1168-47-0x0000000007710000-0x00000000077B3000-memory.dmp

            memory/1168-59-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1168-55-0x0000000007BA0000-0x0000000007BBA000-memory.dmp

            memory/1168-54-0x0000000007A90000-0x0000000007AA4000-memory.dmp

            memory/1168-53-0x0000000007A80000-0x0000000007A8E000-memory.dmp

            memory/1168-52-0x0000000007A50000-0x0000000007A61000-memory.dmp

            memory/1168-51-0x0000000007AE0000-0x0000000007B76000-memory.dmp

            memory/1168-50-0x00000000078B0000-0x00000000078BA000-memory.dmp

            memory/1168-16-0x0000000002C30000-0x0000000002C66000-memory.dmp

            memory/1168-17-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1168-18-0x00000000058F0000-0x0000000005F18000-memory.dmp

            memory/1168-19-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1168-20-0x0000000005660000-0x0000000005682000-memory.dmp

            memory/1168-21-0x0000000005700000-0x0000000005766000-memory.dmp

            memory/1168-22-0x00000000057E0000-0x0000000005846000-memory.dmp

            memory/1168-49-0x0000000007850000-0x000000000786A000-memory.dmp

            memory/1168-32-0x0000000005F20000-0x0000000006274000-memory.dmp

            memory/1168-33-0x0000000006520000-0x000000000653E000-memory.dmp

            memory/1168-34-0x0000000006560000-0x00000000065AC000-memory.dmp

            memory/1168-35-0x0000000006B00000-0x0000000006B32000-memory.dmp

            memory/1168-36-0x00000000701C0000-0x000000007020C000-memory.dmp

            memory/1168-46-0x00000000076F0000-0x000000000770E000-memory.dmp

            memory/1168-48-0x0000000007E90000-0x000000000850A000-memory.dmp

            memory/1716-115-0x00000000701C0000-0x000000007020C000-memory.dmp

            memory/1884-132-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1884-131-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1884-15-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1884-130-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/1884-11-0x0000000000400000-0x0000000000414000-memory.dmp

            memory/3444-4-0x00000000058D0000-0x00000000058DA000-memory.dmp

            memory/3444-10-0x000000000A8A0000-0x000000000A93C000-memory.dmp

            memory/3444-0-0x0000000074B7E000-0x0000000074B7F000-memory.dmp

            memory/3444-8-0x0000000006B50000-0x0000000006B60000-memory.dmp

            memory/3444-7-0x0000000006B40000-0x0000000006B4E000-memory.dmp

            memory/3444-5-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/3444-3-0x0000000005720000-0x00000000057B2000-memory.dmp

            memory/3444-9-0x0000000006B70000-0x0000000006BC6000-memory.dmp

            memory/3444-14-0x0000000074B70000-0x0000000075320000-memory.dmp

            memory/3444-2-0x0000000005CD0000-0x0000000006274000-memory.dmp

            memory/3444-6-0x0000000006B20000-0x0000000006B36000-memory.dmp

            memory/3444-1-0x0000000000CB0000-0x0000000000D3E000-memory.dmp

            memory/4596-72-0x00000000701C0000-0x000000007020C000-memory.dmp

            memory/4596-61-0x00000000054D0000-0x0000000005824000-memory.dmp

            memory/5016-94-0x00000000701C0000-0x000000007020C000-memory.dmp

            memory/5016-83-0x0000000006200000-0x0000000006554000-memory.dmp