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-2022-30190_Temporary_Fix_Source_Code — These are the source codes of the Python scripts to apply the temporary protection against the CVE-2022-30190 vulnerability (Follina) | Kitploit
Tools/GitHubGitHub/jotaqc/cve-2022-30190_temporary_fix_source_code
Defensive ToolsVulnerability AnalysisExploitationConfiguration AuditingMisconfigurationIncident ResponseArchived
GitHubjotaqc/cve-2022-30190_temporary_fix_source_code

CVE-2022-30190_Temporary_Fix_Source_Code

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

These are the source codes of the Python scripts to apply the temporary protection against the CVE-2022-30190 vulnerability (Follina)

View Repository
14 years agoNot yet reviewed

🩹CVE-2022-30190 Temporary Fix🩹 (Source Code)

These are the source codes of two Python scripts compiled to easily and quickly apply temporary protection against the CVE-2022-30190 vulnerability (Follina)

Both can be programmed better, but this is just to implement it as quickly as possible and I did it without much Python knowledge, but the important part is... it works! Hehe

What do these '.exe' files do?:

Step by step ('CVE-2022-30190_temp-fix.py' [CVE-2022-30190_temp-fix.exe]):

  1. Backs up the registry key 'HKEY_CLASSES_ROOT\ms-msdt'.
  2. Deletes the registry key 'HKEY_CLASSES_ROOT\ms-msdt'.
  3. Creates a new registry key 'DWORD' with a value of '0' to enable a 'Local Group Policy' at the path 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnostics' called 'EnableDiagnostics' (This registry key sets the policy called 'Troubleshooting: Allow users to access and run troubleshooting wizards.' as 'Disabled', located at 'Computer Configuration/Policies/Administrative Templates/System/Troubleshooting and Diagnostics/Scripted Diagnostics').

Step by step ('CVE-2022-30190_back-to-normal.py' [revert_changes.exe]):

  1. Restores the registry key 'HKEY_CLASSES_ROOT\ms-msdt'.
  2. Deletes '.reg' file used to restore it.
  3. Deletes the registry key which was created before to enable a 'Local Group Policy'.

How to use them:

  • Run 'CVE-2022-30190_temp-fix.exe' as administrator, that's all.

  • Do not delete the '.reg' file generated because you will need it in the future when Microsoft fixes this vulnerability.

  • If you want to undo all changes made, you just have to run 'revert_changes.exe' as administrator.

My antivirus detected it as a threat?:

In most cases it will detected by the AV as a threat, so you can add an exception or just disable it for a moment, this is because none of the '.exe' files are signed.

This vulnerability has been fixed by Microsoft:

Here are the links to the updates:

  • For Windows 10: 2022-06 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5014699)
  • For Windows 11: 2022-06 Cumulative Update for Windows 11 for x64-based Systems (KB5014697)
Download Tool