Remote File Download Via Findstr.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (COMMANDLINE contains "findstr" OR PROCESSNAME endswith "findstr.exe" OR ORIGINALFILENAME = "FINDSTR.EXE") AND (COMMANDLINE contains " -v , /v , –v , —v , ―v " AND COMMANDLINE contains " -l , /l , –l , —l , ―l " AND COMMANDLINE contains "\") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative, Nasreddine Bencherchali (Nextron Systems)