<!--
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">
        <!-- Detection: Impacket Lateral Movement WMIExec Commandline Parameters -->
        <!-- SPL requires: parent_process_name=wmiprvse.exe AND process contains "cmd.exe /Q /c" AND process contains "\\127.0.0.1\" AND process contains "__<digits>.<digits>" -->
        <!-- Most specific technique chosen: T1047 (Windows Management Instrumentation) - wmiexec.py abuses WMI via wmiprvse.exe for remote execution -->
        <Rule name="Impacket Lateral Movement WMIExec Commandline Parameters" groupRelation="and">
          <ParentImage name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="image">wmiprvse.exe</ParentImage>
          <CommandLine name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="contains">cmd.exe</CommandLine>
          <CommandLine name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="contains">/Q</CommandLine>
          <CommandLine name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="contains">/c</CommandLine>
          <CommandLine name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="contains">\\127.0.0.1\</CommandLine>
          <CommandLine name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="contains">__</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>