News for hackers. Stuff that matters.
Re:Software Vulnerabilities in the Boeing 787 by amluto on Friday August 16, 2019 @01:06PM (#20717152)
There is IMO exactly one valid way to get data from the flight systems to the entertainment network: use a literal one-way connection. Not “the only supported requests are data retrieval.” Not “the software folks only transmit.” A bona fide physical connection where one side has a transmitter, one side has a receiver, and there is no physical mechanism to send any information whatsoever the other way.

These devices are often called “data diodes”. They are cheap. They cannot be hacked from the output side — at best a severely malfunctioning destination could send so much power the wrong way on the fiber or so much voltage the wrong way on the wire that the data diode fails. This would be surprising to say the least.

Re:Software Vulnerabilities in the Boeing 787 by rootusrootus on Friday August 16, 2019 @01:32PM (#20717433)
Aren't data diodes already a regulatory requirement for any connection between avionics and the IFE?
Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:11PM (#20719228)
I guess they are a regulatory requirement because all of the modern aircraft have to request special conditions form FAA and EASA to justify why they do not comply with these requirements.

For example for the Airbus A350;:

> The applicable airworthiness regulations do not contain adequate or appropriate safety standards for this design feature. These proposed special conditions contain the additional safety standards that the Administrator considers necessary to establish a level of safety equivalent to that established by the existing airworthiness standards.

[1] https://www.federalregister.gov/documents/2013/12/17/2013-29...

Re:Software Vulnerabilities in the Boeing 787 by amluto on Friday August 16, 2019 @03:16PM (#20718650)
No clue, but Boeing’s weasel-worded statement sounds awfully like they’re trying to defend a software-only solution.
Re:Software Vulnerabilities in the Boeing 787 by nickpsecurity on Friday August 16, 2019 @09:10PM (#20721240)
Not just that. They have to be designed securely so they work in face of both logical and physical attacks. Security-focused diodes are supposed to include things such as emanation attacks. They're not cheap. Even the cheaper setups would be better than software-based security, though.
Re:Software Vulnerabilities in the Boeing 787 by amluto on Friday August 16, 2019 @09:39PM (#20721380)
Does any of that actually matter in a realistic threat model in an airplane? The integrity of the critical systems matters, but there shouldn’t be any secrecy concerns. An attacker learning the full state of the avionics computer would be of little value. Similarly, a side channel from the entertainment system to a critical system shouldn’t matter unless the critical system is already compromised, since the critical system won’t be listening to the side channel.
Re:Software Vulnerabilities in the Boeing 787 by service_bus on Friday August 16, 2019 @03:12PM (#20718613)
Unlike the security researcher, I do have access to multiple 787s as I am one of many people responsible for maintaining them.

I'm obviously not going to attempt to exploit the firmware on an aircraft for obvious reasons, but the security researcher's notion that you can "pivot" from the in flight entertainment to anything to do with aircraft operation is pure fantasy.

These systems are entirely separate, including the electricity that controls the systems.

This guy is preying on individuals' lack of knowledge about aircraft mechanics in order to promote himself.

Re:Software Vulnerabilities in the Boeing 787 by _kbh_ on Friday August 16, 2019 @08:20PM (#20720956)
If that is true, I am surprised that Boeing did not use that as a response to the researcher. Instead they responded that they have compiler mitigations in place and could not exploit the vulnerabilities themselves. That response makes me feel like the networks are not entirely seperate.

https://i.blackhat.com/USA-19/Wednesday/us-19-Santamarta-Arm...

page 52.

Re:Software Vulnerabilities in the Boeing 787 by jakeogh on Friday August 16, 2019 @04:11PM (#20719232)
Thank you for commenting about it.

There are _always_ bugs in software. Your assertion that it's pure fantasy to pivot from the flight entertainment system goes against there near infinite space of sidechannel attacks and demonstrated attacks on even airgapped systems; it's almost a law of physics that you are wrong.

The "self promotion" angle was brought up last time this was discussed: https://news.ycombinator.com/item?id=20657965 and it's an obviously pointless rebuttal.

Boeing: Please post the code. Lets read it. It's already out there: https://ioactive.com/arm-ida-and-cross-check-reversing-the-7...

Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:18PM (#20719302)
> These systems are entirely separate, including the electricity that controls the systems.

This is not what Boeing said to the FAA 12 years ago when they asked to certify their network architecture

> The proposed architecture of the 787 is different from that of existing production (and retrofitted) airplanes. It allows connection to and access from external sources (the public Internet) and airline operator networks to the previously isolated Aircraft Control Domain and Airline Information Services Domain. The Aircraft Control Domain and the Airline Information Services Domain perform functions required for the safe operation of the airplane.

[1] http://rgl.faa.gov/Regulatory_and_Guidance_Library%5CrgSC.ns...

Re:Software Vulnerabilities in the Boeing 787 by Aloha on Friday August 16, 2019 @04:45PM (#20719515)
Nothing you've quoted here disagreed with what the statement from the parent
Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:53PM (#20719588)
> It allows connection to and access from external sources (the public Internet) and airline operator networks to the previously isolated Aircraft Control Domain and Airline Information Services Domain.

I believe this contradicts the "systems are entirely separate" statement from the parent comment.

Re:Software Vulnerabilities in the Boeing 787 by Aloha on Friday August 16, 2019 @09:09PM (#20721229)
Nothing implies they are directly connected on the airplane however, which was my point
Re:Software Vulnerabilities in the Boeing 787 by auslander on Saturday August 17, 2019 @01:40AM (#20722324)
> previously isolated Aircraft Control Domain and Airline Information Services
Re:Software Vulnerabilities in the Boeing 787 by xemdetia on Friday August 16, 2019 @03:33PM (#20718848)
Would you say as someone who deals with these larger planes that at least the 787 current gen is closer to an older style chassis and body for cars? I have always imagined/assumed that 787's are not unique that they would be the same 'chassis' for a cargo plane or a passenger plane, and it really would have to do with how they fitted the plane for purpose?

This is part of the reason why I agree with you, because I don't see why the 787 would be unique by mixing avionics/mechatronics with the passenger systems but I don't know enough to say it with confidence. They would have designed the passenger systems to be independent and replaceable (especially with the knowledge gained from the legacies and upgrades of other planes like the 737).

Is there any public guides for 787 chassis and maintenance that you could point to as being reasonable things to read about this new style plane?

Re:Software Vulnerabilities in the Boeing 787 by WalterBright on Friday August 16, 2019 @04:00PM (#20719111)
Not sure what you mean, but aircraft stopped being "chassis and body" some time in the 1930's. That was the switch to a monocoque design with stressed skin.
Re:Software Vulnerabilities in the Boeing 787 by xemdetia on Friday August 16, 2019 @05:25PM (#20719865)
I couldn't find the right words to describe it, the other person who commented was a bit closer. At a certain point I would assume the Boeing 787 design would have interchangeable configurations that would not be dependent on the airframe and avionics. I wasn't sure if cabin, interior, model, or something else would best describe what I meant and chassis and body for a car was the best I could come up with that could describe these two changeable parts unlike the unibody chassis. It looks like configurations is the most appropriate word.

I was hoping that the person I commented to could point us at some fun manuals to describe how these configurations worked at a technical level.

Re:Software Vulnerabilities in the Boeing 787 by WalterBright on Friday August 16, 2019 @05:37PM (#20719964)
I don't know about the 787, but in my day (757) every airplane that rolled off the assembly line was different. For one thing, there was a lot of customization for each airline, and the airplanes underwent constant technical improvement from field experience.

Doing things, however, that increased the weight or changed aerodynamics of the airplane were a very big deal, causing a ripple effect that would be very expensive.

Freighter versions were commonplace, with the obvious omission of windows (weight savings) and interior fluff.

Doing a stretch, or a re-wing or re-engine is an enormous thing.

Re:Software Vulnerabilities in the Boeing 787 by close04 on Friday August 16, 2019 @04:11PM (#20719237)
They're more like the same airframe (fuselage, wings, undercarriage) with different fit an finish. Like different interior and possibly engines. The entertainment system is basically an add-on, it's separated both because it's not there in every configuration of the plane and also because it's supposed to be separated in order to be 100% sure that any failure there will not impact critical systems (like a short circuit, or an exploit). How exactly Boeing ensures this separation is another topic.
Re:Software Vulnerabilities in the Boeing 787 by pinko on Friday August 16, 2019 @03:48PM (#20718997)
That's valuable to know -- thanks -- but nevertheless, demonstrating that if you can get onto the avionics network you can trivially compromise it is still valuable, no? There may be discovered other ways to access the avionics network (besides the IFE) that no one realized, or thought to protect.
Re:Software Vulnerabilities in the Boeing 787 by nickpsecurity on Friday August 16, 2019 @09:17PM (#20721274)
When studying separation kernels, I remember that they were trying to safely/securely consolidate multiple systems (software and hardware) into fewer ones to save cost, size, energy, etc. Two things they were doing were separation kernels allowing lower-criticality stuff to be hosted with high-criticality and a special version of Ethernet (AFDX) that did something similar with provisions like reserving bandwidth.

So, you're saying there's no shared components at all... boards, data lines/switches, power lines/switches... between entertainment and critical systems? They run separate, highly-filtered power wires with separate boards with separate data lines for the two? No shared components at all?

Re:Software Vulnerabilities in the Boeing 787 by sleavey on Friday August 16, 2019 @12:20PM (#20716720)
It seems to me as someone with no experience of designing aircraft control software, avionics or anything to do with planes, that the entertainment system should be on a physically separate network to anything safety critical. Like, different everything: power supplies, switches, cables, control panels, the works. There should be no entryway into the flight control network except from the cockpit.
Re:Software Vulnerabilities in the Boeing 787 by p_l on Friday August 16, 2019 @01:03PM (#20717136)
There are three separate networks, with data diodes used for cases where information flows between them.

HW separation was enforced by FAA back when 787 was in prototype stage.

Re:Software Vulnerabilities in the Boeing 787 by jakeogh on Friday August 16, 2019 @04:16PM (#20719275)
Where can one read about the 787 data diodes?
Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:28PM (#20719404)
You can read about the fact that there are NO data diodes on the FAA website

> The proposed architecture of the 787 allows connection to and access from external sources (the public Internet) and airline operator networks to the previously isolated Aircraft Control Domain and Airline Information Services Domain.

> Capability is proposed for providing electronic transmission of field-loadable software applications and databases to the aircraft. These would subsequently be loaded into systems within the Aircraft Control Domain and Airline Information Services Domain.

[1] http://rgl.faa.gov/Regulatory_and_Guidance_Library%5CrgSC.ns...

Re:Software Vulnerabilities in the Boeing 787 by p_l on Sunday August 18, 2019 @01:54PM (#20731714)
That's a request for comments from before 787 got its type certificate - I'd like to see the result, as I do recall there being a request to redesign the networks due to "not enough separation". Even HN talked about it.

I can't find the "work-in-progress" reports for type certification regarding the network, but the special conditions involve:

> The applicant shall ensure system security protection for > the Aircraft Control Domain and Airline Information > Domain from access by unauthorized sources external to > the airplane, including those possibly caused by > maintenance activity. The applicant shall ensure that > security threats are identified and assessed, and that > risk mitigation strategies are implemented to protect the > airplane from all adverse impacts on safety, > functionality, and continued airworthiness.

Re:Software Vulnerabilities in the Boeing 787 by ru999gol on Friday August 16, 2019 @01:06PM (#20717153)
If Boeing decides to cut costs by using a single network for their entertainment, communications and flight control, who is there gonna be to tell them no? You would assume there is some oversight by independent security researchers who review these planes security, but this assumption seems unsubstantiated.

In reality, how is this separation of critical networks looking like exactly? MAC address filters? Are they air-gapped? I would venture to guess, nobody that isn't bound by an NDA knows.

Re:Software Vulnerabilities in the Boeing 787 by p_l on Friday August 16, 2019 @01:42PM (#20717545)
Boeing actually attempted that on 787,with some VLAN trickery.

FAA caught it and forced them to redesign the setup.

As for actual AFDX networks - they have hardcoded forwarding tables and no MAC learning, and separation between networks tends to use data diodes

Re:Software Vulnerabilities in the Boeing 787 by solotronics on Saturday August 17, 2019 @12:46AM (#20722118)
As a network engineer it is terrifying that they would try this. Also, even if you have no MAC learning its trivial to sniff the MAC on an endpoint and then spoof it. You would really need pubkey based encryption where the key is stored in secure chips on every endpoint to know for sure what each device is connected to.
Re:Software Vulnerabilities in the Boeing 787 by kerng on Saturday August 17, 2019 @01:35AM (#20722307)
Companies do these things all the time and in other industries they get away with it. It would be nice if other industries would have similar strict audits and requirements.
Re:Software Vulnerabilities in the Boeing 787 by p_l on Sunday August 18, 2019 @01:36PM (#20731604)
the difference is that AFDX is a "closed" network. If you attached anything to it directly, you're already past the security boundary, as timing and reliability is more important than verifying identities in it.
Re:Software Vulnerabilities in the Boeing 787 by jakeogh on Friday August 16, 2019 @04:18PM (#20719301)
tends?
Re:Software Vulnerabilities in the Boeing 787 by selectodude on Friday August 16, 2019 @01:00PM (#20717111)
The issue is that for every kilogram you need to get into the air, is another kilogram of fuel that you need to carry onboard. Airlines, and by association, Boeing are very conscious of weight over something like airgapping.
Re:Software Vulnerabilities in the Boeing 787 by AceyMan on Friday August 16, 2019 @05:17PM (#20719794)
The rule of thumb is:

You burn one lb (unit) of fuel for every three lbs (units) of fuel you carry.

Me: FAA licensed dispatcher

(Also, you'll see a 1:1 rule would imply adding fuel does not increase range, which is absurd.)

Re:Software Vulnerabilities in the Boeing 787 by jdsully on Friday August 16, 2019 @12:48PM (#20717002)
Their "rebuttal" almost seems like a taunt to other security researchers to prove them wrong. Calling the researchers irresponsible and their tools rudimentary was a dick move.
Re:Software Vulnerabilities in the Boeing 787 by sebazzz on Friday August 16, 2019 @12:12PM (#20716636)
> That second barrier, the company argues, allows only data to pass from one part of the network to the other, rather than the executable commands that would be necessary to affect the plane's critical systems.

Assuming planes don't use something like CAN-bus but regular TCP protocol, this can't really be true right? Perhaps they talk about which services are allowed to connect (listen for incoming connections).

Re:Software Vulnerabilities in the Boeing 787 by p_l on Friday August 16, 2019 @01:00PM (#20717113)
AFDX protocol stack is unidirectional with no ACKs or anything like that, which makes use of physical data diodes trivial.
Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:06PM (#20719184)
That is false. Apart from the hard-coded and restrictive network configuration, AFDX is basically UDP/IP. There are many uses of bidirectional application protocols (like TFTP).
Re:Software Vulnerabilities in the Boeing 787 by p_l on Sunday August 18, 2019 @01:56PM (#20731725)
unidirectional nature of the communication protocols means that AFDX-compatible application can be easily firewalled for cases such as reporting data to maintenance network, as I understood from Boeing's response.

Electronic Flight Bag being part of maintenance network is not something good, though.

Re:Software Vulnerabilities in the Boeing 787 by solotronics on Saturday August 17, 2019 @12:42AM (#20722098)
I was flying about a year ago and was messing with the in flight entertainment in a 787. It was pretty easy to figure out how to get to a boot menu in the in flight entertainment. I was thinking "huh, this seems like maybe a way in". Seeing how the in-flight displays navigational data it must be on the network as the flight systems. I'm sure there is some kind of segregation but its probably not ultimately secure.
Re:Software Vulnerabilities in the Boeing 787 by 0xDEFC0DE on Friday August 16, 2019 @02:07PM (#20717831)
How exactly do you get a hold of firmware and set up a lab to test everything with stuff like this?
[dead]
Re:Software Vulnerabilities in the Boeing 787 by Hunisgung on Friday August 16, 2019 @04:23PM (#20719358)
Or one of Boeing's many subcontractors.
Re:Software Vulnerabilities in the Boeing 787 by rasz on Saturday August 17, 2019 @01:33AM (#20722302)
Re:Software Vulnerabilities in the Boeing 787 by british_india on Friday August 16, 2019 @12:05PM (#20716552)
https://www.youtube.com/watch?v=hC-JCvFyjlo

The 787 Dreamliner is a nightmare. Bad code produced by offshore teams. International teams totally violating safety procedures.