Sigma rule: Recon Command Output Piped To Findstr.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-22a1c39ab9f1, updated 2025-10-08T00:00:00.000Z.

Rule

Title
Recon Command Output Piped To Findstr.EXE
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems), frack113
Date
2023-07-06
Modified
2025-10-08
File
rules/windows/process_creation/proc_creation_win_findstr_recon_pipe_output.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of a potential recon command where the results are piped to "findstr". This is meant to trigger on inline calls of "cmd.exe" via the "/c" or "/k" for example.
Attackers often time use this technique to extract specific information they require in their reconnaissance phase.

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains:
        # Note: Add additional CLI to increase and enhance coverage
        # Note: We use wildcards in this instance to avoid writing a lot of variations that can be avoided easily. You can switch to regex if its supported by your backend.
        - 'ipconfig*|*find'
        - 'net*|*find'
        - 'netstat*|*find'
        - 'ping*|*find'
        - 'systeminfo*|*find'
        - 'tasklist*|*find'
        - 'whoami*|*find'
filter_optional_xampp:
    CommandLine|contains|all:
        - 'cmd.exe /c TASKLIST /V |'
        - 'FIND /I'
        - '\xampp\'
        - '\catalina_start.bat'
condition: selection and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.discovery
  • attack.t1057

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_findstr_recon_pipe_output.yml

Sources and licences

  • SigmaHQ

    "Recon Command Output Piped To Findstr.EXE" by Nasreddine Bencherchali (Nextron Systems), frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_findstr_recon_pipe_output.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Recon Command Output Piped To Findstr.EXE",
entity page, dataset version ref-22a1c39ab9f1, updated 2025-10-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ccb5742c-c248-4982-8c5c-5571b9275ad3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ccb5742c-c248-4982-8c5c-5571b9275ad3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.