Threat Huntmediumexperimental
FTP Connection Open Attempt Via Winscp CLI
Detects the execution of Winscp with the "-command" and the "open" flags in order to open an FTP connection. Akira ransomware was seen using this technique in order to exfiltrate data.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Hunting Hypothesis
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 Logic2 selectors
detection:
selection_img:
- Image|endswith: '\WinSCP.exe'
- OriginalFileName: 'winscp.exe'
selection_cmd:
CommandLine|contains|windash: '-command'
CommandLine|contains|all:
- 'open '
- 'ftp://' # cover ftp and sftp
condition: all of selection_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Other
detection.threat-hunting
Rule Metadata
Rule ID
c1477deb-37cf-4439-9ffb-44499acb89d0
Status
experimental
Level
medium
Type
Threat Hunt
Created
Sun Oct 12
Author
Path
rules-threat-hunting/windows/process_creation/proc_creation_win_winscp_command_open_ftp.yml
Raw Tags
attack.exfiltrationattack.t1048detection.threat-hunting