<!--
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` expands to match PowerShell executable names/paths. Common resolutions include powershell.exe and powershell_ise.exe via Image or OriginalFileName. -->
        <Rule name="Windows Powershell RemoteSigned File" groupRelation="and">
          <Image name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="image">powershell.exe</Image>
          <CommandLine name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="contains all">remotesigned;-File</CommandLine>
        </Rule>
        <Rule name="Windows Powershell RemoteSigned File" groupRelation="and">
          <OriginalFileName name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="is">PowerShell.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="contains all">remotesigned;-File</CommandLine>
        </Rule>
        <Rule name="Windows Powershell RemoteSigned File" groupRelation="and">
          <Image name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="image">powershell_ise.exe</Image>
          <CommandLine name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="contains all">remotesigned;-File</CommandLine>
        </Rule>
        <Rule name="Windows Powershell RemoteSigned File" groupRelation="and">
          <OriginalFileName name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="is">PowerShell_ISE.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1059.001,technique_name=Command and Scripting Interpreter: PowerShell" condition="contains all">remotesigned;-File</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>