Article View: alt.privacy.anon-server
Article #268899Failed SSH Logins
From: Red John
Date: Tue, 08 Jul 2014 23:08
Date: Tue, 08 Jul 2014 23:08
45 lines
3001 bytes
3001 bytes
I'm checking my /var/log/auth.log file periodically during the day to see who's banging on my server to gain access. Below is an example of what I see everyday from different offenders: Jul 8 03:06:11 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:11 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:13 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:13 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:16 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:16 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:19 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:19 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:25 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:27 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 I do a lookup of the ip at centralops.net to determine if I should block the single IP or block the entire ip range from this offender. I then add the information to my iptables file and this particular user(s) is history. My problem is that this is labor intensive. I reached out to Zax to see, if it was a good idea to change my SSH port from 22 to some random number that I only knew. He recommended that I not go down that path as other programs that rely on this port may no longer work. Zax recommended that I look into Public/Private keys for SSH authentication. I have read the documentation and I'm afraid that I will break my VPS and have to rebuild it. So, I'm back to where I started doing my due diligence to swat these knats as they are identified. I have disabled root access via SSH. Should I just ignore this traffic, due to the fact that root access login is not permitted or should I continue to add these offenders to my iptables file?
Technical Details
Message-ID:
<20140708230811.7FE79EAC24@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20140708230811.7FE79EAC24@snorky.mixmin.net> Subject: Failed SSH Logins Date: Tue, 08 Jul 2014 23:08:11 +0000 From: Red John <redjohn@nym.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!mail2news.mixmin.net!not-for-mail Newsgroups: alt.privacy.anon-server Lines: 46 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net X-Received-Bytes: 2494 X-Received-Body-CRC: 2657210039