Slashdot Mirror


Red Hat Seeks to Deliver Most Secure Linux

Jack writes "ITO is running a story on Red Hat's plan to become the most secure Linux platform. From the article: "Red Hat officially joined The National Information Assurance Partnership to bring an improved level of security and assurance to Linux. This means that the next version of Red Hat Enterprise Linux will contain kernel and Security Enhanced Linux policy enhancements, developed by IBM, Red Hat, TCS, NSA and the community.""

17 of 262 comments (clear)

  1. Missed a link :) by grub · · Score: 5, Funny

    The article left out a hyperlink, corrected here :
    Red Hat Enterprise Linux will join an exclusive community of trusted operating systems that have achieved this level of security
    --
    Trolling is a art,
    1. Re:Missed a link :) by Anonymous Coward · · Score: 4, Insightful

      Except 'most people' and 'sufficiently large government organizations and corporations' are not interchangeable. The NSA or FBI doesn't look at the complexity of SELinux and say decide they are gonna turn it off for that reason. I don't need SELinux on my notebook or my desktop and I don't need it in my 20 man organization, so I turn it off. SELinux isn't designed for me or my organization or my desktop or a good majority of computers out there. But for what it is designed for it does it well.

    2. Re:Missed a link :) by andyross · · Score: 5, Insightful
      SELinux does not make anything more secure. [...] OpenBSD has a policy that security must be on by default, must not create a significant performance hit, and must be simple enough that people actually use it.

      Um, the SE linux configuration shipped with Fedora is on by default, does not create a significant performance hit, and is simple enough that most users (those who aren't making fundamental changes to the installed daemon processes, basically) don't even know it's turned on.

      This is mostly a defensive flame. SELinux clearly is useful as a security tool. It provides MAC features that you simply can't get with traditional unix security model. Now, clearly, this kind of change in worldview brings complexity. And lots of installations, even secure ones, don't necessarily need it or want it. And early Fedora (FC2 prereleases, I think) implementations were far too restrictive, and cause much confusion and flamage. I have it turned off on my laptop, for example.

      But to baldly claim that "SELinks does not make anything more secure" is just silly.

    3. Re:Missed a link :) by duffbeer703 · · Score: 4, Insightful

      You're missing the point -- SELinux doesn't make software secure -- it allows you to define secure behavior.

      The OpenBSD approach is to raise the quality level of the code to eliminate flaws in the operating environment. That's great -- except not every software development process is shipping flawless software and not every security problem is a result of bugs in software. If Apache or a database or any other application running on BSD has a flaw or is misconfigured, the OS isn't going to protect you or your data.

      The SELinux approach gives the operating system control over what is happening on the system. If a hacker or worm compromises an application, and tries to do something that the application is not permitted to do, those actions can be blocked and audited & the impact of flaws or misconfigurations in software can be contained.

      SELinux or Trusted Solaris aren't competitors to OpenBSD at all -- they are really in different niches entirely.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    4. Re:Missed a link :) by Cally · · Score: 4, Interesting
      Interesting. I've been playing with OpenBSD at home for a few years, long enough to encounter the well-known 'challenging' areas (upgrades. And coping with two separate toolchains is fun :) Meanwhile I've been given some Fedora Core 4 machines to admin at work. I knew RH had the SELinux extensions but never used them. Where to start? I ended up with the FC3 SELinux FAQ at redhat.com, which makes it clear that it needs a fair amount of care and attention, especially during the time I call "the coming of the great admin learning curve" - well, this admin anyway :) A thought has struck me: has anyone got past the initial setup, false-positive squishing and crossing off log entries as you fix or reconfig stuff, to a stable machine, then either (a) first discovered attacks (successful or not) via SELinux alerting mechanisms, or (b) got useful, or even just interesting, evidence of naughty activity via SEL logs, etc?

      Knowing my machines are bulletproof is great, and all, but if one of my users is deliberately doing something s/he shouldn't, I want to know about it!

      --
      "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  2. Re:Why not OpenBSD. by Mr.+Underbridge · · Score: 4, Funny

    So that's why OpenBSD is so secure - nothing runs on it. ;)

  3. Re:the NSA? by ettlz · · Score: 4, Funny
    I didn't realize that ANYTHING they did was "open".

    Cavity searches.

  4. Re:Is this a magnet? by LnxAddct · · Score: 5, Informative

    Well Red Hat already is a key innovator into securing the kernel. As most know, Red Hat contributes more code to the kernel than any other entity. The kernel is their livelihood. SELinux patches work with the kernel now because Red Hat engineers worked closely with the SELinux NSA guys to get it to that point. Red Hat also created exec-shield which implements a number of security benefits including NX (NoExecute) and PIE (Position Independant Executables). They release both RHEL and Fedora with sane but secure SELinux policies, compile their major services with FORTIFY_SOURCE and other GCC options that find and/or block many types of overflows and other bugs. PIE is pretty neat in that it randomizes the memory layout so an attacker executing an attack can't know what memory lays ahead, often making the overflow useless. PIE has some performance impedements, so its only typically used on public facing services. Red Hat already forces yum and up2date to verify all gpg signatures by default, and they designed the RPM format so it is highly secure and you know what you're getting when you get it (gpg signing, double hashes (MD5 and SHA1 so that even if one is cracked, the other can act as a crutch until a new solution is found). Red Hat is also reknowned for getting security updates out sometimes days before others. Red Hat is responsible for many of those security patches, and one of the reasons Linux has such a good reputation for getting patches out quickly is a direct result of Red Hat. Anyway... if I had to put my money on someone doing this for Linux, Red Hat would be where I'd put it. They've already shown that they do much for the community, they gave us cygwin, they maintain GCC and libc, they created GCJ so we can run about 95% of java programs natively, including OpenOffice and Eclipse (albeit GCJ is still under heavy development), plus many more things from writing lots of code for projects like Apache and Gnome. (I can't forget to mention buying Netscape Directory Server and giving it to the community, as well as GFS, Global File System). Red Hat's legal department sometimes stirs trouble with derivatives using thier trademark, but the Red Hat engineers actively help CentOS and others. Red Hat is the only major linux player who depends on linux to succeed. All the others, IBM, Novell, Sun, etc.. have come onto the linux "train" to see if it can make them lots of money, if Linux fails however they'll just move on to the next big thing, like they've always done. Red Hat's entire being revolves around linux and its success, they have the motivation that is needed.
    Regards,
    Steve

  5. In other news by $RANDOMLUSER · · Score: 4, Funny

    Microsoft says it plans to create and ship the most secure version of Windows.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  6. Re:RedHat poised to become the next Microsoft by 99BottlesOfBeerInMyF · · Score: 5, Insightful

    RedHat could be well on it's way to becoming the next Microsoft.

    I think you are mistaken. It is entirely probable that RedHat the company will partner up with lots of big businesses. Big businesses, however, want a commodity OS, competitive advantages, and for that matter, open source at this point. Having been burned by MS for so long, many companies at the heart of the Linux community are unlikely to swiftly move to closed formats, APIs, code, etc. Even assuming RedHat did exactly that, introducing formats and closed source code as much as possible, they are still working on a base that is GPL and that they cannot close and still sell. That means there is nothing stopping others from modifying that code or even redistributing it. RedHat would basically have to write their own OS from scratch or based upon BSD licensed code in order to get us close to the situation we have with MS. Even were they to do that, we'd still be several steps ahead for compatibility and security from where we are now with Windows.

    To summarize, sure RedHat can become "evil" but that does not stop Linux, and RedHat has no way to "take over" Linux since they don't own it. I'm just not too worried, they have a long hard road ahead to become MS, and they will need a new OS to do it.

  7. Re:RedHat poised to become the next Microsoft by An+Onerous+Coward · · Score: 4, Insightful

    I don't understand why people keep trying to make that comparison.

    If you want to argue that RedHat has turned its back on the community, or jumped in bed with big business, or whatever, go right ahead. But it simply isn't possible for any Linux distributor to "become Microsoft", because unlike Microsoft, anybody who can obtain a copy of Distro X can legally rebrand, recompile, and sell it as Distro Y. Somebody running Distro Z can go through Distro X, figure out any new features, and bring those features to Distro Z.

    RedHat can't do a thing to stop RH-based distros like CentOS and White Box. The GPL ensures that, while one distro might dominate the Linux landscape, nobody will ever have a lock on Linux itself. Linux World Domination would mean that nobody can dominate.

    So please, elaborate your reasoning. What is RedHat doing that scares you?

    --

    You want the truthiness? You can't handle the truthiness!

  8. Secure operating systems... by Anonymous Coward · · Score: 5, Interesting

    First off, I should let it be known that I am a BSD fan, and not a Linux one. However, despite my many issues with Red Hat and Fedora Core, they have been integrating some really cool stuff of late, things I had wanted to have easy access to in a open source operating system for some time, such as the SELinux functionality.

    It's absolutely fantastic work they are doing; making SELinux a default in their systems in meaningful ways, while at the same time, doing their damndest to make it as transparent as possible to the everyday user. No one else is doing that. OpenBSD are the kings of UNIX quality control, but they offer nothing in the way of mandatory access controls. FreeBSD has comparable technology in the form of the TrustedBSD MAC Framework (which is excelant), but they are not yet offering security policies that are transparent to ordinary users of the system, and like SELinux in most distributions that support it, it's a pain to set up correctly.

    Now if only they (Fedora especially) would ship a basic "desktop install" on *one* CD image instead of requiring 2-4 CDs, my major gripes with their software would go away completely. This kind of hardcore but transparent security is most definately needed by everybody today, and right now, only Red Hat and the Fedora Project are providing it. As much as I prefer the saner development methodologies and more well thought out kernel architectures provided by the various BSDs, in an online world as inherrently dangerous as our own, employing an operating system that supports these security technologies is the only real way to go.

    Come on FreeBSD! What are you waiting for? Keep up the (mostly) good work Fedora people!

  9. Trustix by Rinisari · · Score: 4, Informative

    Trustix Secure Linux has been one of the most secure distributions since its inception. No services are on by default and only a minimal install is needed most of the time. Updates come out seemingly hourly (more like daily) and it's one of the smoothest and securest server operating systems out there. If you're looking for desktop, you're not going to find it with Trustix. I've been using it as my main server distribution for ~3 years without a single problem.

  10. But can we trust them? by ValuJet · · Score: 4, Funny
    I like the idea of trusted computing. It gives me this warm fuzzy feeling all the way down to my toes. Sure security is an ok word, but I like how the word trust makes me feel even more.

  11. Re:OpenBSD by Anonymous Coward · · Score: 4, Informative

    OpenBSD, from what I've heard, is good, but most of its security is based upon correct implementation. This is good, but the OpenBSD team can only audit and control the base system, meaning that applications and libraries added to the system can often degrade the security of the system as a whole.

    Judging from the technologies and companies mentioned in the summary, this attempt at Linux security is based on providing better access controls and privilege models in the Linux kernel. By better, I mean that these mechanisms can:

    1) Provide finer grain privileges so that fewer programs can be exploited to escalate privilege, and
    2) Isolate unrelated programs and users from each other (e.g. an exploit in a DNS server is restricted to only accessing DNS files but is not able to manipulate web server pages).

    These two techniques basically reduce the number of avenues an attacker can use to exploit a system. It is less likely that a piece of exploitable software will have sufficient access to whatever it is the attacker wants to get to. Granted, it is not a complete solution, but it's a handy thing to have in one's security toolbox.

    I believe that the OpenBSD/OpenSSH teams are beginning to do similar things (e.g. OpenSSH privilege separation), but I don't think they've taken the leap to providing more sophisticated access controls in the kernel.

    If you're interested, examples of trusted operating systems/access controls can be found at the following places:

    Linux Capabilities:
    http://ftp.kernel.org/pub/linux/libs/security/linu x-privs/kernel-2.4/capfaq-0.2.txt

    Trusted BSD:
    http://www.trustedbsd.org/docs.html

    Argus Systems Group (go to the Support section and take a look at the docs for PitBull LX and Foundation; they give a rather complete description of the mechanisms):
    http://www.argus-systems.com/

    Trusted Computer Solutions (mentioned in the article):
    http://www.trustedcs.com/index.html

    Disclaimer: I used to work for Argus Systems Group, and I know a few of the TCS employees (as they are also ex-Argus employees).

  12. Re:But SELinux SUCKS for enterprise by sabat · · Score: 4, Interesting

    Sure you can do it. Samba and Apache just have to be part of the same security domain. Study up, boy.

    --
    I, for one, welcome our new Antichrist overlord.
  13. Re: I didn't try hard enough so it sucks by oddityfds · · Score: 5, Informative

    Re: I don't know how to do it and therefore it can't be done and therefore it sucks.

    It can be done. Here's how:

    First some good documentation.

    Run:

    # up2date --install (or yum install) selinux-policy-targeted-sources
    # cd /etc/selinux/targeted/src/policy
    # make enableaudit

    Run whatever service that is currently broken because of SELinux. Then:

    # audit2allow -i /var/log/messages -l
    allow httpd_t cifs_t:dir search;
    allow httpd_t unlabeled_t:dir { getattr search };

    ...which will tell you where SELinux blocked the service. (Just some sample output here.)

    Then add your own rules like this:

    # cat >domains/misc/local.te <<EOF
    allow httpd_t unlabeled_t:dir { getattr search read };
    allow httpd_t unlabeled_t:file { getattr read };
    allow httpd_t unlabeled_t:lnk_file { read getattr };
    allow httpd_t cifs_t:dir { getattr search read };
    allow httpd_t cifs_t:file { getattr read };
    allow httpd_t cifs_t:lnk_file { read getattr };
    allow httpd_t default_t:lnk_file { getattr read };
    EOF

    # make reload

    The above is again just an example.

    Try again. If it doesn't work you need to allow some more stuff, which audit2allow will tell you.