ssh-keygenLOLBIN
Generates SSH keypairs to plant in authorized_keys.
Legitimate system binary (LOLBIN): not an offensive tool as such, but an attacker leverages it because it is usually already installed and raises fewer suspicions than dropping a dedicated tool.
Generates and manages SSH key pairs. In post-exploitation it is used to create your own key and plant its public part in a victim's authorized_keys, gaining stable SSH access.
Family Access, shells & transfer
Flags -t rsa -f -N
Cheatsheet SSH · 22
Installation
# preinstalado (paquete openssh-client)Useful commands
Appears in
Some machines where its use is documented; not an exhaustive list.