ssh-keyscan.exe for Delivering PowerShell Code
Recently, I came across a Unit 42 threat note about a ClickFix campaign abusing the Finger protocol. . The attackers used the legitimate Windows utility to retrieve commands from a remote server over TCP/79, which were subsequently executed through . That got me thinking about other Windows utilities that can retrieve data from remote systems without relying on the usual HTTP download mechanisms. One candidate was , which is included with the OpenSSH client feature on Windows. Normally, is used to retrieve public host keys from SSH servers, primarily for populating files. However, the utility can also request SSH host certificates, which contain more than just a public key.