Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240419-en
  • resource tags

    arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-x64system
  • submitted
    31-05-2024 02:32

General

  • Target

    c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783.exe

  • Size

    276KB

  • MD5

    9f14aa0555e80190fe99817d0b3ae058

  • SHA1

    d5b77274a0d5cb8a3b17d12b26e8fb48914c6d98

  • SHA256

    c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783

  • SHA512

    88ea107c23eb017d8dae25d57402a11ccc2660d4860259f40820676aebeef1df920e25d1280eeca5cc24a249d8f654211c752c7ed64399f5d07ef160c6c238e7

  • SSDEEP

    6144:zrMRFSb7IdaHvbp/yYtgE6dWltqvMJAF0tWcTPEt8:HMrSbcdgd6YtgP0iU78

Malware Config

Extracted

Family

xworm

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

  • pastebin_url

    https://pastebin.com/raw/819HpC9S

Signatures

  • Detect Xworm Payload 5 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Detects Windows executables referencing non-Windows User-Agents 5 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 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 5 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 9 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 24 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\c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783.exe
    "C:\Users\Admin\AppData\Local\Temp\c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783.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:1704
    • 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\c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2656
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2704
    • 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: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:1196
    • 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:2896
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {9A973574-8FF8-4F97-AF05-CDBC76B81472} S-1-5-21-481678230-3773327859-3495911762-1000:UIBNQNMA\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1760
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1640
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1968
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      C:\Users\Admin\AppData\Roaming\XClient.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:796

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

    Filesize

    7KB

    MD5

    cc6d4596989f38fed8e7e4fed43f70c0

    SHA1

    2d32d6f5fe2431fc91328628ce86fcfcefcd4f28

    SHA256

    d4c7f07f9fb15c7055bec075933c4c450f5be729ea1ea49ba6f8ed29a929ffe0

    SHA512

    282bec1f6ff0dd60381a56fb1b39d02c645731c152d85070143e1f2031975ed75a36aab46940c60b83650ca50223f54ee475df2c73334574f14c7ae2ea53db88

  • C:\Users\Admin\AppData\Roaming\XClient.exe

    Filesize

    276KB

    MD5

    9f14aa0555e80190fe99817d0b3ae058

    SHA1

    d5b77274a0d5cb8a3b17d12b26e8fb48914c6d98

    SHA256

    c1130543ef2f5093477fc0f719d889445cbddf096494122a64f268aeb9a2d783

    SHA512

    88ea107c23eb017d8dae25d57402a11ccc2660d4860259f40820676aebeef1df920e25d1280eeca5cc24a249d8f654211c752c7ed64399f5d07ef160c6c238e7

  • \??\PIPE\srvsvc

    MD5

    d41d8cd98f00b204e9800998ecf8427e

    SHA1

    da39a3ee5e6b4b0d3255bfef95601890afd80709

    SHA256

    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

    SHA512

    cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

  • memory/796-43-0x00000000012F0000-0x000000000133A000-memory.dmp

    Filesize

    296KB

  • memory/1640-36-0x0000000000F80000-0x0000000000FCA000-memory.dmp

    Filesize

    296KB

  • memory/1704-1-0x0000000000160000-0x00000000001AA000-memory.dmp

    Filesize

    296KB

  • memory/1704-2-0x000007FEF5A50000-0x000007FEF643C000-memory.dmp

    Filesize

    9.9MB

  • memory/1704-0-0x000007FEF5A53000-0x000007FEF5A54000-memory.dmp

    Filesize

    4KB

  • memory/1704-38-0x000007FEF5A50000-0x000007FEF643C000-memory.dmp

    Filesize

    9.9MB

  • memory/1704-37-0x000007FEF5A53000-0x000007FEF5A54000-memory.dmp

    Filesize

    4KB

  • memory/1968-41-0x00000000012B0000-0x00000000012FA000-memory.dmp

    Filesize

    296KB

  • memory/2656-8-0x000000001B590000-0x000000001B872000-memory.dmp

    Filesize

    2.9MB

  • memory/2656-9-0x0000000002690000-0x0000000002698000-memory.dmp

    Filesize

    32KB

  • memory/2656-7-0x0000000002A10000-0x0000000002A90000-memory.dmp

    Filesize

    512KB

  • memory/2704-16-0x0000000002250000-0x0000000002258000-memory.dmp

    Filesize

    32KB

  • memory/2704-15-0x000000001B6D0000-0x000000001B9B2000-memory.dmp

    Filesize

    2.9MB