Possible Arbitrary Command Execution Through FTP.EXE (via process_creation)
This rule detects execution of "ftp.exe" script with the "-s" or "/s" flag and any child processes ran by "ftp.exe".
SigmamediumWindowsv1
sigma
possible-arbitrary-command-execution-through-ftp-exe-via-process-creation
title: Possible Arbitrary Command Execution Through FTP.EXE (via process_creation)
id: 63eb836e-1834-55a1-9bdb-2619d8c8cc3d
status: stable
description: This rule detects execution of "ftp.exe" script with the "-s" or "/s" flag and any child processes ran by "ftp.exe".
references:
- https://attack.mitre.org/techniques/T1202/
- https://attack.mitre.org/techniques/T1059/
- https://lolbas-project.github.io/lolbas/Binaries/Ftp/
author: Huntrule Team
date: 2026-01-07
tags:
- attack.execution
- attack.stealth
- attack.t1059
- attack.t1202
logsource:
category: process_creation
product: windows
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_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.