Windows Event Log Access Tampering Via Registry
Attackers may modify registry-based Security Descriptor Definition Language (SDDL) strings for Windows Event Log channels to impair defensive monitoring by restricting access to log data.
Adversaries utilize registry modification techniques to impair security monitoring on Windows systems by altering the access permissions of specific Event Log channels. By modifying the Security Descriptor Definition Language (SDDL) strings associated with keys such as 'CustomSD' or 'ChannelAccess', attackers can effectively deny read or write access to authorized accounts or automated security tools. This defense impairment technique prevents security operations teams from viewing event logs via standard utilities like Event Viewer, wevtutil, or PowerShell's Get-EventLog cmdlet. This activity is often associated with post-exploitation phases where attackers aim to maintain persistence or cover their tracks by preventing the recording or auditing of malicious actions. Defenders should monitor registry modifications targeting Event Log configuration paths for unauthorized SDDL string changes.
Attack Chain
- Attacker gains administrative access to the target Windows system.
- Attacker identifies Event Log registry configurations under HKLM\SYSTEM\CurrentControlSet\Services\EventLog\ or HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels.
- Attacker uses reg.exe or PowerShell to set the 'CustomSD' or 'ChannelAccess' registry values.
- Attacker inserts a "Deny" access control entry into the SDDL string (e.g., D:(D;;0x1;;;WD)).
- The registry change propagates, updating the security descriptor for the target log channel.
- Legitimate users or automated monitoring services are denied access to the log channel.
- Attacker executes further malicious activity, which remains hidden or inaccessible to defensive review.
Impact
Successful manipulation of Event Log access permissions directly degrades the visibility of the security operations team. This facilitates defense evasion, allowing attackers to perform subsequent malicious operations, such as lateral movement or data exfiltration, without leaving an audit trail that can be consumed by SIEM or EDR platforms.
Recommendation
- Deploy the provided Sigma rule to detect modifications to Event Log registry keys.
- Monitor registry modification events targeting 'CustomSD' or 'ChannelAccess' specifically for strings containing 'D:(D;'.
- Validate detection logic using the referenced Atomic Red Team tests for T1562.002.
- Ensure that system-level updates initiated by 'TrustedInstaller.exe' are correctly filtered to avoid false positives.
Immediate actions
Deploy the registry monitoring rule to detect Event Log SDDL modifications.
Mitigations
Enforce strict registry access controls to prevent non-administrative processes from modifying event log configuration keys.
T1562.002
Detection coverage 1
Detect Windows Event Log Access Tampering Via Registry
highDetects unauthorized modifications to Windows Event Log channel registry keys that alter SDDL permissions to restrict log access.
Detection queries are available on the platform. Get full rules →