<!--
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` resolved from Splunk security_content:
             process_name IN ("powershell.exe","powershell") OR
             original_file_name="PowerShell.EXE"
             Both Image/OriginalFileName paths are covered below. -->
        <Rule name="Remote Process Instantiation via WinRM and PowerShell" groupRelation="and">
          <Image name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="image">powershell.exe</Image>
          <CommandLine name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="contains">Invoke-Command</CommandLine>
          <CommandLine name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="contains">-ComputerName</CommandLine>
        </Rule>
        <Rule name="Remote Process Instantiation via WinRM and PowerShell" groupRelation="and">
          <OriginalFileName name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="is">PowerShell.EXE</OriginalFileName>
          <CommandLine name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="contains">Invoke-Command</CommandLine>
          <CommandLine name="technique_id=T1021.006,technique_name=Remote Services: Windows Remote Management" condition="contains">-ComputerName</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>