Disable or Modify Windows Event Log (T1685.001) is a sub-technique of Disable or Modify Tools. Adversaries disable or change the Windows Event Log to limit the data that detections and audits rely on. MITRE lists the Defense Impairment tactic and Windows as the platform.
Windows Event Log records user and system activity, including logon attempts and process creation. Security tools and analysts build detections on that data, so removing it removes the evidence.
How attackers use it
MITRE describes the EventLog service, which starts automatically at boot. An audit policy, managed through the Local Security Policy (secpol.msc), defines which events get logged. The policy can be changed in the console under Local Policies for basic settings or under Advanced Audit Policy Configuration for finer control, and auditpol.exe can also set it.
An adversary may target system-wide logging or the logs of one application. MITRE's examples include:
- Stopping and disabling the EventLog service with PowerShell (
Set-Service,Stop-Service) orsc config. - Changing the "Start" value of the EventLog service in the Registry, then restarting the system for the change to take effect.
- Changing the "Start" value of the EventLog-Security Autologger key under the WMI Autologger path. MITRE notes that without Administrator privileges, an adversary may be able to do this and reboot to disable the Security event log.
Documented uses include disabled event logging on compromised systems, deleted Windows event and application logs, scripts that disable the event log service, use of AUDITPOL to stop audit collection, and use of appcmd.exe to turn off logging on a server.
How to detect it
MITRE's detection strategy covers several signals:
- Stopping or disabling the EventLog service.
- Registry changes to the EventLog and Autologger keys.
- Use of
auditpolorwevtutilto disable categories or clear audit policy. - Suspicious gaps or resets in the sequence of event records.
The last one matters because a disabled log leaves no direct trace of its own removal on that host. A gap in record numbers, or a host that goes silent in your central store right after a privileged logon, is a strong lead.
Windows has built-in events for some of these changes. Event ID 4719 records a change to audit policy, and Event ID 1102 records that the Security log was cleared. Collect them centrally.
How to reduce the risk
MITRE lists four mitigations.
- User Account Management. Make sure permissions prevent adversaries from disabling or interfering with logging.
- Audit. Review
auditpolsettings for Administrator accounts periodically, baseline activity in your SIEM, and confirm the EventLog service and its threads run properly. - Restrict Registry Permissions. Protect the keys that control logging. MITRE notes that adding the MiniNT registry key disables Event Viewer.
- Restrict File and Directory Permissions. Protect
.evtxfiles, found inC:\Windows\system32\Winevt\Logs, with limited access and audit policies for detection.
The strongest control is not on the host at all. Forward events off the machine as they occur, so an attacker with local rights cannot reach the copy.
Check your own environment
These are read-only commands. Run them in an elevated session on Windows.
Get-Service -Name EventLog
auditpol /get /category:*
wevtutil gl Security
The first shows whether the service is running. The second shows the audit policy by category. The third shows the Security log configuration, including its maximum size and whether it is enabled.
Then check:
- Does each category you rely on, such as logon and process creation, show the setting you expect?
- Are logs forwarded to a central collector, and how many seconds behind is it?
- Do you alert when the EventLog service stops or audit policy changes?
- Who can edit the EventLog Registry keys and the Winevt log folder?
Quick check
Name two ways to stop Windows from recording events.
Stopping or disabling the EventLog service, and changing audit policy with auditpol or the Local Security Policy. MITRE also describes Registry changes to the service's Start value.
Why forward events off the host?
An adversary with local privileges can change or delete local logs. A copy already sent to a central system is out of reach.
What does a gap in event record numbers suggest?
That events were removed or logging was interrupted, which is worth investigating.
Sources
- MITRE ATT&CK, Disable or Modify Windows Event Log (T1685.001): https://attack.mitre.org/techniques/T1685/001