Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Crashing an In-Flight Entertainment System

Posted by kdawson on Tue Feb 20, 2007 11:27 PM
from the stress-testing dept.
rabblerouzer writes "Hugh Thompson, who was interviewed by Slashdot on the dangers of e-voting, now has a cool blog entry on how he was able to bring down the gaming/movie console on an airplane. He calls it one of the most interesting examples of a software 'abuse case' he has ever seen." Fortunately the IFE system is totally disjoint from the avionics.
+ -
story

Related Stories

[+] Interviews: Ask a "Star" of HBO's Voting Machine Documentary 342 comments
Herbert H. Thompson, PhD ("Hugh" to his friends), is one of the people featured in the HBO documentary, Hacking Democracy, that Diebold tried to keep from airing. Hugh is a long-time Slashdot reader who called me to volunteer for this interview — on his own, not through anyone's PR department. Here's a YouTube excerpt from a CNN Lou Dobbs show with Hugh in it. (Find more articles by and about Hugh here. And perhaps check this brand-new MSNBC story about e-voting, too.) Hugh suggests that you give him "your wildest questions about what went on behind the scenes and how safe the e-voting systems actually are." Let's take him up on that challenge, hopefully while following Slashdot interview rules. Note to Diebold and other voting machine companies: We welcome comments and questions from you, same as we welcome them from everyone else. If you feel you are being vilified unfairly by Slashdot readers, please respond and set the record straight.
[+] Interviews: Hugh Thompson Answers Voting Machine Security Questions 122 comments
You posted your questions for Herbert H. Thompson, PhD, on November 3rd and 4th. He decided to wait to answer until after the election in case there was a flagrant voting machine problem he could include in his answers -- and there has been at least one, but it is probably not a "security" problem per se, and is a long way from being resolved in any case. So here we go. Good food for thought here.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • TFA:

    Unable to connect to database server
  • Profit? (Score:5, Funny)

    by delirium of disorder (701392) on Tuesday February 20 2007, @11:35PM (#18092490) Homepage Journal
    0. Install wireless NIC to In-Flight Entertainment System
    1. Connect to wireless WAN and Internet
    2. Install web server and post link to slashdot
    3. Short sell airline stock
    4. ???
    5. Profit!
  • by eggoeater (704775) on Tuesday February 20 2007, @11:38PM (#18092520) Journal
    No kidding... It was in the late 80s on a new electronic scoring system they had just installed.
    I made a trivial and totally unintentional mistake in the set-up (punching in
    number of players, their names, etc) and it brought down the whole system.


  • by EvanED (569694) <evaned@noSpAm.gmail.com> on Tuesday February 20 2007, @11:40PM (#18092530)
    Hugh Thompson, who was interviewed by Slashdot on the dangers of e-voting, now has a cool blog entry on how he was able to bring down the gaming/movie console on an airplane

    What, did they link /. to it?
  • TFA? (Score:5, Funny)

    by Pikoro (844299) <init@[ ]t.sh ['ini' in gap]> on Tuesday February 20 2007, @11:51PM (#18092594) Homepage Journal
    Wow, 5 entire copies of TFA in the comments so far... Do you people not browse the comments before you post?

    Carefull, this may encourage people to actually RTFA...
  • Hm. (Score:5, Insightful)

    by JoshJ (1009085) on Tuesday February 20 2007, @11:57PM (#18092628) Journal
    I'm not so sure I'd want to put my name out there as "the guy who brought down the computers on a plane". He'll be lucky not to land on the no-fly list, I think.
    • Re:Hm. (Score:4, Insightful)

      by evilviper (135110) on Wednesday February 21 2007, @12:23AM (#18092778) Journal

      I'm not so sure I'd want to put my name out there as "the guy who brought down the computers on a plane"

      A sad commentary on the state of freedom in this country.
  • As a side note... (Score:4, Informative)

    by Rackemup (160230) on Wednesday February 21 2007, @12:07AM (#18092698) Homepage
    On a recent Air Canada flight the flight attendant actually came on the PA to tell everyone that the in-flight entertainment system was being turned on for our use. She then proceeded to tell us to be sure we didn't push 4 of the buttons on the main screen or else the screen at your seat would crash and they would be unable to fix it in flight. I thought it strange that a computer entertainment system installed in an aircraft would be a "work in progress" instead of just installing a full-functional system. Among the buttons we were not to touch? Weather and Flight tracking...of course.
    • by taniwha (70410) on Wednesday February 21 2007, @12:40AM (#18092852) Homepage Journal
      I fly across the pacific a few times every year and they always warn people to take it easy and be patient with the IFE "or it will crash" - which is certainly true - without trying I managed to spend 10 hours staring at a Windows CE "some thing bad happened" dialog box .... couldn't even turn the damn thing off when I wanted to sleep
    • Torture! (Score:5, Funny)

      by MWoody (222806) on Wednesday February 21 2007, @06:29AM (#18094244) Homepage
      Wait wait wait, so let me get this straight: you have to sit in that seat and stare at the 4 buttons they specifically told you not to push? For hours on end? That is my own vision of a personal hell.
  • Okay (Score:4, Funny)

    by Mathness (145187) on Wednesday February 21 2007, @12:23AM (#18092782) Homepage
    Okay, who entered the number 5 and kept pushing +? Congratulation, you just crashed the server.
  • I was coming back from a conference wearing a hat with a promenent penguin on it, when our in-flight system crashed. As it was re-booting it was obvious to some of the more tech-minded passengers that it was running through the Linux boot sequence. I started hearing calls of "lynch the guy with the penguin hat", from the seats behind me...
  • by VirtualSquid (311810) * on Wednesday February 21 2007, @12:53AM (#18092922) Homepage
    I suspect it might be fairly common for seat-back computers to crash?
    I don't know enough about Linux to understand what it said on my screen when it was trying (and failing) to boot back up again:
    http://washedashore.com/misc/inflight_error.jpg [washedashore.com]
    (This was April 23, 2005, on a flight from Bucuresti Romania to NYC.)
    -Ben
  • Abuse case (Score:4, Informative)

    by tcdk (173945) on Wednesday February 21 2007, @01:07AM (#18092998) Homepage Journal

    He calls it one of the most interesting examples of a software 'abuse case' he has ever seen.
    He doesn't get out much.... oh, on a plane?

    I think it's more of a case of bad quality control. If the testing environment of the developers had contained a single "lets throw an exception" or maybe a "lets try to lock up a process at 100%" test, they would have see that they needed to at a bit of exception handling (in the first case).

    But writing good test cases can be hard.

    Anyway. I've seen code like this tons of times. Some people apparently have issues with (how hard can it be), so they use equal instead, but one day, the step value is changed from 1 to 2 (make it go directly from 99 to 101), or some routine fails and returns a default value of -1. And suddenly the code is in the twilight zone.

    Anyway^2, I actually did find this rather un-interesting.
  • by Tablizer (95088) on Wednesday February 21 2007, @01:10AM (#18093022) Homepage Journal
    "Today, Sesame Street was brought down by the number 5"
  • by Spritzer (950539) * on Wednesday February 21 2007, @01:27AM (#18093076)
    Based on the description of the IFE system and having recently flown and played a version of Tetris which fits his description ..... Delta 767 I'll see if I can confirm the hack without the crash (I guess I'm just too nice) next week.
  • Level of Safety (Score:4, Informative)

    by s31523 (926314) on Wednesday February 21 2007, @08:18AM (#18094784)

    The entire plane entertainment system goes down (and thankfully the cascading system failure didn't spill over to the plane navigation system)!

    There was/is no danger of this happening. I develop software for major airline Flight Management Systems (FMS) and the entertainment system is physically separated from the FMS as well as other "flight critical" systems. Also, Software on an aircraft needs to be developed according to the guidelines of RTCA's DO-178B, which classifies the fallout of software into "levels". The most critical, Level A, like autopilot and flight controls requires very stringent evidence of verification. The least critical, Level E, requires basically no verification or documentation whatsoever, and this is what entertainment systems are developed under.

    There was a case in the early days when in-flight entertainment systems were first put on planes where a short in the video system crashed other critical computer components due to the entertainment system and flight system being on the same electrical bus. This obviously caused changes to the rules, so now everything is separated.
    • Re:Err (Score:5, Funny)

      by iluvcapra (782887) on Tuesday February 20 2007, @11:43PM (#18092554) Homepage

      Well, gee. I hope that that little map of the Atlantic Ocean with my plane superimposed on it only has read privileges on /dev/autopilot :).

    • Re:Err (Score:5, Informative)

      by dxlts (1037812) on Tuesday February 20 2007, @11:55PM (#18092622)

      No offense, but I don't think avionics are your run of the mill programmers
      I assume you meant "avionics programmers" aren't run of the mill. I hate to burst your bubble, but for the most part that's not true. I've been a programmer in the aerospace industry for 10 years. Seven of those years were at Boeing, doing (among other things) avionics programming. Unfortunately, from what I saw, avionics programmers for the most part are no smarter than your average programmer. There are a handful of really smart guys who do all the really hard (and high risk) parts of the code, and the remaining 99% of the programmers do the kind of simple, tedious code that you could (almost) train monkeys to do. Not surprisingly, most of them really aren't all that smart. I understand how you might have that misconception though. I used to have that misconception too. I remember when I got my first aerospace job, and I was really intimidated by the fact that I was going to be working with the "big dogs", the hardcore programmers who all had 180 IQ's, etc. I also remember the total shock and disappointment when it turned out to be just the opposite.
        • Re:Err (Score:5, Funny)

          by Bronster (13157) <slashdot@brong.net> on Wednesday February 21 2007, @01:08AM (#18093002) Homepage
          Well, in your case it's obviously not even an 081 IQ or you would have mastered simple string reversal...
        • Re:Err (Score:5, Insightful)

          by ikkonoishi (674762) on Wednesday February 21 2007, @01:09AM (#18093014) Journal
          20.

          Since 100 is an average IQ then the opposite of a number 80 points above average would be a number 80 points below average.
            • Re:Err (Score:5, Informative)

              by Dhalka226 (559740) on Wednesday February 21 2007, @02:25AM (#18093326)

              IQ scores are a standard distribution with a standard deviation of 10 and a mean of 100. Therefore,

              IQs +/- 1 standard deviation from the mean, that is, 90-110, account for approximately 68% of all scores.

              The 80-120 range will account for roughly 95% of the scores.

              And 70-130 will include over 99%.

              Obviously, an IQ of 180 is astoundingly high. An IQ of 55-60 is, I believe, in the mentally retarded range. Since there's not really a good way to quantify "half as smart" and "twice as smart," you could consider that accurate if you wanted, I suppose. Personally, when I think of somebody who is "half as smart as average," I don't think it's that bad.

              From Wikipedia: [wikipedia.org]

              * mild mental disability: IQ 50-55 to 70; children require mild support; formally called "Educable Mentally Retarded".

              * moderate disability: IQ 35-40 to 50-55; children require moderate supervision and assistance; formally called "Trainable Mentally Retarded".

              * severe mental disability: IQ 20-25 to 35-40; can be taught basic life skills and simple tasks with supervision.

              * profound mental disability: IQ below 20-25; usually caused by a neurological condition; require constant care.

              There are also a bunch of debates as to bias and whether IQs really measure anything worthwhile which I'm sure you can find on the same Wikipedia page if you're interested.

              • Re:Err (Score:5, Funny)

                by Anonymous Coward on Wednesday February 21 2007, @07:41AM (#18094572)
                You forgot one more category

                IQ 70-85 - idiot that will buy what advertisers tell them to buy. #1 buyer of 4WD SUV's because they believe they will be safer. Believe that they really are the center of the universe. Prime candidates for Middle managenent, Sales and Marketing departments.
    • Re:Err (Score:5, Informative)

      by colfer (619105) on Wednesday February 21 2007, @12:00AM (#18092658)
      SwissAir 111 went down because the in-flight entertainment & gambling system had been rushed into service, and due to its design overheated and burned down the plane in-flight. This was its design: a separate computer for each seat. The computers (presumably single cards) were located in the ceiling near the front of the passenger compartment. So were the avionics wires. The entertainment/gambling devices overheated, caught fire and the plane crashed near Nova Scotia. Greed. SwissAir is no more.
      • Re:Err (Score:4, Interesting)

        by inviolet (797804) <pineminder@yaho[ ]om ['o.c' in gap]> on Wednesday February 21 2007, @12:45AM (#18092872) Journal

        Interesting. I went to swissair111.org [swissair111.org] and read up on the incident. They are now reporting that "MICHAIL ITKIS, CEO OF INTERACTIVE FLIGHT TECHNOLOGY CHANGES NAME TO MIKE SNOW". So apparently we need an extra step in the old cliche:

        1. Create fly-by-night company to produce in-flight entertainment systems.
        2. Rush the product to market prematurely.
        3. Organize an IPO.
        4. Profit !!
        5. Observe the product causing airplanes to crash and burn.
        6. Change name and move away.
      • Re:Err (Score:5, Interesting)

        by Registered Coward v2 (447531) on Wednesday February 21 2007, @06:12AM (#18094174)
        SwissAir 111 went down because the in-flight entertainment & gambling system had been rushed into service, and due to its design overheated and burned down the plane in-flight. This was its design: a separate computer for each seat. The computers (presumably single cards) were located in the ceiling near the front of the passenger compartment. So were the avionics wires. The entertainment/gambling devices overheated, caught fire and the plane crashed near Nova Scotia.

        Yes, the wiring insulation burned and brought down the plane. A friend's wife was on that plane, so I have an interest beyond the technical.

        Another interesting event was the crash of an Airbus flight control system, resulting in an inflight rebooting message; the pilots flew on in manual.

        Greed. SwissAir is no more.

        Yes, but it was due to them overpaying their employees and not controlling other expenses as well - a problem many European state run airlines have. Look at Alitalia for example - they could lease planes with crews for less than it costs to fly their own. Europe's carriers are heading towards teh same consolidation and liquidation taht US ones have expereineced and only a handful will survive. I think BA Lufthansa and Air France will probably be the last standing.
        • Re:Err (Score:5, Informative)

          by bigwave111 (1046082) on Wednesday February 21 2007, @03:39AM (#18093624)
          Actually, no, it takes more inside information than that. My dad worked for Swissair for 30 years and its downfall was actually the acquisition of Sabena and the contractual agreement created in the acquisition. At the time, it was a solid investment, but as the overall financial state of Sabena fell apart, Swissair was legally obligated to have to try and save them, draining their resources. The in-flight entertainment was simply a last can of gasoline tossed on an intensely burning flame.
    • Avionics programmers (Score:5, Informative)

      by Okian Warrior (537106) on Wednesday February 21 2007, @12:05AM (#18092690) Homepage
      Okay, I *am* an avionics programmer. Here's some background.

      FAA regulations categorize software in 5 different levels of criticality, depending on how a failure of the software would affect the safety of the plane. Level "A" software is reserved for things like the "low fuel" alarm, which could potentially knock the plane out of the air on failure, to level "C" for things like the cabin pressurization system where the pilots can take emergency actions to compensate, to level "E" for things like the microwave in the kitchen.

      (Beware: I gloss over a few details for clarity.)

      The higher levels of software criticality have progressively higher levels of standards for testing. In the case of level-A software, each individual line of code must be examined for correctness in the context of the rest of the code. Each line of code must be executed as part of testing and actively shown to be correct, and each line of code must be individually code reviewed by another engineer.

      At the higher levels of software, limit testing is required for all function arguments and if-statements. Multiple-clause if statements such as "if A and B but not C" must be tested for all combinations of the subject clauses, and so on.

      In addition to this, all avionics software I've worked on makes a distinction between showing erroneous information and showing *no* information (or, working incorrectly versus not working at all). If the digital altimeter goes blank, the pilots will notice and can take corrective action. If the altimeter is reading the wrong information, then that's a critical failure which could cause an accident.

      Thus, avionics software innards are heavily checked throughout execution to ensure proper operation, and any failure causes the system to immediately go offline. All function arguments are ASSERT'ed for correct range, all calculations are checked for range and accuracy, &c.

      The entertainment system, and in particular a game within the entertainment system, is almost certainly a level-E software component, and so is not required to go through such rigorous testing. The hardware has to be shown to not interfere with the avionics and that's about it.
      • by Voice of Meson (892271) on Wednesday February 21 2007, @03:30AM (#18093586)
        Interesting stuff this critical code. When I started out as a grad at a large Aerospace company we were given shiploads of Flight Control Computer code to unit test for a new(ish) fighter aircraft. Most of the stuff we worked with was what you have described as 'Level A' code but I didn't really understand what it all meant at the time.

        Anyway, the level of testing required was very, very high. I say that even though we were grads working on it, because it was not our choice what to test and what to leave, and they were done multiple times with different people, the the branches, lines run etc compared. It was the lowest level of the software tests and everything was in modules about 30 lines long that needed 100% coverage, every logical combination tested out etc. Plus the languages they used (ADA95, fortran(77?) and assembly) were cut down to remove anything too untestable. I think 'while' loops were out because, as opposed to 'for's, there is a chance of a infinite loop. That sort of stuff. Would be a nightmare to code in.

        In not sure how other FCC's usually are, but interestingly this one had 4 CPU's with a fifth 'controlling' one or something and basically each calculation would be performed on all 4 then the results correlated and the majority answer taken. I guess to protect it from a freakish glitch or maybe some deliberate interferance? Not sure, but surely accurate.

        Fly-By-Wire - It's not just the software that crashes.
        • by unts (754160) on Wednesday February 21 2007, @06:14AM (#18094188) Homepage Journal
          From the mighty Wikipedia [wikipedia.org]:

          The hardware of a typical autopilot is a set of five 80386 CPUs, each on its own printed circuit board. The 80386 is an inexpensive, well-tested design that can implement a true virtual computer. New versions are being implemented that are radiation-resistant and hardened for aerospace use, but this aged computer design is intentionally favored because it is inexpensive and its reliability and software behavior are well-characterized.
          If it ain't broke...
      • Re:Err (Score:4, Informative)

        by Anonymous Coward on Wednesday February 21 2007, @12:52AM (#18092918)
        TFA

        One of the most interesting examples of a software "abuse case" came to me rather abruptly on an airplane flight from Las Vegas to Orlando in mid 2005.

        Each seat in the airplane had a small touch screen monitor built into the head rest of the chair in front, and on this particular airline, passengers could watch a variety of television channels and play a few simple games. One such game looked remarkably similar to the classic strategy game Tetris, where players use their skills to manipulate falling blocks on a screen to try and form horizontal lines. I'm a big fan of Tetris; for a few months in 1998 I was borderline obsessed with it. I would start looking at everyday objects and start mentally fitting them together with other tings in the room to form weird line configurations. One of the options on this particular airborne version of Tetris was to alter the number of blocks one could see in advance on the screen before they started falling.

        To give myself the biggest advantage in the game, I pressed the + control as many times as it would allow and got to the maximum value of 4. I then put on my "bad guy" hat on and asked: How *else* can I change the value in this field? Near my armrest was a small phone console; you know, the one where you can make very important calls for a mere $22 per minute. I noticed that the phone had a numeric keypad and that it also controlled this television monitor embedded in the seat in front of me.

        I then touched the screen in front of me to highlight the number "4" in the options configuration shown in Figure 1. I tried to enter the number 10 into that field through the phone keypad with no luck: it first changed to the number "1" followed by the number "0". Frustrated, I then made the assumption that it would only accept single digit values. My next test case was the number "8"; no luck there either, the number didn't change at all. I then tried the number 5: success! '5' is an interesting test case, it's a "boundary value" just beyond the maximum allowed value of the field which was '4'. A classic programming mistake is to be off by 1 when coding constraints. For example, the programmer may have intended to code the statements:

        0 value 5

        When what actually got coded was

        0 value = 5

        I now had the software exactly where I wanted it, in an unintended state; the illegal value 5 was now in my target field. I then turn my attention back to the screen and hit the + button which, to my complete surprise, incremented the value to 6! Again, an implementation problem, the increment constrain probably said something like "if value = 4 do not increment." In this case, the value wasn't 4 but 5 so it happily incremented it to 6! I then continue to increment the value by pressing the + button until I get to 127 and then I pause for a moment of reflection. 127 is a very special number; it is the upper bound of a 1 byte signed integer. Strange things can happen when we add 1 to this value, namely that 127 + 1 = -128! I considered this for a moment as I kicked back a small bag of peanuts and in the interest of science I boldly pressed the + button once more. Suddenly, the display now flashes -128 just for an instant and then poof...screen goes black.

        Poof...screen of the person next to me goes black.

        Screens in front of me and behind me go black.

        The entire plane entertainment system goes down (and thankfully the cascading system failure didn't spill over to the plane navigation system)!

        After a few minutes of mumbling from some of the passengers, a fairly emotionless flight attendant reset the system and all was well. I landed with a new-found respect for the game of Tetris and consider this to be the most entertaining version of it I have ever played.

        .
        • Re:Err (Score:5, Interesting)

          by iocat (572367) on Wednesday February 21 2007, @01:26AM (#18093072) Journal
          It sounds good. Too good in fact. In fact, it sounds like BS. It basically reads like an urban myth. Also, given that the max value was 4, its unlikely the field size onscreen would have been big enough to display a 3 digit number. I also can't think of any domestic carrier in 2005 that had a combo touch screen / telephone thingee in the back of every seat. The only one I can think of now is Thai in their Royal Thai section.

          Can anyone intuit the airline? Because without an airline name, I call bullshit on this story. I would guess it had to be business class, and probably a foriegn carrier, if the story is to be believed.

            • Re:Err (Score:4, Funny)

              by mikael (484) on Wednesday February 21 2007, @07:58AM (#18094660)
              What happens if the plane has to make an emergency landing? Do the authorities shoot it down?
              • Re:Err (Score:4, Funny)

                by jackbird (721605) on Wednesday February 21 2007, @08:31AM (#18094886)
                In that case, the landing has definitely caused an emergency.
              • Re:Err (Score:5, Funny)

                by Unnngh! (731758) on Wednesday February 21 2007, @02:35PM (#18099776)
                Once the number in the Tetris game rolls over to -128, the plane is supposed to go down by itself. If the authorities can guide the falling plane to land perfectly between the high rise and the parking garage, they will clear the row and move on to the next level...
    • by Detritus (11846) on Tuesday February 20 2007, @11:56PM (#18092626) Homepage
      It doesn't have to be an "attack", it can be something as simple as a stuck switch or a book placed on top of a keyboard. On an airplane, you have to consider the two-year-old who wants to play with the pretty buttons.
        • by Foerstner (931398) on Wednesday February 21 2007, @01:12AM (#18093030)
          The word wasn't "fortune," though. It was "fortunately." Unlike "fortune," "fortunately" does not imply that luck was involved. It simply means that it was a beneficial arrangement. The sentence in the summary does not imply, in any way, that mere luck is responsible for the arrangement of the avionics and entertainment systems. You invented that ridiculousness on your own. "Fortunately" is derived from "fortune," but that does not mean that they carry the same meaning, as any dictionary will tell you.

          Another example...if I give you "a murderous look" it does not mean (or even imply) that I killed you, attempted to kill you, or even contemplated a violent act toward you. "Murder" and "murderous" are not as close in definition as they are in derivation.
        • by radtea (464814) on Wednesday February 21 2007, @08:35AM (#18094924)
          There is no reasonable scenario which would ever put the IFE system in a position to affect the avionics

          You are committing the logical fallacy of "Argumentum ad Stultum": argument from stupidity.

          Arguments that commit this fallacy have the form:

          It would be stupid to do X
          No one would ever do anything stupid
          ------------
          Therefore no one would ever do X

          The second premise is so obviously false it hardly needs mention.

          So, simply because there is no reasonable scenario that would put the IFE system in a position of affecting the avionics does not mean there is no probable scenario in which this could occur. It requires good engineering, good management and yes, good luck, to ensure independence. Every engineer knows that we must try to eliminate luck from the process and must never, ever rely on it, but also that it will always be a factor.

          One obvious way in which the IFE could affect the avionics is via coupled grounds. Grounding in aircraft is never simple, and maintaining fully independent power supplies has been a challenge for IFE and avionics engineers. IIRC the 777 was delayed for a while due to the need to do some redesign on the power systems to ensure independence was retained. In any system so complex there will always be an element of luck, despite the engineer's best efforts.