Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-30190 — A proof of concept for CVE-2022-30190 (Follina). | Kitploit
Tools/GitHubGitHub/winstxnhdw/cve-2022-30190
ExploitationMalware AnalysisCommand and ControlPayload Development
GitHubwinstxnhdw/cve-2022-30190

CVE-2022-30190

A proof of concept for CVE-2022-30190 (Follina).

View Repository
2262 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-30190 (Follina)

build.yml dependabot.yml

A proof of concept (PoC) for CVE-2022-30190 (Follina).

Requirements

Victim

  • Windows 10 21H1 (equivalent/earlier)
  • Security update KB5016616 uninstalled

Attacker

  • Microsoft .NET SDK
  • Python 3.9 or later

Configuration

Edit config.xml to modify the attacker's server hostname and port number.

<host>
  <name>{ hostname }</name>
  <port>{ port }</port>
</host>

Usage

Trojan

The following Python script will build the trojan.docx file and initialise the attacker's server.

python init.py

Payload

Build the payload and remove all unnecessary binaries with the following.

dotnet publish LocalEXF

Clean

Run the following batch script to permanently delete this directory and everything in it.

.\destroy_all.bat

Important Notes

  • To execute complex PowerShell commands, like this PoC, these commands must be Base64 encoded.

  • index.html must contain at least 4096 bytes of data within the <script> tag.

  • All arguments must be used as described within href.txt.

  • Microsoft Word cannot use the index.html file to execute JavaScript. But for whatever reason, location.href works.

  • For commands that invoke long running tasks, a troubleshooter will appear when the victim loads the document. The victim can inadvertently deny the attack by cancelling the troubleshooter. Ensure that the command runtime is short.

Download Tool