<!--
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">
        <!-- Rule set: Image=wevtutil.exe AND (cl or clear-log) AND one of the target log names -->
        <!-- Expanding: (Image OR OriginalFileName) AND (CommandLine contains "cl " OR "clear-log") AND (CommandLine contains any of the log targets) -->
        <!-- Because Sysmon "contains any" handles the log-target OR list, and "contains any" handles the cl/clear-log OR, -->
        <!-- we only need to split on the Image vs OriginalFileName axis, giving two flat Rules -->
        <Rule name="Suspicious wevtutil Usage" groupRelation="and">
          <Image name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="image">wevtutil.exe</Image>
          <CommandLine name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains any"> cl ;clear-log</CommandLine>
          <CommandLine name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains 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="Suspicious wevtutil Usage" groupRelation="and">
          <OriginalFileName name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="is">wevtutil.exe</OriginalFileName>
          <CommandLine name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains any"> cl ;clear-log</CommandLine>
          <CommandLine name="technique_id=T1070.001,technique_name=Indicator Removal: Clear Windows Event Logs" condition="contains 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>