Initial Access Suite, Phishing Toolkit, Evasion Hardening
Initial Access Payload Generators
Six new payload generators for initial access delivery, all accessible from the CLI (generate), API, and Web UI:
- LNK (Shortcut) — MS-SHLLINK binary built from scratch (no COM dependency). Four execution methods: direct, PowerShell, rundll32, mshta. Argument padding hides real command-line in Properties dialog. Machine metadata stripped from extra data blocks
- ISO/IMG (Disk Image) — genisoimage-based container with optional embedded LNK and decoy document. Files inside bypass Mark-of-the-Web on Windows 10 and older Win11 builds
- HTML Smuggling — XOR + AES-CBC client-side decoding with three social engineering templates. Polymorphic JS variable names per generation. Payload materializes only in the browser, bypassing email gateway inspection
- MSI (Windows Installer) — WiX XML + wixl compilation with CustomAction deferred async execution. Configurable product name, publisher, icon. Supports silent install via
msiexec /quiet - Search-Order Hijack DLL — Proxy DLLs for hijackable paths in enterprise software. Naked asm jump trampolines with .def export forwarding. Zero windows.h dependency. Doubles as persistence
- URL/WebDAV — InternetShortcut files pointing to WebDAV-hosted payloads with icon spoofing. Single click loads remote payloads without a download dialog
WebDAV Payload Server
Built-in WebDAV server for hosting payloads via HTTP, with automatic NTLM hash capture:
- NTLMv1/v2 challenge/response extraction in hashcat format
- Captured hashes logged to EventLogger and stored in CredentialStore
- Disabled by default — explicit
webdav startrequired
Phishing Campaign Manager
Integrated email campaign management — a lightweight GoPhish alternative built into Krait:
- Campaign workflow — create campaigns with HTML templates, import targets from CSV, send via any SMTP server
- Template variables —
{{name}},{{company}},{{link}},{{tracking_pixel}}plus any custom CSV column - Five-stage funnel tracking — pending → sent → opened → clicked → executed, with per-target breakdown
- Batch sending — configurable batch size and delay to avoid SMTP throttling
- Execution correlation — agent check-in IPs matched against clicked targets for end-to-end visibility
- Web UI dashboard — campaign list with funnel progress bars, target tables, start/pause/delete controls
Landing Page Cloner
Clone target websites for credential harvesting, served through Krait’s embedded HTTP server:
- One-command cloning —
phish clone <url>scrapes HTML, CSS, JS, images and rewrites all URLs to self-contained relative paths - Credential capture — form submissions intercepted, username/password extracted with smart field detection, full POST body stored. Target gets a transparent 302 redirect to the real site
- Payload injection —
--inject-download <url>triggers a file download after 2-second delay on the cloned page - Multi-clone serving — multiple clones on different paths simultaneously (
/login,/portal,/vpn) - Visit tracking — IP, User-Agent, timestamps logged per page view
- Web UI — create form, clone table with visit/cred counts, server start/stop controls
Evasion Hardening
Four new evasion techniques from the Sektor7 Evasive DLL Payload Loader course:
- Unhooking Without RWX (
--unhook-norwx) — Map clean DLL copies from\KnownDlls\section objects via direct syscall stubs. Overwrites hooked .text sections for ntdll, kernel32, and kernelbase. Stub page freed after init — no persistent RWX allocations - Injection by Chunking (
--chunk-inject) — Per-page reserve/commit/protect instead of single large allocation. Each 4096-byte commit blends into normal heap/stack growth, evading ETW VirtualMemory size-threshold filters - win32u.dll Syscall Gadgets (
--win32u-gadgets) — Sourcesyscall; retinstruction sequences from win32u.dll instead of ntdll. Per-stub gadget rotation between both DLLs. Return addresses point into win32u.dll, defeating EDR ntdll return-address heuristics - Thread Pool Execution (
--threadpool-exec) —CreateThreadpoolWorkreplaces CreateThread as the payload trigger. Poll thread runs on a Windows thread pool worker with a legitimatentdll!TppWorkpExecutecall stack
All four compose independently with existing evasion flags and are included in --all-evasion.
Custom AES (ctaes)
Standalone C AES-256-CBC implementation replacing CryptoAPI for stager payload decryption:
- Pure C implementation — zero bcrypt.dll/advapi32.dll imports, bypasses CryptoAPI hooks entirely
- Separate AES template variants for EXE and DLL stagers across Windows, Linux, and macOS
- Auto-template selection — server picks AES vs XOR stager template based on staged encryption type
- Web UI integration with AES checkbox on the stage payload section
macOS BOFs
Three new Apple-native BOFs bringing the macOS total to 104:
- keychain-dump — Security.framework
SecItemCopyMatchingfor passwords, certificates, and keys - tcc-check — TCC database read for app permission audit
- gatekeeper-enum — Gatekeeper status, SIP status, quarantine attribute inspection
Infrastructure
GeneratorRegistry+GeneratorBaseabstract class for extensible payload generation- API endpoints for all new features:
/api/generate/*,/api/payloads/*,/api/webdav/*,/api/phish/*,/api/clone/* - CLI commands:
generate,payloads,webdav,phish, with full tab completion - Web UI pages for payload generation, phishing campaigns, and landing page cloning
- BOF count: 440 (217 Windows + 119 Linux + 104 macOS)
Evasion Flag Count
25 evasion flags now available, up from 19 in v3.0.0:
| New Flag | Description |
|---|---|
--unhook-norwx | \KnownDlls\ clean copy unhooking |
--chunk-inject | Per-page allocation injection |
--win32u-gadgets | win32u.dll syscall gadget source |
--threadpool-exec | Thread pool execution trigger |
--custom-aes | Standalone C AES-256-CBC stager decryption |