Potential Arbitrary Command Execution Via FTP.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects execution of "ftp.exe" script with the "-s" or "/s" flag and any child processes ran by "ftp.exe".

Severity

Trouble

Rule Requirement

Criteria

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

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Victor Sergeev, oscd.community