<!--
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">
        <!-- Parent: w3wp.exe (exact match) -->
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="image">w3wp.exe</ParentImage>
          <Image name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="contains any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</Image>
        </Rule>
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="image">w3wp.exe</ParentImage>
          <OriginalFileName name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="is any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</OriginalFileName>
        </Rule>
        <!-- Parent: http*.exe (begins with "http") -->
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">http</ParentImage>
          <Image name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="contains any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</Image>
        </Rule>
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">http</ParentImage>
          <OriginalFileName name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="is any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</OriginalFileName>
        </Rule>
        <!-- Parent: nginx*.exe (begins with "nginx") -->
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">nginx</ParentImage>
          <Image name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="contains any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</Image>
        </Rule>
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">nginx</ParentImage>
          <OriginalFileName name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="is any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</OriginalFileName>
        </Rule>
        <!-- Parent: php*.exe (begins with "php") -->
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">php</ParentImage>
          <Image name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="contains any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</Image>
        </Rule>
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">php</ParentImage>
          <OriginalFileName name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="is any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</OriginalFileName>
        </Rule>
        <!-- Parent: tomcat*.exe (begins with "tomcat") -->
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">tomcat</ParentImage>
          <Image name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="contains any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</Image>
        </Rule>
        <Rule name="Windows Suspicious Child Process Spawned From WebServer" groupRelation="and">
          <ParentImage name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="begin with">tomcat</ParentImage>
          <OriginalFileName name="technique_id=T1505.003,technique_name=Server Software Component: Web Shell" condition="is any">arp.exe;at.exe;bash.exe;bitsadmin.exe;certutil.exe;cmd.exe;cscript.exe;dsget.exe;dsquery.exe;find.exe;findstr.exe;fsutil.exe;hostname.exe;ipconfig.exe;ksh.exe;nbstat.exe;net.exe;net1.exe;netdom.exe;netsh.exe;netstat.exe;nltest.exe;nslookup.exe;ntdsutil.exe;pathping.exe;ping.exe;powershell.exe;pwsh.exe;qprocess.exe;query.exe;qwinsta.exe;reg.exe;rundll32.exe;sc.exe;scrcons.exe;schtasks.exe;sh.exe;systeminfo.exe;tasklist.exe;tracert.exe;ver.exe;vssadmin.exe;wevtutil.exe;whoami.exe;wmic.exe;wscript.exe;wusa.exe;zsh.exe</OriginalFileName>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>