Skip to content
WETNav
SecuritySystem

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

Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized modification.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
Low
Audit subcategory
System Integrity
Needs a SACL
No

To have this event

  • Enable System Integrity: auditpol /set /subcategory:"System Integrity" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

FileNameBufferFull path to the file
ProcessNameBufferProcess attempting to load the file
PageHashHash of the invalid page
Have one of these events? Paste it into the decoder

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=6281)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 6281 mean?
Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized modification. It is written to the Windows Security log (Security).
Is event 6281 logged by default?
Yes, a default Windows installation records it. It is controlled by the "System Integrity" Advanced Audit Policy subcategory (System).

Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized modification. Needs the "System Integrity" audit subcategory.