SSH: Best practices
blog.0xbadc0de.be
SSH: Best practices
1–10 of 123 posts
Re: SSH: Best practices
#2Re: SSH: Best practices
#3Re: SSH: Best practices
#4Cached version https://webcache.googleusercontent.com/search?q=cache:BZ3Zeq...
Re: SSH: Best practices
#5- https://blog.benjojo.co.uk/post/auditing-github-users-keys
- http://arstechnica.com/security/2015/06/assume-your-github-a...
Re: SSH: Best practices
#6I thought using per-service SSH keys was an useful mitigation against e.g. GitHub public keys being exposed: - https://blog.benjojo.co.uk/post/auditing-github-users-keys - http://arstechnica.com/security/2015/06/assume-your-github-a... - https://news.ycombinator.com/item?id=9645703
Re: SSH: Best practices
#7I thought using per-service SSH keys was an useful mitigation against e.g. GitHub public keys being exposed: - https://blog.benjojo.co.uk/post/auditing-github-users-keys - http://arstechnica.com/security/2015/06/assume-your-github-a... - https://news.ycombinator.com/item?id=9645703
Public keys being exposed isn't something I think needs to be mitigated. That's the whole point, they're public.
Saying "they are public so it's ok" is technical oversimplification.
Re: SSH: Best practices
#8All I have to do is trick your folks into testing a ruby / python / perl / bash script for me that will drop a key on your machine, fire up ssh using that key and tunnel back to my host. Now I have full control of your secure (banking, government, eCommerce) environment, completely bypassing 2 factor authentication. Just one link to one of your email distros and up to 10% of your folks will run it.
Combine this with sudo credential caching and now I have root on all of your systems without having to bother finding vulns.
Thx to Prandium for the demo of this simple social engineering exploit.
Re: SSH: Best practices
#9Re: SSH: Best practices
#10As a cherry on top you can put the password in LDAP or RADIUS server and hook up traditional 2FA (Google Auth, Yubikey, Email, SMS) for that legendary 3FA (ah... "something (else) you have"). Sounds hokey, but defense is best in depth.