Windows findstr.exe Subfolder and Case-Insensitive Search Flags

Alerts on findstr.exe executions that include both -s (subfolders) and -i (case-insensitive) flags.

FreeReviewedSigma · Low · v2
Product
windows
Category
process_creation
Author
Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2020-10-05
Updated
2026-07-31

ATT&CK techniques

Defense Evasion → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. Exfiltration

  11. Impact

What it detects

This rule identifies executions of findstr.exe where the command line includes both the subfolder search flag (-s) and the case-insensitive search flag (-i). Attackers and administrators can use findstr to quickly enumerate or filter files, including when searching through directory trees for specific content. Telemetry required includes Windows process creation details such as Image/OriginalFileName and the full CommandLine.

Related detections9 linkedT1105 — drag to rearrange
macOS chflags Hidden Flag Set via chflags hidden parameter
Suspicious File Download via certutil urlcache
Windows File Events: Legitimate Applications Writing Executables to Uncommon Locations
Windows Process Access: Suspicious WebDAV target execution via iediagcmd.exe or CustomShellHost.exe (CVE-2025-33053)
Windows Process Creation: Possible CVE-2025-33053 WebDAV RCE via utility search-order manipulation
Windows Scheduled Task Creation via schtasks.exe with curl and PowerShell Command Line Indicators
Windows Process Execution: Suspicious cmd.exe Command-Line Combinations (Pikabot-like)
Windows: Detect Ldifde.exe LDAP import (-i -f) usage
Windows: PrintBrm.exe ZIP extraction or creation via command-line parameters
Windows findstr.exe Subfolder and Case-Insensitive Search Flags
Pivot detection · T1105 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.