Detectionlowtest

Insensitive Subfolder Search Via Findstr.EXE

Detects execution of findstr with the "s" and "i" flags for a "subfolder" and "insensitive" search respectively. Attackers sometimes leverage this built-in utility to search the system for interesting files or filter through results of commands.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Furkan CALISKAN, @oscd_initiative, Nasreddine Bencherchali (Nextron Systems)Created Mon Oct 05Updated Tue Mar 0504936b66-3915-43ad-a8e5-809eadfd1141windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_findstr:
        - CommandLine|contains: findstr
        - Image|endswith: 'findstr.exe'
        - OriginalFileName: 'FINDSTR.EXE'
    selection_cli_search_subfolder:
        CommandLine|contains|windash: ' -s '
    selection_cli_search_insensitive:
        CommandLine|contains|windash: ' -i '
    condition: selection_findstr and all of selection_cli_search_*
False Positives

Administrative or software activity

Related Rules
Similar

bf6c39fc-e203-45b9-9538-05397c1b4f3f

Rule not found
Rule Metadata
Rule ID
04936b66-3915-43ad-a8e5-809eadfd1141
Status
test
Level
low
Type
Detection
Created
Mon Oct 05
Modified
Tue Mar 05
Path
rules/windows/process_creation/proc_creation_win_findstr_subfolder_search.yml
Raw Tags
attack.defense-evasionattack.credential-accessattack.command-and-controlattack.t1218attack.t1564.004attack.t1552.001attack.t1105
View on GitHub