Why does an SSH honeypot make a good early-warning sensor inside a network?
Because attackers who gain a foothold usually try to spread to other machines over SSH; a decoy SSH service inside the network is likely to be touched early in that lateral movement, and any contact with it is a reliable alarm.
* Real servers see logins every day; the decoy sees none, so the first one is an alarm. *
SSH is the standard way to manage Unix-like servers and network devices such as switches and routers. So once attackers are inside, SSH is a natural next step to reach more devices. They try it in two ways:
- brute-force or dictionary attacks against the SSH login,
- logging in with credentials stolen elsewhere (from a compromised host, a config file, a password reuse).
An internal Cowrie instance sits among the real servers and looks like one more. Legitimate administrators know it is not a real server and never use it. So:
- Any login attempt means someone is scanning or moving laterally inside the network, often before they reach anything valuable.
- The credentials they try reveal which accounts and passwords are compromised.
- Their commands show what they are after.
That is why it is called an early-warning honeypot: it buys time between the first foothold and the real damage.
Go deeper:
MITRE ATT&CK T1021.004: Remote Services – SSH — how intruders use SSH with valid accounts for lateral movement, and how it is detected.
MITRE ATT&CK T1110: Brute Force — the guessing, spraying and credential-stuffing variants an internal SSH decoy catches.