Skip to content

Windows Event ID 6281: Code Integrity determined that the page hashes of an image file are not valid

Written when Code Integrity determines that the page hashes of an image file are not valid. It captures tampering or corruption at the level of individual pages of the file.

Overview

The subcategory is Audit System Integrity. It is generated when Code Integrity determines that the hash of a page (a small unit in memory) of a loaded image does not match the expected value. Whereas a whole-file hash mismatch is 5038, 6281 indicates a per-page mismatch.

How it is triggered

  • When, during signature verification, the hash of some page of an image is invalid.
  • It can occur for a file improperly signed without page hashes, a file modified without authorization, or a disk device error.

Security review points

  • A page-hash mismatch indicates part of the file may have been tampered with. Occurrence on a driver or system file in particular is serious. Check the file.
  • Together with whole-file hash mismatch 5038 and load denial 6410, track signs of tampered-code execution.

Notes for log review

  • It can also occur from disk corruption. Separate whether the file is a known legitimate one, corrupt, or tampered.
  • Confirm page-hash mismatches on system files and drivers at high priority.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1554 Compromise Host Software BinaryPersistencePartial tampering of a file (page hash mismatch)

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 1 public detection rule that uses this event ID as a condition.

RuleTypeSeverity
Failed Code Integrity ChecksSigmaInformational

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
File NameThe file whose page hashes were found invalid

References