Suspicious Use Of The SFTP.EXE Binary As A LOLBIN (via process_creation)
This rule detects the use of the "sftp.exe" binary as a LOLBIN by abusing the "-D" flag
SigmamediumWindowsv1
sigma
suspicious-use-of-the-sftp-exe-binary-as-a-lolbin-via-process-creation
title: Suspicious Use Of The SFTP.EXE Binary As A LOLBIN (via process_creation)
id: f33fa4e1-e2d3-5d51-a7bf-c2e490b8fbac
status: stable
description: This rule detects the use of the "sftp.exe" binary as a LOLBIN by abusing the "-D" flag
references:
- https://attack.mitre.org/techniques/T1218/
- https://github.com/LOLBAS-Project/LOLBAS/pull/264
author: Huntrule Team
date: 2026-02-03
tags:
- attack.execution
- attack.stealth
- attack.t1218
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\sftp.exe'
CommandLine|contains:
- ' -D ..'
- ' -D C:\'
condition: selection
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.