Slashdot Mirror


NSA Releases Security-Enhanced Android

An anonymous reader writes with the recent news that, in line with its goal to provide secure phones to government employees in various domains, "The NSA has released a set of security enhancements to Android. These appear to be based on SELinux, which was also originally created by the NSA."

20 of 81 comments (clear)

  1. Is it secure from the NSA et al? by TeddyR · · Score: 3, Interesting

    The question is what backdoors have they placed on it. Is it secure from themselves (NSA) and other three letter agencies?

    --

    --
    Time is on my side
    1. Re:Is it secure from the NSA et al? by chill · · Score: 4, Insightful

      Considering Android was pretty much swiss cheese to begin with, you'd have to wonder why they'd bother.

      And the risk involved in doing something like that and releasing it all as source code makes even less sense.

      No, I think the simple truth is the NSA realizes that being secure is hard work. Even people whos lives depend on it get it wrong. The average schmoe hardening up their smartphone is still going to fall prey to an easily shoulder-surfed password. Or the XKCD $5 wrench. Or all of the data that goes thru the boot-licking telecom companies. Or... or...

      No, this is probably the real deal. The NSA guys hate Blackberries as much as the rest of us and are looking for approved replacements.

      --
      Learning HOW to think is more important than learning WHAT to think.
    2. Re:Is it secure from the NSA et al? by Anonymous Coward · · Score: 5, Informative

      NSA is made up of two sections; one does cryptanalysis (i.e. signals intelligence), the other provides crytographic help for the government (and the public), often being at the cutting edge of cryptographic research.

      SHA1 and SHA2 were NSA designed; do you trust those?

      In any case it's open source (info page is here: http://selinuxproject.org/page/SEAndroid . currently down; use google cache)

    3. Re:Is it secure from the NSA et al? by The+Grim+Reefer · · Score: 4, Funny

      or just direct a satellite to read the reflections on your glasses.

      Sorry, we're talking about the NSA, not CSI.

      This is probably appropriate too.

    4. Re:Is it secure from the NSA et al? by stephanruby · · Score: 2

      And the risk involved in doing something like that and releasing it all as source code makes even less sense.

      If you believe in security through obscurity, then yes that would make no sense to you.

    5. Re:Is it secure from the NSA et al? by MagusSlurpy · · Score: 3, Interesting

      Unless the "security through obscurity" is to make the OS more widespread, and so make actual NSA phones less obvious targets. One thousand "sensitive" phones amongst an install base numbering one hundred thousand slashdotters and tinfoil hatters is a good starting point.

      --
      My sister opened a computer store in Hawaii. She sells C shells by the seashore.
  2. Re:Enhancement, from the NSA? by pushing-robot · · Score: 5, Funny

    One source said it has twice as many backdoors as SELinux. Another source said ten times as many.

    I think they're both correct.

    --
    How can I believe you when you tell me what I don't want to hear?
  3. Re:Enhancement, from the NSA? by Baloroth · · Score: 5, Insightful

    SELinux Android is OSS, same as SELinux. Look at the code yourself if you are convinced there are backdoors. That is part of the point of OSS after all.

    --
    "None can love freedom heartily, but good men; the rest love not freedom, but license." --John Milton
  4. The NSA has a good track record too by Sycraft-fu · · Score: 5, Informative

    Take a look at DES. There was a big to do about the NSA "messing" with the S-boxes in DES. People conspiracy theoried that they had weakened it so they could crack it. Nobody at the NSA or IBM (who made DES) would say anything about it. The, in 1990, differential cryptanalysis was discovered by public researchers and it turned out the DES S-boxes were way more resilient to it than had then been random. Turns out IBM and the NSA knew about it back in the 70s, but the NSA asked IBM to keep a lid on it. The NSA's changes made DES more resilient.

    Time has borne it out too. DES is decades old now and there has been no magic break in it discovered, no "backdoor" that would let people in, it is just too short a key to be useful anymore.

    Along those lines, the NSA has signed off on AES (which was originally developed in Finland) as an approved standard to be used for classified data and said that AES is good security for the commercial world (which was the point of the AES standard). Again, time seems to bear them out on that, it is the most analyzed cryptosystem out there, and nobody has found any "backdoor" in it.

    While there's no doubt the NSA takes their signals intelligence mission seriously, they seem to take their security mission seriously too. Their track record so far is excellent. Everything they've released has stood the test of time.

    Now I suppose it is possible in theory that they are so far advanced of everyone else, and so arrogantly confident in their superiority, that they have hidden "backdoors" they figure nobody will ever notice... However if they really were that much better, would they need to?

  5. Re:Enhancement, from the NSA? by mathimus1863 · · Score: 5, Informative

    Have you ever heard of the Underhanded C Contest. You get points for making the code exhibit some kind of backdoor, extra points for the more it looks like it could've been an innocent mistake (for instance, code where using a less-than-or-equal-to operator instead of less-than operator actually opens up an obscure security hole, and it's a mistake programmers make all the time).

    I recommend you look at some of the examples of winning entries. It's amazing what these people have come up with. No number of eyes will find it. Simply put, even if it's a popular open-source project, thousands of eyes are likely to miss a well-placed backdoor like these. And if anyone is capable of doing it, the NSA certainly is.

    Still don't believe me? How about the OpenSSH PRNG flaw that went unnoticed for two years, despite being used in servers all over the world. It was due to someone removing what appeared to be a useless line of code, but that code was actually adding some necessary extra entropy to the random number generator. It might've been an accident, or malicious. But the point is it happened, and on a high-profile project.

  6. Re:Enhancement, from the NSA? by Darkness404 · · Score: 3, Interesting

    You can't be 100% secure, 100% of the time. There will /always/ be a weak link. Be it a backdoor or a security flaw. The goal is to manage your risks. Using security enhanced Android (after about a good month for security researchers to look at the code) is unlikely to introduce any more government-imposed security risks than simply being in the US and its tyrannical laws (PATRIOT Act, CALEA, etc.). Chances are, SEA is going to be more secure than the patched together stock Android system.

    Of course they can hide a backdoor in it. But why bother when they already have nearly unlimited powers due to the PATRIOT act, have many corporations that will bend over backwards for the police state, and laws like CALEA.

    --
    Taxation is legalized theft, no more, no less.
  7. Re:Enhancement, from the NSA? by Anonymous Coward · · Score: 5, Insightful

    Capable? Yes. The NSA hires geniuses. But so do foreign nations, various companies, and universities. If we're going to indulge in an encomium of the extraordinary competence of the NSA, though, the most honest praise would be for an NSA imagined as most likely trying to provide genuine security with this effort, not backdoors, which open up the possibility of breaches or discovery.

    Consider the NSA's purpose in making a secure version of Android: it's a system built by geniuses to be operated, in the end, by idiots, who are targeted for attack by other geniuses. From the NSA's perspective, there are two opponents: the brilliant Enemy and the Friendly moron. Leaving a backdoor, however well-obfuscated, provides the brilliant Enemy with an avenue for taking advantage of the Friendly moron who violates security procedures for his ill-conceived convenience. Backdoors allow breaches, and the NSA has to be smart enough to know that there are enough geniuses out there working for the other side(s) to find one and exploit it.

    Consider also the fallout if a backdoor were to be discovered in the NSA's source code. Geniuses will be reading this code, if for no other reason than because it demonstrates the NSA's thinking. If someone found a backdoor and, instead of exploiting it or selling it to exploiters, decided to publicize it as an example of a purposeful NSA backdoor, the NSA would lose immense credibility. What kind of turf and funding wars would they face then, if the rest of the government agencies lost trust in them? Would the much-vaunted geniuses of the NSA consider that risk acceptable?

    It's in the NSA's interest not to introduce even well-obfuscated backdoors in this product. It is in their interest to have such facilities available in consumer-grade products and exports, and God only knows what's baked into the phone companies' customized builds that they've compiled and installed onto a consumer-grade phone. It is not, however, useful to them to have such access in source code that is publicly available to be read by people looking for problems or compiled by people smart enough to know what they're doing.

    If the NSA really is as smart as we'd all like to believe, they'll make this an honest, open, secure product without backdoors or traps. They'll make a product that will solidify their place in the government funding arena as the authority in hardened security.

  8. Re:Enhancement, from the NSA? by dgatwood · · Score: 4, Insightful

    But the NSA can't beat the internet.

    You're joking, right? Do you honestly think that, if someone were injecting a flaw, they would inject a flaw that was readily discoverable? No. Of course not. They'd introduce some miniscule mistake in some random number generator that makes the result no longer be quite uniformly distributed in such a way that the error is only detectable by performing thousands of calls and doing heavy math on them, thus enabling a side channel attack on the randomly generated symmetric keys used for SSL or some such.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  9. Re:Enhancement, from the NSA? by justforgetme · · Score: 4, Funny

    While I don't necessarily disagree with your premise; could I interest you in one of my new security enhanced tinfoil hats?

    --
    -- no sig today
  10. Re:It needs encryption not security controls by FormOfActionBanana · · Score: 2

    Probably not the decryptor function!

    --
    Take off every 'sig' !!
  11. Re:Enhancement, from the NSA? by justforgetme · · Score: 3, Interesting

    while mainly correct, your proposition ignores the fact that in programming you have a lot of plausible deniability in form of the programming mistake. A wrongly placed comparison or wrongly compiled regexp can have huge side effects while looking like little mistypes even a good albeit tired dev would make. Now think that by implanting such a small discrepancy into a big project you could do very many things without being ever detected. Also the side effects of such a behavior are very difficult to follow in a big project making the possibilities of it being forcibly discovered ridiculous since you would have to follow every reroute into oblivion before being sure there are not deliberate side effects.

    --
    -- no sig today
  12. Re:Enhancement, from the NSA? by VortexCortex · · Score: 2

    The politically correct term is: "Magnetically Shielded Helm" or "Induction Resistant Headwear", never "tinfoil hats"...

    ...we stopped using "tinfoil hats" when the government had all of the household construction materials replaced with useless aluminum foil.

  13. AES Finland? by Anonymous Coward · · Score: 3, Informative

    No Sir, you must be joking. AES ie. Rijndael comes from Belgium.

    AES

  14. Its funny by Anonymous Coward · · Score: 4, Insightful

    Having gone through the comments here, to read the distrust of the NSA. To be honest, that is good.
    Yet, for a number of you, you will trust the physical hardware is OK coming in from China. Why on god's green earth, would you trust china, a nation that has more spies running around the world, esp. in the west, then does America, while screaming that America has planted a backdoor in open code?

  15. Re:Enhancement, from the NSA? by justforgetme · · Score: 2

    You kind of have to at least acknowledge the fact that somebody could just have screwed up, it still is just "sacks of mostly water" that write those programs. That, of course, if you aren't pathologically paranoid.

    --
    -- no sig today