Slashdot Mirror


New Security-Enhanced Linux Release

James Cho writes: "Four days ago, the 2nd public release of the NSA's 'security-enhanced' version of Linux (it's not an entire distribution) came out. The NSA describes it as having 'a strong, flexible mandatory access control architecture incorporated into the major subsystems of the kernel". However it must be noted that this 'is not intended as a complete security solution for Linux' and that there is 'still much work needed to develop a complete security solution'."

179 comments

  1. So who is using it? by infernix · · Score: 0, Interesting

    I'm wondering who put their research to good use.

    Anyone?

    1. Re:So who is using it? by Anonymous Coward · · Score: 1, Funny

      If I told you, I'd have to kill you.

    2. Re:So who is using it? by Happy+Monkey · · Score: 1

      Why, terrorists, of course.

      --
      __
      Do ya feel happy-go-lucky, punk?
  2. Nice to see NSA contributing by lightray · · Score: 5, Interesting

    I have to say, it really is nice to see the NSA contributing to an open source project in such a positive manner. Being "open" isn't exactly one of their usual activities. From the changelog it looks like they are really digging into the depths of the kernel too -- not just superficial changes. Is anyone running this in a production environment?

    1. Re:Nice to see NSA contributing by Anonymous Coward · · Score: 0, Offtopic

      I just installed the cryptoapi to my 2.4.9 kernel. Having to download a separate patch for crypto made me wonder about the status of the crypto laws in the States. Weren't the crypto export limitatations overturned already, so why isn't the stuff in the kernel?

    2. Re:Nice to see NSA contributing by hjw49 · · Score: 0, Flamebait

      I'd be wary of anything NSA, not because of anything they would put in the code for their purposes but their general incompetence in software development. I worked with these people in my stint at Mitre. It was humorous to work with them.

    3. Re:Nice to see NSA contributing by willie150 · · Score: 2, Informative

      You're looking at it from the wrong way. Sure, crypto export limitations have been overturned (i think), but the lack of crypto in the kernel is because not everywhere else in the rest of the world is ok with it. Crypto is still illegal in some counties, and linux aims to be as usable by as many people as possible.

      --
      Better to stay silent, and let people think you're an idiot than to open your mouth and remove all doubt
    4. Re:Nice to see NSA contributing by Anonymous Coward · · Score: 0

      It is not hard, they have IBM's SAF /RACF CA's / TACF2 top secret hooks , and user menus to lift and copy. As discovered in the 70's, - they need to watch for deadly embraces and cleaning up ACEE blocks after a program crashes/abends.

    5. Re:Nice to see NSA contributing by Anonymous Coward · · Score: 0

      Maybe they are hiring some of those high-power, well-paid consultants to do the actual work, while they cheerlead?

    6. Re:Nice to see NSA contributing by Florian+Weimer · · Score: 1
      I have to say, it really is nice to see the NSA contributing to an open source project in such a positive manner.
      The NSA (or its director) is claiming copyright for quite a few lines in the Linux kernel (IIRC Don Becker's network drivers are under NSA copyright). This is hardly something new.
    7. Re:Nice to see NSA contributing by Sunda666 · · Score: 2, Insightful

      Linux kernels are not *EXPORTED* from the U.S. , AFAIK

      --


      ``If a program can't rewrite its own code, what good is it?'' - Mel
    8. Re:Nice to see NSA contributing by Chakat · · Score: 1
      IIRC Don Becker's network drivers are under NSA copyright

      Wrong government entity. Mr Becker's network drivers are copyright NASA, not NSA.

      --

      If god had intended you to be naked, you would have been born that way.

    9. Re:Nice to see NSA contributing by Florian+Weimer · · Score: 1


      IIRC Don Becker's network drivers are under NSA copyright

      Wrong government entity. Mr Becker's network drivers are copyright NASA, not NSA.

      Copyright 1993 United States Government as represented by the Director, National Security Agency. - Doesn't look like NASA to me.
    10. Re:Nice to see NSA contributing by ynohoo · · Score: 1

      Yeah, much kudos to the NSA becoming good netizens! A good PR move, methinks, especially now they're trying to get those naughty hackerz onside...

      I steal your .sigs

    11. Re:Nice to see NSA contributing by Chakat · · Score: 1
      Well, doing a quick grep through the driver sources shows that he's got credits through both agencies. Looks like I should have done my homework a bit more.

      A closed mouth gathers no foot, I guess.

      --

      If god had intended you to be naked, you would have been born that way.

    12. Re:Nice to see NSA contributing by Dwonis · · Score: 2

      Actually, they are. Linus moved to the U.S. a while ago. (Though I agree with Alan Cox that it's probably dangerous for developers to visit the U.S., due to the crazy laws.)

  3. Re:How many by Anonymous Coward · · Score: 2, Funny

    As many as it takes to catch all the mass-murdering and linux-using terrorists.

  4. In times like these... by xophos · · Score: 0, Offtopic

    i would not go near anything, that was touched by nsa fbi or what ever. Hey they demand crypto-backdoors, why should they keep the publicly available version of their os free of backdoors. They can allways say it was just typos...

    1. Re:In times like these... by fossa · · Score: 1, Offtopic

      You have valid misgivings, but keep in mind that the NSA is not one homogenous organization (indeed, no organization of any size is completely homogenous). Calls for crypto backdoors are simply backlash from the tragedy. They cannot possibly reflect the desires of the entire NSA.

    2. Re:In times like these... by Rentar · · Score: 2, Interesting

      I think you have a valid point (as well as fossa, who mentioned that the NSA is no homogenous organization), but what I'd really like to see, is someone (no, make that many people), who knows something about the kernel _and_ security/crypto-theory to wade through the patches and make sure, that there are no backdoors. Of course you it's not an easy task to do, but I think this time it is neccessary ... and if this person/these people then publish there findings (of course signed with GPG, with a well-known, many-signed key) we might be able to use this code for real.

    3. Re:In times like these... by Anonymous Coward · · Score: 2, Insightful

      Backlash from the tragedy? Unless the tragedy you're referring to is the development of public key encryption, no. The leadership of the NSA (and related government entities such as the FBI) has been consistently demanding backdoors and key escrow for decades. The people in charge certainly have a homogeneous opinion, and the low level workers will not be making decisions about whether or not to add backdoors to anything.

    4. Re:In times like these... by xophos · · Score: 1

      the standard kernel is very secure, but still there are securety bugs in it discovered every now and then. Now if you tried to hide some backdoor in a patch you send in, it won't proppably go unnoticed. But the nsa afaik has some real mount of code to hide them in. Disguised as programming errors split over their whole project. And if you have really much code who will find that out? And more important: Who can ever be sure?

    5. Re:In times like these... by Flower · · Score: 4, Funny
      They can allways say it was just typos...

      True enough. We can always ask why they put in the constant b4ckd00r and set it to binlLadenhasnoSkI11z.

      --
      I don't want knowledge. I want certainty. - Law, David Bowie
    6. Re:In times like these... by Flower · · Score: 2

      Yeah, but I'd bet you'd be all over some rpm posted to a GeoCities webpage by someone only known as d34Thm4tCH because that's what the OSS revolution is all about.

      --
      I don't want knowledge. I want certainty. - Law, David Bowie
    7. Re:In times like these... by Anonymous Coward · · Score: 0

      but what about the feared microsoftKEY?

    8. Re:In times like these... by Guppy06 · · Score: 2

      If there's a backdoor, why haven't you looked at the publicly-available source code and found it yet? And better yet, how do you put a back door into encryption in a product that has no encryption?

    9. Re:In times like these... by Anonymous Coward · · Score: 0

      If there is a backdoor in the NSA code, you'll never find it, Open Source or not. Read this article by Ken Thompson:

      http://www.acm.org/classics/sep95/

    10. Re:In times like these... by Guppy06 · · Score: 1

      I see no mention in the article of Mr. Thompson releasing the code to the masses to find out if the trojan is really undetectable. All I see is the unsupported statement "No amount of source-level verification or scrutiny will protect you from using untrusted code," which can be interpreted as an insult to the intelligence of the community, an egotistical statement on Mr. Thompson's part, or both. There is a difference between "I can't see how it could be detected" and "It is undetectable."

    11. Re:In times like these... by Chakat · · Score: 1
      If there is a backdoor in the NSA code, you'll never find it, Open Source or not. Read this article by Ken Thompson:

      No, you probably will find it. The NSA's set of patches, etc don't make a whole distro, only bits and pieces of one. You still need GCC, which is made outside the triple fence, in order to compile it. If you're truly paranoid about an act which could compromise your system, you compile GCC from a different compiler, so that any chance of a Thompson'esque back door is minimal. One of the beautiful things about an open and decentralized standard, such as C, is that you can use someone else's work in order to verify that there are no backdoors in your product. Thompson was able to put in such a backdoor because he controlled both the login program and the compiler. Such a thing is not possible today

      --

      If god had intended you to be naked, you would have been born that way.

    12. Re:In times like these... by Dr.+Weasel · · Score: 1

      Why would they bother making their own release? If they were really trying to slip in a backdoor this would be a dumb way of doing it. It would be much smarter to have a few people work in the OSS comunity undercover, gaining trust for providing good code and then slipping the backdoor that way. People are much more suspicious of the NSA than a respected contributer.

      I find it much more likely that this is legit and the NSA is trying to increase security for corporations in the US and friendly nations. The security methods in their code can help prevent cracker and virus attacks on corporate computers. Those attacks hurt the economy. The economy being hurt hurts the US.

  5. Since it is open source... by frleong · · Score: 0, Offtopic

    and this distribution seems to be quite strong in security, I think this will defeat the legislation to block terrorists from using strong encryption... Is NSA helping terrorists in this case to secure their communication channels?

    --
    ¦ ©® ±
    1. Re:Since it is open source... by Anonymous Coward · · Score: 1

      > Is NSA helping terrorists in this case to secure their communication
      > channel?

      Or maybe internal NSA research (top secret of course) has discovered
      an algorithm that will break this secure kernel they are foisting on
      the public now. Who knows how advanced their cryptology is nowadays? Their researchers are not allowed to publish.
      Now they are releasing this ``back-doored'' kernel into the world and experimenting
      if civilian computer scientists would discover the flaw.
      Heck, its even a good way for the NSA to know how far advanced their research
      is vis-a-vis the rest of the world.

      -- a paranoid freak

    2. Re:Since it is open source... by zmooc · · Score: 1

      This is not about encryption; it's about permissions. Something completely different.

      --
      0x or or snor perron?!
    3. Re:Since it is open source... by Guppy06 · · Score: 2

      If this even was about encryption (which it's not), knowing how an encryption algorithm works and how to defeat it are two entirely different things. If crypto software relied entirely on the program's ability to hide how it encrypted something, then it's a simple matter to buy yourself a copy and decompile it.

    4. Re:Since it is open source... by Scooter · · Score: 1

      Why troll this guy? It's a fair point. I think on balance it won't "help" terrorists, and is certainly not intended to, but if on the one hand the nsa demand a "back door" in every security and crypto system, it doesn't make sense to open source their own efforts - after all, at this very moment aren't there a couple a 100 guys reading the code looking for back doors, all eager to be the first to publish it on slashdot. I'm sure the nsa thought of this too - so I'd be suprised if they were dumb enough to opensource their mods if they were a bit on the dodgy side.

      But still, it doesn't fit with their public stance on "just for us" security.

    5. Re:Since it is open source... by Simm0 · · Score: 1

      The NSA is actually trying to protect United States citizens.

      Amazing that all these ppl are saying shame on them for creating another tool for terrorists. But I very well doubt that the terrorists computers would even be connected to the internet let alone need to be secured by linux.

      By the way, I see no mention of any encryption with this distribution so the only use for this distro would be to keep other ppl's prying eyes out of the system.

      If I was a citizen of the US I would write to my local representative and commend the NSA on this project and put it in the spotlight. (which equals more funding for the project etc)

  6. Suggestion by Jailbrekr · · Score: 2, Informative

    as soon as it is mandatory for encryption to have a gov't controlled back door, fork the distribution and start developement outside of the USA, much like OpenBSD.

    The NSA is doing a bang up job, but their work will be seriously compromised if the USA Gov't is successful in legislating mandatory back doors in all encryption products.....

    --
    Feed the need: Digitaladdiction.net
    1. Re:Suggestion by NullAndVoid · · Score: 1

      The only problem is the fork developers will have to worry about how their own government reacts to the US policy that any nation that doesn't support the US anti-terrorism is acting in support of terrorism.

      --


      -- Sigs are for losers
    2. Re:Suggestion by Marcus+Brody · · Score: 2
      as soon as it is mandatory for encryption to have a gov't controlled back door, fork the distribution and start developement outside of the USA, much like OpenBSD

      Interesting point, but i'm not sure how they would do that... It could be quite difficult to to backdoor an open source project without someone noticing, which would be fun.

      Ridiculously obfuscated code perhaps? I've heard the NSA are pretty good at this already...
    3. Re:Suggestion by Anonymous Coward · · Score: 0

      As I posted elsewhere, it is very possible to hide a backdoor, even in Open Source code. See this article by Ken Thompson:

      http://www.acm.org/classics/sep95/

  7. MS Linux? by Anonymous Coward · · Score: 0

    could this be the closest thing? wonder if there are kernel enhanced security backdoors - but the real question, can we infect it with nimsa etc ;)

  8. Very flexible, lots of hooks by khym · · Score: 5, Informative

    This is looking very nice. They're putting hooks into lots of places in the kernel. If the hooks themselves are accepted into the core kernel, then many of the different Linux security projects (like LIDS) will be able to work with little (or even no) kernel patching. It also has clean seperation between it's various components, so that anyone can plug in their own implentation of any of the sub-systems; thus, just like in Perl, ther'll be More Than One Way To Do It.

    --
    Give a man a fire, and he'll be warm for a day, but set him on fire, and he'll be warm for the rest of his life.
    1. Re:Very flexible, lots of hooks by cowens · · Score: 1
      "They're putting hooks into lots of places in the kernel ... so that anyone can plug in their own implentation of any of the sub-systems"


      Does anyone else worry about the NSA making the Linux kernel easy to modify? All I could think about while reading the above comment was "what else are they planning to put in?" I am not normally a very paranoid person and I applaud the NSA for its effort, but I can't help but get the feeling that they should be watched like hawks.
    2. Re:Very flexible, lots of hooks by Jetifi · · Score: 1

      In addition to Carnage4Life's comments, I should point out that the first SELinux release was a direct patch.

      It was presented at a Kernel summit (I can't remember which) and one of the suggestions made was that the various people who were interested in increasing the security of Linux get together and work on a common set of hooks for SELinux, LIDS, etc. The hooks are the result of that.

  9. Just the standard question.... by Peridriga · · Score: 0, Troll

    Mark this as a troll... I don't care (I have Karma to spare)

    But, I'm sure it's not just me that would have to think twice or three times about installing an operating system produced by the governement agency responsible for spying on us...

    Yeah I know that they more that anyone would probably be able to produce a pretty secure OS (for what's that statements worth) but, comon...

    I'd have a to wait a few months on that for a good independent third party review of the entire code and daemons before I really trusted it with any of my senstive data...

    Just my 2 cents...

    1. Re:Just the standard question.... by Captain+Bonzo · · Score: 4, Informative
      But, I'm sure it's not just me that would have to think twice or three times about installing an operating system produced by the governement agency responsible for spying on us...

      Normally this might be cause for concern, but it has the strength of being open source, so the patches can be scrutinised by the OS community and if there's something dodgy about it, you can bet your hard disk that word would get out.

      And if you're worried about the government slipping you dodgy binaries... compile from source!

    2. Re:Just the standard question.... by |_uke · · Score: 5, Interesting

      If the NSA really wanted to put out a piece of software they could use as a back door, they would do it discreetly. There is no advantage for them to introduce a back door into an open piece of software.

      This is not some new scheme to control the population... No doubt the people working on this are just geeks, whom are much like many of us here on slashdot.

      I think we should applicate and WELCOME the fact that the government is spending our tax dollars on something that makes our community better. I personally would like to see a lot MORE involvement from the government on community (free speech/Open Source) projects. The government (not just U.S., but many of the governments world wide) has a lot of really talented people. People like this could do a lot of good for the community. (Although yes I admit, they could also do a lot of harm.)

      I think this is a good step in the right direction and I hope to see a lot more of this in the future.
      (And no, I do not work for the government. :)

      --
      Luke
    3. Re:Just the standard question.... by Anonymous Coward · · Score: 0

      You have to understand that even though they are working in an Open Source environment, just how many people are able to spot if they have created a backdoor? I certainly wouldn't.

      The people that are able to find the backdoors may be working on ther own projects and never get around to viewing the changes that the NSA have made.

      Call me paranoid, but I would rather use a current known secure solution, before using something from a government source.

    4. Re:Just the standard question.... by duffbeer703 · · Score: 2

      Why don't you read the article instead of looking out the window for black helicopters????

      SELinux implements a more robust access control mechanism in Linux. This is similar to TrustedSolaris/AIX/BSD/HPUX. It has nothing to do with encryption.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    5. Re:Just the standard question.... by sam_handelman · · Score: 1
      This is not some new scheme to control the population... No doubt the people working on this are just geeks, whom are much like many of us here on slashdot.

      Yeah, and this has nothing to do with encryption. They use steganography. I found the phrase "Help us! We've been captured by the NSA!" embedded in one of the header files. Story here .

      --
      The good and new comes from no quarter where it is looked for, and is always something different from what is expected.
    6. Re:Just the standard question.... by maxpublic · · Score: 1

      It seems to me that the clueless "X-Files" freaks are out in force, no doubt scanning the skies for human-kidnapping alien spacecraft, black helicopters, and the infamous NSA, er, I mean "men in black".

      Only the completely wigged "I need to wear an aluminum foil hat to keep out the mind control rays" sorts of folks would assert with complete conviction that the product MUST have a backdoor because it was written by the NSA, despite the fact that the entire thing is OPEN SOURCE.

      Jesus H. Christ. Paranoia is good, folks, but only if it's RATIONAL. The NSA aren't *stupid*; there's no return on putting a backdoor into open source that'll invariably be discovered by some bored hacker with a text editor.

      As the original poster said, it's nice to see a gov't intelligence agency actually working FOR us for a change, spending tax dollars in a sensible fashion.

      Max

      --
      My god carries a hammer. Your god died nailed to a tree. Any questions?
    7. Re:Just the standard question.... by Pimpy · · Score: 1

      This is the same age old problem of incompetent people installing things blindly without first looking at what's actually being changed. If people are going to take that approach, then it's their own fault if there are hidden backdoors and other such things strewn about the code. For those of us that actually write code, or even those who don't, just reading the patch is enough indication to figure out what's going on and whether there's any foul play at work or not. Blaming someone for using backdoor tactics in a system where the source is fully available is no ones fault but your own if you get screwed by it.

    8. Re:Just the standard question.... by gmanske · · Score: 1
      Actually compiling from source doesn't necessarily solve the problem, nothing does. You're always placing a large amount of trust in anyone that touches the system, the compiler writer, the hardware, the source, etc...

      A classic paper on the topic by Ken Thompson: Reflections on Trusting Trust

  10. This is NOT Encription by |_uke · · Score: 5, Interesting

    Guys... come on. So far (at 1:26 am pst) Almost every post to this article is talking about encryption. Having an educated opinion is worth a lot more than an uneducated one. Do a little more research please :)

    This is NOT encryption. What SELinux provides is stronger access control mechanisms. This means that users and programs only have access they need in order to get their job done.

    This is a totally different thing from encryption. Encryption is one thing this is actually NOT touching. Encryption on most systems is useless if someone can break in and obtain the key needed to decript whatever you are trying to keep secret.

    In a environment with better access control, it makes it a LOT harder for someone to actually gain that type of access. If someone breaks into your mail daemon or your http daemon, they only gain the rights that program had, nothing more.

    I do agree however, that it is nice to see the government helping community (opensource/free speech) software. I think this is something we could use a lot more of.

    --
    Luke
    1. Re:This is NOT Encription by codeforprofit2 · · Score: 1, Funny

      "This is NOT Encription"

      Thats right, it's not encription.

    2. Re:This is NOT Encription by jtra · · Score: 1

      You are right, but then, they may easily by legislation (proposing such law) force people to use their backdors. It's easy - there are alresy hooks for them!

      --
      -- Wanna textmode user interface for ruby? http://freshmeat.net/projects/jttui/
    3. Re:This is NOT Encription by Anonymous Coward · · Score: 0

      'Encription' is probably an international spelling, much like 'organisation' is an international spelling of 'organization'.

    4. Re:This is NOT Encription by Dwonis · · Score: 2
      s/international/correct/g

      Dwonis ducks.

  11. Good to hear by Anonymous Coward · · Score: 2, Insightful

    Good to hear that they're still actively working on this open source project, in light of the recent events. It seems at least some people at the NSA don't believe that banning security measures is the answer to all problems.

  12. ...as far as I could throw 'em. by Cipher13 · · Score: 1, Insightful

    The NSA is responsible for national security... as the name implies.

    They desire (and probably have) access (however limited) to anything they want - private computer systems are a major hurdle in their mission to have complete access. What better way to change that than to release their OWN operating system, in the form of a Linux distro?

    They can't exactly introduce a brand new thing to compete with Windows or the MacOS; so join the Linux crowd. Perfect.

    Anyone who uses this is simply helping the NSA spin their web; and its getting bigger as always. Protect privacy... stick to YDL ;)

    1. Re:...as far as I could throw 'em. by RollingThunder · · Score: 5, Insightful

      Well, enough people have said "read the source yourself", so I won't go into that.

      Here's the other way to look at it... as in "why would they do this?". If you consider the security of the servers used by american businesses as a national concern (and remember that the US Govt has a LONG history of getting involved JUST to help businesses), then helping make a stronger, more secure Linux kernel *IS* a national security issue.

      I'd go on in more detail but it's 3:20 AM and my wife is complaining. :)

    2. Re:...as far as I could throw 'em. by leviramsey · · Score: 3, Insightful

      The NSA has two tasks charged to it: 1) obtaining elint in non-US nations and 2) preventing other nations from gaining elint in the US.

      Part of the second task is securing US government systems. Many US gov't installations can only use Solaris, HPUX, and a few related Unices because they are the only ones that meet the NSA's standards for security. I imagine that the NSA realizes that if Linux were to be an option, they could actually save some money (which, instead of being spent elsewhere in the gov't could be spent at NSA...).

    3. Re:...as far as I could throw 'em. by martinflack · · Score: 1
      If you consider the security of the servers used by american businesses as a national concern (and remember that the US Govt has a LONG history of getting involved JUST to help businesses), then helping make a stronger, more secure Linux kernel *IS* a national security issue.
      I'd go on in more detail but it's 3:20 AM and my wife is complaining. :)

      In light of September 11, this shouldn't need any further detail.

    4. Re:...as far as I could throw 'em. by Anonymous Coward · · Score: 0

      I think the reason they started using Linux (as opposed to other OSs) is because of that GNU GPL. I've followed research on topics like secure OSs for a long time, the mechanisms SELinux implements have been around a long time, just never implemented as part of any OS.

      In the past, many researchers have attempted to work with MS or Sun on getting better security into Windows or Solaris. MS and Sun (and other OS companies too) were VERY resistant to it.

      My guess is that NSA researchers themselves were among the people attempting to do just that, and were getting no where like everyone else.

      I think they then noticed that in Linux they have full access to the source code (from the GPL) and decided to work from there as a starting point. Why Linux instead of other Open-source OSs is probably because of Linux's popularity. They made their changes public for an obvious reason: the GPL required them to do so.

      They do indicate in their webpages on the project that the SELinux they are developing is more of a prototype. I think they intend that OS makers of the world will take their ideas and port them directly into their OS's (Much like HP did a few months ago), and hopefully into other mainstream OSs like Solaris or Windows.

    5. Re:...as far as I could throw 'em. by Supa+Mentat · · Score: 1

      The NSA used to be classified, the public simply did not know it existed. Now that we do know of it, I would bet that there is another organization that collects intel in more insidious ways and that its existance is highly classified. The very fact that I see the heads of the NSA on CNN and other news sources from time to time tells me that I needn't fear them as much as people here on /. seem to. If you're going to worry about the government spying on you, at least worry about a secret that they can't let you know.

      --
      "A witty saying proves nothing." - Voltaire
  13. Does it support Beowulf clustering? by Anonymous Coward · · Score: 0

    Just wondering.

    -Patrick

  14. Re:Let me get this straight... by Anonymous Coward · · Score: 0
    the terrorists made use of these kinds of communist open source tools to plan, communicate, and carry out their attack.

    How can you tell that when it isn't even sure yet who did it?

  15. Re:Let me get this straight... by Cipher13 · · Score: 0, Offtopic

    I'm as shocked and disgusted at the attack as you or anyone else.

    I actually had people I knew in that building.

    What do you want us to do? Pine over it forever? The fact that we are ABLE to discuss something else shows how unsuccessful that terrorist attack really was despite the massive loss of life.

    Don't label me as insensitive but getting over it is what needs to be done.

    Burbonator: Thats what I'm talking about; the reason for this release is so the NSA has access. Do you really think they'd release something they couldn't break? Oh come on...

    They'd love for terrorists to use this. Its probably got a seive built right into it! :rolleyes:

  16. Re:Dont' help out the terrorists! by Cipher13 · · Score: 1

    Do you really think they'd release something they couldn't break? Oh come on...

    They'd love for terrorists to use this. Its probably got a seive built right into it! :rolleyes:

    "Security Enhanced" maybe - but when you've got the key, the size of the door matters not... no?

  17. From the Yak department... by A+Rabid+Tibetan+Yak · · Score: 1

    There was Government one day, Who coded whilst hidden away. Then Linus Torvalds, Backed by the crowds, Surrendered the code and his sway.

  18. Here's a quarter... by FuShanks · · Score: 2, Insightful

    Go buy a clue.

    What offends *me* is your ignorance, gross generalizations, and knee-jerk reactions. By your logic I assume we should also outlaw writing. After all, they did find a letter with instructions for the terrorists. It's antiquated, hand-written messages like that that are the *real* danger to this country. Only through illiteracy can we be truly safe.

    As for me, I'm off to bed. No, really. I have to get some sleep before I go to work tomorrow.

    Jeez... I really hope this was just a sarcastic post that went over my head b/c I was sleepy... "Communist open source tools"? Yeah, it's gotta be a joke. No one could say that with a straight face and mean it.

    --
    like a knight in shining armor/from a long time ago
  19. Already Running a NSA Enhanced OS...Windows! by Ron+Bennett · · Score: 4, Interesting

    Just when I thought it was safe to run Linux on my home PC there comes this news. I'm still trying to figure out what that mysterious NSA registry key in Windows does...yes, such a key really exists in Windows - do a search here on Slashdot or Google for more info.

    Anything put out, funded, etc by the NSA or any other agency should be considered suspect until PROVEN otherwise...and before anyone here says "but it's open source"...keep in mind there have been numerous instances of serious bugs, weaknesses, etc found many years after various open source programs were released.

    Bottom line: Just because a particular program is open source, does NOT automatically mean that particular program can truly be trusted.

    1. Re:Already Running a NSA Enhanced OS...Windows! by chabotc · · Score: 3, Insightful

      Sure the NSA deserves a good look to when they submit source to the community. However this over zealous style of responding is a bit weird.

      I mean, of all the companies contributing crypto and security work, who do you know you can -absolutely- trust?

      I would think the NSA has the most to gain if this worked well (less work for them defending the information of this country), and the most to loose of they were cought doing a conspiricy (in open source plain sight no less).

      Double check any submission that claims to enhance security? sure, sounds healthy to me, however singling out the NSA will only make out state of security worse.

    2. Re:Already Running a NSA Enhanced OS...Windows! by Anonymous Coward · · Score: 0

      Take this further. FBI/CIA/NSA is spending inordinate amounts of money defending the USA against terriorists attacks. These attacks are also occuring on the net in USA and other friendlies. Besides, lets say that this is a backdoor. and further that the NSA keys in M$ is also a backdoor (this is almost certainly a backdoor and is what is being protected in the on-going mafia trial). One could simply use BSD and avoid all this. So this is almost certainly not an attempt.

      Lastly, if I can point out, where would you place back doors that would affect most every computer sold today? My self, I would do either the BIOS or the CPU. The CPU has more than enough space to provide for small programs that can be triggered via virus/worm. Nobody could check for this easily. HP has a black section in the Chip design area. I would assume that AMD and Intel have similar, but I don't know. The above has the advantage that most ppl will not think about this

    3. Re:Already Running a NSA Enhanced OS...Windows! by Tackhead · · Score: 2
      > Anything put out, funded, etc by the NSA or any other agency should be considered suspect until PROVEN otherwise...and before anyone here says "but it's open source"...keep in mind there have been numerous instances of serious bugs, weaknesses, etc found many years after various open source programs were released.

      And this is better than binary-only distros (whether from Micros~1 or the FreeBSD and Linux communities) how?

      If you're interested in securing a system, anything put out by anyone (yourself included) should be considered suspect until proven otherwise.

      NSA's involvement in SELinux is IMHO a red herring.

      And I think their track record is pretty good. I remember thinking for years that they weakened DES by h4x0ring the S-boxes and not telling anyone why, when it turns out there were strengthening it against an attack known at the time only to them.

      Remember - they have two missions. One, gathering intelligence from the assets other countries. Two, securing of American assets from the intelligence-gathering operations of other countries.

      I believe that SELinux is part of the second mission, not the first.

    4. Re:Already Running a NSA Enhanced OS...Windows! by gotan · · Score: 2

      Bottom line: Just because a particular program is open source, does NOT automatically mean that particular program can truly be trusted.

      Well, as mentioned on their site they hope these patches will find their way into the 2.5 kernel. As such it would go the way other patches go too: code will be cleaned, modified, looked over, streamlined, whatever. In the process there will be individuals outside the NSA gaining deep insight into the inner workings of (parts) of this code, they would blow the whistle if anything is fishy, and it stands to hope, that the NSA knows better, than to gain a reputation as mischievous backdoor inserters. Also there are quite a few papers presented by them, and many of the ideas will find their ways into a secure Linux Distribution, be it the actual patches or not.

      Revised Bottom line: in a high profile project like this suspicious stuff will surface sooner or later, and the NSA knows this.

      --
      "By the way if anyone here is in advertising or marketing... kill yourself." -- Bill Hicks
    5. Re:Already Running a NSA Enhanced OS...Windows! by gol64738 · · Score: 1

      Bottom line: Just because a particular program is open source, does NOT automatically mean that particular program can truly be trusted.

      in a sense, this is true. However, i know that if my code can be read by the public, i'm not going to publish a bunch of hacked up, half assed code and attach my name to it. i'm going to make sure it's as solid as can be so someone out there might email me saying, 'damn fine job, sir'.

      think of it as quality control by programmers of the world.

    6. Re:Already Running a NSA Enhanced OS...Windows! by Dwonis · · Score: 2

      Yeah, YOU will, but too many people aren't security-conscious enough. People don't check return codes where they should (close() is a good one), and they spend too much time hacking and not enough time planning and keeping the main design simple (see Gnome/KDE).

  20. Question - How many security options do we have? by Taco+Cowboy · · Score: 1



    I am a Linux user for many years, and I have to admit that I do not put much emphasis on the security matter.

    In light of the NSA's seLinux, I want know if there are OTHER secure (and/or ultra-secure) version of Linux distros out there?

    Is there a portal somewhere dedicated to give users a taste of what is available out there?

    Any comments will be very much appreciated.

    Thank you.

    --
    Muchas Gracias, Señor Edward Snowden !
  21. Reconsideration... by Cipher13 · · Score: 1

    On second thoughts... while I would trust this less than a tylenol I found on the street, think about this...

    Would you rather have the NSA, or some 1337 punk h4x0r break into your system? :\

    I've got nothing to hide from the NSA; and while in PRINCIPAL I still intensely dislike the whole thing, security wise this may be a wiser option.

    It may well leave the back door open to the NSA - but nobody else. If it can keep out "other" intruders better than any other distro... would you use it despite the ramifications of having the NSA being able to waltz right in?

    But then, there is always the possibility of the backdoor being found, or leaking; but in that situation a patch would be released immediately (its already prepared... ;)) fixing the backdoor and creating a new one.

    Oh well. Random thoughts.

  22. Re:Let me get this straight... by T-Punkt · · Score: 3, Flamebait

    [I usually don't answer cut'n paste trolls...]

    > What offends me (not to mention the 6000+ innocent dead and their grieving families) most
    > about this story is, the terrorists made use of these kinds of communist open source tools to
    > plan, communicate, and carry out their attack.

    And they used "Microsoft Flight Simulator" for training.
    It really offends me that millions of people are still using Microsoft products after this tragedy.

  23. It's not about Crypto - It's about access control! by Anonymous Coward · · Score: 1, Informative

    There is nothing in these patches that has to do with crypto. Stop whining about back doors, and at least read the FAQ!

    They are trying to move toward a structure of access controls, to limit the scope of exploits. I think this is a worthwhile effort, and their approach (ie., explaining that this is -a- way of doing this vs. -the- way of doing this) is laudable.

  24. Read the source... by Carnage4Life · · Score: 4, Insightful

    Anything put out, funded, etc by the NSA or any other agency should be considered suspect until PROVEN otherwise...and before anyone here says "but it's open source"...keep in mind there have been numerous instances of serious bugs, weaknesses, etc found many years after various open source programs were released.

    Bottom line: Just because a particular program is open source, does NOT automatically mean that particular program can truly be trusted.


    The NSA has published several research papers on on SE Linux as well as the OSes leading up to it (Flask, DTOS, DTMach) and it is hard to find malice in what they suggest should be how OSes should be improved security-wise.

    If you are so suspicious of SE Linux then don't install it or even better use the benefits of Open Source and actually read through source to see if the code matches what they claim in their research papers. Heck, diff the major source files against a stock distro and see what has changed and why. Open Source is of no benefit if people treat it like closed source and want everything handed to them on a platter.

    1. Re:Read the source... by abell · · Score: 1
      If you are so suspicious of SE Linux then don't install it or even better use the benefits of Open Source and actually read through source to see if the code matches what they claim in their research papers.

      There lies the trick. They put hypnotic comments in their code so that everybody reading it will instantly and unknowingly become an NSA agent. And, what's worse, without pay.

  25. Re:Question - How many security options do we have by shaka · · Score: 3, Interesting
    I want know if there are OTHER secure (and/or ultra-secure) version of Linux distros out there?

    These are the ones I know about:

    Trustix Secure Linux

    Engarde Linux

    Immunix (seem to ship a secured Red Hat)

    Kaladix Linux

    Can't say if they are any good, I'm afraid. I'm too happy running Debian!

    -- shaka

    --
    :wq!
  26. I am hoping that security like this goes into 2.5 by Anonymous Coward · · Score: 4, Interesting

    First of all, this in not about encryption.

    Linux already has security at the group and user level. But that is not good enough security for the real world.

    What security like this does is allow you very fine control over everything that a user or process is allowed to do or to access, right down to system calls.

    So, your web server is running and only has read access to it's config files, and write access to its logs and can only call the system calls that it needs to do it's job.

    Let's say that there is a buffer overflow in the web server and someone tried to exploit it. Geeze, they can't start a shell, because they don't have any access to a shell, the web server didn't need that access. So, even though there is a buffer overflow, they can't get a shell from it.

    Let's say that somehow they got a shell from this activity, all that the shell would have access to would be the web server content, config files, and log files and they could execute cgi scripts. And nothing else. And the cgi scripts would be locked down even tighter than the web server was. They couldn't even see anything that wasn't web related.

    The really nice thing about this level of security is that the concept of an all powerful root becomes almost meaningless. Any user can be granted specific rights to run certain programs.

    This means that administrators for each subsystem can have the rights they need to do their job.

    Where we do need encryption is a good directory service for Linux servers that would allow this level of security access controls at the enterprise level across 10's, 100's or even 10,000's of servers.

    Imagine being able to add a new person to a single database and instantly give them the rights that they need to do their job across a network that spans the globe. :) Oh yeah, and it has to support single login.

    Or is that just me? *L*

  27. Re:Is the NSA a problem? by Cipher13 · · Score: 2, Interesting

    The problem is that do you really think the terrorists (for example) are going to decide to use SeLinux, made in America by those kind folks at the NSA?

    I won't, they sure as hell won't either...

    This distro's sole purpose is to gain the NSA a foothold in the Linux market; where their software will be incorporated into other distro's.

    In the grand scheme of things, they're gaining a foothold in the operating system area...

  28. Re:Wow! by Macaw2000 · · Score: 0

    Certainly doesn't follow slashthink!

  29. nice, a kernel with a backdoor built into it.. by aXi · · Score: 0

    okay maybe not a system wide backdoor , but atleast a secure uncryption data backdoor.

  30. Irrational Paranoia by Carnage4Life · · Score: 4, Insightful

    Does anyone else worry about the NSA making the Linux kernel easy to modify? All I could think about while reading the above comment was "what else are they planning to put in?"

    The NSA creates a system where you can plug in the security architecture that you want and you complain? Would you rather that they hardcoded it so only NSA provided security features could be used?

    I guess it just goes to show that you can't please everyone.

    1. Re:Irrational Paranoia by cowens · · Score: 1

      I wouldn't care if they hardcoded it; I wouldn't use their fork of the kernel then (and I am willing to bet that Linus wouldn't accept it either). What I am worried about is a system -- written by the NSA -- that happily accepts new sub-systems at run-time. Let me give you an example of what I am scared of: a worm (written by the NSA) that exploits Apache/bind/whatever and then installs some new sub-system. I realize this sort of thing can be done with modules, but it just worries me that there is yet antoher possible weakness in the kernel and that the NSA is the one putting it there.

  31. If you read the FAQ.. by maroberts · · Score: 4, Insightful

    ..you find that the changes are not about encryption, but preventing programs already on your system from doing something they shouldn't do. As the changes offer increased security from the basic kernel, the NSA won't be able to do anything with this that they can't do with your current system.

    As the NSA have released the source code for these changes I hardly see any reason why one should not run such a kernel. I may hesitate to run a binary from these guys, but if these changes get incorporated into the mainstream kernel I'll still run Linux.

    On another point, maybe it is worthwhile seeing what is required to get an increased security classification for Linux; the FAQ raises some interesting issues in the form of documentation and auditing. Maybe the first could be performed under the auspices of the LDP (Linux Documentation Project) and some of the other secure Linux distributors would be interested in coordinating the latter.

    If Linux was approved as a secure OS, then takeup by goverments would be much more enthusiastic, and as civil service employment would require at least Linux desktop knowledge, that would lead to a need for it to be taught in schools, which is where hopefully the next generation fo kids won't grow up to by Windows lusers. [bit like a reverse of the fear leads to anger...to the Dark Side argument, isn't it? :-) ]

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

  32. NSA backdoors ? by fluedke · · Score: 1, Troll


    I wonder if they have installed some hard
    to find backdoors so that they can get into
    the "secure" systems ...

    Remember the mysterious NSA_KEY they found in the
    Windows code ?

    1. Re:NSA backdoors ? by Lyka · · Score: 1

      I haven't counted how many posters here have pointed out that it's open source and will be looked at by dozens if not hundreds or even thousands of suspicious eyes before any of this is added to the kernel -- and still posts like this are popping up.

      What you're basically positing is that the NSA programmers are so superhumanly clever and cunning, with such godlike mastery of the craft, that they have deliberately devised such tricks and back doors with FULL CONFIDENCE that not one non-government open-source coder will ever, ever spot them -- until it's too late and those back doors are being exploited.

      This suffers from the same flaws as hundreds of conspiracy theories about the spook agencies: it credits the government agency involved with fiendish cleverness and foresight beyond all imagination. Do you see any signs that *any* portion of the federal government, the CIA and FBI included, have that kind of genius? Are they really that competent? Look at the record.

      It's like a guest speaker for my journalism course once remarked: he didn't believe in government conspiracies because most of those people aren't capable of running a conspiracy!

  33. the only way this will be reasonably secure by Anonymous Coward · · Score: 0

    Is if someone takes the good ideas from the nsa distribution , analyzes them carefully, and reimplements them with subtle differences in a different distribution.

    Unless you don't mind handing root to the NSA.

    Up next: the FBI's "Carnivux"

  34. lazy installation of secure os = !security by abe+ferlman · · Score: 2

    So, this may be what they are counting on. Make the source actually be secure with no back doors- and count on the difficulty of actually compiling your entire os from source to deter people from actually *using* the secure version. Oh, and make a big fat server available from which you can download the binaries- source is available on papyrus if you send a S.A.S.E., thank you.

    --
    microsoftword.mp3 - it doesn't care that they're not words...
    1. Re:lazy installation of secure os = !security by greenrd · · Score: 2
      count on the difficulty of actually compiling your entire os from source

      It's not an entire Linux distribution in the Red Hat sense. What's so hard about configure; make; make install?

    2. Re:lazy installation of secure os = !security by Anonymous Coward · · Score: 0

      What's so hard about configure; make; make install?

      It requires more than 0.25 seconds of thought for those that have never done it.

  35. Neither can you trust the NSA by Otis_INF · · Score: 2, Troll

    I mean, the USA != the world. If the NSA does something, or decides something, why should I find that a good thing? The NSA is an agency of a country where I don't live in, which has another system in place that spies on our economy (Echelon). Why on earth should I trust the NSA?

    ps: no, I'm not happy about the NSA approved keys in windows either, allthough these are not usable to enter a system.

    --
    Never underestimate the relief of true separation of Religion and State.
  36. Not for me by Anonymous Coward · · Score: 0

    Who needs this anyway? Who really needs to controll each and every file's access?
    Unix is meant to be a basic system.

  37. FUD alert: Security OK, but what about the cost? by Dana_D · · Score: 1

    My small business has half a dozen Linux boxes that maintain year uptimes. The large company that I work for (100+ billion dollars in sales last year) has hundreds of Linux boxes that stay up indefinitely.

    I'm sorry this is off-topic, but this sort of FUD has to be countered.

    The couple of dozen Linux boxes that I directly administrate don't require administration. They just run without any tweaking or attention at all. I get to focus on the software that I want them to run. And they hang around 10-13 load, all the time, said load generated by hundreds of absolutely reliable processes.

    I'm not going to comment on your inflamatory filesystem diatribe. I'll just say that Reiser has never let me down.

  38. The reason people trust open-source by ColGraff · · Score: 2

    Is that they can download the source themselves, and then compile their own binaries. There's no need to "trust" the program not to screw you over - if you have enough knowledge, you can examine the source yourself.

    --
    I'm the stranger...posting to /.
  39. never too secure by Anonymous Coward · · Score: 0
    You might be able to guess by our name(tm), that we're WAY into security, social security that is. We're using one of the UNenhanced versions of linus, & I've got to say, so far, so good.

    If you're working on some worthy enhancements to the brave gnu world of open/honest communications/commerce, you may want to investigate acquiring this definitive set of URLs, from us.

    Last chance (thank God) to see these guys, (now featuring face scans of the REAL .commIEs), before they get GNUked.

    fud is dead/insecure/ill eagle.

  40. Re:FUD alert: Security OK, but what about the cost by Anonymous Coward · · Score: 0

    Do you administrate the boxes of your boss as bad as you administrate your website? I certainly hope for your employer you do not.

  41. Re:How many by Anonymous Coward · · Score: 0

    Wasn't aware that M$ Flight Simulator ran on Linux. According to Intel, they did some practicing using FS. Of course, it is about time that we started to use the NSA key in M$ to stop these ppl. Heck, we used it to spy on the mafia, we should use it to spy on everybody

  42. Re:Security OK, but what about the cost? by Anonymous Coward · · Score: 0

    I trust that everybody has seen this exact file posted on many other fine slashdot articles. this is simply another M$ troll just like that kkk guy running around. perhaps the same person.

  43. This is not encryption by duffbeer703 · · Score: 2

    If people would bother to click on the link in the story, you would be able to remove the tin hats and stop whining about encryption backdoors and black helicopters.

    This is the text of the abstract of the NSA project. You can find it here http://www.nsa.gov/selinux/policy_abstract.html

    The security architecture of the system is general enough to support many security policy abstractions. The access controls in the implemention currently support a combination of two, type enforcement and role-based access control. This combination was chosen because togther they provide powerful tools to construct useful security policies. The specific policy that is enforced by the kernel is dictated by security policy configuration files which include type enforcement and role-based access control components.

    The type enforcement component defines an extensible set of domains and types. Each process has an associated domain, and each object has an associated type. The configuration files specify how domains are allowed to access types and to interact with other domains. They specify what types (when applied to programs) can be used to enter each domain and the allowable transitions between domains. They also specify automatic transitions between domains when programs of certain types are executed. Such transitions ensure that system processes and certain programs are placed into their own separate domains automatically when executed.

    The role-based access control component defines an extensible set of roles. Each process has an associated role. This ensures that system processes and those used for system administration can be separated from those of ordinary users. The configuration files specify the set of domains that may be entered by each role. Each user role has an initial domain that is associated with the user's login shell. As users execute programs, transitions to other domains may, according to the policy configuration, automatically occur to support changes in privilege.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  44. Paranoia by SlamMan · · Score: 1

    Every once and a while, you just have to step back from the paranoia and look at things whith a differnt light. NSA's got TWO jobs. One, the get all the fun information we can on other countries. Note that thats other countries, because they are by law fordbiden from spying on us citizens, and by an executive order since 1978 from having any other country do spying on us citizens for them. Yes, and i still belive echlon doesn't do what everybody thinks it does. The second mission of NSA, however, is INFOSEC, or information security. This role of NSA is to create defensive information operations to achive information assurance (nice bit of buzz words there). Basically, this means NSA wants american goverments and critical commercial utilities (like phone companies and such) to use more secure systems. For them having more secure version on Linux on theese systems, or any more secure os, would be a good thing.

    --
    Mod point free since 2001
  45. Re:Let me get this straight... by Anonymous Coward · · Score: 0

    > What offends me (not to mention the 6000+ innocent dead and their grieving families) most
    > about this story is, the terrorists made use of these kinds of communist open source tools to
    > plan, communicate, and carry out their attack.

    And of course, library computers running Windows and hotmail are all open source commie tools.

  46. Seems they need it ! by Qcrypt · · Score: 2, Interesting

    It seems NSA needs a "security enhanced" OS for its own website. If you look at the statistic of their website on netcraft , it seems that they have to reboot their solaris servers every 3 days !

  47. Re:How many by Guppy06 · · Score: 4, Interesting

    " backdoors will they put here?"

    As has been said before ad nauseum, if there's a backdoor, it will be trivial to spot because it's open source. Distrust of the government only works if you're logical about it.

  48. Enguard Linux by souleman · · Score: 1

    I don't know if I would trust a version of linux produced by NSA. We all saw what happened with the clipper chip, and other things that they have done. Although if they have open sourced it, then someone could anaylize the code. I am not that good. In the mean time, has anyone seen Enguard Linux (http://www.enguard.org)? It is supposedly very secure. If that is so, then what do we need the NSA version for?

  49. Two can keep a secret if one is dead by Guppy06 · · Score: 3, Interesting

    I'm getting sick of all the paranoid types here going on and on about how it's antithetical of the NSA to make a truly secure product for the masses, you can't trust them, blah blah blah...

    Secure encryption is a matter of national security. It's a matter of an American company being able to keep its secrets secure from foreign competition (amongst other things). It's about AMD being able to make a new innovation, for instance, without having to worry about Hitachi "coincidentally" and suddenly patenting that same innovation before AMD gets to the patent office.

    If you're going to have to rely on such a program for the validity of the economy (et al), there is no logical reason to shoot yourself in the foot by installing back doors in all such software. That secret back door cannot stay a secret forever. All it requires is one act of treason for that "secret" back door to be just about anything but (possibly even public domain).

    Yes, I know the FBI wants escrow encryption, but even then that's only giving the Feds the ability to get to the keys to decrypt it (with a court order), not some magic key of their own. Because again, that magic key is one act of treason away from the public domain.

    And here comes the flame...

    It disturbs me how many posts on here all say the same thing: "It says 'NSA,' so therefore it must be bad." And yet, surprisingly enough, nobody has yet to find any such super secret NSA log-in account in the open source code. This gut reaction reminds me too much of the people who were saying as early as the evening of September 11th that it was all an ATF plot. Can't you people think differently for once, especially when there's no logical reason not to? I pity you for not being able to change gears every once in a while. If Congress passed a resolution delcaring the sky was blue, where would that leave you?

    Blind distrust of the government is just as bad as blind trust, if not moreso. At least with blind trust it demonstrates the ability to trust something, and you can go out of the house every once in a while without putting your aluminum foil suit on...

    1. Re:Two can keep a secret if one is dead by Dwonis · · Score: 2
      Touché.

      Hah! The foil does nothing!

  50. Re:Question - How many security options do we have by Anonymous Coward · · Score: 0

    This is sure to get modded down. If you are truly concened about security, you should not be running Linux.

    Try this: www.openbsd.org

  51. Just one question by Si · · Score: 1

    Why would the NSA have any interest in making it harder for them to access what's stored on your computer?

    --


    Why is it that many people who claim to support standards have such atrocious spelling and grammar?
  52. Idiot by Kahlua · · Score: 1

    ...but it just worries me that there is yet antoher possible weakness in the kernel and that the NSA is the one putting it there.

    You are not being reasonable. They are providing peer-reviewed well-architected security enhancements that fix almost all the hugest problems in operational security that Unix has ALWAYS had. Eventually, we will all use some version of these new ideas, because as you may have noticed, dividing processes into root/user just leads to root exploit after root exploit.

    This is all GPL'd and not terribly obfuscated. I really think that you need to get these anxious feelings under control.

    Marc

    1. Re:Idiot by Anonymous Coward · · Score: 0

      But it's the NSA, d00d. It's like, like... you know, mind control and stuff... and, and, like, they're gonna do bad stuff, and, and... like stuff like that!

    2. Re:Idiot by Dwonis · · Score: 2
      Eventually, we will all use some version of these new ideas, because as you may have noticed, dividing processes into root/user just leads to root exploit after root exploit.

      Sigh. Something that wouldn't happen if people would pay attention when they designed and wrote their root daemons. Qmail's never been cracked like that (No, I'm not saying I like DJB, but his code is pretty good.)

  53. Re:I am hoping that security like this goes into 2 by SurfsUp · · Score: 3, Informative
    At the San Jose kernel summit earlier this year Linus blessed the concept of a pluggable/configurable kernel security system for Linux. The exact form of this interface is still being hashed out, but it is going to happen, in the 2.5 timeframe.

    With this new kernel interface you'll be able to set your system up to taste, with configurations running all the way from basic Unix security like we have now to the exotic super-security system flavor of the week.

    --
    Life's a bitch but somebody's gotta do it.
  54. Re:How many by Anonymous Coward · · Score: 0

    As has been said before ad nauseum, if there's a backdoor, it will be trivial to spot because it's open source.

    Prior to 1492, it was said ad nauseum that the Earth was flat. Didn't make it so.

    It is very possible to hide backdoors in code that are almost impossible to find, even in Open Source code. Read this article by Ken Thompson:

    http://www.acm.org/classics/sep95

  55. Re:How many by Guppy06 · · Score: 1

    "Prior to 1492, it was said ad nauseum that the Earth was flat. Didn't make it so."

    A name for you to look up: Eratosthenes

    Besides, I'm failing to see how sailing off into the unknown and looking at a text file are analogous. One involves hidden dangers and doubts about food supplies, while the other involves a text editor.

    "It is very possible to hide backdoors in code that are almost impossible to find, even in Open Source code. Read this article by Ken Thompson:"

    Already read it. There is an infinity of difference (literally) between "impossible" and "almost impossible."

  56. You honestly couldn't tell that was a joke? by sam_handelman · · Score: 1
    Why don't you read the article instead of looking out the window for black helicopters????

    I really don't want to troll, but am I mistaken or is that addressed to me? I mean, I posted a link to a comic strip. Do I need to bracket it in rows of smiley faces? Meet me halfway, here.

    Once someone says "it has nothing to do with encryption" aren't all future messages to the same effect redundant? Just because other people keep going on about encryption doesn't mean you have to keep upmoderating anybody who repeats that.

    On a more serious note, if they really are just like us geeks on slashdot, why do they work at the NSA? Are geeks who work at the NSA happy with their jobs? I wouldn't want to solicit anything classified (since I post with my e-mail address :)) but do we know who at the NSA arranged this? It's a nice piece of work and I'm wondering how friendly an environment the NSA really is for people who want to do open source work. Is this the brainchild of one particular linux-friendly higher-up or are we going to see a lot of open source stuff coming out of the NSA?

    --
    The good and new comes from no quarter where it is looked for, and is always something different from what is expected.
    1. Re:You honestly couldn't tell that was a joke? by Anonymous Coward · · Score: 0

      It was addressed to this:

      http://slashdot.org/comments.pl?sid=22135&cid=23 73 050

    2. Re:You honestly couldn't tell that was a joke? by Tackhead · · Score: 2
      > On a more serious note, if they really are just like us geeks on slashdot, why do they work at the NSA? Are geeks who work at the NSA happy with their jobs?

      Disclaimer: I don't work for NSA. I am, however, a geek.

      Let's see here. Largest concentration of computing power on the face of the earth. Home of some of the top mathematicians on earth. The chance to work on solving problems that nobody else even knows about (e.g. strengthening DES against differential cryptanalysis many years ago).

      The pay probably sucks compared to private sector, and no doubt there's more than even the large amount of red tape that comes with a "normal" dot-gov career, but the fringe benefits - all the computing power you can play with, the chance to work with - or to develop - revolutionary technologies, probably more than makes up for the bad parts.

      And all you really have to be able to do (well, apart from play with all the cool toys) is keep your mouth shut when you're not at the office. (And as geeks, most of us are introverted enough that keeping our mouths shut isn't a problem for us :)

      For a potential applicant, most of this is known in advance. It's not like you wake up one morning, figure "Hey, I need to make next month's rent, I wonder if NSA is hiring".

      So all in all, while it's not a career for everyone, I'd imagine that those who work there manage to find both personal and professional fulfillment there, and as a result, do enjoy their jobs.

  57. Our National Security by Ray+Yang · · Score: 2, Informative

    You know, with all due respect, I think a lot of slashdotters have watched too many reruns of the X-Files. The NSA is an agency charged with defending the United States *against* threats to national security. As recent events (not WTC, but rather the slew of worms and virii) have demonstrated, one of the greatest threats to our electronic infrastructure is having a few gazillion easily hackable machines on the Internet. It's part of their mission to prevent that. After all, it's not like they haven't done it before.

    Yes, the NSA has acted to help Americans protect our secrets before. Why? Because it helps our country for banks, companies, and people to be able to do their work without fear of their private data being stolen. For those of us who follow encryption, recall that NSA helped IBM optimize DES against differential cryptanalysis, long before differential cryptanalysis was a public technique (yes, they also limited keylength, but presumably that was to set things up so that they could break in, but only in emergencies with a *lot* of effort -- it still takes 24-odd hours for modern specially designed machines to break DES, do you think the NSA could have done better in the late 70s?).

    Even when they were trying to foist Clipper off on us, the people over at NSA always acknowledged that helping Americans (and the global economy) maintain secure systems is a good thing. As lots of people have pointed out, SeLinux is about access controls, not encryption. The NSA has every reason to help develop secure products so that large groups of Internet servers are not easily hacked, and no reason to install a backdoor which anybody could discover (and, if unethical, exploit) simply by perusing the source code.

    That said, if you're qualified, feel free to browse the code -- being careful is good, but being paranoid and reflexively hostile to people who devote their lives to public service is bad.

  58. Re:How many by Anonymous Coward · · Score: 0

    "Prior to 1492, it was said ad nauseum that the Earth was flat. Didn't make it so."

    A name for you to look up: Eratosthenes

    Besides, I'm failing to see how sailing off into the unknown and looking at a text file are analogous. One involves hidden dangers and doubts about food supplies, while the other involves a text editor.


    The point is that repeating a meme does not make a falsehood true. I know all about Eratosthenes. He is irrelavent to the discussion, as most of the Western world believed otherwise. Again, the point is that repeating a meme does not manufacture a fact.

    There is an infinity of difference (literally) between "impossible" and "almost impossible."

    From a security standpoint, there is not. There have been bugs in the open that have not been found for years (BIND anyone?). A well hidden backdoor such as the hypothetical one here will take decades to find, but the intentional security hole will still be there.

  59. can windows be made safer? by Anonymous Coward · · Score: 0

    OK so linux and windows are really just tools; I see the NSA has bs for windows and linus saftey as all users need to watch their hands around the saws and wear safety glasses. What's the bottom line? Do we all just need to spank these stupid hacker kids? Why waste time hacking linux and windows when you could hack the human brain. (You get more fucking credit than taking down a computer. We'll think your smarter....)

    Make me some fucking cool math tools to mine math from the sky oh thousand time copied mp3 muse of binary. Not some linuspecker viri. Try neuroscience or cognitive science. Sure the system sucks. Don't fight the power. Chant with me now. I can feel you.. Don't fight the power. DFTP!!!

    I noticed my virus scanner protects me from over 50,000 viri. But my viri software sucks because I know tons of shots get pulled from my screen. I choose low band to chill out these invasions. A stupid resort as it changes my web behavior. Hacker kids have gone commercilized like raves. And just like the EXCTASY that rots my peers brains you fake computer invaders rot your intelligence. not everyone can think. Let's be smart. We don't need another virus. Chill out linuspeckers!

  60. Good step forward... by Anonymous Coward · · Score: 0

    ... but a whole boatload of steps to go before a few government agencies can use it.

    I should know: I'm stuck in the middle of it. I'm in an acquisitions job for the government (DoD) at the moment. I'm trying like the dickens to get Linux or *BSD used as the OS for the systems that I'm procuring but I keep running into these brick walls. DII COE compliance. GOTS software. Government-Acronym-of-the-Day compliance.

    Most of the trouble is with the paradigm of systems procurement. The current (and legacy) method is that a particular vendor who wants to get their hardware (and software) fielded in a particular system would "sponsor" their system to be pushed through the bureaucratic hurtles. Once through, they would sign off on a "warantee" of the system agreeing to maintain said system in the face of security faults and the like. Once they've done this, they're on the gravy train: they are they sole provider of an approved system, so it is the first choice when it comes to designing your new widget on top of it. (By the by... you get approval for a particular revision of a kernel with certain modifications. This is why so many DoD systems are running on SunOS 4.blah.blah.)

    We've talked with Red Hat, and a few others. No dice. Know why? If they push the kernel modifications through for Linux X.Y, they have to re-release it to the world. (And fork the kernel with technically unsupportable modifations, too. It's a fer-sure dead kernel if it weren't for the government rubber-stamp.) Then ANYONE could put together a system based upon the kernel that, say, Red Hat got approved at the expense of umpity-ump million dollars. Does this make business sense? Of course not! Who can afford to drop a couple million dollars and a bundle man-months in the process of making a compliance kernel? Sun, SGI and %$#*%#&*$^ Microsoft! Why do you think there are so many damned MS server systems in the DoD? Because they're the best solution? HA! It's because they're APPROVED and relatively CHEAP. Can you see my blood pressure rising?!?

    So here I am. Wanting an open source system to base by acquisitions program on, can't get one without bankrupting my entire procurements branch, and posting anonymously so I don't get in big trouble.

    1. Re:Good step forward... by Anonymous Coward · · Score: 0

      When I worked at a DoD site a few years back, we had started using Linux on old-boxes as print-servers, name-servers, etc. This was in an environment that used DII COE stuff (what a nightmare THAT is, but that's another story), yet a strong case was made for using "obsolete" equipment to provide inexpensive, reliable and robust services. It was also used to provide remote-xterm capability cheaply. Of course, these boxes were inside firewalls, etc.

  61. Simple by Anonymous Coward · · Score: 1, Informative

    Simple, The NSA is not only responsible for foreign signals intelligence, but is also responsible for PROTECTION of US communications from being exploited. Obviously it is in the best interest of United States for there to be an agency (in this case the NSA) providing a secure OS for use of the military, government and industrial complex.

  62. Re:How many by maxpublic · · Score: 1

    I'm as paranoid as they come, but really - this is over the top unless you honestly believe that the "X-Files" is based on true stories.

    Given the paranoid, cynical, untrusting nature of most Linux folk when it comes to the government I'm sure thousands of eyeballs will be poring over that code looking for anything suspicious. And I'm sure the NSA knows this as well and realizes that this is NOT the time to do something really stupid, in open source, that any persistent hacker with an editor can find.

    It's not like a backdoor is especially difficult to locate when you can see all the code. Your only hope is obfuscation; the NSA changes aren't large enough for such a tactic to work. You don't have to check the whole kernel, mind you, just what's modified after the patches. Not a hard thing to do. Divvy up the work among 50 people and even without a search algorithm to reduce the text involve the search becomes trivial.

    Max

    --
    My god carries a hammer. Your god died nailed to a tree. Any questions?
  63. now with new anti-terrorosm features by gnurd · · Score: 1

    including the bonus undocumented Ashcroft server!

    --
    "i was saying gnu-rd"
  64. Re:I am hoping that security like this goes into 2 by Anonymous Coward · · Score: 0

    Doesn't E-directory NOvell provide this?

  65. NSA linux boxes by Anonymous Coward · · Score: 0

    Imagine a Beowolf CLuster of THESE!!!

  66. Eliminating web server break-ins by Animats · · Score: 2
    Most of the comments here are stupid. Read the documentation for NSA's Secure Linux. This is a proof-of-concept system to determine whether mandatory security can be retrofitted to Linux and still have the system be usable.

    What to do with it?
    1) come up with a mandatory security policy that makes sense in a web server environment, and
    2) modify Apache to live within that security policy. At that point, you have a secure web server that stays secure even if the web server has holes. That's what this is all about.

    Mandatory security actually works; it's just hard to live with. It means things like "administrator programs can't read lower-level data." That prevents them from becoming contaminated with viruses, but it's a pain to live with.

    The key to all this is that the amount of trusted software becomes much smaller. Everything that ever runs as "root" under UNIX is trusted. In a mandatory security environment, only a few programs have strong privileges. Typically, these are dumb little programs that do one job (like installing user accounts or copying files for backup) and nothing else. You never trust something big like EMACS.

  67. Re:How many by Anonymous Coward · · Score: 0

    Two things:

    1) Read the Thompson article. The link is elsewhere in this thread.

    2) Re-read my last post. You will find the word "hypothetical." No paranoia here.

  68. Re:Question - How many security options do we have by Anonymous Coward · · Score: 0

    give "Trustix" Linux a try !?

  69. There's Open, and then There's Open by fm6 · · Score: 3, Insightful
    I don't think the NSA is particularly interested in "contributing" to anything. Their primary interest in security, and open source is just a means to that end.

    Not everybody who does Open Source is into the whole "community development" ideology. Some, such as the NSA and cryptography developers, are simply interested in the security advantages. Personally, I consider the main strength of Open Source to be its ability to create standards without falling into the design-by-committe trap. To see what I mean, compare KDE with CDE.

  70. Wow. by mindstrm · · Score: 3, Insightful

    Everyone is talking about either remote exploits, or encryption, or NSA backdoors...

    SElinux has NOTHING to do with any of those...
    IT's about intenral access controls for applications so they only have access to the resources they need to get the job done.

    So, in the future, say, a large, huge server can run *securely* where differnet internal users are safer from each other.

  71. Re:Let me get this straight... by powerlord · · Score: 2

    Don't forget... a number of the terrorists booked their tickets on Expedia from a MS Windows computer at Kinkos (according to the NY Times)

    --
    This space for rent. All reasonable inquiries will be entertained at proprietors discretion.
  72. If spreading backdoors, they wouldn't stamp it NSA by Anonymous Coward · · Score: 0

    What we learn from the discussion here is that any code released by the NSA is less trusted and inspected more suspiciously. I assume that the NSA knows this. So if it's about spreading backdoors, they would make it look like an ordinary open source project, unrelated to the NSA. The NSA may well participate under cover in some other security related open source projects. So there is no reason to mistrust SELinux more than any other code.

    Now some speculations: Probably they are so much ahead in the game of finding backdoors to Linux that there is no need to implement them actively. To the contrary they may be swamped with backdoors and built SELinux to reduce the involved code base and be able to get their own systems secure (SELinux is about separation, as far as I have understood). I believe that they actually want to raise suspicion by publishing SELinux under their own name and thus get the best code review available.

    SELinux 'is not intended as a complete security solution for Linux' and they won't give us the complete solution once they have it.

    If we want to secure us against the NSA, the only possibility is a full formal evaluation of all security related Linux code, something along the lines of the orange book or common criteria EAL 7. I don't know if this is achievable, but SELinux may be helpful (as it helps them with probably the same task).

  73. What a marketing tool! by Rhinobird · · Score: 1

    Now the major distros can fork off a SELinux product. Just think about "NSA Secured Linux" or some such...IBM is probably gonna be all over this. Between the security enhancemnts and new file systems...i may finally have to live on the bleeding edge when the 2.5 serries comes out....

    --
    If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
  74. Re:How many by maxpublic · · Score: 1

    Somebody else already soundly debunked the Thompson article, which is unsupported,egotistical tripe any way you read it.

    And if you're so convinced why don't you try going through the changes yourself? This isn't rocket science, you know.

    Max

    --
    My god carries a hammer. Your god died nailed to a tree. Any questions?
  75. The future of Windows in the U.S Gov't by MrKevvy · · Score: 2

    Argh... why did I miss this thread until it was pushed into the sidebar.

    I'm surprised no one mentioned this: does this mean that the U.S. goverment is going to do as some Slashdotters have suggested? They have, after all, found Microsoft guilty of breaking certain anti-trust laws. Perhaps this is the first move in divesting the government from being a customer of a convicted corporation.

    Before Linux is ready for the U.S. government's sensitive information, time for a security overhaul. What better group to give that job to than the NSA? And they will play by the book and release the source, as they of all groups know the value of security through obscurity (none.) They might even get a few tips from Linux kernel hax0rs on possible 'sploits they disregarded, as they also know where the know-how (and the willingness to help out) is.

    Now that one U.S. government agency will have a certified secure OS that they were able to review and alter the source code of, which doesn't have any backdoors and has true modular security (none of which can be said of closed-source Windows, where there is not six but one degree of separation and a bug in a minor support .DLL can be exploited for full root) how many other departments will we see switch in the next few years?

    --
    -- Insert witty one-liner here. --
  76. Re:How many by Anonymous Coward · · Score: 0

    Well, actually none. The point of adding semi-sort-of B1 level security to Linux is to ensure that the various military-industrial companies have something more secure to use internally.

    It's for the "vendors", and any backdoor would be illogical.

    Security by obscurity is NOT an accepted tenet at NSA.

  77. Cool but NSA has an "open" door to it by rlwaldrop · · Score: 1

    Though I'm glad the NSA has been so helpful; do you really think they would release a version that they didn't have a back door for?

  78. Re:How many by Anonymous Coward · · Score: 0

    Two more things:

    1) Nobody debunked anything.

    2) I am not particularly interested in Linux.

  79. Re:Let me get this straight... by Anonymous Coward · · Score: 0

    I'm sure you have to do more than that in order to live with that disgusting creature you call your wife.

  80. Lotus Domino by Sheepy · · Score: 1
    Imagine being able to add a new person to a single database and instantly give them the rights that they need to do their job across a network that spans the globe. :) Oh yeah, and it has to support single login.

    Sounds much like Lotus Domino. Now there's a security architecture that would work well at the OS level.

  81. Re:Question - How many security options do we have by NathanBardsley · · Score: 1

    You're confusing two different usages of "security" here. (And you forgot Bastille Linux, Blue Linux, Castle, & Openwall GNU/Linux as well.) And be very careful about using words like "ultra-secure". There isn't an ultra-secure Linux distribution.

    These distros are "hardened" to resist exploits and intrustions, mostly by closing holes in configuration and patching vulnerabilities.

    SELinux is =completely= different, even though the end result (especially to a potential intruder) is very similar.

    SELinux changes how data is passed around inside the kernel and between components.

  82. Re:How many by maxpublic · · Score: 1

    The debunking is self-evident to anyone who has any idea of what he's talking about. Thompson could create his mythical situation because he had complete control over both the input and output (compiler, code, and result).

    THIS ISN'T POSSIBLE IN LINUX.

    Please, if you don't know what you're yammering about, stop making noise.

    Max

    --
    My god carries a hammer. Your god died nailed to a tree. Any questions?
  83. Re:Question - How many security options do we have by shaka · · Score: 1

    Well, actually I just answered the previous poster's question - he wanted to know if there are any secure Linux distros. I gave him links to the ones that I knew of.
    So, no, I didn't confuse different usages of security.

    --
    :wq!
  84. Paranoia misplaced - who's watching the firmware? by eer · · Score: 1
    SELinux is valuable because it provides insight to the open source community about how serious security policies can be constructed and executed with operating system help.
    There are two areas (at least) that are worth some concern:
    1) writing the security policy for a service or process in SELinux basically requires you to have a complete understanding of what its going to do, so you can grant the LEAST PRIVILAGE needed to the service that will allow it to work correctly, and to fail safely in the event that its hacked - and now in addition to your program bugs you need to worry about the bugs in your security policy! Much help is needed to make managing and selecting security policies "reasonable" for day-to-day system admins, and even more for developer-admins (who have a tendency to try to cheat);

    2) concern about backdoors in the kernel are amusing - certainly one could look for them (but who really does), but people should be far more worried about the backdoors being introduced into network interface cards, motherboards, disk controllers and video graphics cards - all being manufactured "over seas" these days...if you seriously wanted to engage in cyberwarfare with the US, wouldn't you be putting "gifts" into BIOS circuits that could be triggered remotely? Or how about the "WakeOnLan" control logic of your NIC cards?

    Security is a function of the system, including hardware, software, firmware and operational procedures (backup and password policies, etc). It's foolish to wish for "security" from any single (uncertified) piece of the puzzle.

    But - I WOULD like to be able to use SELinux as the basis for my own firewalls, web and DNS servers, smtp relays, etc. Not life threatening stuff, but things I need to make "more secure" from l10n style attacks. To do that, we need a rich library of pre-defined security policies for common services (bind 9.1, smtp 8.x, apache, etc) and to be sure the POLICIES are peer reviewed by the community.