Summery
sshesame is a fake SSH server designed to accept SSH connections and log what clients send, including attempted usernames and passwords.
Pentesters may use it to capture credentials when a target connects to a controlled SSH endpoint. It can also help identify clients connecting to unexpected SSH services.
Unlike Responder, it does not poison LLMNR or NBT-NS.
It can be simply installed with sudo apt install sshesame.
Commands
To make a working listener, first create a sshesame.yaml file containing the interface and a port that you want to listen to. It should look like this:
server:
listen_address: 0.0.0.0:2022Then, run the tool with sshesame -config sshesame.yaml
References
Used in: Sweep
Related concepts: Lansweeper
Similar tools: Responder, Inveight