Full SigmaHQ catalog

Author
Nasreddine Bencherchali (Nextron Systems)
Rule ID
a85ffc3a-e8fd-4040-93bf-78aff284d801
Collection
Core
Log source
windows / process_creation
Severity
medium
Maturity
test
First published
2022-11-10
MITRE ATT&CK
T1218

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\sftp.exe' # The "sftp.exe" located in the OpenSSH directory has no OriginalFileName :(
        CommandLine|contains:
            # Since "-D" is a valid flag for other usage we assume the user is going to enter a path
            # Either a full one like "C:\Windows\System32\calc.exe" or a relative one "..\..\..\Windows\System32\calc.exe"
            # In my testing you can't execute direct binaries by their name via this method (if you found a way please update the rule)
            - ' -D ..'
            - ' -D C:\'
    condition: selection
falsepositives:
    - Unknown