Re:OpenSSH user enumeration
by Someone1234 on Sunday August 19, 2018 @02:41AM
(#17792934)
I know you're being facetious but, yes, I would find that information useful. Now I've just IDed the distribution I'm targeting.
[ Parent
| on HN ]
Re:OpenSSH user enumeration
by blattimwind on Sunday August 19, 2018 @04:58AM
(#17793366)
This is usually in the OpenSSH version string anyway, e.g. "OpenSSH 6.7p1 Debian 5+deb8u4 (protocol 2.0)". Guess what distro that server is running?
I believe only Debian does that, out of vanity (I presume).
https://salsa.debian.org/ssh-team/openssh/raw/master/debian/...
Subject: Include the Debian version in our identification
This makes it easier to audit networks for versions patched against security vulnerabilities. It has little detrimental effect, as attackers will generally just try attacks rather than bothering to scan for vulnerable-looking version strings. (However, see debian-banner.patch.)
Re:OpenSSH user enumeration
by thaumaturgy on Sunday August 19, 2018 @03:29AM
(#17793048)
A disappointing number of servers happily give away this information in their http response headers. For those that don't, `nmap -O` will sometimes do the trick.
Re:OpenSSH user enumeration
by Someone1234 on Sunday August 19, 2018 @03:42AM
(#17793088)
nmap's OS detection won't normally tell you the distribution, only the OS (and maybe kernel version).