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
Suspicious Data Exfiltration via Blat SMTP Client (via process_creation)
Suspicious blat Utility Used for SMTP Data Exfiltration
Suspicious Data Exfiltration via WinSCP Command Line in BlackSuit Ransomware
Suspicious Scheduled Task Creation for rclone Exfiltration by The Gentlemen RaaS (via process_creation)
Suspicious DNS Query for Tor Onion Domain
Possible DNS Tunneling via Excessively Long Query Name
Malicious Bulk Data Exfiltration via Rclone (via process_creation)
BITS Payload Downloaded via Commandline (via process_creation)
BITS Payload Downloaded via PowerShell (via powershell)
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.