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.
File Name: symamsi64.dll
This is one of several hooks used to monitor the OS level operations for behavior monitoring to assist with protection from ransomware, zer0-days, slow infectors and assist with machine learning detections and tuning.
The DLL monitors various calls that can help stop droppers from living off the land attempts, memory hallowing, process jumping etc to keep normal Windows operations from being hijacked or used to output malware code.
Symantec Endpoint Security
Windows uses Signing Levels to enforce system security and control which AMSI provider can load into which processes. The binary (symamsi64.dll) is signed at Level 8, meaning Windows allows it to load into AM-PPL processes, but not OS-protected processes which are Signing Level 11 or higher.
When an OS-protected process attempts to run a script or macro Windows attempts to load symamsi64.dll, and code integrity checks are run. This generates the Windows Security Event log error. This process is managed natively by the Windows operating system, which dictates the loading sequence and integrity requirements for all AMSI providers.
This is an expected behavior controlled and enforced by Microsoft. The event indicates that Windows is functioning as currently designed by preventing a lower-level signed DLL from loading into a highly protected OS process.
SEP 16 (Endpoint Security Agent) functionality is not impacted.
You can disable the logging of these Events in Windows, or set the Windows Logs to auto-rotate
Option 1: Disable the Code Integrity events
Additionally, if concerns over the number of events, or a Failed login due to the log being full, you can set the log to auto-rotate.
Option 2: Configure "Maximum Log Size" and "Overwrite events as needed (oldest events first)"