LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-26-2006, 01:57 PM   #1
2backitup
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
What are the Pros versus Cons with File Integrity Detection Systems


First post to the forum… hope this is the appropriate forum for this type of question… if not please advise -onto my question…

I have researched the various File Integrity Detection Systems, (tripwire, samhain, aide, fcheck, osiris, integrit, etc…) and have a good idea of their functionality. Additionally, I have briefed unSpawn’s Security references – great info that is a wealth of info, thanks!

The question that I have not been able to find the answer to is, what are the con’s versus pro’s of these products? I know each one has their market nitch, etc… what I’m looking for is a general overview of why one would or wouldn’t choose to use such a product. Plenty of pro’s (and sales pitches) as to why it is good but there also has to be some cons to such a product, (aside from configuration). Can anyone fill in this blank for me?

Thanks in advance -
 
Old 02-26-2006, 03:14 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Main pro: you know when files are changed.
Main con: it requires time/space to calculate and store the results.
 
Old 02-26-2006, 03:29 PM   #3
2backitup
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mara
Main pro: you know when files are changed.
Main con: it requires time/space to calculate and store the results.
Thanks for the reply....

Yea, tools are only as good as the user.... I was thinking that it might serve a dual purpose.

1. For system rebuilds / security...
2. For engineering other products onto the system. Could do a "snapshot" of a before and after on a "mirrored" test system to see exactly what files would be added. Therefore tracking space, etc...

In anyones experiences, are there any added vulnerabilities to the system by adding this tool?

Any other cons?
 
Old 02-28-2006, 09:08 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
In anyones experiences, are there any added vulnerabilities to the system by adding this tool?
Depends on what your run and how you run it, but AFAIK there are no vulns that aren't part of regular sysadm stuff. I've only ran Integrit, Osiris, Samhain, tripwire and Aide and I've used Aide for years now. For example if you run a full setup of say Samhain, you'll want the LKM loaded, which (temporarily: minimally see "lcap") opens up a hole for loading LKM's.


Any other cons?
Again, AFAIK, none or it should be post-upgrade fall-out if you didn't run a check-and-update immediately after. It also takes a bit time to tune the conf setup to what purpose box it runs on. Say you have a ro-mounted /usr or something protected with extended attributes, then you could get away with regularly checking for instance /tmp, /var/tmp, /etc etc, etc and run one separate check for /usr on for example a weekly basis.
 
Old 02-28-2006, 10:47 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by unSpawn
For example if you run a full setup of say Samhain, you'll want the LKM loaded, which (temporarily: minimally see "lcap") opens up a hole for loading LKM's.
Just to be clear, this doesn't mean that having no LKM support prevents someone from tampering your running kernel (through /dev/kmem for example)? For this you would need to patch your kernel. with lids for example. Or is there a linux capability for preventing access to /dev/kmem?

I run samhain from another machine and mount a share to scan the files. I also keep the signature off the server to check (not because they can be modified since they are signed, only so that nobody sees that samhain is there). Thats high security, maybe too paranoid..

Main cons for me: you have a lot of things to read if its not a production server or your filters are not well set, I have removed it from my desktop pc for example..

Last edited by nx5000; 02-28-2006 at 10:48 AM.
 
Old 02-28-2006, 12:04 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Just to be clear, this doesn't mean that having no LKM support prevents someone from tampering your running kernel (through /dev/kmem for example)?
Disabling LKM support closes off only one of five holes.


Or is there a linux capability for preventing access to /dev/kmem?
That's CAP_SYS_RAWIO. Before you run lcap to disable that you will want to check breakage like X11/Xorg on desktops.
 
Old 03-01-2006, 02:51 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by unSpawn
Or is there a linux capability for preventing access to /dev/kmem?
That's CAP_SYS_RAWIO. Before you run lcap to disable that you will want to check breakage like X11/Xorg on desktops.
Oh I had missed this one. No need for external patch. As I said, I won't do it on a desktop ; and on my server, I don't run X at all.

Thanks a lot.
 
Old 03-02-2006, 06:47 PM   #8
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
There's this comparation that's somewhat old, but you may find out which features are mandatory for an FIC scanner.

http://la-samhna.de/library/scanners.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autopartition pros/cons curos Fedora - Installation 1 08-10-2005 04:35 AM
pros/cons of getting a G5 Tomasfuego Linux - Hardware 4 06-07-2005 04:53 AM
Pros and cons of upgrading to 2.6? Darklion Slackware 17 12-10-2004 02:35 AM
Slackware pros and cons DesertWolf0132 Linux - Newbie 4 10-14-2003 10:14 PM
Gentoo: Pros and Cons AgtSkippy Linux - Distributions 5 07-12-2003 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration