Analysis

  • max time kernel
    149s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    05/06/2024, 16:56

General

  • Target
    XClient.exe
  • Size 81KB
  • Sample240605-vfzscacd5v
  • SHA256 9380c29aaccc2fcbf1734ff093b489ced5ba68006a863e25d7d601b6f8d69a52
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 3.0

C2
  • lunassworld-50930.portmap.host:50930

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 5 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 3 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).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 21 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⤵
    • Drops startup file
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2284
    • 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:2544
    • 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:2524
    • 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\Roaming\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2500
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"
      2⤵
      • Creates scheduled task(s)
      PID:1224
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {470AD32F-CBB5-4056-A872-F2D65E8C3ECC} S-1-5-21-2737914667-933161113-3798636211-1000:PUMARTNR\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:292
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1008
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1632
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2412

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        590aee7bdd69b59b.customDestinations-ms

        • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
        • Size 7KB
        • SHA256 7852f71a1416c18bd219e87c4d15805515e5b98125c2da7841dc130a6e8d8e1b
        • MD5 SHA1 SHA512 SSDEEP

        XClient.exe

        • Path C:\Users\Admin\AppData\Roaming\XClient.exe
        • Size 81KB
        • SHA256 9380c29aaccc2fcbf1734ff093b489ced5ba68006a863e25d7d601b6f8d69a52
        • MD5 SHA1 SHA512 SSDEEP

        memory/1008-33-0x00000000003E0000-0x00000000003FA000-memory.dmp

        memory/1632-38-0x0000000000C80000-0x0000000000C9A000-memory.dmp

        memory/2284-34-0x000007FEF55C3000-0x000007FEF55C4000-memory.dmp

        memory/2284-1-0x0000000000980000-0x000000000099A000-memory.dmp

        memory/2284-2-0x000007FEF55C0000-0x000007FEF5FAC000-memory.dmp

        memory/2284-0-0x000007FEF55C3000-0x000007FEF55C4000-memory.dmp

        memory/2284-35-0x000007FEF55C0000-0x000007FEF5FAC000-memory.dmp

        memory/2412-40-0x0000000001210000-0x000000000122A000-memory.dmp

        memory/2524-14-0x000000001B7A0000-0x000000001BA82000-memory.dmp

        memory/2524-15-0x0000000002720000-0x0000000002728000-memory.dmp

        memory/2544-8-0x0000000002240000-0x0000000002248000-memory.dmp

        memory/2544-7-0x000000001B660000-0x000000001B942000-memory.dmp