Windows Defender Context Menu Removed
Detects the use of reg.exe or PowerShell to delete the Windows Defender context menu handler registry keys. This action removes the "Scan with Microsoft Defender" option from the right-click menu for files,…
Description
Detects the use of reg.exe or PowerShell to delete the Windows Defender context menu handler registry keys. This action removes the "Scan with Microsoft Defender" option from the right-click menu for files, directories, and drives. Attackers may use this technique to hinder manual, on-demand scans and reduce the visibility of the security product.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- May be part of a system customization or "debloating" script, but this is highly unusual in a managed corporate environment.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| blog.malwarebytes.com/malwarebytes-news/2021/02/lazyscripter-from-empire-to-double-rat/ | 11from 2 sources |
| research.splunk.com/endpoint/395ed5fe-ad13-4366-9405-a228427bdd91/ | 2 |
| thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/ | 25from 3 sources |
| winaero.com/how-to-delete-scan-with-windows-defender-from-context-menu-in-windows-10/ | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- b9e8c7d6-a5f4-4e3d-8b1a-9f0c8d7e6a5b
- Tagged by the source as
- attack.defense-impairment
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1