Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/06/2024, 03:53

General

  • Target
    cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe
  • Size 509KB
  • Sample240601-efrtqshf36
  • SHA256 cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651
  • 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\cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe
    "C:\Users\Admin\AppData\Local\Temp\cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Users\Admin\AppData\Local\Temp\cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe
      "C:\Users\Admin\AppData\Local\Temp\cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.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:780
      • 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\cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3248
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2492
      • 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:4540
      • 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:3684

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        cdec22b746d955eea4a995cc06795a0964af334d9ad48d9666fa631cf594e651.exe.log

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_jdluj3nn.l0r.ps1

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

        memory/780-129-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/780-14-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/780-128-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/780-130-0x0000000074670000-0x0000000074E20000-memory.dmp

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

        memory/1992-5-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1992-13-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1992-6-0x0000000004F30000-0x0000000004FCC000-memory.dmp

        memory/1992-9-0x0000000006140000-0x0000000006196000-memory.dmp

        memory/1992-7-0x0000000005F10000-0x0000000005F28000-memory.dmp

        memory/1992-8-0x0000000005250000-0x0000000005260000-memory.dmp

        memory/1992-4-0x0000000004E80000-0x0000000004E8A000-memory.dmp

        memory/1992-3-0x0000000004CB0000-0x0000000004D42000-memory.dmp

        memory/1992-2-0x0000000005260000-0x0000000005804000-memory.dmp

        memory/1992-1-0x0000000000250000-0x00000000002D4000-memory.dmp

        memory/1992-0-0x000000007467E000-0x000000007467F000-memory.dmp

        memory/2492-71-0x000000006FC90000-0x000000006FCDC000-memory.dmp

        memory/3248-33-0x00000000061A0000-0x00000000061BE000-memory.dmp

        memory/3248-54-0x0000000007700000-0x0000000007714000-memory.dmp

        memory/3248-34-0x0000000006240000-0x000000000628C000-memory.dmp

        memory/3248-35-0x0000000006770000-0x00000000067A2000-memory.dmp

        memory/3248-36-0x000000006FC90000-0x000000006FCDC000-memory.dmp

        memory/3248-46-0x0000000006750000-0x000000000676E000-memory.dmp

        memory/3248-47-0x0000000007370000-0x0000000007413000-memory.dmp

        memory/3248-48-0x0000000007B10000-0x000000000818A000-memory.dmp

        memory/3248-49-0x00000000074C0000-0x00000000074DA000-memory.dmp

        memory/3248-50-0x0000000007520000-0x000000000752A000-memory.dmp

        memory/3248-51-0x0000000007750000-0x00000000077E6000-memory.dmp

        memory/3248-52-0x00000000076C0000-0x00000000076D1000-memory.dmp

        memory/3248-53-0x00000000076F0000-0x00000000076FE000-memory.dmp

        memory/3248-23-0x0000000005BD0000-0x0000000005F24000-memory.dmp

        memory/3248-55-0x0000000007810000-0x000000000782A000-memory.dmp

        memory/3248-56-0x0000000007740000-0x0000000007748000-memory.dmp

        memory/3248-59-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/3248-19-0x00000000051F0000-0x0000000005212000-memory.dmp

        memory/3248-20-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/3248-22-0x0000000005B60000-0x0000000005BC6000-memory.dmp

        memory/3248-21-0x0000000005310000-0x0000000005376000-memory.dmp

        memory/3248-16-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/3248-17-0x0000000005430000-0x0000000005A58000-memory.dmp

        memory/3248-15-0x0000000004C10000-0x0000000004C46000-memory.dmp

        memory/3248-18-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/3684-113-0x000000006FC90000-0x000000006FCDC000-memory.dmp

        memory/4540-92-0x000000006FC90000-0x000000006FCDC000-memory.dmp