Skip to content

Commit ded9046

Browse files
authored
Create Ssh.yml (LOLBAS-Project#211)
* Create Ssh.yml * newline ymlint Co-authored-by: bohops <bohops>
1 parent 1072d3d commit ded9046

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

yml/OSBinaries/Ssh.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
Name: ssh.exe
32
Description: Ssh.exe is the OpenSSH compatible client can be used to connect to Windows 10 (build 1809 and later) and Windows Server 2019 devices.
43
Author: 'Akshat Pradhan'
@@ -11,18 +10,21 @@ Commands:
1110
Privileges: User
1211
MitreID: T1202
1312
OperatingSystem: Windows 10 1809, Windows Server 2019
14-
- Command: ssh localhost calc.exe
15-
Description: Executes calc.exe.
16-
Usecase: Performs execution of specified file, can be used to bypass Application Whitelisting.
17-
Category: AWL Bypass
13+
- Command: ssh -o ProxyCommand=calc.exe .
14+
Description: Executes calc.exe from ssh.exe
15+
Usecase: Performs execution of specified file, can be used as a defensive evasion.
16+
Category: Execute
1817
Privileges: User
19-
MitreID: T1218
20-
OperatingSystem: Windows 10 1809, Windows Server 2019
18+
MitreID: T1202
19+
OperatingSystem: Windows 10
2120
Full_Path:
2221
- Path: c:\windows\system32\OpenSSH\ssh.exe
2322
Detection:
2423
- Sigma: https://github.com/SigmaHQ/sigma/blob/197615345b927682ab7ad7fa3c5f5bb2ed911eed/rules/windows/process_creation/proc_creation_win_lolbin_ssh.yml
2524
- IOC: Event ID 4624 with process name C:\Windows\System32\OpenSSH\sshd.exe.
2625
- IOC: command line arguments specifying execution.
26+
Resources:
27+
- Link: https://gtfobins.github.io/gtfobins/ssh/
2728
Acknowledgement:
2829
- Person: Akshat Pradhan
30+
- Person: Felix Boulet

0 commit comments

Comments
 (0)