<!--
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="Linux Ngrok Reverse Proxy Usage - start" groupRelation="and">
          <Image name="technique_id=T1572,technique_name=Protocol Tunneling" condition="end with">/ngrok</Image>
          <CommandLine name="technique_id=T1572,technique_name=Protocol Tunneling" condition="contains">start</CommandLine>
        </Rule>
        <Rule name="Linux Ngrok Reverse Proxy Usage - config" groupRelation="and">
          <Image name="technique_id=T1572,technique_name=Protocol Tunneling" condition="end with">/ngrok</Image>
          <CommandLine name="technique_id=T1572,technique_name=Protocol Tunneling" condition="contains">--config</CommandLine>
        </Rule>
        <Rule name="Linux Ngrok Reverse Proxy Usage - http" groupRelation="and">
          <Image name="technique_id=T1572,technique_name=Protocol Tunneling" condition="end with">/ngrok</Image>
          <CommandLine name="technique_id=T1572,technique_name=Protocol Tunneling" condition="contains">http</CommandLine>
        </Rule>
        <Rule name="Linux Ngrok Reverse Proxy Usage - authtoken" groupRelation="and">
          <Image name="technique_id=T1572,technique_name=Protocol Tunneling" condition="end with">/ngrok</Image>
          <CommandLine name="technique_id=T1572,technique_name=Protocol Tunneling" condition="contains">authtoken</CommandLine>
        </Rule>
        <Rule name="Linux Ngrok Reverse Proxy Usage - tcp" groupRelation="and">
          <Image name="technique_id=T1572,technique_name=Protocol Tunneling" condition="end with">/ngrok</Image>
          <CommandLine name="technique_id=T1572,technique_name=Protocol Tunneling" condition="contains">tcp</CommandLine>
        </Rule>
      </ProcessCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>