<!--
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">
        <!-- Macro `process_powershell` resolves to: process_name=powershell.exe OR process_name=powershell OR OriginalFileName=PowerShell.EXE (standard process macro for PowerShell process matching) -->
        <Rule name="Remote Process Instantiation via DCOM and PowerShell" groupRelation="and">
          <Image name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="image">powershell.exe</Image>
          <CommandLine name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="contains">Document.ActiveView.ExecuteShellCommand</CommandLine>
        </Rule>
        <Rule name="Remote Process Instantiation via DCOM and PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="is">PowerShell.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="contains">Document.ActiveView.ExecuteShellCommand</CommandLine>
        </Rule>
        <Rule name="Remote Process Instantiation via DCOM and PowerShell" groupRelation="and">
          <Image name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="image">powershell.exe</Image>
          <CommandLine name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="contains">Document.Application.ShellExecute</CommandLine>
        </Rule>
        <Rule name="Remote Process Instantiation via DCOM and PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="is">PowerShell.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1021.003,technique_name=Remote Services: Distributed Component Object Model" condition="contains">Document.Application.ShellExecute</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>