Hacker News
Harvesting SSH Credentials: Insights from My Honeypot Network
25 points by whatbackup
ago
|
17 comments
ufmace
|next
[-]
I'd be more curious to know what these SSH scanner bots actually do if they manage to log in. Automated recon, install spambot/cryptominer/phishing site, something else?
pastage
|next
|previous
[-]
Last time I saw this an obscure single letter root password was still "secure", now days seems like almost all non-alphanumeric chars works. % is my new root password it still has not been brute forced.
daneel_w
|next
|previous
[-]
No "credentials" are being "harvested" here. It's all worthless data, save for the statistics.
asveikau
|next
|previous
[-]
Having a root password of "toor" is very clever. Nobody will figure that one out.
erulastiel
|root
|parent
|next
[-]
toor was a default password for many devices for decades.
asveikau
|root
|parent
|next
[-]
I've used unix-like OS's for 28 years and I don't remember coming across it as a password.
It is a common username (see: https://en.wikipedia.org/wiki/Toor_(Unix) ), the machine I am typing this on has it.
0cf8612b2e1e
|previous
[-]
Do most installations create a git user account with login permissions?
inigyou
|root
|parent
[-]
There's no such thing as an account with or without login permissions. Normally you need a git account. And that means you can log in to it. And then you have to try and configure your ssh server so that after logging into the git account, you can only run the git server (I forget the command). If a mistake is made with this configuration then you can log in or port forward or X forward or file transfer as git.
This is a terrible idea because it's blacklist-based security. Places like GitHub have their own ssh server that only runs the git server and nothing else.
0cf8612b2e1e
|root
|parent
|next
[-]
I suppose /usr/sbin/nologin is not a thing?
inigyou
|root
|parent
[-]
That's a hack. It's a login shell that, once you have already logged in and run the shell, prints a message saying you can't log in or run a shell, and then exits.
It does not stop you from, say, logging in to SSH and then starting a port forward. Or running a command in a way that bypasses the login shell. ssh will always pass it to your login shell but other ways can be vulnerable.