<!--
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">
        <!-- Macro `process_cmd` resolves to: Processes.process_name=cmd.exe (or equivalent Image match on cmd.exe) -->
        <!-- The SPL also requires Processes.process IN ("*/c*", "*/k*"), meaning the command line contains /c or /k -->
        <Rule name="CMD Carry Out String Command Parameter" groupRelation="and">
          <Image name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="image">cmd.exe</Image>
          <CommandLine name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="contains">/c</CommandLine>
        </Rule>
        <Rule name="CMD Carry Out String Command Parameter" groupRelation="and">
          <OriginalFileName name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="is">Cmd.Exe</OriginalFileName>
          <CommandLine name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="contains">/c</CommandLine>
        </Rule>
        <Rule name="CMD Carry Out String Command Parameter" groupRelation="and">
          <Image name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="image">cmd.exe</Image>
          <CommandLine name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="contains">/k</CommandLine>
        </Rule>
        <Rule name="CMD Carry Out String Command Parameter" groupRelation="and">
          <OriginalFileName name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="is">Cmd.Exe</OriginalFileName>
          <CommandLine name="technique_id=T1059.003,technique_name=Windows Command Shell" condition="contains">/k</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>