Sigma rule: Failed Code Integrity Checks
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-89114ac0dfcc, updated 2025-01-19T00:00:00.000Z.
Rule
- Title
- Failed Code Integrity Checks
- Status
- stable
- Level
- informational
- Author
- Thomas Patzke
- Date
- 2019-12-03
- Modified
- 2025-01-19
- File
- rules/windows/builtin/security/win_security_codeintegrity_check_failure.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects code integrity failures such as missing page hashes or corrupted drivers due unauthorized modification. This could be a sign of tampered binaries.
Log source
- product
- windows
- service
- security
Detection
selection:
EventID:
- 5038
- 6281
filter_optional_crowdstrike:
param1|contains:
- '\CSFalconServiceUninstallTool_'
- '\Program Files\CrowdStrike\'
- '\System32\drivers\CrowdStrike\'
- '\Windows\System32\ScriptControl64_'
filter_optional_sophos:
param1|contains: '\Program Files\Sophos\'
condition: selection and not 1 of filter_optional_*False positives (as the rule lists them)
- Disk device errors
Tags
- attack.stealth
- attack.t1027.001
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-5038
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-6281
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/builtin/security/win_security_codeintegrity_check_failure.yml
Sources and licences
SigmaHQ
"Failed Code Integrity Checks" by Thomas Patzke (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_codeintegrity_check_failure.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Failed Code Integrity Checks",
entity page, dataset version ref-89114ac0dfcc, updated 2025-01-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/470ec5fa-7b4e-4071-b200-4c753100f49b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 470ec5fa-7b4e-4071-b200-4c753100f49b, 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.