<!--
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="Get-ForestTrust with PowerShell" groupRelation="and">
          <Image name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="image">powershell.exe</Image>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-foresttrust</CommandLine>
        </Rule>
        <Rule name="Get-ForestTrust with PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="is">PowerShell.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-foresttrust</CommandLine>
        </Rule>
        <Rule name="Get-ForestTrust with PowerShell" groupRelation="and">
          <Image name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="image">cmd.exe</Image>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-foresttrust</CommandLine>
        </Rule>
        <Rule name="Get-ForestTrust with PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="is">Cmd.Exe</OriginalFileName>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-foresttrust</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>