Analysis

  • max time kernel
    146s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    01/12/2024, 19:33

General

  • Target
    415abd7fb89262dc08b47ed0e322ba556b764f331d33e6b96da9aa3bd16c985b.exe
  • Size 540KB
  • Sample241201-x9hf9strbr
  • SHA256 415abd7fb89262dc08b47ed0e322ba556b764f331d33e6b96da9aa3bd16c985b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 127.0.0.1:446

  • Azuu-57677.portmap.io:446

  • remember-sail.gl.at.ply.gg:446

Attributes
  • Install_directory

    %Public%

  • install_file

    usb.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • 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.

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

  • System Location Discovery: System Language Discovery 1 TTPs 3 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 27 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\415abd7fb89262dc08b47ed0e322ba556b764f331d33e6b96da9aa3bd16c985b.exe
    "C:\Users\Admin\AppData\Local\Temp\415abd7fb89262dc08b47ed0e322ba556b764f331d33e6b96da9aa3bd16c985b.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      cmd /c ""C:\Users\Admin\AppData\Local\Temp\RarSFX0\Start.bat" "
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:1956
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\XClient.sfx.exe
        XClient.sfx -pPASSWORD123 -dC:\Users\Admin\AppData\Local\Temp
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2740
        • C:\Users\Admin\AppData\Local\Temp\RarSFX1\XClient.exe
          "C:\Users\Admin\AppData\Local\Temp\RarSFX1\XClient.exe"
          4⤵
          • Drops startup file
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious behavior: AddClipboardFormatListener
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:2796
          • 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\RarSFX1\XClient.exe'
            5⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2284
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
            5⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:112
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\Windows Config'
            5⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2920
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Windows Config'
            5⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:796
          • C:\Windows\System32\schtasks.exe
            "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Windows Config" /tr "C:\Users\Public\Windows Config"
            5⤵
            • Scheduled Task/Job: Scheduled Task
            PID:1816
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {4091FDB5-4CB1-4031-8B08-51F098448ECC} S-1-5-21-3063565911-2056067323-3330884624-1000:KHBTHJFA\Admin:Interactive:[1]
    1⤵
      PID:1948

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Start.bat

          • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\Start.bat
          • Size 35B
          • SHA256 0717a134d4bcc4116eee03f99d43a586fc7e4c8f16dc617902d00dc749e51260
          • MD5 SHA1 SHA512

          XClient.sfx.exe

          • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\XClient.sfx.exe
          • Size 369KB
          • SHA256 e684b529eedd6e07daf93423968bf678e2f7d00551f6f1b102fd40c673c850b0
          • MD5 SHA1 SHA512 SSDEEP

          590aee7bdd69b59b.customDestinations-ms

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

          XClient.exe

          • Path \Users\Admin\AppData\Local\Temp\RarSFX1\XClient.exe
          • Size 86KB
          • SHA256 372b722cc184b630de6b03a647b91164006fabdffe3735b22c1d03b8c67d29b2
          • MD5 SHA1 SHA512 SSDEEP

          memory/112-48-0x000000001B660000-0x000000001B942000-memory.dmp

          memory/112-49-0x0000000002710000-0x0000000002718000-memory.dmp

          memory/2284-41-0x000000001B7E0000-0x000000001BAC2000-memory.dmp

          memory/2284-42-0x0000000001F00000-0x0000000001F08000-memory.dmp

          memory/2796-36-0x0000000000D80000-0x0000000000D9C000-memory.dmp