Detectionhightest
Windows Hypervisor Enforced Code Integrity Disabled
Detects changes to the HypervisorEnforcedCodeIntegrity registry key and the "Enabled" value being set to 0 in order to disable the Hypervisor Enforced Code Integrity feature. This allows an attacker to load unsigned and untrusted code to be run in the kernel
Nasreddine Bencherchali, Anish BogatiCreated 2023-03-14Updated 2024-07-058b7273a4-ba5d-4d8a-b04f-11f2900d043awindows
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic1 selector
detection:
selection:
TargetObject|endswith:
- '\Control\DeviceGuard\HypervisorEnforcedCodeIntegrity'
- '\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity\Enabled'
- '\Microsoft\Windows\DeviceGuard\HypervisorEnforcedCodeIntegrity'
Details: 'DWORD (0x00000000)'
condition: selectionFalse Positives
Legitimate system administration tasks that require disabling HVCI for troubleshooting purposes when certain drivers or applications are incompatible with it.
Testing & Validation
Simulations
atomic-red-teamT1562.001
View on ARTDisable Hypervisor-Enforced Code Integrity (HVCI)
GUID: 70bd71e6-eba4-4e00-92f7-617911dbe020
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
8b7273a4-ba5d-4d8a-b04f-11f2900d043a
Status
test
Level
high
Type
Detection
Created
2023-03-14
Modified
2024-07-05
Path
rules/windows/registry/registry_set/registry_set_deviceguard_hypervisorenforcedcodeintegrity_disabled.yml
Raw Tags
attack.defense-impairmentattack.t1685