Analysis

  • max time kernel
    149s
  • max time network
    269s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/05/2024, 10:25

General

  • Target
    XClient.exe
  • Size 135KB
  • Sample240531-mf5plaee9x
  • SHA256 5ae9a8a9c013cbfda9cf9dc110260eb7d1159f046b139f6c81efdeb50829a59e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 127.0.0.1:4328

  • 20.ip.gl.ply.gg:4328

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 2 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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Suspicious behavior: EnumeratesProcesses 37 IoCs
  • Suspicious use of AdjustPrivilegeToken 11 IoCs
  • Suspicious use of FindShellTrayWindow 53 IoCs
  • Suspicious use of SendNotifyMessage 53 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Checks computer location settings
    • 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:3256
    • 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:2652
    • 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:1088
    • 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:4104
    • 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:2008
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Checks processor information in registry
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:4384

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 2b139c74072ccbdaa17b950f32a6dbc934dfb7af9973d97c9b0d9c498012ba68
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 5ef1421e19fde4bc03cd825dd7d6c0e7863f85fd8f0aa4a4d4f8d555dc7606d1
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_shbb1gvy.rkq.ps1

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

        XClient.lnk

        • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk
        • Size 771B
        • SHA256 ed3ff47cd7d85987b8cc53a200032aaa3f0674c7789f371a39285404d664d9cf
        • MD5 SHA1 SHA512

        XClient.exe

        • Path C:\Users\Admin\AppData\Roaming\XClient.exe
        • Size 135KB
        • SHA256 5ae9a8a9c013cbfda9cf9dc110260eb7d1159f046b139f6c81efdeb50829a59e
        • MD5 SHA1 SHA512 SSDEEP

        memory/2652-12-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/2652-18-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/2652-17-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/2652-14-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/2652-13-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/2652-2-0x000001E660EC0000-0x000001E660EE2000-memory.dmp

        memory/3256-57-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/3256-0-0x00007FFC7C303000-0x00007FFC7C305000-memory.dmp

        memory/3256-74-0x00007FFC7C300000-0x00007FFC7CDC1000-memory.dmp

        memory/3256-73-0x00007FFC7C303000-0x00007FFC7C305000-memory.dmp

        memory/3256-1-0x0000000000100000-0x0000000000128000-memory.dmp

        memory/4384-58-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-69-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-70-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-68-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-67-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-66-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-64-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-65-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-59-0x0000023386400000-0x0000023386401000-memory.dmp

        memory/4384-60-0x0000023386400000-0x0000023386401000-memory.dmp