Analysis

  • max time kernel
    69s
  • max time network
    71s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-11-2024 21:10

General

  • Target

    XClient.exe

  • Size

    171KB

  • MD5

    e897e677766711e9b467f0765b1704d9

  • SHA1

    9c4f70c61b538d82f4c6d47deb4fd9d0c4adf2b0

  • SHA256

    c452cbd1ba250f9e63e1d277259783b8dede810426b21b2e91762c9a02702990

  • SHA512

    19a7e0e2ed7da78da5802202a1e0814e12217540797e282ee18f5d2a7f25b8d8bbea2f1ed53fabba6a2bb6dae4fd46051e989ffae2cf4b02cbe02b7c356e1293

  • SSDEEP

    3072:JBAzYQ+bIoFbuluYOOf7h3Bz65/M6If+3Js+3JFkKeTno:J+zmbLc77h3xBt25

Malware Config

Extracted

Family

xworm

C2

127.0.0.1:39377

79.127.146.115:39377

Attributes
  • Install_directory

    %AppData%

  • install_file

    registry.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.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

  • 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: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 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\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 FindShellTrayWindow
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4836
    • 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:3304
    • 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:2336
    • 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\registry.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:812
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'registry.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4472
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "registry" /tr "C:\Users\Admin\AppData\Roaming\registry.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4940
  • C:\Windows\system32\AUDIODG.EXE
    C:\Windows\system32\AUDIODG.EXE 0x244 0x41c
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:3724
  • C:\Users\Admin\AppData\Roaming\registry.exe
    C:\Users\Admin\AppData\Roaming\registry.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3840

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    d85ba6ff808d9e5444a4b369f5bc2730

    SHA1

    31aa9d96590fff6981b315e0b391b575e4c0804a

    SHA256

    84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

    SHA512

    8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    77d622bb1a5b250869a3238b9bc1402b

    SHA1

    d47f4003c2554b9dfc4c16f22460b331886b191b

    SHA256

    f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb

    SHA512

    d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    34f595487e6bfd1d11c7de88ee50356a

    SHA1

    4caad088c15766cc0fa1f42009260e9a02f953bb

    SHA256

    0f9a4b52e01cb051052228a55d0515911b7ef5a8db3cf925528c746df511424d

    SHA512

    10976c5deaf9fac449e703e852c3b08d099f430de2d7c7b8e2525c35d63e28b890e5aab63feff9b20bca0aaf9f35a3ba411aee3fbeee9ea59f90ed25bd617a0b

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    15dde0683cd1ca19785d7262f554ba93

    SHA1

    d039c577e438546d10ac64837b05da480d06bf69

    SHA256

    d6fa39eab7ee36f44dc3f9f2839d098433db95c1eba924e4bcf4e5c0d268d961

    SHA512

    57c0e1b87bc1c136f0d39f3ce64bb8f8274a0491e4ca6e45e5c7f9070aa9d9370c6f590ce37cd600b252df2638d870205249a514c43245ca7ed49017024a4672

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_m3245wug.vba.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    171KB

    MD5

    e897e677766711e9b467f0765b1704d9

    SHA1

    9c4f70c61b538d82f4c6d47deb4fd9d0c4adf2b0

    SHA256

    c452cbd1ba250f9e63e1d277259783b8dede810426b21b2e91762c9a02702990

    SHA512

    19a7e0e2ed7da78da5802202a1e0814e12217540797e282ee18f5d2a7f25b8d8bbea2f1ed53fabba6a2bb6dae4fd46051e989ffae2cf4b02cbe02b7c356e1293

  • memory/3304-12-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3304-17-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3304-14-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3304-13-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3304-4-0x000001FCE75F0000-0x000001FCE7612000-memory.dmp

    Filesize

    136KB

  • memory/4836-0-0x00007FFA105F3000-0x00007FFA105F5000-memory.dmp

    Filesize

    8KB

  • memory/4836-56-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/4836-57-0x00007FFA105F0000-0x00007FFA110B1000-memory.dmp

    Filesize

    10.8MB

  • memory/4836-58-0x000000001DAA0000-0x000000001DAAC000-memory.dmp

    Filesize

    48KB

  • memory/4836-59-0x0000000002AE0000-0x0000000002AEA000-memory.dmp

    Filesize

    40KB

  • memory/4836-1-0x0000000000980000-0x00000000009B0000-memory.dmp

    Filesize

    192KB

  • memory/4836-66-0x000000001BDF0000-0x000000001BDFA000-memory.dmp

    Filesize

    40KB