Analysis

  • max time kernel
    148s
  • 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
    01/06/2024, 18:15

General

  • Target
    45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe
  • Size 516KB
  • Sample240601-wvvbvaaf7y
  • 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#.

  • 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 9 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:2748
    • 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:4840
      • 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:3572
      • 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:1596
      • 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:2444
      • 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:4060

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\45434befb4ed9537e306b346f7ca303e5c01f0c288378695278c8c2dd82e626a.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 d7a10b280832f78abb25af716bb58cf7674db5656d322880e1786328ca3197f7
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_pbnlizmf.gjr.ps1

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

        memory/1596-70-0x0000000070C30000-0x0000000070C7C000-memory.dmp

        memory/2444-91-0x0000000070C30000-0x0000000070C7C000-memory.dmp

        memory/2748-8-0x0000000006A30000-0x0000000006A86000-memory.dmp

        memory/2748-9-0x000000000A5F0000-0x000000000A68C000-memory.dmp

        memory/2748-7-0x00000000058D0000-0x00000000058E0000-memory.dmp

        memory/2748-6-0x0000000005C60000-0x0000000005C78000-memory.dmp

        memory/2748-13-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/2748-4-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/2748-5-0x0000000005790000-0x000000000579A000-memory.dmp

        memory/2748-3-0x00000000056F0000-0x0000000005782000-memory.dmp

        memory/2748-2-0x0000000005CA0000-0x0000000006244000-memory.dmp

        memory/2748-1-0x0000000000B70000-0x0000000000BF4000-memory.dmp

        memory/2748-0-0x00000000749CE000-0x00000000749CF000-memory.dmp

        memory/3572-33-0x00000000065F0000-0x000000000663C000-memory.dmp

        memory/3572-52-0x0000000007B10000-0x0000000007B1E000-memory.dmp

        memory/3572-20-0x00000000057C0000-0x0000000005826000-memory.dmp

        memory/3572-31-0x0000000006100000-0x0000000006454000-memory.dmp

        memory/3572-32-0x00000000065B0000-0x00000000065CE000-memory.dmp

        memory/3572-19-0x0000000005720000-0x0000000005742000-memory.dmp

        memory/3572-35-0x0000000070C30000-0x0000000070C7C000-memory.dmp

        memory/3572-45-0x0000000007790000-0x00000000077AE000-memory.dmp

        memory/3572-46-0x00000000077B0000-0x0000000007853000-memory.dmp

        memory/3572-34-0x0000000006B80000-0x0000000006BB2000-memory.dmp

        memory/3572-48-0x00000000078E0000-0x00000000078FA000-memory.dmp

        memory/3572-47-0x0000000007F20000-0x000000000859A000-memory.dmp

        memory/3572-49-0x0000000007940000-0x000000000794A000-memory.dmp

        memory/3572-50-0x0000000007B70000-0x0000000007C06000-memory.dmp

        memory/3572-51-0x0000000007AE0000-0x0000000007AF1000-memory.dmp

        memory/3572-21-0x0000000005F90000-0x0000000005FF6000-memory.dmp

        memory/3572-53-0x0000000007B20000-0x0000000007B34000-memory.dmp

        memory/3572-54-0x0000000007C30000-0x0000000007C4A000-memory.dmp

        memory/3572-55-0x0000000007B60000-0x0000000007B68000-memory.dmp

        memory/3572-58-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/3572-18-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/3572-17-0x00000000058B0000-0x0000000005ED8000-memory.dmp

        memory/3572-16-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/3572-15-0x0000000002C80000-0x0000000002CB6000-memory.dmp

        memory/4060-112-0x0000000070C30000-0x0000000070C7C000-memory.dmp

        memory/4840-14-0x00000000749C0000-0x0000000075170000-memory.dmp

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

        memory/4840-127-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/4840-128-0x00000000749C0000-0x0000000075170000-memory.dmp

        memory/4840-129-0x00000000749C0000-0x0000000075170000-memory.dmp