Detectionmediumtest

Remote File Download Via Findstr.EXE

Detects execution of "findstr" with specific flags and a remote share path. This specific set of CLI flags would allow "findstr" to download the content of the file located on the remote share as described in the LOLBAS entry.

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 05587254ee-a24b-4335-b3cd-065c0f1f4baawindows
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 Logic4 selectors
detection:
    selection_findstr:
        - CommandLine|contains: findstr
        - Image|endswith: 'findstr.exe'
        - OriginalFileName: 'FINDSTR.EXE'
    selection_cli_download_1:
        CommandLine|contains|windash: ' -v '
    selection_cli_download_2:
        CommandLine|contains|windash: ' -l '
    selection_cli_download_3:
        CommandLine|contains: '\\\\'
    condition: selection_findstr and all of selection_cli_download_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Related Rules
Similar

bf6c39fc-e203-45b9-9538-05397c1b4f3f

Rule not found
Rule Metadata
Rule ID
587254ee-a24b-4335-b3cd-065c0f1f4baa
Status
test
Level
medium
Type
Detection
Created
Mon Oct 05
Modified
Tue Mar 05
Path
rules/windows/process_creation/proc_creation_win_findstr_download.yml
Raw Tags
attack.defense-evasionattack.credential-accessattack.command-and-controlattack.t1218attack.t1564.004attack.t1552.001attack.t1105
View on GitHub