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."

66 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?

    1. Re:Security Enhanced Sure! But... by t0ny · · Score: 2, Insightful

      But Red Hat's point is that somebody can bring down Slashdot, with a hack. And, were it a race, I dont think /. could bring them down in 45 seconds.

      --

      Manipulate the moderator system! Mod someone as "overrated" today.

    2. Re:Security Enhanced Sure! But... by dtfinch · · Score: 3, Informative

      I wouldn't say everything, at least when the hacking has to be done over a network. The chance of having a vulnerability increases with the complexity of the program and the functionality it exposes. But some programs written with security and minimalism in mind have faired very well against hacking attempts.

      qmail security guarantee

      SELinux I've heard adds finer grained security features to limit each program's access to exactly what it needs, on top of the user level security, to further limit the damage that can be done by breaking a single program.

  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.
    1. Re:I wonder how the last system was defeated? by Sexy+Bern · · Score: 3, Funny

      But is that 45 seconds on the battlefield or 45 seconds at medium-to-long-range targets?

  3. 45 Seconds?!?! by Gunfighter · · Score: 3, Insightful

    Holy smokes!! If it only took 45 seconds to crack it the last time around, I'd venture to say they overlooked a MAJOR security hole. This one has yet to be cracked; but if they overlooked a major one before, what are the chances that there are several obscure security vulnerabilites they overlooked this time?

    --
    -- Stu

    /. ID under 2,000. I feel old now.
    1. Re:45 Seconds?!?! by c_oflynn · · Score: 3, Informative

      Its not so bad - the earlier version wasn't designed to be as secure, and this was 1999!! From the article:

      Tiemann outlined an instance of how SE Linux is more secure than traditional Linux in his EclipseCon keynote Wednesday. He said that in a security test on a previous version of Red Hat Linux in 1999, it took only 45 seconds for a hacker to break into the system. A recent test on a version of Linux running SE Linux as its security policy still has yet to be cracked, even though the IP address of the system was published to would-be hackers and the root had no IP address.

    2. Re:45 Seconds?!?! by Knuckles · · Score: 2, Insightful

      the root had no IP address

      What's that supposed to mean?

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
    3. Re:45 Seconds?!?! by daemonslayer · · Score: 2, Funny
      wasn't designed to be as secure

      It sounds like it was designed to be insecure...

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

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

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

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

    6. 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.

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

      I use my luggage combination - 12345.

    8. Re:45 Seconds?!?! by Wiz · · Score: 2, Funny

      Hey! Thats the same password as my planet's airsheild!

  4. Security? by azatht · · Score: 3, Interesting

    Has they created something by their own to enhance the security, or is it just that they have included some restricitons to the users/administrators? (ie. have they dissabled the root-account?)

    --
    ------- In the end there are no begining
    1. Re:Security? by Sexy+Bern · · Score: 5, Funny

      ifconfig eth0 down

  5. 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 shird · · Score: 3, Insightful

      You should already be running your mail client under windows without admin privs, which achieves the same thing. However:

      I suppose non-root users can't send e-mail? Afterall, that is a major component of what the mydoom virus does.

      And I suppose non-root users can't listen on a port for incomming instructions to execute? Or run a proxy server on a non-privleged port?

      And will it stop a trojan which asks 'Root password needed to continue:' and then proceeds to use it to screw your system? If users are dumb enough to run arbritrary code, they will be more than happy to supply a root password.

      Linux is no more secure than windows against trojans.

      --
      I.O.U One Sig.
    3. 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.

    4. Re:Invulnerable to MyDoom type virii? by Pharmboy · · Score: 2, Insightful

      Linux is no more secure than windows against trojans

      I would respectfully disagree. Linux is no more secure than windows against "social engineering", but there is a difference in a trojan run as a user and a trojan run as root. One of the primary problems with Windows is the difficulty in running some software that should be "user" software without root access.

      I got my first SunOS shell many years ago, and I am pretty sure most trojans, if they had existed, might have wiped out my files, but not wiped the entire system, since I certainly did not have root access. Even at an office network, it is possible to have a Linux setup without anyone having root access, but this is more difficult with Windows, and impossible with networks that work with mixed OS's (like mine) with win9x/2k/linux.

      I agree that Linux is not bullet-proof, but there are some real differences that would limit the rampant spread of a worm/trojan as long as the whole world doesn't change to Lindows or other nix varients that run as root default.

      --
      Tequila: It's not just for breakfast anymore!
    5. Re:Invulnerable to MyDoom type virii? by Tim+C · · Score: 3, Insightful

      But on a single-user system, what difference does it really make?

      Whether I run as root/Administrator or not, all the important stuff on my machine (my files) are read/write/delete my user anyway. Running as an unprivileged user means two things:

      a) I can't interfere with other users' files
      b) I can't interfere with system files

      If I'm the only user, and my system files are all backed up on the nice, shiny install media, what is the difference, apart from perhaps having to reinstall?

    6. Re:Invulnerable to MyDoom type virii? by pacman+on+prozac · · Score: 2, Informative

      I suppose non-root users can't send e-mail? And I suppose non-root users can't listen on a port for incomming instructions to execute? Or run a proxy server on a non-privleged port?

      Not with SELinux or other ACL systems such as grsecurity and LIDS if they're given the right settings, revoke net capabilities from all users and only grant them to the ones that need it.

      And will it stop a trojan which asks 'Root password needed to continue:' and then proceeds to use it to screw your system?

      SELinux will yea, thats kinda the point of it. They're assuming your box is going to get rooted, and letting you protect it from what root can do to it.

      Theres a couple of SELinux demo systems online that let you login as root, one here. Yep, anyone, anywhere, given free root, only you can't do anything with it. Normal linux, yep all your arguments stand, bung ACL's on there and its rock solid. Unfortunately its also a royal PITA to run a desktop machine on.

      I've not got around to trying selinux yet but was thinking of the posibility of a perl script parsing its error log while its running in non-enforce mode and generating ACL's from that, anyone know if this would be possible? Would certainly make it a lot easier to setup a desktop workstation running SELinux.

    7. Re:Invulnerable to MyDoom type virii? by drinkypoo · · Score: 2, Informative

      You don't need to be an administrator to infect NT with MyDoom. However the worm will only run as users who have run it once. It thereafter puts a registry entry in to start it on login.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    8. 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.
    9. Re:Invulnerable to MyDoom type virii? by Tony+Hoyle · · Score: 2, Interesting

      Untrue... it's one of the areas that Windows actually makes itself more insecure because of short sightedness.

      Because a privileged app can't setuid, they all have to have their own user + a password hardcoded into the binary (or stored in the registry.. same difference) which can be decoded to plaintext (Windows requires the plaintext password of a user to call LogonUser even if you're an admin). This is why there's the IIS_xxx accounts in Windows so IIS can drop privileges (decoding those passwords is trivial and it's quite fun as you can't change them!).

      Of course if you're a *legal* app then you need the plaintext password. If you're a *virus* then you don't.. you just need enough social engineering to be able to get either write access to a couple of critical registry keys or CreateToken privilege. If you get access to the registry keys, btw. you can create a delegation level access token and use that access to do a network-wide hack (no I'm *not* going into any more detail... I only got away with it because the net admin at work has a sense of humour... like the day I dumped a list of every password on the network on his desk and said 'it's about time people stopped using their first name/girlfriends name as their password!').

      Tony

    10. Re:Invulnerable to MyDoom type virii? by Pros_n_Cons · · Score: 2, Informative

      my doom works even if you're not root (admin) "MyDoom uses this opening to add %system%/shimgapi.dll, %temp%/Message and %system%/taskmon.exe. Taskmon.exe is a core Windows 98 family file, and Windows lets a user-level program change this, or in the case of the NT/2000/XP family, add this file! This is security at its worse."

      --

      -- "of course thats just my opinion, I could be wrong." --Dennis Miller
    11. Re:Invulnerable to MyDoom type virii? by salimma · · Score: 2, Insightful
      But doesn't the MyDoom virus depend on a dope sysadmin clicking on a binary attachment to spread?

      Not really. Two points:
      • In Windows XP everyone defaults to being sysadmins
      • A virus does not need access to other people's files to access our user's address book and mass-mail itself. Though in this case the virus would only be active once the user logs on

      The problem with Windows permissions is that you could attach an executable and it would have 'execute' permission by default, unless in Unix-like OSes where attachments are not by default executable. You could send a Unix trojan in a tarball, but it would not be point-and-click anymore, so would probably spread less.

      Still, if Windows users have 5 popular e-mail clients to choose from virus/trojan writers would still have a much harder time. That they don't, in general, should be Microsoft's problem. Except that they don't care.

      --
      Michel
      Fedora Project Contribut
    12. Re:Invulnerable to MyDoom type virii? by digidave · · Score: 2, Insightful

      From what I've seen lusers do I'm pretty confident that some people would spend four hours installing dependencies just so they could get the virus or trojan to run.

      --
      The global economy is a great thing until you feel it locally.
  6. 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.

    2. Re:Windows Beats Linux! by Dylan+Zimmerman · · Score: 2, Interesting

      That's nothing. I installed MS Desktop SQL Server (comes with Visual Studio) on my machine, explicitly denied it access to the Internet, explicitly denied access to it from the Internet (both in my software firewall), and it was infected with Slammer within 15 seconds of connecting over dialup. I'm dead serious. I guess that something could have deactivated my firewall, but it claimed that it was up.

  7. A good thing... by danielrm26 · · Score: 3, Insightful

    It's nice to see that SEL is being adopted by someone like Red Hat. I think this development will get more distros and organizations interested in using it, which will benefit the project greatly.

    Like it or not, Red Hat sets the tone in many ways, and in this case it's a good thing.

    --
    dmiessler.com -- grep understanding knowledge
  8. Get a Tech Writer Already by llouver · · Score: 3, Insightful

    "... the root had no IP address" presumably should have read "... root had no password" and the jump from the NSA developed SE Linux to the Eclipse IDE escapes me.

  9. smart policy by son_of_asdf · · Score: 3, Insightful

    This, IMHO, is smart policy. What better way to find the holes in a distro than to co-opt the people most capable of exploiting them? Even at worst this will give the folks at RH a good idea of what exploits are going to be most frequently used against thier systems.

    Of course, the security of any system is dependant upon the admin and how he/she configures the software used on the system, but this at least will help to establish a baseline from which to work, and provides full disclosure of any inherent system vulnerabilities to the admins that work with the system.

    ...as an added bonus, this /. post will see how the system might stand up to a major bandwidth spike....

    --
    Don't Panic!
  10. It is a Big Deal by llouver · · Score: 3, Informative

    Yes. But exploiting a bug in a particular application or service is only going to expose the data that application or service uses. In a SE Linux system, you don't gain root or system privileges by breaking an application or service since NONE of them run as root.

  11. 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.

  12. Re:I'm Done With Redhat by cubicledrone · · Score: 2, Informative

    Stock price is up 400% in 12 months. Is that successful enough?

    --
    Business isn't willing to pay for products, innovation and careers, so we get brands, mortgage commercials and layoffs.
  13. Technically Gutsy Move by deepbluegeek · · Score: 2, Insightful

    I dig engineering/development efforts that come out and dare people to break their 'stuff'. It takes cahoneys to do such a thing and pretty talented developers to back up such a stance. More power to em!

  14. Re:Big Deal by Tim+C · · Score: 2, Informative

    Don't forget the users - most, if not all, of the fastest spreading Windows trojans and viruses of recent years have relied entirely on user-intervention.

    As long as a user can run arbitrary code that opens up network ports and sends data to arbitrary destinations, it will be difficult to completely secure a machine. Per-application egress filtering would go a long way to securing this, but I'm not aware of anything available for Linux that allows you to do so.

  15. 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!

    1. Re:Other ways to improve Linux security? by IamTheRealMike · · Score: 2, Insightful
      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.

      That's right. When you have piles of packages (source or binary) hosted on single servers run by the same group of people, you're making yourself a really tempting target. You don't even have to trojan a package - just find an exploit then DDOS the update servers so people can't access the fixed packages easily and you've bought yourself some time. As for large repositories of unsigned packages - let's not even go there.

      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.

      No, the last thing Linux package management needs is more centralization. What we need is *less* centralization.

      How many times have you heard of Windows users being compromised by trojaned InstallShield Wizards? I'm not talking about binaries a virus has infected, I mean bent installers. I've never heard of such a thing. Even if it has happened (and I expect it has a few times), it's a very hard way to infect somebodies system because you have to compromise a server, rebuild the installer somehow and then you only manage to get one package which may or may not be run by lots of people anytime soon.

      What Linux package management needs to be more secure is for projects to host their own binary packages as they do for source packages. That way if/when breakins occur, the damage is at least limited.

      And it would be impossible to accidently load and install a trojan.

      I think this is wrong- if upstream is trojaned you are still screwed. Packagers don't audit the code, you know.

    2. Re:Other ways to improve Linux security? by 0x0d0a · · Score: 2, Interesting

      When you have piles of packages (source or binary) hosted on single servers run by the same group of people, you're making yourself a really tempting target.

      You know, you probably *are* right -- the FSF's archives didn't get broken into for no reason.

      However, I think that other avenues are more appealing.

      Think about the number of packages in a typical Linux distro. There are a lot -- I currently have about eleven hundred packages installed. Assume that each project has an average of two people with CVS commit access. Many projects do not have rigorous revies of all commits. If someone can compromise the computer of *any* of these 2200 developers and slip a subtle hole in. If someone can submit a patch with a hard-to-find hole, how likely is it that they can manage to slip it in eventually? If they do an anonymous submission, they can keep hammering software projects with evil patches. I have no idea who maintains, say, gkrellm, but how do I know that he's good at ensuring that UNIX software is secure and back-door-free?

      Red Hat probably puts a phenomenal amount of work into securing their distribution servers. A single developer's workstation would be a lot easier to compromise.. Package management is a weakness in that it instroduces a new person with the ability to produce a malicious package -- the packager.

      No, the last thing Linux package management needs is more centralization. What we need is *less* centralization.

      I cannot agree. Mike, I agree with your technical goals in package management (and respect the work that you've done), but I don't find this to be a security argument. A system such as this is weakest-link. Only one system involved in the production, building, and distribution of software must be compromised for the end user's systems to be compromised. More decentralization means more systems to potentially be a weakest link.

      What Linux package management needs to be more secure is for projects to host their own binary packages as they do for source packages. That way if/when breakins occur, the damage is at least limited.

      Mmmf. I can't agree. At least with the RH/Fedora model, there is a long (months long) QA process run on the software ahead of time. If software projects have the power to push updates to the masses without QA...they could cause all *kinds* of problems. Currently, they have only the power to push updates to Red Hat.

      If software projects provided eDonkey links or similar, so that a cryptographic hash of the file is in the wild, that *would* be one more guarantee of security.

      Packagers don't audit the code, you know.

      In general, you're right, but RH has pushed security patches to projects before.
      Bandwidth issues.

    3. Re:Other ways to improve Linux security? by 0x0d0a · · Score: 2, Interesting

      Darn, I forgot to include the tidbit that I really *did* want to include, given who you are.

      There is a way that Linux packaging could be used to improve security. Current state-of-the-art Linux packaging systems pretty much operate in "install as root". There's a script run that runs as root and has the ability to do anything. It would be helpful if, packages could contain a standard way of denoting the privileges that a package requires to be installed. (A package manager could place restrictions on what is allowed.) Package managers currently provide very minimal or nonexistant sandboxing capabilities.

      For example, perhaps I do not want to allow an installer to create any SUID files, since I don't want more floating around on my system. Perhaps I want to prevent an installer from modifying any existing files, and only adding the files specified in the package requirements. Perhaps I want to *require* that all executable files be SUID/SGID a new user with no remote login requirements. Perhaps I want to require that all executables that the package installs be started with a limited set of POSIX capabilities.

      Why is this a big deal? Because it's technically possible to produce a sandbox that will let me run and poke at code from a random person on IRC. But no package managers currently do so. It's technically possible to ensure that more SUID binaries don't pop up on my system -- since SUID binaries are one of the few potential security holes on a UNIX system, I'd like to avoid installing any if possible -- but I cannot do so. It's technically possible to force all installed binaries to run SUID/SGID/chrooted. It's possible to ask that packages not touch any system-critical files -- initscripts, PAM, kernel, etc. Basically, when I recieve an RPM currently, I have two choices. I can su to root and install the RPM, giving the install script and package complete and total control over the system. Any malicious stuff in the package or bugs could blow away my system. I can try installing the thing with a different RPM database as a user with different prefixes, but it's a royal pain. I can choose not to install the package. And those are my only real options.

  16. 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.

  17. 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.

    1. Re:All PR and no substance. . . .again by iggymanz · · Score: 2, Informative

      code audits are just one piece of security testing.....there's plenty of flaws that have been found in all major OS trying to break systems just by throwing different things at it. Being an OpenBSD fan, I see problem found where ICMPv6 on a listened tcp port can crash the 3.4 as version as found on distribution CD. Cracking contests are great for PR, true, but also yet another way to test security. Only relying on code audits is the same as trying to design aircraft by textbook only without ever doing wind tunnel test.

  18. eureka. by xeeno · · Score: 2, Funny

    1. Release OS for years filled with security holes
    2. Stop releasing OS for free
    3. Sell security based OS
    4. ?????
    5. Profit!

  19. 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.

  20. now or later? by crabpeople · · Score: 2, Interesting
    if you actually did find a hole, wouldnt it be lot more profitable to wait till the os is deployed worldwide and then exploit it?

    i didnt RTFA but the blurb said nothing of compensation if someone did crack it. IF there is a bounty, im sure its not as much as one would make cracking a bank a year from now.

    --
    I'll just use my special getting high powers one more time...
  21. 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.

  22. Default in Fedora? Excellent! by Coryoth · · Score: 2

    Having SELinux security policies the default security set up is a positively excellent idea. I was hoping some distros would do this (hopefully eventually all), but Fedora is a good start.

    SELinux really does make huge strides in securing a system, providing the policy is set up well (for which there are some tools, but a good default from distros will help immensely). Sure, no system is unbreakable, but SELinux is vastly ahead of anything else out there right now. The more boxes out there secured like this there are, the stronger Linux's claims of truly superior security. Windows really does have absolutely nothing even remotely comparable to SELinux right now.

    Jedidiah.

  23. Out of box Security by niko9 · · Score: 3, Interesting

    2 questions:

    Anybody have more info as to why the last machine was compromised in 45 seconds?

    Anybody know of a guide for the Linux beginer on how to secure (shutting down services not needed for a desktop machine, in an easy to understand way)a out-of-the-box desktop system??

  24. 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


  25. Re:45 seconds in 1999 by Rejemy · · Score: 2, Funny

    We had much better seconds, back in those days.

  26. 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.

  27. 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?

    1. Re:Too much security for you! by 0x0d0a · · Score: 3, Insightful

      Yes, I'd expect it to be a real pain in the ass to get X working. The structure of X is really awful from the standpoint of a secure system. (This is not to say that XFree86 is particularly insecure, but that current implementations of this type of software aren't particularly secure).

      Among the other security issues with XFree86:

      * Runs as root. On UNIX, this is a big sin. On traditional UNIX systems, and still with most Linux systems (POSIX capabilities are one way around this), root can do anything. If you can compromise XFree, you can compromise anything. Not only that, but XFree does not drop privileges -- the whole damn thing runs with elevated privilege.

      * Any user that sits down locally can use the thing. It's easy to interface with.

      * By default, most systems listen for incoming connections. If you can exploit the auth system, you control a root daemon remotely.

      * There are many ways to authorize to the thing (xauth, xhost, etc). It is easy to turn off authorization, and many people (disturbingly many) do so.

      * There are many ways to communicate with the thing (UNIX domain sockets, TCP). XFree is not small and simple and easy to check for flaws.

      * XFree talks directly to hardware. Aside from the OS, it mucks with all kinds of things that might be exploitable.

      * XFree is a major attack path for monitoring user input.

      * XFree is responsible for displaying a login screen (and accepting username and password).

      * XFree does not natively encrypt remote connections, though many people now use ssh's tunneling abilities.

      * XFree is decidedly vulnerable to traffic analysis.

      XFree is pretty bad from a security standpoint, and almost anathema to a trusted system. That's not a stab at XFree -- many decisions have been made in favor of simplicity, stability, and performance, and lots of other remote access systems aren't great from a security standpoint either. If X had been built as a secure system, it'd be a lot less usable for general purpose stuff. It would be the single thing that I would first remove from a system that *must* remain secure.

  28. Not necessarily true. by Doktor+Memory · · Score: 3, Insightful

    There have been exploitable buffer overflows in (going from memory here) PINE, MetaMail and Mutt, all of which in theory could allow a trojan email to be sent to a unix user, and none of which required clicking on an executable.

    Are you willing to warrant that there are no such holes in Evolution, Thunderbird or KMail?

    --

    News for Nerds. Stuff that Matters? Like hell.

    1. Re:Not necessarily true. by Xpilot · · Score: 2, Insightful

      There have been exploitable buffer overflows in going from memory here) PINE, MetaMail and Mutt, all of which in theory could allow a trojan email to be sent to a unix user, and none of which required clicking on an executable.

      Are you willing to warrant that there are no such holes in Evolution, Thunderbird or KMail?


      All very true. However, for a virus such as mydoom to spread like wildfire and do the DDoS damage it was designed to do, it needs to acheive a "critical mass" that can only be acheived through homegeneity which Windows provides. Sure there are some clueless Linux users using unpatched Pine, Mutt, but they all have *different* vulnerabilities, and a single worm or virus could not propogate quickly using the same method.

      --
      "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." -- Linus Torvalds
  29. Re:Invulnerable to MyDoom type viruses? by skyhawker · · Score: 2, Informative
    But for ease of use, and pressure to have admin privs, you have this insecure situation under Windows. The same will be true of Linux if it were to go mainstream.
    Wrong. The main problem with Windows is that you can't generally log in with two different user ID's at the same time. With Linux or Unix, doing that is trivial. So on my Windows 2000 machine, I normally run with Administrator privileges, while on all my Linux machines, I normally run as a non-prvileged user. If I need to install some software or do some other sysadmin chores, I merely open an xterm and log in as root. No way to do that on Windows 2000 (in general) without logging out of your normal user session. And that's the biggest problem with the Windows design, if you ask me.

    Oh -- I might add that I have never been hit by a virus or a trojan on any of my Windows systems, despite running with Administrator privileges, because I don't do stupid things (like use Outlook or Outlook Express to read email), and I keep all my antivirus software completely up to date.
    --

    The best diplomat I know is a fully activated phaser bank.
    -- Scotty.
  30. Tienemen misquotes by bigman921 · · Score: 3, Informative

    I was at EclipseCon and saw his speach. He didn't say that the last "version" was hacked in 45 seconds. He said the "average" time it took to hack a computer without a firewall on the internet (including M$ and *nix) was 45 seconds and that a version of SELinux is on the net with no firewall or root password and it has not yet been compromised.

    --
    "So you call this your free contry, tell me why it costs so much to live?" - Three Doors Down
  31. Re:Invulnerable to MyDoom type viruses? by hoeferbe · · Score: 2, Informative

    Although the Windows 2000 runas command is a step in the right direction, it is a far cry from the ease of "su - root" and "sudo ...". Take, for instance, if I want to change the IP address in Windows 2000, but I'm logged on as a non-admin user. To do this, I have to kill my user's explorer.exe process before starting up a new one (by typing it into Task Manager's "Create New Task" dialog box) as the administrator. Only then can I get to the Network Properties in the Control Panel with the privledges necessary to change the IP address.

  32. 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.

  33. 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

  34. WOOHOO! by NerveGas · · Score: 2, Informative


    Does this mean they'll actually MD5 the root password?

    (Sarcasm-less explanation: During the RedHat installation procedure, the ability to choose to use MD5-encrpted passwords comes *after* you choose your root password, so your root password is encrypted with much weaker encryption until you change it.)

    steve

    --
    Oh, you're not stuck, you're just unable to let go of the onion rings.