Defender exclusion added for TEMP, C:\ root, or .exe/.msi extensions

Detects Add-MpPreference invocations that add a Windows Defender exclusion for the TEMP folder, the C:\ root drive, or the .exe/.msi file extensions, a technique used to blind Defender ahead of malicious MSI/EXE installation.

Microsoft Sentinel (KQL)