Page 1 of 1
[ssh] When the chinese attack
Posted: Tue Jan 29, 2013 11:17 am
by Isaac
I just watched my friend's ubuntu server get a brute-force style attack over ssh. They never got "Accepted" in the auth.log. They were using different IP addresses, all from China. I shut down the server.
We were just using a password for ssh, but now I'm going to switch to a proper ssh key. This is fun.
Re: [ssh] When the chinese attack
Posted: Thu Jan 31, 2013 6:46 am
by snoopy
Yeah...
I've been repeatedly pinged by Chinese IP addresses. Lock 'er down... I have mine set to only allow key authentication. Also consider moving the port...
Re: [ssh] When the chinese attack
Posted: Thu Jan 31, 2013 9:05 am
by Isaac
That sounds like a good idea. It was weird reading the log. They tried a random username and tried to see if I had an Oracle database installed.
Then they just opened and closed the session repeatedly, but without trying any passwords. I'm wondering if Ubuntu just black-listed them.
Re: [ssh] When the chinese attack
Posted: Thu Jan 31, 2013 9:50 pm
by Jeff250
Passwords are fine *if* they are all strong, but the advantage of keys is that you don't have to worry about "choosing" one... the entropy pool does a good enough job.
Re: [ssh] When the chinese attack
Posted: Fri Feb 01, 2013 12:30 pm
by Isaac
Yeah, plus I believe it will decrease the tremendous lag I've been experiencing, from the local and public ip (across the city @ ~17 traces)