<!--
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 name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\windows\fonts\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\windows\temp\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\users\public\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\windows\debug\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\Users\Administrator\Music\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\Windows\servicing\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\Users\Default\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">Recycle.bin</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\Windows\Media\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\Windows\repair\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\temp\</CommandLine>
        </Rule>
        <Rule name="Windows Modify System Firewall with Notable Process Path" groupRelation="and">
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains all">firewall;allow;add;ENABLE</CommandLine>
          <CommandLine name="technique_id=T1686,technique_name=Match Legitimate Resource or Location" condition="contains">\PerfLogs\</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>