<!--
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">
      <FileCreate onmatch="include">
        <Rule name="Shai-Hulud Workflow File Creation or Modification" groupRelation="or">
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/discussion.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/discussion.yml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\discussion.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\discussion.yml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/shai-hulud-workflow.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/shai-hulud-workflow.yml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\shai-hulud-workflow.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\shai-hulud-workflow.yml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/shai-hulud.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">/.github/workflows/shai-hulud.yml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\shai-hulud.yaml</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">\.github\workflows\shai-hulud.yml</TargetFilename>
        </Rule>
        <!-- formatter_*.yaml and formatter_*.yml patterns require a wildcard in the middle of the filename. Sysmon's FileCreate TargetFilename field does not support mid-string wildcards in a single condition. The patterns below approximate coverage by matching paths containing the required directory segments and the formatter_ prefix, combined with the expected extensions via separate rules. -->
        <Rule name="Shai-Hulud Workflow File Creation or Modification - Formatter Pattern" groupRelation="and">
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="contains">/.github/workflows/formatter_</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">.yaml</TargetFilename>
        </Rule>
        <Rule name="Shai-Hulud Workflow File Creation or Modification - Formatter Pattern" groupRelation="and">
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="contains">/.github/workflows/formatter_</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">.yml</TargetFilename>
        </Rule>
        <Rule name="Shai-Hulud Workflow File Creation or Modification - Formatter Pattern" groupRelation="and">
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="contains">\.github\workflows\formatter_</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">.yaml</TargetFilename>
        </Rule>
        <Rule name="Shai-Hulud Workflow File Creation or Modification - Formatter Pattern" groupRelation="and">
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="contains">\.github\workflows\formatter_</TargetFilename>
          <TargetFilename name="technique_id=T1554,technique_name=Compromise Client Software Binary" condition="end with">.yml</TargetFilename>
        </Rule>
      </FileCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>