<!--
MARDUK  /  SYSMON DYNAMIX

       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,,,,,,,,,,,,.     ,,,,,,,,,,,,,,,,,,,,,,
       ,,,,,,,,,,,..,,,,,,,,,.     ,,,,,,,,,,.,,,,,,,,,,,
       ,,,,,,,,,,,    ..,,,,,.     ,,,,,..    ,,,,,,,,,,,
       ,,,,,,,,,,,        ..,.    .,..        ,,,,,,,,,,,

Detection attribution and licensing are documented in THIRD_PARTY_NOTICES.md.
MITRE ATT&amp;CK mapping: © 2026 The MITRE Corporation. This work is reproduced
and distributed with the permission of The MITRE Corporation.
-->
<Sysmon schemaversion="4.90">
  <EventFiltering>
    <RuleGroup name="" groupRelation="or">
      <ProcessCreate onmatch="include">
        <!-- Matches wevtutil.exe clearing logs via "cl" short form, excluding log names already covered by "Suspicious wevtutil Usage" detection -->
        <Rule name="Windows Eventlog Cleared Via Wevtutil" groupRelation="and">
          <Image name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="image">wevtutil.exe</Image>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains"> cl </CommandLine>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="excludes any">/Trace;AMSI/Debug;Application;CiscoSecureEndpoint;Microsoft-Windows-BitLocker;Microsoft-Windows-Bits;Microsoft-Windows-CAPI2;Microsoft-Windows-Kernel-File;Microsoft-Windows-Kernel-Process;Microsoft-Windows-LDAP;Microsoft-Windows-PowerShell;Microsoft-Windows-Sysmon;Microsoft-Windows-TerminalServices-LocalSessionManager;Microsoft-Windows-TerminalServices-RemoteConnectionManager;Microsoft-Windows-WMI-Activity;OpenSSH/;PowerShellCore/;Security;Setup;System;Windows Firewall With Advanced Security;Windows PowerShell</CommandLine>
        </Rule>
        <Rule name="Windows Eventlog Cleared Via Wevtutil" groupRelation="and">
          <OriginalFileName name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="is">wevtutil.exe</OriginalFileName>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains"> cl </CommandLine>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="excludes any">/Trace;AMSI/Debug;Application;CiscoSecureEndpoint;Microsoft-Windows-BitLocker;Microsoft-Windows-Bits;Microsoft-Windows-CAPI2;Microsoft-Windows-Kernel-File;Microsoft-Windows-Kernel-Process;Microsoft-Windows-LDAP;Microsoft-Windows-PowerShell;Microsoft-Windows-Sysmon;Microsoft-Windows-TerminalServices-LocalSessionManager;Microsoft-Windows-TerminalServices-RemoteConnectionManager;Microsoft-Windows-WMI-Activity;OpenSSH/;PowerShellCore/;Security;Setup;System;Windows Firewall With Advanced Security;Windows PowerShell</CommandLine>
        </Rule>
        <!-- Matches wevtutil.exe clearing logs via "clear-log" long form, excluding log names already covered by "Suspicious wevtutil Usage" detection -->
        <Rule name="Windows Eventlog Cleared Via Wevtutil" groupRelation="and">
          <Image name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="image">wevtutil.exe</Image>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains">clear-log</CommandLine>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="excludes any">/Trace;AMSI/Debug;Application;CiscoSecureEndpoint;Microsoft-Windows-BitLocker;Microsoft-Windows-Bits;Microsoft-Windows-CAPI2;Microsoft-Windows-Kernel-File;Microsoft-Windows-Kernel-Process;Microsoft-Windows-LDAP;Microsoft-Windows-PowerShell;Microsoft-Windows-Sysmon;Microsoft-Windows-TerminalServices-LocalSessionManager;Microsoft-Windows-TerminalServices-RemoteConnectionManager;Microsoft-Windows-WMI-Activity;OpenSSH/;PowerShellCore/;Security;Setup;System;Windows Firewall With Advanced Security;Windows PowerShell</CommandLine>
        </Rule>
        <Rule name="Windows Eventlog Cleared Via Wevtutil" groupRelation="and">
          <OriginalFileName name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="is">wevtutil.exe</OriginalFileName>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains">clear-log</CommandLine>
          <CommandLine name="technique_id=T1485.005,technique_name=Indicator Removal: Clear Windows Event Logs" condition="excludes any">/Trace;AMSI/Debug;Application;CiscoSecureEndpoint;Microsoft-Windows-BitLocker;Microsoft-Windows-Bits;Microsoft-Windows-CAPI2;Microsoft-Windows-Kernel-File;Microsoft-Windows-Kernel-Process;Microsoft-Windows-LDAP;Microsoft-Windows-PowerShell;Microsoft-Windows-Sysmon;Microsoft-Windows-TerminalServices-LocalSessionManager;Microsoft-Windows-TerminalServices-RemoteConnectionManager;Microsoft-Windows-WMI-Activity;OpenSSH/;PowerShellCore/;Security;Setup;System;Windows Firewall With Advanced Security;Windows PowerShell</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>