<!--
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-DomainTrust with PowerShell" groupRelation="and">
          <Image name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">powershell</Image>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-domaintrust</CommandLine>
        </Rule>
        <Rule name="Get-DomainTrust 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-domaintrust</CommandLine>
        </Rule>
        <Rule name="Get-DomainTrust with PowerShell" groupRelation="and">
          <Image name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">pwsh</Image>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-domaintrust</CommandLine>
        </Rule>
        <Rule name="Get-DomainTrust with PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="is">pwsh.dll</OriginalFileName>
          <CommandLine name="technique_id=T1482,technique_name=Domain Trust Discovery" condition="contains">get-domaintrust</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>