Windows System Event: 5038

Active Directory Auditing Tool

The Who, Where and When information is very important for an administrator to have complete knowledge of all activities that occur on their Active Directory. This helps them identify any desired / undesired activity happening. ADAudit Plus assists an administrator with this information in the form of reports. In real-time, ensure critical resources in the network like the Domain Controllers are audited, monitored and reported with the entire information on AD objects - Users, Groups, GPO, Computer, OU, DNS, AD Schema and Configuration changes with 200+ detailed event specific GUI reports and email alerts.

System Event » Windows System Event: 5038

Event ID 5038-Code integrity determined that the image hash of a file is not valid.

Description Code integrity determined that the image hash of a file is not valid. A code integrity feature is generated if the signature of a file is invalid.
Category System
Subcategory System integrity


  • Code Integrity is a feature that improves the security of the operating system by validating the integrity of a driver or system file each time it is loaded into memory.
  • Code Integrity detects whether an unsigned driver or system file is being loaded into the kernel, or whether a system file has been modified by malicious software that is being run by a user account with administrative permissions.
  • On x64-based versions of the operating system, kernel-mode drivers must be digitally signed.

The event logs the following information:

File name: %filepath\filename%

Reasons to monitor event:

  • The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.
  • We recommend monitoring this event, especially on high value assets or computers, because it can be a sign of a software or configuration issue, or a malicious action.

Event 5038 applies to the following operating systems:

  • Windows Server 2008 R2 and 7
  • Windows Server 2012 R2 and 8.1
  • Windows Server 2016 and 10