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.
|
|
07-25-2006, 09:20 PM
|
#1
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Rep:
|
Run restore on boot & LKM rootkits
This may be a question best answered by a moderator, but here goes.
Is it possible when rebooting to run a system 'restore' from the harddrive of a workstation using dar that would undo what has been done by an LKM rootkit? Where exactly in the boot sequence should this happen?
The application for this is for publicly accessible,internet connected PC's such as libraries etc.
Alternatively would it be better to simply reload files from the file server when the PC boots?
Cheers
MazinOz
|
|
|
07-26-2006, 01:24 AM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Rep:
|
If you're considering reloading files from a remote server anyway, another possibility might be simply running from a GNU/Linux live cd, eh? A read-only OS; every admin's dream.
|
|
|
07-26-2006, 01:38 AM
|
#3
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Under windows, there's a tool called Deep Freeze that does this kind of stuff.
I would suggest you look into building a copy-on-write filesystem with the 'writable' portion being a tmpfs (in-ram only). Therefore, on reboot, it reverts to the disk system without any changes made by the previous user.
|
|
|
07-26-2006, 06:45 PM
|
#4
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Original Poster
Rep:
|
Run restore on boot & LKM rootkits
Dear anomie and Matir
Thank you for your replies. I was aware of Deep Freeze but my impression of it was that it was tied very much to a Windows operating system. If you have it working successfully for linux please let me know.
A fileserver serving from a CD or DVD is also a good option as well as a ramdrive. The PC's are for a charity and have 256mb RAM with only 2 slots and are picky about what RAM works (Dells), Kingston RAM doesn't always work, though it is recommended. If I used Debian Sarge or Fedora Core 5, would performance levels be acceptable if serving from a 2.8G processor with 750mb RAM? Also I have mainly used SuSE but recently tried Fedora and Debian Sarge, both of which are heaps faster than SuSE out of the box for some reason. Though I have done a major overhaul of a number of things in SuSE I have decided to discontinue using it as it STILL has slower performance than Fedora or Sarge, and there is even a project to hack it to make its speed acceptable.
I'm self-taught and still learning heaps, but what is a copy-on-write file system? Also if I have a prototype setup, how do I make a bootable iso image? mkisofs? An outline of steps involved, or some links would be appreciated.
Cheers
MazinOz
|
|
|
07-26-2006, 07:01 PM
|
#5
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Deepfreeze is indeed for Windows. I was merely comparing my suggestion to the functionality offered by Deepfreeze.
|
|
|
07-26-2006, 07:16 PM
|
#6
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Original Poster
Rep:
|
Dear Matir
What I think I want is something like a Linux version of this utility, but don't know how to go about achieving this. What do you mean exactly when you say a copy-on-write filesystem?
Thank you
MazinOz
|
|
|
07-26-2006, 07:24 PM
|
#7
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Take a look at unionfs and this Linux Journal article.
|
|
|
All times are GMT -5. The time now is 04:38 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
|
|