<!--
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">
      <FileCreate onmatch="include">
        <!--
          This rule detects file creation/modification events where the resulting file extension
          matches known ransomware extensions, as identified by the ransomware_extensions_lookup
          lookup table referenced in the SPL search.

          The SPL logic works by:
            1. Collecting all Filesystem create/modify events.
            2. Excluding a large list of known-benign extensions (listed below as excludes any).
            3. Then further filtering via the ransomware_extensions_lookup to confirm the extension
               is a known ransomware extension.

          NOTE: The lookup "ransomware_extensions_lookup" (referenced as
          "| lookup local=t update=true ransomware_extensions_lookup Extensions AS file_extension OUTPUT Extensions Name")
          could not be fully resolved from the splunk/security_content GitHub repository with
          confidence. The exact set of ransomware extensions it contains beyond the exclusion list
          below is unknown. The rule below approximates coverage by excluding all known-benign
          extensions listed in the SPL's NOT IN clause. Any file whose extension survives those
          exclusions AND is present in the ransomware_extensions_lookup would be flagged by Splunk.
          To achieve full fidelity, the actual ransomware_extensions_lookup contents should be
          obtained and the known ransomware extensions added as explicit "end with" include
          conditions rather than relying solely on the exclusion approach.

          The macro `common_ransomware_extensions_filter` could not be resolved - its contents
          are unknown and any additional filtering it applies is not represented here.

          The macro `security_content_summariesonly` is a standard Splunk ES acceleration macro
          and does not affect the field conditions used here.
        -->
        <Rule name="Common Ransomware Extensions" groupRelation="and">
          <TargetFilename name="technique_id=T1485,technique_name=Data Destruction" condition="excludes any">.7z;.aac;.appx;.appxbundle;.asc;.asm;.avi;.bak;.bat;.bin;.bmp;.bz2;.cab;.cer;.cfg;.cmd;.com;.conf;.cpp;.crt;.cs;.csh;.css;.csv;.cxx;.dat;.deb;.der;.diff;.dll;.doc;.docm;.docx;.dot;.dotm;.dotx;.drv;.eml;.eps;.exe;.flac;.gif;.go;.gz;.h;.hpp;.htm;.html;.ico;.ics;.ini;.iso;.jar;.java;.jpeg;.jpg;.js;.json;.key;.ksh;.ldf;.lib;.log;.lnk;.m4a;.m4v;.md;.mdb;.mdf;.mht;.mhtml;.mkv;.mov;.mp3;.mp4;.mpeg;.mpg;.msi;.msix;.msixbundle;.msg;.odp;.ods;.odt;.one;.ost;.otf;.pdf;.pem;.pfx;.php;.pif;.pl;.png;.pot;.potm;.potx;.ppam;.pps;.ppsm;.ppsx;.ppt;.pptm;.pptx;.ps1;.ps1xml;.psd1;.psm1;.pst;.pub;.py;.pyc;.rar;.reg;.rpm;.rss;.rtf;.scr;.sh;.sql;.svg;.swift;.sys;.tar;.tgz;.tif;.tiff;.toml;.ttf;.txt;.url;.vb;.vbe;.vbs;.vcxproj;.vhd;.vhdx;.wav;.webm;.webp;.wim;.wsf;.xlam;.xls;.xlsb;.xlsm;.xlsx;.xlt;.xltm;.xltx;.xml;.xps;.yaml;.yml</TargetFilename>
        </Rule>
      </FileCreate>
    </RuleGroup>
  </EventFiltering>
</Sysmon>