- 黑马王子2011-10-11中级会员9708
这几天接到大量的弱口令扫描,网站暂时不做了,专门花几天时间来整顿一下服务器安全问题。我通过查看记录,发现居然有位香港的入侵了,还好这次我发现及时,把安全措施做足了,后面的还需要查漏补缺。
大家看看是不是已经得到了shell?- Last login: Mon Oct 10 05:26:02 2011 from 183.3.192.138
- [root@vps ~]# more /var/log/secure
- Oct 9 03:49:08 vps sshd[8184]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8185]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8186]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8187]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8188]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8189]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8190]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[8191]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[9216]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[9218]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[9219]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[9220]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:08 vps sshd[9217]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:33 vps sshd[9221]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 03:49:33 vps sshd[9222]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9459]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9460]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9461]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9458]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9462]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9463]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9465]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9466]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9467]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9468]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9464]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9469]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:31:35 vps sshd[9470]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:32:00 vps sshd[9473]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:32:00 vps sshd[9474]: Did not receive identification string from 217.27.88.2
- 36
- Oct 9 04:58:39 vps sshd[9542]: Invalid user cadi from 118.142.10.238
- Oct 8 20:58:39 vps sshd[9545]: input_userauth_request: invalid user cadi
- Oct 9 04:58:39 vps sshd[9542]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:39 vps sshd[9542]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 9 04:58:39 vps sshd[9544]: Invalid user cadi from 118.142.10.238
- Oct 8 20:58:39 vps sshd[9548]: input_userauth_request: invalid user cadi
- Oct 9 04:58:39 vps sshd[9544]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:39 vps sshd[9544]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 9 04:58:39 vps sshd[9543]: Invalid user cadi from 118.142.10.238
- Oct 8 20:58:39 vps sshd[9547]: input_userauth_request: invalid user cadi
- Oct 9 04:58:39 vps sshd[9543]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:39 vps sshd[9543]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 9 04:58:39 vps sshd[9546]: Invalid user cadi from 118.142.10.238
- Oct 8 20:58:39 vps sshd[9551]: input_userauth_request: invalid user cadi
- Oct 9 04:58:39 vps sshd[9546]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:39 vps sshd[9546]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 9 04:58:40 vps sshd[9549]: Invalid user cadi from 118.142.10.238
- Oct 9 04:58:40 vps sshd[9550]: Invalid user cadi from 118.142.10.238
- Oct 8 20:58:40 vps sshd[9552]: input_userauth_request: invalid user cadi
- Oct 9 04:58:40 vps sshd[9549]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:40 vps sshd[9549]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 8 20:58:40 vps sshd[9553]: input_userauth_request: invalid user cadi
- Oct 9 04:58:40 vps sshd[9550]: pam_unix(sshd:auth): check pass; user unknown
- Oct 9 04:58:40 vps sshd[9550]: pam_unix(sshd:auth): authentication failure; logname=
- uid=0 euid=0 tty=ssh ruser= rhost=118.142.10.238
- Oct 9 04:58:41 vps sshd[9549]: Failed password for invalid user cadi from 118.142.10.
- 238 port 38320 ssh2
- Oct 9 04:58:41 vps sshd[9550]: Failed password for invalid user cadi from 118.142.10.
- 238 port 48303 ssh2
- Oct 8 20:58:42 vps sshd[9552]: Received disconnect from 118.142.10.238: 11: Bye Bye
- Oct 8 20:58:42 vps sshd[9553]: Received disconnect from 118.142.10.238: 11: Bye Bye
- Oct 9 04:58:42 vps sshd[9542]: Failed password for invalid user cadi from 118.142.10.
- 238 port 57013 ssh2
- Oct 9 04:58:42 vps sshd[9544]: Failed password for invalid user cadi from 118.142.10.
- 238 port 58110 ssh2
- Oct 9 04:58:42 vps sshd[9543]: Failed password for invalid user cadi from 118.142.10.
- 238 port 51939 ssh2
- Oct 9 04:58:42 vps sshd[9546]: Failed password for invalid user cadi from 118.142.10.
- 238 port 37519 ssh2
- Oct 8 20:58:42 vps sshd[9545]: Received disconnect from 118.142.10.238: 11: Bye Bye复制代码