Sigma rule: Program Executed Using Proxy/Local Command Via SSH.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-35fe848a0403, updated 2025-10-16T00:00:00.000Z.
Rule
- Title
- Program Executed Using Proxy/Local Command Via SSH.EXE
- Status
- test
- Level
- medium
- Author
- frack113, Nasreddine Bencherchali
- Date
- 2022-12-29
- Modified
- 2025-10-16
- File
- rules/windows/process_creation/proc_creation_win_ssh_proxy_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detect usage of the "ssh.exe" binary as a proxy to launch other programs.
Log source
- product
- windows
- category
- process_creation
Detection
selection_parent:
# ParentCommandLine: '"C:\Windows\System32\OpenSSH\sshd.exe" -R'
ParentImage: 'C:\Windows\System32\OpenSSH\sshd.exe'
selection_cli_img:
- Image|endswith: '\ssh.exe'
- Product: 'OpenSSH for Windows'
- Hashes|contains:
- 'IMPHASH=55b4964d29aad5438b9e950052dbbbc0'
- 'IMPHASH=334d66c33503ccbf647c15b47c27eef4'
- 'IMPHASH=27b0da080ef92afb37983d30d839141e'
- 'IMPHASH=977eb4c263d384e47daa0712d34713ab'
- 'IMPHASH=3eaadce9ae43d5a918bb082065815c3b'
- 'IMPHASH=980fe6cf0d996ab1eedf877222e722aa'
- 'IMPHASH=5f959422308ac3d721010d66647e100e'
- 'IMPHASH=a49aaa3d03d1cd9c8dc7fca60f7f480b'
- 'IMPHASH=dd335f759b6d5d6a8382b71dd9d65791'
selection_cli_flags:
- CommandLine|contains: 'ProxyCommand='
- CommandLine|contains|all:
- 'PermitLocalCommand=yes'
- ' LocalCommand'
condition: selection_parent or all of selection_cli_*False positives (as the rule lists them)
- Legitimate usage for administration purposes
Tags
- attack.stealth
- attack.t1218
MITRE ATT&CK ids this rule names
References
- https://lolbas-project.github.io/lolbas/Binaries/Ssh/
- https://github.com/LOLBAS-Project/LOLBAS/pull/211/files
- https://gtfobins.github.io/gtfobins/ssh/
- https://man.openbsd.org/ssh_config#ProxyCommand
- https://man.openbsd.org/ssh_config#LocalCommand
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_ssh_proxy_execution.yml
Sources and licences
SigmaHQ
"Program Executed Using Proxy/Local Command Via SSH.EXE" by frack113, Nasreddine Bencherchali (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_ssh_proxy_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Program Executed Using Proxy/Local Command Via SSH.EXE",
entity page, dataset version ref-35fe848a0403, updated 2025-10-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7d6d30b8-5b91-4b90-a891-46cccaf29598 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7d6d30b8-5b91-4b90-a891-46cccaf29598, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.