Analysis

  • max time kernel
    149s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    08/06/2024, 18:13

General

  • Target
    02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85.exe
  • Size 65KB
  • Sample240608-wt6ngsfa56
  • SHA256 02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 127.0.0.1:8848

  • mb-each.gl.at.ply.gg:8848

Attributes
  • Install_directory

    %LocalAppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 3 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Detects Windows executables referencing non-Windows User-Agents 3 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.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 2 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 5 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\02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85.exe
    "C:\Users\Admin\AppData\Local\Temp\02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85.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:1756
    • 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\02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2572
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2692
    • 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\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2512
    • 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:776
    • 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\Local\XClient.exe"
      2⤵
      • Creates scheduled task(s)
      PID:2976
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {25AA6F7C-2E2A-4F4F-87F4-AD4F606D5104} S-1-5-21-2297530677-1229052932-2803917579-1000:HKULBIBU\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1696
    • C:\Users\Admin\AppData\Local\XClient.exe
      C:\Users\Admin\AppData\Local\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2312
    • C:\Users\Admin\AppData\Local\XClient.exe
      C:\Users\Admin\AppData\Local\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:448

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        XClient.exe

        • Path C:\Users\Admin\AppData\Local\XClient.exe
        • Size 65KB
        • SHA256 02b66e1529ad66316c48c1da16afddd79f8c526de0acc5937b590bde73fd4a85
        • MD5 SHA1 SHA512 SSDEEP

        DYPNO0P68ET5PL97N5Z0.temp

        • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\DYPNO0P68ET5PL97N5Z0.temp
        • Size 7KB
        • SHA256 3a5a8e1c847025ecff4e9c8ac2125a8ef7af8f70d437fb55b9740eb53086aabc
        • MD5 SHA1 SHA512 SSDEEP

        memory/1756-31-0x000007FEF5573000-0x000007FEF5574000-memory.dmp

        memory/1756-2-0x000007FEF5570000-0x000007FEF5F5C000-memory.dmp

        memory/1756-0-0x000007FEF5573000-0x000007FEF5574000-memory.dmp

        memory/1756-32-0x000007FEF5570000-0x000007FEF5F5C000-memory.dmp

        memory/1756-1-0x0000000000F20000-0x0000000000F36000-memory.dmp

        memory/2312-36-0x00000000013B0000-0x00000000013C6000-memory.dmp

        memory/2572-7-0x0000000002C20000-0x0000000002CA0000-memory.dmp

        memory/2572-8-0x000000001B600000-0x000000001B8E2000-memory.dmp

        memory/2572-9-0x0000000001E10000-0x0000000001E18000-memory.dmp

        memory/2692-16-0x0000000001E90000-0x0000000001E98000-memory.dmp

        memory/2692-15-0x000000001B610000-0x000000001B8F2000-memory.dmp