Fileless Malware Loader (PowerShell)
Versionv2.1
Updated2026-10-19
CategoryMalware Development

Fileless Malware Loader (PowerShell)

$49.99

PowerShell Fileless Loader — In-Memory Execution

PowerShell loader that downloads and executes payloads entirely in memory: nothing touches disk. v2.1 fixed the AMSI patch for 32-bit PowerShell and completed the native PE mapping engine.

  • Download cradles: IEX(IWR), Net.WebClient, HttpClient with automatic fallback chain.
  • AMSI bypass: AmsiScanBuffer patch with architecture-correct stubs — x86 uses ret 16 (stdcall cleanup), x64 uses ret; the right stub is selected at runtime.
  • .NET assembly execution: [Assembly]::Load() from byte array.
  • Shellcode runner: VirtualAlloc + Marshal.Copy + CreateThread.
  • Reflective PE: manual mapping with base relocation application (HIGHLOW/DIR64), import directory resolution (name and ordinal thunks), per-section memory protection (R/RW/RX) and a PE Machine check against the PowerShell process.
  • Obfuscation: dynamic string construction, no hardcoded signatures.

Known limits (documented): TLS callbacks are not re-run; sections mapped at the preferred base skip relocation.

Key Features

  • Fully in-memory download + execution: IWR, WebClient, HttpClient with auto-fallback
  • AMSI bypass (AmsiScanBuffer patch) with correct stubs for x86 (ret 16) AND x64 (ret)
  • .NET assembly execution via Assembly::Load
  • Shellcode runner: VirtualAlloc + Marshal.Copy + CreateThread
  • Reflective PE loading with base relocations (HIGHLOW/DIR64) and import resolution (name + ordinal thunks)
  • Per-section memory protection (R/RW/RX) after mapping
  • Architecture check between PE and PowerShell process
  • Dynamic string construction, no hardcoded signatures

Requirements

  • Windows PowerShell 5+ or PowerShell Core
  • Network access to the payload URL

Changelog

  • 2.1 (2026-10-19): AMSI patch fixed for x86 (stdcall ret 16), complete PE mapping (relocations + imports + section protection); parse-verified with pwsh
  • 2.0 (2025-03-25): store release

Package Contents

Exact contents of the download archive (2 files):

README.md 2,173 B
loader.ps1 24,534 B