Author Topic: Aircraft Black Box Security  (Read 696 times)

Ben

  • Administrator
  • Senior Member
  • *****
  • Posts: 46,400
  • I'm an Extremist!
Aircraft Black Box Security
« on: July 22, 2014, 10:48:24 AM »
Sorta related to the Malaysia Air conversation going on in Politics, but not really politics.

I've never thought about it before, but does anyone know how secure the data in commercial airline black boxes are? Are the data encrypted, or if someone wanted to corrupt or delete parts of the data, would it be relatively easy to get in and do so?

I've always thought of black boxes as something everyone would collaboratively want to get to in order to find out exactly what happened on a flight, but the whole thing with Separatists supposedly having the Malaysian Air black box for a time got me to thinking that with no or weak encryption, it would be relatively easy for a skilled person to say, delete or garble the last minute of a recording.
"I'm a foolish old man that has been drawn into a wild goose chase by a harpy in trousers and a nincompoop."

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Aircraft Black Box Security
« Reply #1 on: July 22, 2014, 11:03:03 AM »

Not sure. It'd depend on which model of flight data recorder they use. There's minimum international standards (has to record for so long, withstand X, etc etc) but none that I know of regarding ways of guaranteeing the integrity of the data. I suspect it's not standardized, and if it exists, relies on proprietary systems.

L-3 makes a lot (most?) of them, so ask them directly: http://www.l-3ar.com/products/cockpit_voice_recorders.htm
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

Tallpine

  • friends
  • Senior Member
  • ***
  • Posts: 23,172
  • Grumpy Old Grandpa
Re: Aircraft Black Box Security
« Reply #2 on: July 22, 2014, 11:05:07 AM »
I dunno about the aircraft flight data recorders, but the ECUs (engine control units) that I work with are pretty proprietary.  They don't want anyone to be able to download data without using the approved/qualified software tool, the internal design and protocol of which are very much not supposed to be available to anyone.  This is as much to protect the design/logic of the ECU software itself as it is the data.

The news makes a big deal about the "black box" but flight data is stored in several different control units on an aircraft.
Freedom is a heavy load, a great and strange burden for the spirit to undertake. It is not easy. It is not a gift given, but a choice made, and the choice may be a hard one. The road goes upward toward the light; but the laden traveller may never reach the end of it.  - Ursula Le Guin

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Aircraft Black Box Security
« Reply #3 on: July 22, 2014, 11:21:27 AM »
FDRs are the same way. You have the emergency kind, but nowadays, there's regular maintenance downloads as well. They all use the same communication system. AFAIK, all are accessible only to propriety software/hardware. It's legally protected by patents and user agreements, but AFAIK, no one without an NDA has seriously looked into the information security aspects such as digital signatures, non-reputation, ACLs, etc.

That doesn't mean the data can't in cleartext CSV files or unencrypted WAV files. Honestly, I wouldn't be surprised in either direction if the information was encrypted essentially by one time pads burned to a chip resistant to physical manipulation or if it was cleartext easily accessible by COTS interfaces.

There's no openness, so there's no way of knowing.
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

KD5NRH

  • friends
  • Senior Member
  • ***
  • Posts: 10,926
  • I'm too sexy for you people.
Re: Aircraft Black Box Security
« Reply #4 on: July 22, 2014, 12:11:36 PM »
There's no openness, so there's no way of knowing.

Well, I know where there are some guys that have one you can reverse engineer.  I'll need a Russian translator to help cut a deal, though.

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Aircraft Black Box Security
« Reply #5 on: July 22, 2014, 12:46:54 PM »
Well, I know where there are some guys that have one you can reverse engineer.  I'll need a Russian translator to help cut a deal, though.

 :laugh:

Thank you, but I already have associates in communication with the rebel leadership. In seriousness, US sanctions forbid transferring any avionics equipment or defense services (such as data recovery) to or from the folks in question.



"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

onions!

  • friend
  • Senior Member
  • ***
  • Posts: 1,188
  • Space for rent.
Re: Aircraft Black Box Security
« Reply #6 on: July 22, 2014, 01:23:48 PM »
Last I read,this deal was still on.
Thin red lines notwithstanding.
http://www.bbc.com/news/world-europe-27722256
jeff w

I like onions!

KD5NRH

  • friends
  • Senior Member
  • ***
  • Posts: 10,926
  • I'm too sexy for you people.
Re: Aircraft Black Box Security
« Reply #7 on: July 22, 2014, 01:34:52 PM »
Thank you, but I already have associates in communication with the rebel leadership. In seriousness, US sanctions forbid transferring any avionics equipment or defense services (such as data recovery) to or from the folks in question.

Then we'll just box you up and UPS you over there.  If you give them bad info, you haven't really violated the terms.

Going to cost extra if you want to come back, though.

makattak

  • Dark Lord of the Cis
  • friend
  • Senior Member
  • ***
  • Posts: 13,022
Re: Aircraft Black Box Security
« Reply #8 on: July 22, 2014, 01:44:21 PM »
Last I read,this deal was still on.

Pray I do not alter it any further.
I wish the Ring had never come to me. I wish none of this had happened.

So do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given to us. There are other forces at work in this world, Frodo, besides the will of evil. Bilbo was meant to find the Ring. In which case, you also were meant to have it. And that is an encouraging thought

KD5NRH

  • friends
  • Senior Member
  • ***
  • Posts: 10,926
  • I'm too sexy for you people.
Re: Aircraft Black Box Security
« Reply #9 on: July 22, 2014, 02:01:40 PM »
Last I read,this deal was still on.

Do they include the standard self-deploying white flags?

Tallpine

  • friends
  • Senior Member
  • ***
  • Posts: 23,172
  • Grumpy Old Grandpa
Re: Aircraft Black Box Security
« Reply #10 on: July 22, 2014, 02:35:40 PM »
FDRs are the same way. You have the emergency kind, but nowadays, there's regular maintenance downloads as well. They all use the same communication system. AFAIK, all are accessible only to propriety software/hardware. It's legally protected by patents and user agreements, but AFAIK, no one without an NDA has seriously looked into the information security aspects such as digital signatures, non-reputation, ACLs, etc.

That doesn't mean the data can't [be?] in cleartext CSV files or unencrypted WAV files. Honestly, I wouldn't be surprised in either direction if the information was encrypted essentially by one time pads burned to a chip resistant to physical manipulation or if it was cleartext easily accessible by COTS interfaces.

There's no openness, so there's no way of knowing.
The stuff I work with is strictly binary, so unless you have the configuration file then good luck trying to parse it.
Freedom is a heavy load, a great and strange burden for the spirit to undertake. It is not easy. It is not a gift given, but a choice made, and the choice may be a hard one. The road goes upward toward the light; but the laden traveller may never reach the end of it.  - Ursula Le Guin

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Aircraft Black Box Security
« Reply #11 on: July 22, 2014, 02:50:30 PM »
The stuff I work with is strictly binary, so unless you have the configuration file then good luck trying to parse it.

All data is strictly binary, until you parse it.

 =D

There's actually a good number of tools for yanking text, picture or audio out of binary blobs. Some of these tools are for debugging. Others for modifying video game files or other software. Others for trawling data exploited from a security vulnerability.
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.

Hawkmoon

  • friend
  • Senior Member
  • ***
  • Posts: 27,393
Re: Aircraft Black Box Security
« Reply #12 on: July 22, 2014, 06:17:43 PM »
The news makes a big deal about the "black box" but flight data is stored in several different control units on an aircraft.

Many of which are non-required, and may or may not be examined in the event of a crash. The two mandatory black boxes are the cockpit voice recorder and the flight data recorder, which keeps a record of a number of different operating parameters.
- - - - - - - - - - - - -
100% Politically Incorrect by Design

Fly320s

  • friend
  • Senior Member
  • ***
  • Posts: 14,415
  • Formerly, Arthur, King of the Britons
Re: Aircraft Black Box Security
« Reply #13 on: July 22, 2014, 08:45:35 PM »
AFAIK, the data is unencrypted, but the subject has never been discussed in any of my classes.
Islamic sex dolls.  Do they blow themselves up?

birdman

  • friend
  • Senior Member
  • ***
  • Posts: 3,831
Re: Aircraft Black Box Security
« Reply #14 on: July 22, 2014, 08:58:43 PM »
AFAIK, the data is unencrypted.  Encryption of the emergency FDR data doesn't serve any purpose, as anything other than ECC has the potential to compromise data.  In fact, I would actually bet its mirrored streams, across multiple chips, for that purpose as well.

The nice thing is, to access the data, post crash. you likely have to take it apart (the IO cables are designed to burn/break away to prevent their being a thermal or mechanical force shunt into the data store).  Since if tried to rewrite/compromise the data, you'd have to take it apart, it would be then questionable.

So encryption? Doubt it.  A priorietary additional data stream with some hashed time code to provide verification? Sure, I would (like a time + salt + sub-selection of the data at that time, hashed into another small data stream) to provide verification, but the rest, I would make it as dead simple as possible, not even compressed or block encoded.  So raw 8/16bit amplitude encoding for voice, raw values for other inputs, written as 1 block = 1 record.

That's my guess.

RevDisk

  • friend
  • Senior Member
  • ***
  • Posts: 12,633
    • RevDisk.net
Re: Aircraft Black Box Security
« Reply #15 on: July 22, 2014, 09:06:17 PM »
It'd be criminally stupid not to digitally sign, watermark or keep a hash table.

But i've been surprised before. By very expensive packages no less
"Rev, your picture is in my King James Bible, where Paul talks about "inventors of evil."  Yes, I know you'll take that as a compliment."  - Fistful, possibly highest compliment I've ever received.