Analysis

  • max time kernel
    150s
  • max time network
    147s
  • 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, 01:08

General

  • Target
    e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe
  • Size 494KB
  • Sample240601-bg7pssda29
  • SHA256 e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51
  • 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\e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe
    "C:\Users\Admin\AppData\Local\Temp\e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:5076
    • C:\Users\Admin\AppData\Local\Temp\e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe
      "C:\Users\Admin\AppData\Local\Temp\e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.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:1140
      • 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\e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3992
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4100
      • 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:1264
      • 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:1288

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        e879f3a1cc7733303f6edebd710066dd418d78dbbc1a1393b50d4fc3d1d74b51.exe.log

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_zo4lsbt1.pd3.ps1

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

        memory/1140-127-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/1140-128-0x0000000074CE0000-0x0000000075490000-memory.dmp

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

        memory/1140-129-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/1140-13-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/1264-91-0x0000000070F50000-0x0000000070F9C000-memory.dmp

        memory/1288-112-0x0000000070F50000-0x0000000070F9C000-memory.dmp

        memory/3992-33-0x0000000005F50000-0x0000000005F9C000-memory.dmp

        memory/3992-48-0x0000000007240000-0x000000000725A000-memory.dmp

        memory/3992-16-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/3992-17-0x0000000004FF0000-0x0000000005618000-memory.dmp

        memory/3992-18-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/3992-19-0x0000000004F30000-0x0000000004F52000-memory.dmp

        memory/3992-20-0x0000000005720000-0x0000000005786000-memory.dmp

        memory/3992-21-0x0000000005790000-0x00000000057F6000-memory.dmp

        memory/3992-58-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/3992-31-0x00000000058D0000-0x0000000005C24000-memory.dmp

        memory/3992-32-0x0000000005F10000-0x0000000005F2E000-memory.dmp

        memory/3992-55-0x0000000007560000-0x0000000007568000-memory.dmp

        memory/3992-34-0x00000000064F0000-0x0000000006522000-memory.dmp

        memory/3992-35-0x0000000070F50000-0x0000000070F9C000-memory.dmp

        memory/3992-45-0x00000000070F0000-0x000000000710E000-memory.dmp

        memory/3992-46-0x0000000007110000-0x00000000071B3000-memory.dmp

        memory/3992-47-0x0000000007890000-0x0000000007F0A000-memory.dmp

        memory/3992-15-0x0000000004960000-0x0000000004996000-memory.dmp

        memory/3992-49-0x00000000072B0000-0x00000000072BA000-memory.dmp

        memory/3992-50-0x00000000074C0000-0x0000000007556000-memory.dmp

        memory/3992-51-0x0000000007440000-0x0000000007451000-memory.dmp

        memory/3992-52-0x0000000007470000-0x000000000747E000-memory.dmp

        memory/3992-53-0x0000000007480000-0x0000000007494000-memory.dmp

        memory/3992-54-0x0000000007580000-0x000000000759A000-memory.dmp

        memory/4100-70-0x0000000070F50000-0x0000000070F9C000-memory.dmp

        memory/5076-0-0x0000000074CEE000-0x0000000074CEF000-memory.dmp

        memory/5076-14-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/5076-9-0x0000000006E10000-0x0000000006E66000-memory.dmp

        memory/5076-8-0x0000000006BE0000-0x0000000006BF0000-memory.dmp

        memory/5076-7-0x0000000008360000-0x0000000008378000-memory.dmp

        memory/5076-5-0x0000000005C10000-0x0000000005CAC000-memory.dmp

        memory/5076-6-0x0000000074CE0000-0x0000000075490000-memory.dmp

        memory/5076-4-0x0000000005910000-0x000000000591A000-memory.dmp

        memory/5076-3-0x0000000005980000-0x0000000005A12000-memory.dmp

        memory/5076-2-0x0000000005F30000-0x00000000064D4000-memory.dmp

        memory/5076-1-0x0000000000E90000-0x0000000000F12000-memory.dmp