Skip to content
WETNav

Community detections

sftp.exe

2 community detection rules look for suspicious sftp.exe command lines, most often for Indirect Command Execution (T1202), System Binary Proxy Execution (T1218). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.

Rules by level

2 medium

Worst caseMedium
Explain a sftp.exe command line

What defenders look for

  • Medium
    Indirect Command Execution via SFTP ProxyCommand

    Detects the use of SFTP.exe to execute commands indirectly via ProxyCommand parameter. Threat actors were seen leveraging this legitimate Windows binary to bypass security controls and execute arbitrary commands while evading detection.

    T1202by Swachchhanda Shrawan Poudel (Nextron Systems)

  • Medium
    Use Of The SFTP.EXE Binary As A LOLBIN

    Detects the usage of the "sftp.exe" binary as a LOLBIN by abusing the "-D" flag

    T1218by Nasreddine Bencherchali (Nextron Systems)

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.

Questions

Is sftp.exe malicious?
Not by itself. These rules flag specific ways of running it: 2 rules, 0 rated high or critical. Indirect Command Execution via SFTP ProxyCommand; Use Of The SFTP.EXE Binary As A LOLBIN. Judge a run by its command line, its parent process, the account and the host.
What does sftp.exe have to do with ATT&CK?
The rules for it map to Indirect Command Execution (T1202), System Binary Proxy Execution (T1218).
How do I check a sftp.exe command line?
Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.