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.
|
|
03-26-2006, 11:19 AM
|
#1
|
Member
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Rep:
|
non-root security
Hello!
I am currently hardening the security of my system. Linux has a strong barrier between the core system and userland and is fairly straightforward to configure. Hence, my core system is fairly stable.
However, what options are there for users' security?
It seems to me a simple internet java/activeX script can easily download itself into the ~ directory and then modify the ~/bash_profile init file to run malicious code. A small program bug could also create a exploit like this.
Only the user will be affected, but it may compromise private information or corrupt a user's files.
Thank you,
Murdock
|
|
|
03-26-2006, 11:42 AM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
ActiveX doesn't work in Linux. As far as java scripts, the web browsers are support to provide some protection but if you don't believe it is enough you can always disable java/javascript support in your preferences (at least you can on Firefox and Konqueror).
Another thing some people do is mount /home with the no exe flag so that you can't run things from users home directories. Last thing I can think of if your really afraid is removing your write privileges from your .bashrc, .bash_profile or any other script that automatically runs at login....
You should probably also look into using SELinux and a PAX/Grsecurity enabled kernel.
Last edited by jtshaw; 03-26-2006 at 11:53 AM.
|
|
|
03-27-2006, 06:54 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
for your web-based script worries, look at the noscript extension:
http://www.noscript.net/
of course this assumes you use firefox to surf the web...
the mounting /home noexe tip is great, i'm actually planning to do this for my parents in the near future... probably when linux 2.4.33 is released...
|
|
|
03-27-2006, 02:59 PM
|
#4
|
Member
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Original Poster
Rep:
|
Win32sux,
Thanks for the Firefox tip. Most of Microsoft's security problems come up when surfing the web, so while Linux is more secure, it also is somewhat affected by the same problem. But this will entirely eliminate the issue.
Thanks!
Murdock
|
|
|
All times are GMT -5. The time now is 04:42 AM.
|
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
|
|