Windows: Winscp CLI FTP/SFTP Open via -command

Detects WinSCP executions with -command and an open request to ftp:// on Windows.

FreeReviewedSigma · Medium · v5
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2025-10-12
Updated
2026-07-31

ATT&CK techniques

Exfiltration
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Impact

What it detects

This rule flags execution of WinSCP where the process image is winscp.exe and the command line includes the -command flag followed by an open action targeting an ftp:// URL. Attackers can use WinSCP’s CLI to quickly initiate file transfer sessions for data access and potential exfiltration. The detection relies on Windows process creation telemetry capturing the executable name/path and the full command line arguments.

Related detections9 linkedT1048 — drag to rearrange
Malicious Bulk Data Exfiltration via Rclone (via process_creation)
BITS Payload Downloaded via Commandline (via process_creation)
BITS Payload Downloaded via PowerShell (via powershell)
Data Exfiltration to WebDAV Share via curl Upload
Suspicious Data Exfiltration via Finger LOLBIN
Malicious Bad Apples Data Exfiltration via snmptrap OID
Suspicious rclone Masquerading as Avast Binary by The Gentlemen RaaS (via process_creation)
Windows DNS Queries to git-tanstack.com and filev2.getsession.org
Windows Process Execution: Restic Backup Tool Command-Line Indicators
Windows: Winscp CLI FTP/SFTP Open via -command
Pivot detection · T1048 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.