Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-04-2007, 09:01 AM
|
#1
|
Member
Registered: Sep 2005
Distribution: feather 0.72-usb, DSL,CentOS,Ubuntu, Redhat 9
Posts: 144
Rep:
|
URGENT: hacker's attack on linux box
hi friends,
for some time now i have beeing seeing such messages in my /var/log/secure
Jun 7 01:08:59 host sshd[1955]: Did not receive identification string from 72.20.1.250
Jun 7 01:09:59 host sshd[3959]: Did not receive identification string from 72.20.1.250
Jun 7 01:10:56 host sshd[5937]: Did not receive identification string from 69.61.56.114
Jun 7 01:11:56 host sshd[7752]: Did not receive identification string from 69.61.56.114
Jun 7 01:12:55 host sshd[9633]: Did not receive identification string from 69.61.56.114
Jun 7 01:13:56 host sshd[11530]: Did not receive identification string from 69.61.56.114
i am suspecting an hacker's attemping to gain access.
how can i change my ssh port to a differ one and how do i know which port is available.
Thnaks
|
|
|
08-04-2007, 10:12 AM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Code:
Port Specifies the port number that sshd listens on. The default is 22. Multiple
options of this type are permitted. See also ListenAddress.
Also look into programs that block IPs after X number of unsuccessful logins, such as fail2ban and DenyHosts
Last edited by AlucardZero; 08-04-2007 at 05:25 PM.
|
|
|
08-04-2007, 02:07 PM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Also look at the sticky on failed SSH attempts at the top of this forum.
|
|
|
08-08-2007, 03:19 AM
|
#4
|
Member
Registered: Aug 2007
Distribution: Gentoo 2007.0
Posts: 51
Rep:
|
Port Knocking
You could also look into setting up port knocking...
http://www.linuxjournal.com/article/6811
Hope this helps...
---Mr. Snorfles
|
|
|
08-08-2007, 07:42 AM
|
#5
|
LQ Newbie
Registered: Jul 2007
Location: Omaha Nebraska
Distribution: Redhat (Fedora / CentOS) - Slackware - Ubuntu
Posts: 15
Rep:
|
yawe_frek
You could block these IP addresses using iptables
just a thought.
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|