Skip to content
Sign In

win:security 5038

Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.

Log source
Windows Security event log
Host type
Windows (workstation, member server, domain controller)
How to enable
Advanced Audit Policy: System > Audit System Integrity
Audit category
System
Audit subcategory
Audit System Integrity
Tier, host type
Recommended
Techniques
0
Rules depending on it
Sigma 1

Why this tier

DISA STIG (server); DISA STIG (workstation); Microsoft Appendix L Medium; Microsoft audit baseline (dc); Microsoft audit baseline (server); Microsoft audit baseline (workstation); NSA

By role

RoleTierBasis
Windows workstationRecommendedDISA STIG (workstation); Microsoft Appendix L Medium; Microsoft audit baseline (workstation); NSA
Windows member serverRecommendedDISA STIG (server); Microsoft Appendix L Medium; Microsoft audit baseline (server); NSA
Windows domain controllerRecommendedDISA STIG (server); Microsoft Appendix L Medium; Microsoft audit baseline (dc); Microsoft audit baseline (server); NSA
Windows web server (IIS), internet-facingRecommendedDISA STIG (server); Microsoft Appendix L Medium; Microsoft audit baseline (server); NSA

Techniques it helps detect

No ATT&CK analytic names this event. Its standing comes from the standards and rules below.

Rules that depend on it

Sigma 1

Standards and guidance naming it

RequirementRelationBasis
DISA STIG: Advanced audit policy requirementsMicrosoft Windows 11 V2R11 (2026-10-05)Names this eventWN11-AU-000155 (workstation): Audit System Integrity Failure
DISA STIG: Advanced audit policy requirementsMicrosoft Windows 11 V2R11 (2026-10-05)Names this eventWN11-AU-000160 (workstation): Audit System Integrity Success
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2022 V2R11Names this eventWN22-AU-000380 (server): Audit System Integrity Success
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2022 V2R11Names this eventWN22-AU-000390 (server): Audit System Integrity Failure
DISA STIG: Advanced audit policy requirementsMicrosoft Windows 10 V3R6 (2026-01-23)Names this eventWN10-AU-000155 (workstation): Audit System Integrity Failure
DISA STIG: Advanced audit policy requirementsMicrosoft Windows 10 V3R6 (2026-01-23)Names this eventWN10-AU-000160 (workstation): Audit System Integrity Success
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2019 V3R9 (2026-07-10)Names this eventWN19-AU-000380 (server): Audit System Integrity Success
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2019 V3R9 (2026-07-10)Names this eventWN19-AU-000390 (server): Audit System Integrity Failure
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2025 V1R1 (2026-02-27)Names this eventWN25-AU-000380 (server): Audit System Integrity Success
DISA STIG: Advanced audit policy requirementsMicrosoft Windows Server 2025 V1R1 (2026-02-27)Names this eventWN25-AU-000390 (server): Audit System Integrity Failure
NSA: Recommended Windows events to forwardEvent Forwarding Guidance (RecommendedEvents.csv)Names this eventKernel Driver Signing: Detected an invalid image hash of a file
Microsoft: Events to monitor with potential criticalityAppendix L: Events to Monitor (Windows Server AD DS best practices)Names this eventpotential criticality Medium: Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.

Dataset version 0.5.3, built 2026-11-08, from public sources only. Vendor rule names, requirement text and ATT&CK content are reproduced as published; the links between them are the authors' analysis. See the references for each source, its version and its license.