CVE-2022-30190 (Follina)-Microsoft Support Diagnostic Tool Vulnerability


Microsoft Support Diagnostic Tool Vulnerability

Table of Content

  • Explain CVE-2022-30190 Microsoft Support Diagnostic Tool Vulnerability
  • How to Exploit Microsoft Support Diagnostic Tool?

Explain CVE-2022-30190 Microsoft Support Diagnostic Tool Vulnerability:

On Monday May 30, 2022, Microsoft issued CVE-2022-30190 regarding the Microsoft Support Diagnostic Tool (MSDT) in Windows vulnerability.

A remote code execution (RCE) vulnerability exists when MSDT is called using the URL protocol from a calling application such as Word. An attacker who successfully exploits this vulnerability can run arbitrary code with the privileges of the calling application. The attacker can then install programs, view, change, or delete data, or create new accounts in the context allowed by the user’s right.

How to Exploit Microsoft Support Diagnostic Tool?

Before exploiting this flaw, let me show you the release information of Microsoft Word. I use Microsoft Office Professional Plus 2013 version.

Microsoft About Page

Kali Linux : (Attacker System)

There are several exploits on GitHub related to the (MSDT) Microsoft Support Diagonist tool. I would like to prefer John Hammond GitHub page (who is a cybersecurity researcher, educator, and content creator). Let’s have a look on the image.

Copy Link: https://github.com/JohnHammond/msdt-follina.git

John Hammond Github Page

First, I will create a folder named Office-Exploit. It’s my choice, you can create a folder with any name. Then we will enter the Office-Exploit folder and clone the GitHub link.

mkdir Office-Exploit
cd Office-Exploit
git clone https://github.com/JohnHammond/msdt-follina.git
Cloing GitHub msdt-follina file

Before Exploiting (MSDT) Microsoft Support Diagnostic Tool, let’s enter the msdt-follina directory and fire the ls command. There are some files and folders but we are interested in follina.py python script.

As well as in my second pane, there is an IP address of the Kali Linux machine.

IP – Address

Before executing follina.py script, the python3 package should be installed into our system, otherwise follina.py script will raise an error. Follow the below command.

python3 follina.py

After executing the above command, a malicious file named follina.doc is generated.

New File follina.doc

follina.doc is a malicious file. We have to send this file to our target system. For that, you can use any third-party web server. But we will use the python3 HTTP server (Python3 SimpleHTTPServer is a built-in HTTP server in which you don’t have to install and configure anything).

python3 -m http.server 80
Send File Using python3 Server

Windows 10 : (Target System)

We have successfully downloaded the follina.doc malicious file from google chrome using the python3 http web server.

Download file

Let’s open follina.doc malicious file in M.S Word.

Open MicroSoft Word

As soon as I tried to open the follina.doc file from Microsoft Word, the “program compatibility troubleshooter” dialog box opened. OH MY GOD, my Windows system calculator suddenly opened.

Final Exploit

Rating: 5 out of 5.

Watch This Video: How to get Reverse Shell, And How to Compromise Fully Windows 10

Follina — Exploiting MS-MSDT 0-Day CVE-2022-30190 | Alert! Everyone Windows Hacked


Watch Youtube Video

Rating: 5 out of 5.


Recent Posts



Most Popular Posts


7 Comments

Add a Comment

Your email address will not be published. Required fields are marked *