# EVTX integrity

**Windows DFIR notes are no longer maintained on InfoSec-Notes. Updated versions can be found on:** [**artefacts.help**](https://artefacts.help/)**.**

The following events occurs whenever the associated logs are cleared:

* Event: `1102: The audit log was cleared`.\
  Location: victim `Security` hive. Includes the SID, domain, username and `Logon ID` of the user that cleared the logs.
* Event: `104: The System log file was cleared`.\
  Location: victim `System` hive. Includes the domain and username of the user that cleared the logs.

Additionally, every event of a given event log hive has an `EventRecordID` field representing an index number, sequentially incremented, of the event in that particular hive. Any disparity in record ids may reflect a deletion of event(s) in the hive.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.qazeer.io/dfir/windows/ttps_analysis/evtx_integrity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
