<!--
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">
      <RegistryEvent onmatch="include">
        <!-- Covers registry value deletion (EventCode 12) and modification (EventCode 13/14) for LSA and DeviceGuard keys -->
        <!-- Note: Sysmon RegistryEvent captures EventType "SetValue" (modification) and "DeleteValue"/"DeleteKey". -->
        <!-- The SPL matches: deletion of the key/value, OR modification where value data is 0x00000000 or 0. -->
        <!-- Sysmon does not expose registry value data content natively for filtering, so we match on path/target only. -->
        <!-- The value-data filter (0x00000000 / 0) from the SPL cannot be expressed in Sysmon XML conditions; -->
        <!-- downstream triage in Splunk should apply that additional filter post-ingestion. -->

        <Rule name="Disabling Windows Local Security Authority Defences via Registry" groupRelation="and">
          <TargetObject name="technique_id=T1556,technique_name=Modify Authentication Process" condition="contains">\Lsa\LsaCfgFlags</TargetObject>
        </Rule>
        <Rule name="Disabling Windows Local Security Authority Defences via Registry" groupRelation="and">
          <TargetObject name="technique_id=T1556,technique_name=Modify Authentication Process" condition="contains">\Lsa\RunAsPPL</TargetObject>
        </Rule>
        <Rule name="Disabling Windows Local Security Authority Defences via Registry" groupRelation="and">
          <TargetObject name="technique_id=T1556,technique_name=Modify Authentication Process" condition="contains">\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard\</TargetObject>
        </Rule>
      </RegistryEvent>
    </RuleGroup>
  </EventFiltering>
</Sysmon>