<!--
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 Bypass UAC via Pkgmgr Tool" groupRelation="and">
          <Image name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="image">pkgmgr.exe</Image>
          <CommandLine name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="contains">.xml</CommandLine>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Windows\System32\</ParentImage>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Windows\SysWOW64\</ParentImage>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Program Files</ParentImage>
        </Rule>
        <Rule name="Windows Bypass UAC via Pkgmgr Tool" groupRelation="and">
          <OriginalFileName name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="is">pkgmgr.exe</OriginalFileName>
          <CommandLine name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="contains">.xml</CommandLine>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Windows\System32\</ParentImage>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Windows\SysWOW64\</ParentImage>
          <ParentImage name="technique_id=T1548.002,technique_name=Abuse Elevation Control Mechanism: Bypass User Account Control" condition="not begin with">C:\Program Files</ParentImage>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>