Orphaned TempPackages/Folders registry entries surviving Config.Msi folder deletion
This rule detects potentially malicious cleanup activity following an MSI installation process. It monitors for registry value creation in installer-related keys that reference 'C:\Config.Msi', followed by the deletion of that file or directory. This pattern is often used by adversaries to stage, install, and then attempt to hide installation artifacts associated with malicious installers or MSI-based persistence mechanisms.
Microsoft Sentinel (KQL)
