One of my servers is under serious brute force hack attempts from China. Bastards.
My logs are looking something like this:
Im not sure if this is pretty common, but I think I have an idea of why this is happening. I have a mate in China that I was best friends with at school. To allow him access to Facebook and Twitter I have given him an account on that server to create a ssh tunnel through. Ever since that has happened, my log files have increased something crazy.
My logs are looking something like this:
Code:
Apr 29 01:46:08 alpha646 sshd[18112]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252 user=root
Apr 29 01:46:10 alpha646 sshd[18112]: Failed password for root from 221.2.163.252 port 55247 ssh2
Apr 29 01:46:10 alpha646 sshd[18115]: Received disconnect from 221.2.163.252: 11: Bye Bye
Apr 29 01:46:13 alpha646 sshd[18117]: Invalid user oracle from 221.2.163.252
Apr 29 01:46:13 alpha646 sshd[18121]: input_userauth_request: invalid user oracle
Apr 29 01:46:13 alpha646 sshd[18117]: pam_unix(sshd:auth): check pass; user unknown
Apr 29 01:46:13 alpha646 sshd[18117]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252
Apr 29 01:46:13 alpha646 sshd[18117]: pam_succeed_if(sshd:auth): error retrieving information about user oracle
Apr 29 01:46:15 alpha646 sshd[18117]: Failed password for invalid user oracle from 221.2.163.252 port 55565 ssh2
Apr 29 01:46:15 alpha646 sshd[18121]: Received disconnect from 221.2.163.252: 11: Bye Bye
Apr 29 01:46:18 alpha646 sshd[18123]: Invalid user oracle from 221.2.163.252
Apr 29 01:46:18 alpha646 sshd[18126]: input_userauth_request: invalid user oracle
Apr 29 01:46:18 alpha646 sshd[18123]: pam_unix(sshd:auth): check pass; user unknown
Apr 29 01:46:18 alpha646 sshd[18123]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252
Apr 29 01:46:18 alpha646 sshd[18123]: pam_succeed_if(sshd:auth): error retrieving information about user oracle
Apr 29 01:46:21 alpha646 sshd[18123]: Failed password for invalid user oracle from 221.2.163.252 port 55906 ssh2
Apr 29 01:46:21 alpha646 sshd[18126]: Received disconnect from 221.2.163.252: 11: Bye Bye
Apr 29 01:46:24 alpha646 sshd[18128]: Invalid user test from 221.2.163.252
Apr 29 01:46:24 alpha646 sshd[18131]: input_userauth_request: invalid user test
Apr 29 01:46:24 alpha646 sshd[18128]: pam_unix(sshd:auth): check pass; user unknown
Apr 29 01:46:24 alpha646 sshd[18128]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252
Apr 29 01:46:24 alpha646 sshd[18128]: pam_succeed_if(sshd:auth): error retrieving information about user test
Apr 29 01:46:26 alpha646 sshd[18128]: Failed password for invalid user test from 221.2.163.252 port 56280 ssh2
Apr 29 01:46:26 alpha646 sshd[18131]: Received disconnect from 221.2.163.252: 11: Bye Bye
Apr 29 01:46:29 alpha646 sshd[18133]: Invalid user test1 from 221.2.163.252
Apr 29 01:46:29 alpha646 sshd[18136]: input_userauth_request: invalid user test1
Apr 29 01:46:29 alpha646 sshd[18133]: pam_unix(sshd:auth): check pass; user unknown
Apr 29 01:46:29 alpha646 sshd[18133]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252
Apr 29 01:46:29 alpha646 sshd[18133]: pam_succeed_if(sshd:auth): error retrieving information about user test1
Apr 29 01:46:31 alpha646 sshd[18133]: Failed password for invalid user test1 from 221.2.163.252 port 56615 ssh2
Apr 29 01:46:31 alpha646 sshd[18136]: Received disconnect from 221.2.163.252: 11: Bye Bye
Apr 29 01:46:34 alpha646 sshd[18138]: Invalid user test2 from 221.2.163.252
Apr 29 01:46:34 alpha646 sshd[18141]: input_userauth_request: invalid user test2
Apr 29 01:46:34 alpha646 sshd[18138]: pam_unix(sshd:auth): check pass; user unknown
Apr 29 01:46:34 alpha646 sshd[18138]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.2.163.252
Apr 29 01:46:34 alpha646 sshd[18138]: pam_succeed_if(sshd:auth): error retrieving information about user test2
Apr 29 01:46:36 alpha646 sshd[18138]: Failed password for invalid user test2 from 221.2.163.252 port 56986 ssh2
Apr 29 01:46:37 alpha646 sshd[18141]: Received disconnect from 221.2.163.252: 11: Bye Bye
Im not sure if this is pretty common, but I think I have an idea of why this is happening. I have a mate in China that I was best friends with at school. To allow him access to Facebook and Twitter I have given him an account on that server to create a ssh tunnel through. Ever since that has happened, my log files have increased something crazy.