Slashdot Mirror


Security Auditing for Linux

malibu_mex writes: "LinuxToday, ZDNet Australia, and NewsForge are all reporting on a loadable kernel module + GUI combination that implements an auditing subsystem on Linux (Like the NT event logger, or solaris BSM). This could be yet another reason for big business and government to migrate away from the costly commercial alternatives to Linux. First it was SAMBA, now it's SNARE. What have these Aussies got with 5 letter 'S' names? This topic has been discussed on Slashdot previously here."

26 of 112 comments (clear)

  1. Maybe it's just me by Saib0t · · Score: 2, Funny

    but I wouldn't trust a snare... we keep reproaching MS to entangle us. I don't want this to happen to linux. no snare for me :-)

    --

    One shall speak only if what one has to say is more beautiful than silence
  2. Another Link by _DMan_ · · Score: 3, Insightful

    CNET

    Although this storuy claims "is the first intrusion detection system to reside on individual computers rather than a network"
    which is clearly wrong.

  3. 5 letter aussies by FrankBough · · Score: 5, Funny

    First it was SAMBA, now it's SNARE. What have these Aussies got with 5 letter 'S' names?

    Apparently the first idea for a name was System Tracking, User Protection and Intrusion Detection but they thought that would be stupid.

  4. For those who dont know by nervlord1 · · Score: 3, Redundant

    Loadable Kernel Module means you dont have to recompile your kernel, i know for some people (me!!) not having to recompile your kernel is a big importance (i might be wrong on this, but thats what i remember, ill try and install it myself just to verify)

    --
    Microsoft IIS is to webserving as KFC is to healthy eating
    1. Re:For those who dont know by Anders · · Score: 3, Informative

      Loadable Kernel Module means you dont have to recompile your kernel, i know for some people (me!!) not having to recompile your kernel is a big importance

      Indeed, modules are very nice compared to a kernel patch. You not have to recompile and reboot your kernel and you do not have to keep applying the same patch when you do install a new kernel.

      That being said, you probably still have to compile the module itself and therefore still need the kernel source installed (unless someone provides a binary module for your particular kernel revision). And there are limits to what you can do in a module, which is of course the reason that most kernel additions out there are in the form of patch files.

      Basically, an addition might go into a module, but modifications to existing beaviour often need to touch the kernel itself.

  5. tail -f /var/log/messages by Nijika · · Score: 3, Insightful
    Ok folks, here's the deal; It's not the fancy little GUI widgets that sell Windows solutions, it's the full color two page ads in "CXO Magazine", or some other publication. It's the paid fud, it's the sales calls, it's the brand name the CxO sees when they head out to Wal-Mart. It's the last 20 years of business computing history, NOT THE GADGETS.

    The people that make the decisions to go Microsoft will almost never touch the systems they implement.

    Tough cookies, but that's the real deal. Don't believe me? Go to a magazine store and pick up some financial glossies...

    --
    Luck favors the prepared, darling.
    1. Re: tail -f /var/log/messages by foo+fighter · · Score: 3, Insightful

      I would like to kindly disagree.

      While they weren't huge cases (handful of servers, 250-500 machines/users) my organization has chosen Windows NT for our Network Operating System solution and desktop OS in the past precisely because of the 'widgets' which made security administration much easier than on linux.

      The Event Log utility makes tracking system, application, and security events a breeze. Having the ACL controls integrated into the system and file manager makes controlling access much more flexible (IMHO, not trying to start a flame) than linux's traditional methods.

      Finally, in the organizations I've worked in the Executives relied heavily on input from the engineers who would be running the systems. They realized that the sysadmins had a better idea of what was needed than they did, and acted on that information accordingly.

      --
      obviously no deficiencies vs. no obvious deficiencies
    2. Re: tail -f /var/log/messages by Zocalo · · Score: 2, Informative
      And for those that want a GUI, check out Xlogmaster. It comes in a variety of themes (OK, colours) and can pretty much capture everything you can cat, grep and cut out of your standard *NIX commands and logfiles. And a good deal more besides.

      Still, choice is good.

      --
      UNIX? They're not even circumcised! Savages!
  6. Quote from Leigh in response..... by Vermifax · · Score: 5, Informative
    ...to being questioned about being first posted to ZDnet talkback
    Anon is right in saying that there have been other logging tools for Linux, linuxbsm in particular has come a long way. Unfortunately though, some of these tools are either focussed on different logging capabilities (eg: swatch is a log file watcher, it alerts users when a particular line occurs in arbitrary log files, and can actually be used in conjunction with SNARE), or seem to be stalled in development.

    SNARE is more like the Windows NT event logger, or the Solaris BSM subsystem - but we hope that the experience we've had with these systems (and others: AIX, netware, Unicos, ACF2/RACF, etc.) will lead to an even better implementation for Linux.

    The team at InterSect made sure that we held off releasing SNARE until we were confident that it could stand on it's own feet against the auditing subsystems from other operating systems.

    The positive feedback that we're getting (thanks Sinner!) is certainly proving that people are interested, and we made the right decision.
    --

    Vermifax

    Logout
  7. Windows has had this since NT 3.5 by Anonymous Coward · · Score: 2, Redundant

    Why is it "cool" when Linux gets something that Windows has had, but when Windows gets something that Linux has had its, "Linux is so far ahead of Windows, blah, blah."

    1. Re:Windows has had this since NT 3.5 by autocracy · · Score: 2

      Because with Linux, it's usually free and done by the labor of people who figure stuff out on their own, whereas and M$ has proprietary access and money to buy protocls. If Microsoft gets something years after Linux, it's rather pathetic because the ideas behind it are like RIGHT THERE IN CODE and they still haven't caught on. At the least they can let in some GPL code to enhance their own system, at the most get one programmer to read it, and the other to go just based on the general idea given to him so that the code is fresh.

      --
      SIG: HUP
    2. Re:Windows has had this since NT 3.5 by Nailer · · Score: 2

      Because with Linux, it's usually free and done by the labor of people who figure stuff out on their own, whereas and M$ has proprietary access and money to buy protocls.

      That's increasingly becoming less the case, at least with larger Open Source projects, many of which ar commercialy motivated and backed.

      If Microsoft gets something years after Linux, it's rather pathetic because the ideas behind it are like RIGHT THERE IN CODE

      And using it would be VIOLATE THE LICENSE of the code which MS staff are forbidden by their employer to do.

      and they still haven't caught on.

    3. Re:Windows has had this since NT 3.5 by Nailer · · Score: 2

      My basis for saying that looking at GPL source is forbidden within Microsoft is people who have worked for Microsoft and told me that `looking at GPL source is forbidden within Microsoft'.

      Why bother stealing GPL code when one can legally and ethically use BSD code instead? MS have done this for ages and it works well. I see no significant areas where GPLed software has a major advantage over existing proprietary or BSD licensed software.

    4. Re:Windows has had this since NT 3.5 by autocracy · · Score: 2

      BSD/GPL/anything where the code is available. Point is that the code is available to them, and to not make use of something (as opposed to not wanting to use it at one time and put it in at a nother) like this and instead spend $$$ on redeveloping something and releasing it 2 years later is dumb. That is why we whine @ M$ when they come out with something Linux has.

      --
      SIG: HUP
  8. Short Time to Market by 1alpha7 · · Score: 2, Insightful

    The short time to market can also be attributed to three other factors, according to Cora: "We have the programming skills, we have a small company that is not bureaucratic, and we put aside the established OSes (operating systems) and started from scratch."

    After my own heart. Bureaucracies are not an "asset", and trying to salvage (reuse) existing stuff, that happens to be crap, is not "efficient".

    1Alpha7

    --
    Live to be Moderated
  9. Already here? by PoiBoy · · Score: 2, Interesting
    How would this be any different from simply looking at /var/log/messages and /var/log/secure every morning? Everyone should be doing that anyway.

    Of course, having a front-end to cut out all the useless messages is nice, but I would imagine most sysadmins have already written (or could write) a simple script in Perl custom tailored to their liking to do the same thing.

    --
    Sig (appended to the end of comments you post, 120 chars)
    1. Re:Already here? by fanatic · · Score: 4, Informative

      This provides the ability to monitor individual system activities that your solution lacks. For example, you could monitor each time files were opened for reading or writing, etc. It appears that you can also specify which files using matches, including regular expressions. You can find out who ran what programs with what parameters (all the system commands like rm are programs).

      There was a previous thing like tis at hert.org, but it doesn't seem to be kept up anymore.

      This may be the first real reason I've seen to upgrade my particular installation to 2.4 kernel.

      The provision of GUI tools is nice. But my experience with Solaris BSM was that it proiduced so much output that you ended up using text tools (grep, awk, sed, perl) and running little programs that many minutes or several hours to run to get the meaningful information from out of the chaff.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  10. Re:Acronyms by micromoog · · Score: 2
    Maybe the same deviation as the Americans with their 3 letter acronyms...

    FU,B.

  11. Been done by dpaton.net · · Score: 2, Interesting

    Isn't this just a glorified facelift for the various /var/log parts? Seriously. I less /var/log/secure every day or two for that exact reason. If you want it pretty pipe it to a perl script to HTMLify it and read it inside your favorite browser.

    -dave

    --
    This is not a sig. this is a duck. quack.
    1. Re:Been done by Birdie-PL · · Score: 5, Interesting

      No, it's not just a glorified facelift for the various /var/log parts.

      With SNARE you are able to monitor much, much more than what appears in /var/log. In example you can check who and when opened a particular file (like /etc/passwd) or run a particular process, and with what command-line options. Or which program bound to some port (great for detecting trojans 'calling home').

      I assume that you can also enhance it to monitor *all* system calls, if you are particulary interested or aware of some. Nothing comes to my mind right now, but for sure there some you wish to monitor, if not control.

      --
      e-mail: karol at tls-technologies.com
      www: http://www.tls-technologies.com
      sig: not found
  12. Yes! by FraggleMI · · Score: 2, Interesting

    Great! I work on a mil project that deals with audit trails. Having a linux module to allow for auditing is exactly what we need and have been trying to get going. If it is anywere near as good as Solaris BSM auditing it will be a great thing, not just for yo, but for those that support Linux in a govt/military environment. This is a HUGE step forward since requirments require auditing records to be stored. Linux coming to an Afganistan site near you ;)

    --
    huh?
  13. Knee Jerk Reaction by weave · · Score: 4, Interesting
    Event logging on NT/2000 sucks.

    • No central log host capability
    • Tools to search it are crap
    • Have to use a GUI interface to read it or dump it to a text file

    OK, yes, there are third-party tools you can purchase extra to provide better functionality or you have to write some vbscript on your own to get the info. My point is, crap like this should be part of the OS. I'd rather have useful tools than a flock()ing media player, web browser, and instant messenger as part of the OS. :(

    But to get back to the topic, yeah, having better auditing tools under Linux is needed. Just don't look up to Windows as the way to implement them! :)

  14. Whoa, slow down... by Shoten · · Score: 2

    I think it's fantastic that Linux is getting better and better features, options, software, and support for security-critical large environments. However, isn't it a bit premature to say, the instant that ONE application comes out that provides auditing, to say, "Ok, cool! Linux is now on par with all those other OSes that have had stuff like this developed for them for years...let's all adopt Linux now!" I wouldn't bet that there will be major changes just yet...security people who are on the cutting edge are not usually first adopters unless necessary, and it's not necessary to choose first-generation auditing in Linux over more proven equivalents for Solaris, for example. It's good to see Linux getting there, though :)

    --

    For your security, this post has been encrypted with ROT-13, twice.
  15. what about process accounting? by victwenty · · Score: 2, Interesting

    This does seem like a complete package, but I was wondering why a kernel module was needed as opposed to using the process accounting facilities already in the kernel. It is already possible to turn on logging for all processes (man accton), has anyone ever written any sort of log scraper for the binary accounting file? I would think for detecting specific locally run commands it would be adequate.

  16. This is nothing new, and NOT "first ever" by Anonymous Coward · · Score: 2, Informative

    If you look at the proceedings of the 1999 O'Reilly Open Source Convention, somebody presented a paper on a loadable kernel module for Linux (called "Laudit"), that enabled auditing/event monitoring in the kernel. This one is essentially the same idea (except Laudit had a command line/ /proc API).

    Regards

  17. Rude and offtopic... by swordgeek · · Score: 3, Funny

    ...but I find that whenever I go to type BSM (into a search engine, whatever), my fingers want to type BDSM.

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban