Top ten SSH login attempts


With all the fuss over NSA intrusion into encrypted datastreams, I thought I'd take a look at the security situation on my own website. To that end, I wrote some perl to fondle the log files and keep a record of who's logging in and who's getting kept out.

Top 10 users accepted:

Only one user is accepted at all and that user is me. As I normally ssh in with a public key, I think this is pretty secure. I'm not giving usernames, just because. Also, all IP addresses accepted are either local addresses, or the remote address I was at recently.

Top 10 usernames rejected:

Here's where it gets interesting: there are hundreds of attempted logins per day via ssh. I keep a years worth of logs, so over the last year the top 20 usernames someone tried to use to log in with are:

  • USER_REJ: testing rejected 438 times.
  • USER_REJ: tester rejected 447 times.
  • USER_REJ: temp rejected 505 times.
  • USER_REJ: www rejected 536 times.
  • USER_REJ: testuser rejected 541 times.
  • USER_REJ: web rejected 545 times.
  • USER_REJ: test1 rejected 545 times.
  • USER_REJ: alex rejected 592 times.
  • USER_REJ: backup rejected 671 times.
  • USER_REJ: ftpuser rejected 758 times.
  • USER_REJ: tomcat rejected 767 times.
  • USER_REJ: info rejected 777 times.
  • USER_REJ: git rejected 890 times.
  • USER_REJ: postgres rejected 1351 times.
  • USER_REJ: user rejected 1520 times.
  • USER_REJ: a rejected 1559 times.
  • USER_REJ: nagios rejected 2181 times.
  • USER_REJ: admin rejected 2295 times.
  • USER_REJ: test rejected 4052 times.
  • USER_REJ: oracle rejected 4088 times.

What's interesting here is the huge gap between the top 20: almost 10 times the frequency. Also, how many are trying to log in via ssh as the standard user for services. If you allow SSH as the standard service name for popular services, you are an idiot and asking for trouble.

Top 20 rejected IP addresses

So where am I being hacked from the most? Over the last year, the logs tell the following story.

  • IP_REJ: probed 1825 times. iWeb Technologies Inc. IWEB-BLK-04 (NET-67-205-64-0-1) -
  • IP_REJ: probed 1869 times. CNC Group CHINA169 Shandong Province Network
  • IP_REJ: probed 1931 times. Indonesia
  • IP_REJ: probed 2245 times., Berlin.
  • IP_REJ: probed 2366 times. CHINANET-ZJ Hangzhou node network
  • IP_REJ: probed 2542 times. HZDTV-IDC, China Zhejiang Province.
  • IP_REJ: probed 2546 times. CHINANET liaoning province network
  • IP_REJ: probed 2585 times. Hangzhou, Zhejiang, P.R.China
  • IP_REJ: probed 2594 times. Hyundai HCN Dongjak Systems Co., Ltd, Korea
  • IP_REJ: probed 2698 times. 2F Bundang Center, Onse IDC, 235-230, Korea
  • IP_REJ: probed 2947 times.
  • IP_REJ: probed 3194 times. Chulalongkorn University, Thailand
  • IP_REJ: probed 3321 times. CHINANET Guizhou province network
  • IP_REJ: probed 4199 times. Hangzhou Alibaba Advertising Co.,Ltd, China
  • IP_REJ: probed 4768 times. Starhub internet, Singapore
  • IP_REJ: probed 5218 times. China Mobile Communications Corporation - liaoning
  • IP_REJ: probed 5704 times. Beijing Bitone United Networks Technology Service Co.,Ltd, China
  • IP_REJ: probed 8212 times. Hangzhou NEWGRAND Software Co., Ltd, China
  • IP_REJ: probed 12834 times. FIT Center, Tsinghua University, Beijing China
  • IP_REJ: probed 16360 times. WASU TV & Communication Holding Co.,Ltd. 6/F, Jian Gong Building, NO.20 Wen San Road, Hangzhou, Zhejiang province, P.R.China 310012

That's a heck of a lot of illegal accessing attempts from China... Remember, this is not website accesses, these are attempted logins over ssh. There is no way any of this is mistaken SSH, as only I have login access to this box. All of these login attempts are malicious. If you are operating a commercial SSH service and you have no customers in China, you should block the whole damn country.

But who is It's almost the only non-Asian attacker in the whole list. Whois returns:

Registrant Name: Steve Barnes
Registrant Organization: BarnesSteve
Registrant Street: Shop1, 676 Wynnum Road,
Registrant City: Morningside, Brisbane  Queensland

Why is this guy, or someone using his services, trying to login to my ssh server? (Or was, the entries are from April 2013.) And why is he trying to log in as user admin? He's also tried dictionary attacks using a variety of first names and service names. Nearly 3,000 attempts? That's no accident, this site was clearly either compromised or is black hat.

About Me


  • Unsolicited Bulk Email (spam), commercial solicitations, SEO related items, link exchange requests, and abuse are not welcome here and will result in complaints to your ISP.
  • Any email to the above address may be made public at the sole discretion of the recipient.

Other Stuff

  • Powered by Linux
  • (RedHat Linux)


Monthly Archives

About this Entry

This page contains a single entry by dave published on September 8, 2013 11:21 PM.

Cleaning Shure SE215s was the previous entry in this blog.

Inquiry of Guest Posting is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.