Sigma rule: Windows Hypervisor Enforced Code Integrity Disabled

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a19ed473d7f2, updated 2024-07-05T00:00:00.000Z.

Rule

Title
Windows Hypervisor Enforced Code Integrity Disabled
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), Anish Bogati
Date
2023-03-14
Modified
2024-07-05
File
rules/windows/registry/registry_set/registry_set_deviceguard_hypervisorenforcedcodeintegrity_disabled.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|endswith:
        - '\Control\DeviceGuard\HypervisorEnforcedCodeIntegrity'
        - '\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity\Enabled'
        - '\Microsoft\Windows\DeviceGuard\HypervisorEnforcedCodeIntegrity'
    Details: 'DWORD (0x00000000)'
condition: selection

False positives (as the rule lists them)

  • Legitimate system administration tasks that require disabling HVCI for troubleshooting purposes when certain drivers or applications are incompatible with it.

Tags

  • attack.defense-impairment
  • attack.t1685

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_deviceguard_hypervisorenforcedcodeintegrity_disabled.yml

Sources and licences

  • SigmaHQ

    "Windows Hypervisor Enforced Code Integrity Disabled" by Nasreddine Bencherchali (Nextron Systems), Anish Bogati (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_deviceguard_hypervisorenforcedcodeintegrity_disabled.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Windows Hypervisor Enforced Code Integrity Disabled",
entity page, dataset version ref-a19ed473d7f2, updated 2024-07-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8b7273a4-ba5d-4d8a-b04f-11f2900d043a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8b7273a4-ba5d-4d8a-b04f-11f2900d043a, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.