How to patch the MSDT-Vulnerability using a ".bat"-File

Moderator:MVogt

User avatar
Theo_Gottwald
Posts:340
Joined:03. Oct 2009, 08:57
Location:Herrenstr.11 * 76706 Dettenheim
Contact:
How to patch the MSDT-Vulnerability using a ".bat"-File

Post by Theo_Gottwald » 02. Jun 2022, 22:32

Ok, this is not a MPR-Script, but we will get an interesting Update for the MPR soon!

For today we need to do something against a serious safety problem in Windows and all sorts of MS-Office.
Even just receiving a (for example) a Word-File - NOT EXEN CLICKING ON IN - you can have your Computer infected by a virus!

This so called MSDT-Vulnerability uses the Microsoft diagnostic engine as an entry point to infect your computer.

Now you can wait until on Juni 22 you get an official Patch from Microsoft - but its half a month until then.
Or you disable some Microsoft Diagnostics stuff thats mostly useless anyway.

Possibly many big companies will already have done Policy Patches about this.
There is also an easy way to do this deleting some stuff in the Registry.

Here is a description in German:
MSDT-Vulnerability
MSDT-Vulnerability Fix

You need a Batch File with this content. Run it as ADMINISTRATOR.
It will place a File on your C-Drive. Using this File, you can undo the change after you have installed the Patch.

Here is the Batch-File Content you need to run it as Administrator to remove the vulnerability.

Code: Select all

reg export HKEY_CLASSES_ROOT\ms-msdt c:\msdt_backup.reg
reg delete HKEY_CLASSES_ROOT\ms-msdt /f

Post Reply

Return to “Package Robot”

Who is online

Users browsing this forum: No registered users and 1 guest