Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_lolbin_ssh.yml
T

35 lines
1.2 KiB
YAML
Raw Normal View History

2022-12-29 14:36:33 +01:00
title: Lolbin Ssh.exe Use As Proxy
id: 7d6d30b8-5b91-4b90-a891-46cccaf29598
status: experimental
description: Detect usage of the "ssh.exe" binary as a proxy to launch other programs
references:
- https://lolbas-project.github.io/lolbas/Binaries/Ssh/
2023-01-26 22:42:56 +01:00
- 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
author: frack113, Nasreddine Bencherchali
2022-12-29 14:36:33 +01:00
date: 2022/12/29
2023-01-26 22:42:56 +01:00
modified: 2023/01/25
2022-12-29 14:36:33 +01:00
tags:
- attack.defense_evasion
2023-01-26 22:42:56 +01:00
- attack.t1202
2022-12-29 14:36:33 +01:00
logsource:
category: process_creation
product: windows
detection:
2023-01-26 22:42:56 +01:00
selection_parent:
2022-12-29 14:36:33 +01:00
#ParentCommandLine: '"C:\Windows\System32\OpenSSH\sshd.exe" -R'
2023-01-26 22:42:56 +01:00
ParentImage: 'C:\Windows\System32\OpenSSH\sshd.exe'
selection_cli_img:
Image|endswith: '\ssh.exe'
selection_cli_flags:
- CommandLine|contains: 'ProxyCommand='
- CommandLine|contains|all:
- 'PermitLocalCommand'
- 'LocalCommand'
condition: selection_parent or all of selection_cli_*
2022-12-29 14:36:33 +01:00
falsepositives:
2023-01-26 22:42:56 +01:00
- Legitimate usage for administration purposes
2022-12-29 14:36:33 +01:00
level: medium