A Command Line based python tool for exploit Zero-Day vulnerability in MSDT (Microsoft Support Diagnostic Tool) also know as 'Follina' CVE-2022-30190.
Info : New Microsoft Office zero-day used in attacks to execute PowerShell
Made In Python(3.10.4)
- Execute malicious Command in Victim Device.
- Take ReverseShell (NetCat).
- Zero Click RTF included for .rtf files.
New
- pyfiglet
- Clone Repository
https://github.com/Hrishikesh7665/Follina_Exploiter_CLI.git
-
Or
-
Download Repository
Direct Download Zip
Click Here
For Linux
- Install Required Module
pip3 install pyfiglet
Single Line Command
git clone https://github.com/Hrishikesh7665/Follina_Exploiter_CLI.git && pip3 install pyfiglet
- Run
python3 "follinaExploiter.py"
For Windows
- Install Required Module
pip install pyfiglet
- Run
python "follinaExploiter.py"
The vulnerability is being exploited by using the MSProtocol URI scheme to load some code. Attackers could embed malicious links inside Microsoft Office documents, templates or emails beginning with ms-msdt: that will be loaded and executed afterward without user interaction
- except if the Protected View mode is enabled. Nevertheless, converting the document to the RTF format could also bypass the Protected View feature.
MS Office docx files may contain external OLE Object references as HTML files. There is an HTML scheme "ms-msdt:" which invokes the msdt diagnostic tool, what is capable of executing arbitrary code (specified in parameters).
Show Details
If you also add these elements under the <o:OLEObject>
element in word/document.xml
<o:LinkType>EnhancedMetaFile</o:LinkType>
<o:LockedField>false</o:LockedField>
<o:FieldCodes>\f 0</o:FieldCodes>
then it'll work as RTF also (open the resulting docx and save it as RTF).
With RTF, there is no need to open the file in Word, it is enough to browse to the file and have a look at it in a preview pane. The preview pane triggers the external HTML payload and RCE is there without any clicks.
Warning
It Is End User's Responsibility to Obey All the Applicable Laws.
Follina Exploitation Code originally invented by John Hamond
Peace ✌️