Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Cybersecurity
    • Cybersecurity
    • Servers

    SELinux Boosts Server Security

    Written by

    Jason Brooks
    Published May 3, 2004
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Security enhanced Linux, a set of kernel modifications and utilities initially developed by the National Security Agency, bolsters the security of Linux systems by enabling administrators to more finely tune data and process permissions. SELinux enforces mandatory access control policies, which limit user and application privileges to the minimum required to do the job. In contrast, most operating systems have DAC (discretionary access control) schemes in which a process has access to everything available to the user who launched it.

      By limiting processes to the resources they require, administrators can limit the damage done by compromised or misbehaving applications—for example, a process with root privileges has free reign over a DAC system.

      eWEEK Labs tested SELinux with the second test release of Red Hat Inc.s Fedora Core 2, updated with the latest packages available through the Fedora development package repository.

      /zimages/5/28571.gifClick here to read eWEEK Labs review of Fedora Core 2.

      The Fedora line is Red Hats bleeding-edge Linux distribution, and it will be among the first distributions to ship with SELinux by default when its released later this month.

      SELinux can be installed on any Linux distribution, but having a preinstalled, distribution-specific SELinux implementation makes testing and using the system much easier.

      Red Hat officials said the company will include SELinux in Red Hat Enterprise Linux 4, which is expected to ship in the first quarter of next year, and work has been done to integrate SELinux with the Debian and Gentoo distributions of Linux as well.

      SELinux works with the LSM (Linux Security Modules) framework, a feature that was added to the kernel with the 2.6 release. Linux 2.4 kernels may be patched to support LSM and SELinux.

      SELinux uses a system of policies that describe roles for applications and users. There are policies covering each application and data object on an SELinux machine. This system of policies is complicated, and the need for checking rights against SELinuxs security manager imposes additional overhead, currently about 7 percent, as reported by testers. The SELinux code hasnt been speed-optimized, but some level of overhead is unavoidable.

      Work remains to be done writing policies for applications other than those that ship with Fedora by default. SELinux contains a utility called audit2allow, against which administrators can run their applications to help automate the policy-writing process.

      Web resources

      • NSAs SELinux site
        www.nsa.gov/selinux
      • Tips for writing SELinux policy
        lurking-grue.org/WritingSELinuxPolicyHOWTO.pdf
      • The UnOfficial SELinux FAQ
        crypt.gen.nz/selinux/faq.html
      • SELinux Mailing List Archives
        marc.theaimsgroup.com/?l=selinux
      • Fedora Core 2 test2 SELinux FAQ
        people.redhat.com/kwade/fedora-docs/selinux-faq-en
      • The Fedora SELinux Mailing List Archives
        listman.redhat.com/archives/fedora-selinux-list

      SELinux may be configured to run in active, permissive and disabled modes. In active mode, SELinux will deny access not provided by policy. In permissive mode, SELinux logs access violations but allows them; this mode is important for writing policies and seeing how SELinux behaves without disturbing usage.

      In Fedora Core 2, these modes are configurable from a new tab in the firewall configuration tool, and users have the option of choosing the initial SELinux state during installation.

      The Fedora team has chosen to ship Fedora Core 2 with SELinux disabled by default because it will take time to see how SELinux interacts with the full range of applications that users run on their Linux systems.

      Because of the complexity of SELinuxs policies, the program at first will work best with servers that are exposed to the public Internet and that operate a small number of separate services. In these machines, SELinux supplies the tougher security from which Internet-facing machines can best benefit.

      That these servers run a clearly prescribed set of applications will make it easier for administrators to manage the policies required to run them. On individual workstations located behind a firewall, the added administration and system resource overhead decreases the attractiveness of SELinux at this point.

      Senior Analyst Jason Brooks can be reached at [email protected].

      /zimages/5/28571.gifCheck out eWEEK.coms Linux & Open Source Center at http://linux.eweek.com for the latest open-source news, reviews and analysis.
      Be sure to add our eWEEK.com Linux news feed to your RSS newsreader or My Yahoo page: /zimages/5/19420.gif http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif

      Jason Brooks
      Jason Brooks
      As Editor in Chief of eWEEK Labs, Jason Brooks manages the Labs team and is responsible for eWEEK's print edition. Brooks joined eWEEK in 1999, and has covered wireless networking, office productivity suites, mobile devices, Windows, virtualization, and desktops and notebooks. Jason's coverage is currently focused on Linux and Unix operating systems, open-source software and licensing, cloud computing and Software as a Service.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.