<!--
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">
        <!-- reg.exe (by Image) + save/export + SAM/Security/System hive targets -->
        <Rule name="Windows Sensitive Registry Hive Dump Via CommandLine" groupRelation="and">
          <Image name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="image">reg.exe</Image>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">save;export</CommandLine>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">HKEY_LOCAL_MACHINE\SAM;HKEY_LOCAL_MACHINE\Security;HKEY_LOCAL_MACHINE\System;HKLM\SAM;HKLM\Security;HKLM\System</CommandLine>
        </Rule>
        <!-- reg.exe (by OriginalFileName) + save/export + SAM/Security/System hive targets -->
        <Rule name="Windows Sensitive Registry Hive Dump Via CommandLine" groupRelation="and">
          <OriginalFileName name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="is">reg.exe</OriginalFileName>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">save;export</CommandLine>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">HKEY_LOCAL_MACHINE\SAM;HKEY_LOCAL_MACHINE\Security;HKEY_LOCAL_MACHINE\System;HKLM\SAM;HKLM\Security;HKLM\System</CommandLine>
        </Rule>
        <!-- regedit.exe (by Image) + /E or -E + SAM/Security/System hive targets -->
        <Rule name="Windows Sensitive Registry Hive Dump Via CommandLine" groupRelation="and">
          <Image name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="image">regedit.exe</Image>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">/E ;-E </CommandLine>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">HKEY_LOCAL_MACHINE\SAM;HKEY_LOCAL_MACHINE\Security;HKEY_LOCAL_MACHINE\System;HKLM\SAM;HKLM\Security;HKLM\System</CommandLine>
        </Rule>
        <!-- regedit.exe (by OriginalFileName) + /E or -E + SAM/Security/System hive targets -->
        <Rule name="Windows Sensitive Registry Hive Dump Via CommandLine" groupRelation="and">
          <OriginalFileName name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="is">REGEDIT.exe</OriginalFileName>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">/E ;-E </CommandLine>
          <CommandLine name="technique_id=T1003.002,technique_name=OS Credential Dumping: Security Account Manager" condition="contains any">HKEY_LOCAL_MACHINE\SAM;HKEY_LOCAL_MACHINE\Security;HKEY_LOCAL_MACHINE\System;HKLM\SAM;HKLM\Security;HKLM\System</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>