Why Security-Enhanced Linux works

TechRepublic

First released to the public in January 2001, Security-Enhanced Linux (SELinux) is a research project from the US National Security Agency (NSA) that seeks to enhance the open source Linux kernel: to provide greater protection against corruption; to prevent the bypassing of application security procedures; and to mitigate the destruction caused by malicious or defective applications.

Normal Linux vs. SELinux
Normal Linux system security relies on the kernel and the dependencies created through the setuid/setgid binaries. Under the conventional security mechanism, an exploit of a flaw with any privileged application, configuration, or process running usually leads to a total system compromise. This problem is consistent with most modern operating systems due to their complexity and interoperability with other applications.

SELinux relies solely on the kernel and the security configuration policy. Once you configure the security system correctly, improper application configuration or exploits of flawed applications and daemons will only result in compromising the user program and its system daemons. The security of other user programs and daemons remains intact, along with the underlying security system structure.

In simpler terms: No single application configuration flaw or exploit can result in a total system compromise.

Installing SELinux
The SELinux kernel, utilities, daemon/utility patches, and documentation are available for download from the Security-Enhanced Linux Web site. You must have an existing Linux system to compile your new kernel and access to unmodified system packages.

Developers have tested the current release with the Red Hat Linux distribution. The binaries are compatible with current Linux applications and include system calls for applications that are security-aware.

In addition, you can compile the kernel to run in a permissive mode. This mode allows auditing of the security configuration policies to determine the required permissions for installed user applications and system operation. You can change the permissive mode of operation to enforcement at any time without rebuilding the system.

Why should you run SELinux?
The best reason to implement SELinux is to enforce mandatory access controls to confine user programs to the least privilege required for their operation.

Other noticeable improvements include:

  • Access control for kernel objects and services.
  • Access control over process initialization, inheritance, and program execution.
  • Access control over file systems, directories, files, and open file descriptions.
  • Access control over sockets, messages, and network interfaces.

    Final thoughts
    SELinux alleviates the constant requirement to update every user and system application to prevent a system compromise. You can now apply patches and updates when it's convenient to your schedule.

    Because SELinux is still a development project, the NSA does not recommend it for use on systems that contain or protect sensitive information. However, I've run SELinux during the last year, and I've experienced no system compromises.

    Test it out and judge for yourself. It's free, and it works.

    This article was originally published in TechRepublic's Security Solutions e-newsletter.

    TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.

    ©2004 TechRepublic, Inc.

  • Advertisement

    Talkback 1 comments

      Security Enhanced Linux by the ...Anonymous -- 16/02/04

      Security Enhanced Linux by the US Government? Yeah ill trust that when hell freezes over

    Sponsored content

    Power Centre - Content from our premier sponsors

    Blogs

    • Suzanne Tindal Sick of broken tender sites
      Some of the state governments desperately need to invest in more user-friendly tender sites so that looking for information on government tenders doesn't have to be a game of blind man's bluff.
    • Array Cyberwar: What is it good for?
      In this week's episode, Cyberwar. What is Australia's place in the world of digital warfare? What are the implications for the NBN?
    • Array Is wholesale-only backhaul just a pipedream?
      The potential acquisition of Pipe Networks by SP Telemedia has raised the question about whether vertically integrated backhaul providers will mean higher wholesale prices for ISP customers.
    • More blogs »

    Tags

    Back to top

    Featured