Linux - SecurityThis 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.
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.
I use Mandrake 10 on my machine and it is connected to a 10 mbps LAN connection. Recently somebody hacked my comp and did nasty things on my comp.
Can somebody please suggest me some wat through which I can make my comp secure from such attacks!
If you can give more information about your specific attack, people should be able to answer any questions you have, but the links page is the best place to start.
You will want to read through some howto's on security. One thing you can do is go into the MCC setup and increase your security level. You also want to be able to receive the security notices via your local mailbox (either as yourself or as root). Or use webmin to read these messages. Go into the firewall setup and make sure that to unselect servers you don't want exposed to the network.
In the system->services section, turn off any services you don't use. Make sure you don't use telnet for instance. Do you need an ftp server on your machine, etc.
Make sure to install all of the security updates. The person who did this may have used an exploit that you haven't upgraded against.
The bad news is that you may need to reinstall. System commands may have been replaced with hacked versions. The person may have altered the logs to cover his steps.
After reinstalling, back up the system files like /bin,/sbin/,/usr/sbin,/etc etcetera.
Use the find command to locate all setuid and setguid programs. Are they needed?
Study the logs. Maybe the hacker didn't catch anything.
Learn about the 'snort' program. This program provides stateful monitoring of network connections.
I'm sure I missed plenty.
A lot to learn an do! Sorry! Good luck in the future.
it seems that my last posted message did not appear on the board.
Anyway, I am thankful to you people for replying, as far as the attack on my comp is concerned, it was most probably a Buffer overflow attack( as analyzed by somebody!),. Although I am right now learning how to make my comp robust for such things. Putting up a firewall may be a good option, but then I have to run a DC client on my machine, which eventually stopped working after the firewall was turned On.
The person who cracked his/her way to my comp, deleted the kernel and the log files, so I couldn't trace him back .
Thank you Iainr, for the link, I probably need to spend more time to learn all the Linux security stuff.
Ok, so does anybody know, how should I set up my firewall and security setting, so that my dc client works fine, and the danger of cracking and stuff is also avoided ? I could not find any related stuff from the links I followed :-(
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.