Detectionmediumtest

Potential Arbitrary Command Execution Via FTP.EXE

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

Convert In Phoenix Studio

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

Launch
Victor Sergeev, oscd.communityCreated Fri Oct 09Updated Tue Apr 2306b401f4-107c-4ff9-947f-9ec1e7649f1ewindows
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_parent:
        ParentImage|endswith: '\ftp.exe'
    selection_child_img:
        - Image|endswith: '\ftp.exe'
        - OriginalFileName: 'ftp.exe'
    selection_child_cli:
        CommandLine|contains|windash: '-s:'
    condition: selection_parent or all of selection_child_*
False Positives
Unknown

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

Rule Metadata
Rule ID
06b401f4-107c-4ff9-947f-9ec1e7649f1e
Status
test
Level
medium
Type
Detection
Created
Fri Oct 09
Modified
Tue Apr 23
Path
rules/windows/process_creation/proc_creation_win_ftp_arbitrary_command_execution.yml
Raw Tags
attack.executionattack.t1059attack.defense-evasionattack.t1202
View on GitHub