Slashdot Mirror


Red Hat to Release Enhanced-Security Linux

Klatoo55 writes "According to an article by Techweb, Red Hat will release Red Hat Enterprise Linux 4.0, which includes support for Security-Enhanced Linux, in 2005. Red Hat has been running this system with a published IP address asking for hackers to try to break the security. The last version was defeated within 45 seconds, but this new version (apparently to be the policy for the next Fedora) has yet to be cracked."

24 of 326 comments (clear)

  1. Security Enhanced Sure! But... by Anonymous Coward · · Score: 5, Funny

    I think we can bring that baby down without a hack.

    What say you slashdot?

  2. I wonder how the last system was defeated? by Snake_Plisken · · Score: 5, Funny

    45 seconds? Sounds liek someone yanked the power cord out of the boxen to do it that fast...

    --

    Eat recycled food - it's good for the environment, and OK for you.
  3. Invulnerable to MyDoom type virii? by Raster+Burn · · Score: 5, Interesting

    The article implies that SE Linux would be more secure that Windows, especially in light of the MyDoom virus. But doesn't the MyDoom virus depend on a dope sysadmin clicking on a binary attachment to spread?

    So how does SE Linux protect systems against trojans?

    1. Re:Invulnerable to MyDoom type virii? by BoomerSooner · · Score: 4, Funny

      By not running your mail client as root.

    2. Re:Invulnerable to MyDoom type virii? by pavera · · Score: 5, Insightful

      Wrong,
      By simply clicking on an attachment in any mail client in linux it will not execute... The user would have to save the attachment to disk, chmod it +x, and then execute it, and then, if the trojan wanted to write anything to disk outside of the users home directory, it would have to ask for the root password, and then if the user was that stupid, ok they really deserve to be infected with a virus. However, in a decently admined system the users don't know the root password, they don't need it ever, and they should never be installing programs. The amount of work it would take to install the trojan on linux would be a deterrent, it is also the deterrent to wide scale adoption by home users of linux.. because installing programs is just as difficult as installing trojans.

    3. Re:Invulnerable to MyDoom type virii? by Spoing · · Score: 4, Informative
      1. So how does SE Linux protect systems against trojans?

      SE Linux removes what you might consider to be the "superuser" account (aka 'root' under *nix or 'administrator' under Windows).

      You can configure the system to act just as it is now -- having an account that is all-powerful (root or another one), or you can have very limited focus accounts that can not 'see' or use the resources of the others.

      The core OS still has the ability to do root-like things and dole out those permissions, though the scope of what needs to be watched is greatly reduced.

      By itself, this is not interesting. As a base for a security policy, the increased ability to log who-did-what, and the ability to stop per-process resouce use (not just per 'user'), it becomes very very interesting.

      Here are some links on it;

      Security-Enhanced Fedora Core 2

      Looking forward to Fedora Core 2

      (follow this thread) Re: Proposal: Discourage rpmbuild --sign

      The main SE Linux site

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  4. Windows Beats Linux! by Anonymous Coward · · Score: 5, Funny
    The last version was defeated within 45 seconds
    That's nothing. I put a stock Windows box on the internet, didn't even bother publishing the IP, and it was cracked within 10 seconds! Take that, open-source advocates, Windows has finally beat you at something!
    1. Re:Windows Beats Linux! by hendridm · · Score: 5, Interesting

      Not sure if you're joking or serious, but during the Code Red fiasco I put a Windows machine with IIS online on my cable modem. Thanks to port 80 being forwarded to that machine on my firewall, my computer was infected after I installed Windows in the time it took me to find and install the service pack! From then on, I made sure to remove port forwards before installing updates on newly installed machines :)

      I guess it's no surprise, given the amount of Code Red traffic there was at the time, but I just didn't think of it at the time since I had planned on installing all the updates after reloading.

  5. Re:Security? by Sexy+Bern · · Score: 5, Funny

    ifconfig eth0 down

  6. 45 Seconds? by Eberlin · · Score: 5, Insightful

    What happened? Someone ran a brute force root login with the pwlib dictionary or something? Maybe a quick ride with Nessus? Or was it a social engineer who managed to call someone and get the root password?

    As has been echoed before time and again -- security is a process, not a product. Of course you'll have more secure products, but it's still up to a competent admin to make sure things are kept secure. Even then, you better have good backups because that one disgruntled guy who works in the mailroom on a machine already inside the firewall just might have an extra ace up his sleeve.

  7. Re:45 Seconds?!?! by DAldredge · · Score: 4, Funny

    It means the people that write tech articles are, for the most part, idiots.

  8. Other ways to improve Linux security? by Debian+Troll's+Best · · Score: 5, Insightful
    RedHat's 'trial by fire' approach for their new security policy is a good one, and is something all distro makers should try. Nothing beats having your default security config probed and tested by the world's best crackers in a real life environment. But network security is only one piece of the puzzle. As the Windows community has demonstrated time and time again, trojans and spyware can be just as dangerous from a security point of view as network exploits. And while the problem may not be as severe on Linux due to the separation of the root user from the average day-to-day account, havoc may still be wreaked by a regular user downloading a package and installing it, and thus inadvertently installing a trojan.

    It seems to me that our package managers (used by the majority of Linux users...not everyone compiles from source) are vulnerable to some type of subversion. They are not controlled or vetted by a central authority. There is no 'certificate' which can be attached to them to guarantee their purity. What the Linux community needs, I feel, is a type of central signing authority or cryptographically sealed DRM-compatible package management system. This could eliminate potential threats associated with trojaned Linux packages. Imagine a secure apt-get. Packages would be enveloped in a tough layer of crypt() security. They would be digitally signed by the Debian project manager, or even Ian Murdock for highly critical packages like the kernel. And it would be impossible to accidently load and install a trojan. Apt-get could even be modified to 'phone home' and let the Debian administrators know which packages where the most popular (and make security updating easier!) packages were being installed and to automatically e-mail users with news of package updates and 'special offers' from co-sponsors. I look forward to the community's response!

  9. Re:Big Deal by burns210 · · Score: 4, Insightful

    yes, but a good core OS will limit the damage any 1 program can do... A common argument about windows is that it itself is secure, however the programs that run it(drivers/applications/etc) are insecure. In actuallity, even with a buggy/trojan program being run, a good OS would not allow it to reak havic on much of the system, let alone crash the entire computer.

  10. All PR and no substance. . . .again by Anonymous Coward · · Score: 4, Insightful

    So now Red Hat is using the tired and cliche approach of getting PR by hosting a cracker contest. You would think that they'd have learned from previous examples. Just because a system hasn't been defeated in a cracker contest doesn't mean its secure. Security is a process not something you can shrinkwrap. The proper way to demonstrate the security of a product is through repeated, thorough code audits like some other software distributions are doing. Things must be looking dire indeed for Redhat if they're starting to make announcements of products like this ala another company we know and love.

  11. This is the right question by Animats · · Score: 4, Interesting
    With mandatory security with levels and compartments going mainstream, we need apps designed to use it properly.

    Mail handling is a good example. Each receive process should be running in a separate jail, with a net connection to the incoming port, a limited connection to the mail database, and no privilege to open files or network connections. Then it doesn't matter what happens in the receive process.

    The software that passes data across security boundaries has to be carefully written and audited. But it doesn't have to do much. Software has to be divided into two kinds - big, untrusted programs that do the work, and little, carefully audited security-critical programs that do very little.

    The job of the OS is to keep each program in its own security box.

    Mail, DNS, and web servers need to be broken up in this way. Now that Red Hat is going with SE Linux, it's time to do this. Get busy.

  12. Re:45 Seconds?!?! by mackman · · Score: 4, Funny

    I think this time they changed the default root password to something better than "root".

  13. Re:So.... by dekashizl · · Score: 4, Funny

    Anyone know the IP in question?

    It's 127.0.0.1. If you do manage to break in, see if you can find any interesting files, and go ahead and post them up here.

  14. Re:45 Seconds?!?! by Tim+C · · Score: 4, Funny

    I suspect that they're trying to say "the root account had no password", but typoed it rather spectacularly.

  15. Re:45 Seconds?!?! by dagnabit · · Score: 4, Funny

    I use my luggage combination - 12345.

  16. Redhat Publishes IP by m1kesm1th · · Score: 4, Funny

    from: root@redhat
    to: groups@l33tscript3rs.org
    subject: hack da gibson

    Hackable Server, come hack me plz. IP: 127.0.0.1


  17. Security is too expensive? by Emor+dNilapasi · · Score: 4, Insightful

    "But vendors and IT decision-makers widely believe it is too expensive to implement these more hacker-resistant security models, he [Tiemann] said."

    So let me get this straight: US industry alone spent around half a billion buckaroonies cleaning up the last little virus/worm fiasco, we get about a half-dozen or so of these little gems per year, and yet it's TOO EXPENSIVE(tm) to engineer in security that would stop this kind of thing from happening?

    So tell me, just who are these "vendors and IT decision-makers"? Or, to rephrase the question, just who are these drooling, incompetent, feeble-minded idiots who understand so little about security and the consequences of its failure? I'm asking because I want to make sure that i never, ever use (or heaven forbid, purchase!) any product that they have had anything to do with.

    Mr. Tiemann, please tell us, did some people actually say this? Really? Because if so, we need to know which products, companies, and idiots to avoid. And I want some of what they're smoking.

  18. Too much security for you! by menscher · · Score: 4, Informative
    Pardon the "Hackers" joke, but please keep in mind that a Trusted OS (B-level in the orange book) is very different from the standard C-level security we're all used to. While it's good to see linux developing a trusted version, I am concerned about introducing this to the masses. It's going to confuse the heck out of most users, and probably many admins. Up until reading this story I was a strong supporter of Fedora. Now I'm a little nervous.

    Anyone care to share their experiences with SELinux?

  19. Your all wrong by Findus+Krispy · · Score: 4, Informative

    I have never even used SELinux, but unlike many here, have at least taken the time to read up on it. Here is the little I have understood:

    SELinux, if set up properly, is secure, and completely bypasses the inferior UNIX security model. You could say:

    * Windows is insecure
    * Linux is less insecure
    * SELinux is almost secure

    IN SELinux there is no root account, or at least it has no privilidges -- user's don't have privilidges in this system. So, you can give root to anyone and they won't be able to do a thing. Gentoo have a machine with public root access for just this purpose.

    The difference is that each program is banned from doing anything by default. Reading a file, using the network, whatever... The packagers must explicitly assign each program access to what it minimally needs to do it's job.

    So Bind (fairly insecure) might be given read access to it's config file, write access to it's cache directory, and port access only for the ports that it needs to listen on. If you then exploit bind it doesn't buy you very much. You can change the cache files, and answer DNS queries, but you can't even change Bind's own configuration, let alone anything else.

    You may have the right as an administrator (nothing to do with root) to run bind, but the programs you run do not inherit your privilidges.

    As a user, the privilidges that you have depend solely on the roles that you belong to. That's why root is useless, it is a user not a role.

    Although there are many security patches for Linux, SELinux seems to me the only truly sound approach to security out there at the moment. If you combined it with hardening solutions designed to minimise the chance of exploits (binary sandboxes) you would end up with a system that is very difficult to exploit in the first place, and once you do manage it it buys you almost nothing anyway.

    Although SELinux is built into Linux 2.6, it must be turned on and manually configured before it is useful. This is currently being done for Fedora, Gentoo, Debian, and other serious Linuxes. I believe this will make Linux the most secure general purpose operating system available. Then we really can lord it over the Windows users.

  20. How to secure a Linux box by 0x0d0a · · Score: 4, Informative

    Lsof is useful for analyzing a box, but you can simply add the -p flag to netstat -- netstat -ntap -- and see the controlling process. Run this command as root, or netstat will only be able to identify the processes you own.

    On Red Hat, use chkconfig to set which services start at startup (this is nothing more than a pretty frontend to rename a couple symlinks in /etc/rc.d/rcX.d/).

    The first thing you should do on a new box is run whatever update mechanism your distro provider uses. Apt-get update;apt-get upgrade, yum update, whatever. There have probably been holes discovered. If security is more important than fully tested reliability, I'd automatically run the update sequence through cron nightly.

    If you're extremely paranoid, run syslog to a second machine. If your main machine gets compromised, you have a nice log.

    Major Linux oopses I've seen before:

    * When using X11, never ever use "xhost +". )"xhost +local:" is still asking for trouble.) I don't care how much of a good idea it seems like, *don't fucking use it*. Don't even do it if you aren't on a network and don't think anyone will ever connect to you. This disables all authentication to X11, and at one point a lot of university hackers (old school) used this when they wanted to run a program from another system. Do not do this. If you're running su'ed as root and root can't display a window on the local X11 server due to lack of authorization, use "xauth merge ~[username logged into X]/.Xauthority". That'll just grab the magic authorization cookie for this session from the local user's auth file and hand it to root, so that root can continue to work. Note that recent releases of Red Hat (perhaps due to changes in XFree86, perhaps due to something clever in root's login scripts) seem to authorize root to poke at local displays. Without this, anyone on the Internet with any inclination can sniff your keyboard, dump your screen, send input to your programs, and generally has full privileges of anyone that uses the X server.

    * When using X11 programs from a remote system, use ssh and use X11 tunneling. If you don't do so, your keystrokes will cruise over the network unencrypted.

    * Use ssh protocol 2 in preference to 1 unless you are damn sure that doing so is not a good idea (or you want to use protocol 2 only). This is probably already default for your site.

    The above two points can be implemented by adding the following to your ~/.ssh/config -- this is what I use:

    Host *
    Protocol 2,1
    ForwardX11 yes

    * Don't use FTP. We have scp for a reason. FTP sends passwords in plaintext.

    * Don't use plaintext mail authentication. Too many people send out their mail password in plaintext. Someone with a 802.11b-capable laptop and sniffer on a college campus can grab *masses* of email passwords from someone's copy of Outlook trying to grab new mail every ten minutes. Most places with a competent mail admin support at *least* support MD5-hashed passwords (which still exposes your email to anyone listening on your network segment, but is better than nothing in that they can't also get your password). I use fetchmail with SSL enabled.

    * (not a vulnerability, just a tip) Most Linux distros today are reasonably secure in terms of enabled services out of box. Used to be, in the Red Hat 5.x era, that finger and telnetd enabled out of box was entirely reasonable. Today, however, many folks don't know how to disable services, and so most distributions ship with things off instead of on.

    * Archive your logs (generally, the contents of /var/log). You back up your data, right? (If not, you *will* lose your data one day, and *will* be a sad camper trying to rebuild everything you've ever created that you didn't want to spend thirty cents on a CDR backing up). Include your logs in your backup procedure.

    * This isn't a Linux-specific suggestion, but use gpg. Linux is one of the few platforms with free mail clients