<!--
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="Linux Setuid Using Setcap Utility" groupRelation="or">
      <ProcessCreate onmatch="include">
        <Rule name="Setcap Utility Executed with Setuid Capability" groupRelation="and">
          <Image name="technique_id=T1548.001,technique_name=Abuse Elevation Control Mechanism: Setuid and Setgid" condition="end with">/setcap</Image>
          <CommandLine name="technique_id=T1548.001,technique_name=Abuse Elevation Control Mechanism: Setuid and Setgid" condition="contains any">cap_setuid=ep;cap_setuid+ep;cap_net_bind_service+p;cap_net_raw+ep;cap_dac_read_search+ep</CommandLine>
        </Rule>
        <Rule name="Setcap Capability Assignment in Command Line" groupRelation="and">
          <CommandLine name="technique_id=T1548.001,technique_name=Abuse Elevation Control Mechanism: Setuid and Setgid" condition="contains">setcap</CommandLine>
          <CommandLine name="technique_id=T1548.001,technique_name=Abuse Elevation Control Mechanism: Setuid and Setgid" condition="contains any">cap_setuid=ep;cap_setuid+ep;cap_net_bind_service+p;cap_net_raw+ep;cap_dac_read_search+ep</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>
