SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
Spy vs. SPI
Hacking the Stratus ADS-B Transponder
Mayank Dhiman
Brown Farinholt
Edward Sullivan
March 13, 2014
Old school technology: Real-time Air Traffic
Surveillance
● Radar-based
● Since the 1970s
● Provides location information
● Many disadvantages
○ Not very accurate for the
altitude
○ Airplanes have to send their
altitude to the ATC
○ Not real-time, sends
information after a delay
○ Pilots don’t get much benefit
e.g., which planes are nearby
ADS-B
Augments Pilot’s view of nearby traffic
The Future: ADS-B ADS-B = Automatic Dependent
Surveillance-Broadcast
ADS-B Out: Your plane broadcasts its GPS
coordinates (determined with a GPS device)
to ground stations and other planes
ADS-B In: Your plane receives broadcasted
messages from other planes (about their
locations) and from ADS-B towers (about
weather, etc.)
1090 MHz
The Stratus and the Foreflight App
GPS Satellite Broadcast
ADS-B Towers
Other ADS-B Equipped Planes
ADS-BBroadcasts:
iPad joins the
unprotected wifi network
created by the Stratus
Your plane
Stratus sits on
dashboard of your plane
Foreflight app on iPad
displays cool interface
for GPS, weather, maps,
and locations of nearby
planesLocationinfo
Weatherinfo,otherplanes
How ADS-B packets are sent
● Plain-text
● No time-stamp
● Error-code “protected”
● Broadcast
● Contain “trivial” information like altitude,
precise location and unique identifier of the
airplane
Which means...
● No message authentication
● No message secrecy
● No message integrity
● Basically, anybody with a device which can
talk ADS-B OUT can pose as any airplane
ADS-B
is the WORST!
The Good
● Almost anybody can track airplanes in
real-time via ADS-B IN
● Community efforts already underway e.g.
www.flightradar24.com
Source: http://www.flightradar24.com/data/flights/mh370#2d81a27
The Ugly
● Trivial to make the MH370 plane reappear
● Attacker needs a device which can talk at
the 1090 MHz frequency
● Attacker knows ADS-B packet format
● Attacker knows the airplane unique ID
● Attacker is located at a little bit above the
ground level
● Can start broadcasting ADS-B OUT packets
ADS-B
is literally the WORST!
Let’s Pwn the
Transponder
The Firmware Update Process
2. iPad joins the
unprotected wifi network
created by the Stratus
1. Stratus sets up an
unprotected wifi network
5. Foreflight App fetches
a firmware update for
the Stratus (usually via
satellite link).
3. Foreflight App asks
the Stratus about it’s
current version
4. Stratus replies back
with current version
number
6. Foreflight App pushes
the firmware update
Huge Attack Surface
Potential Attacks
● Our focus:
- Replace legitimate firmware with malicious firmware
● Other attacks:
- Spoof GPS data to Stratus traffic
- Spoof ADS-B IN to Stratus traffic
- Spoof Stratus to iPad traffic
- Fuzzing the ADS-B device with bad GPS/ADS-B IN data
- Physical Attacks (Swap iPad/Stratus)
- Jamming/DoS (Throw noise at Stratus at 1090 MHz)
- Bricking the device (Send bad data as part of firmware update process)
Threat Model (for Firmware Attacks)
● Attacker has reverse engineered the firmware update
process
● Attacker is able to construct a malicious firmware
● Attacker is within the wifi-range of the Stratus to push a
firmware update
Proposed Malicious Firmware
● Gets activated after a certain amount of time
● Sends out bad/in-correct GPS location and
altitude to nearby planes via ADS-B OUT
● Shows in-correct locations and altitudes of
nearby planes to the pilot via ADS-B IN
● End Goal: Cause Mid-Air Collision
Initial Firmware Analysis
- Ripped from the Foreflight app (iPad)
- Two chunks of data, packaged (encrypted..?)
- Where might it be unpackaged?
Flash Dump: Active Reading
- Micron Serial NOR Flash Memory
- ARM and Flash speak SPI
SPI (Serial Peripheral Interface)
- Simple data transfer protocol
- Master (ARM) and slave (Flash)
Chip Select
MISO
Clock
MOSI
Bus Pirate
- data protocol interpreter (can speak SPI)
- replace ARM with
Bus Pirate
- READ commands
Issues with Active Reading
- Resetting the ARM entirely disables board
- Providing external power to Flash
- Desoldering Flash from Stratus
Flash Dump v2: Passive Sniffing
- Remember the firmware update?
Firmware
Tools of the Trade
Tektronix Oscope vs. Saleae Logic Analyzer
Triggering an Update
● All about firmware version number
● Version number difference triggers update
● Spoof lower version number packet to app
Captured Data
● Both machines return CSV, row per sample
● Tektronics = voltage at sample time
● Saleae = high or low at sample time
Let’s write some Parsers
Toolchain
Analyzing the Binaries
● Captured two binaries: boot-up and update
● Boot-up:
- FPGA image
- Possibly containing ARM instructions
Analyzing the Binaries (cont.)
● Firmware update: Two writes... packaged
Good News First?
● Good understanding of what happens
internally during a firmware update
● Several reads during update after writing,
possibly containing clues (read: keys)
Future Work aka More To Do!!
● All firmware on 512 MB flash encrypted?
○ Look for keys in short messages
○ Examine code in ARM chip’s 1 MB
onboard flash
○ JTAG debugging protocol
○ Onboard flash might be read/write
protected
○ Electron microscopy
● Once we get the unencrypted firmware …
○ Ready, set, IDA!
● Continue work on other potential attacks
Acknowledgements
● Devin Lundberg (esp. for Triggering Update)
● Kirill Levchenko
● Keaton Mowery
● David Kohlbrenner
● Hovav Shacham
Q & A
NextGen
● FAA (Federal Aviation Administration)
Initiative to improve on Air-Traffic Control
● Shorten routes
● Reduce Traffic Delays
● Avoid Grid-Locks
● Save fuel and time
● Implementation in various steps by 2020
ADS-B Implementation Status
Source: https://www.faa.gov/nextgen/implementation/

Mais conteúdo relacionado

Mais procurados

Universal IP Overview 2009
Universal IP Overview 2009Universal IP Overview 2009
Universal IP Overview 2009
Alex Romero
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
Bai Haqi
 

Mais procurados (9)

Design and Implementation of Multi-Axis Programmable Stage Controller with Ge...
Design and Implementation of Multi-Axis Programmable Stage Controller with Ge...Design and Implementation of Multi-Axis Programmable Stage Controller with Ge...
Design and Implementation of Multi-Axis Programmable Stage Controller with Ge...
 
XPDDS18: Intel Processor Trace for Xen Hypervisor - Luwei Kang, Intel
XPDDS18: Intel Processor Trace for Xen Hypervisor - Luwei Kang, IntelXPDDS18: Intel Processor Trace for Xen Hypervisor - Luwei Kang, Intel
XPDDS18: Intel Processor Trace for Xen Hypervisor - Luwei Kang, Intel
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
USB2PPM Interface
USB2PPM InterfaceUSB2PPM Interface
USB2PPM Interface
 
Universal IP Overview 2009
Universal IP Overview 2009Universal IP Overview 2009
Universal IP Overview 2009
 
Cyclone III FPGA Overview Part2
Cyclone III FPGA Overview Part2Cyclone III FPGA Overview Part2
Cyclone III FPGA Overview Part2
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
Free OpManager training Part 3 - Monitoring Network Performance and Network Maps
Free OpManager training Part 3 - Monitoring Network Performance and Network MapsFree OpManager training Part 3 - Monitoring Network Performance and Network Maps
Free OpManager training Part 3 - Monitoring Network Performance and Network Maps
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
 

Semelhante a Spy vs SPI: Hacking the Stratus ADS-B Transponder

Usb dongle z wave.me manual
Usb dongle z wave.me manualUsb dongle z wave.me manual
Usb dongle z wave.me manual
Domotica daVinci
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
nicolelemmimg
 
Hardware Accelerated Software Defined Radio
Hardware Accelerated Software Defined Radio Hardware Accelerated Software Defined Radio
Hardware Accelerated Software Defined Radio
Tarik Kazaz
 

Semelhante a Spy vs SPI: Hacking the Stratus ADS-B Transponder (20)

Aemp-14 use with rtk gps system
Aemp-14  use with rtk gps systemAemp-14  use with rtk gps system
Aemp-14 use with rtk gps system
 
IoT Project Analysis Report of Year 1 - Project Semester 2.
IoT Project Analysis Report of Year 1 - Project Semester 2.IoT Project Analysis Report of Year 1 - Project Semester 2.
IoT Project Analysis Report of Year 1 - Project Semester 2.
 
Asa pixfwsm multicast tips and common problems
Asa pixfwsm multicast tips and common problemsAsa pixfwsm multicast tips and common problems
Asa pixfwsm multicast tips and common problems
 
Defeating Drones
Defeating DronesDefeating Drones
Defeating Drones
 
Usb dongle z wave.me manual
Usb dongle z wave.me manualUsb dongle z wave.me manual
Usb dongle z wave.me manual
 
Mbs f41 b
Mbs f41 bMbs f41 b
Mbs f41 b
 
Swarm Extreme
Swarm ExtremeSwarm Extreme
Swarm Extreme
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
 
IP For Broadcast Engineers
IP For Broadcast EngineersIP For Broadcast Engineers
IP For Broadcast Engineers
 
Firefox OS real-phone automation lab: goals, challenges, and successes
Firefox OS real-phone automation lab: goals, challenges, and successesFirefox OS real-phone automation lab: goals, challenges, and successes
Firefox OS real-phone automation lab: goals, challenges, and successes
 
Asegúr@IT 7: Playing with Satellites 1.2
Asegúr@IT 7: Playing with Satellites 1.2Asegúr@IT 7: Playing with Satellites 1.2
Asegúr@IT 7: Playing with Satellites 1.2
 
202209 QSO Today Virtual Ham Introduction to Software Defined Radio with emph...
202209 QSO Today Virtual Ham Introduction to Software Defined Radio with emph...202209 QSO Today Virtual Ham Introduction to Software Defined Radio with emph...
202209 QSO Today Virtual Ham Introduction to Software Defined Radio with emph...
 
snortinstallguide
snortinstallguidesnortinstallguide
snortinstallguide
 
an_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.pptan_introduction_to_network_analyzers_new.ppt
an_introduction_to_network_analyzers_new.ppt
 
Ccna Imp Guide
Ccna Imp GuideCcna Imp Guide
Ccna Imp Guide
 
Hardware Accelerated Software Defined Radio
Hardware Accelerated Software Defined Radio Hardware Accelerated Software Defined Radio
Hardware Accelerated Software Defined Radio
 
Playing in a Satellite environment
Playing in a Satellite environmentPlaying in a Satellite environment
Playing in a Satellite environment
 
Arduino Labs Introduction
Arduino Labs IntroductionArduino Labs Introduction
Arduino Labs Introduction
 
Peripherals
PeripheralsPeripherals
Peripherals
 
Sector Sphere 2009
Sector Sphere 2009Sector Sphere 2009
Sector Sphere 2009
 

Mais de Mayank Dhiman

Mais de Mayank Dhiman (9)

SENTRY MBA Whitepaper.pdf
SENTRY MBA Whitepaper.pdfSENTRY MBA Whitepaper.pdf
SENTRY MBA Whitepaper.pdf
 
Breaking Fraud & Bot detection solutions
Breaking Fraud & Bot detection solutionsBreaking Fraud & Bot detection solutions
Breaking Fraud & Bot detection solutions
 
Breaking Fraud & Bot Detection Solutions
Breaking Fraud & Bot Detection SolutionsBreaking Fraud & Bot Detection Solutions
Breaking Fraud & Bot Detection Solutions
 
Automation Attacks At Scale
Automation Attacks At ScaleAutomation Attacks At Scale
Automation Attacks At Scale
 
Breaking and Fixing Content-Based Filtering
Breaking and Fixing Content-Based FilteringBreaking and Fixing Content-Based Filtering
Breaking and Fixing Content-Based Filtering
 
Helping People Walk the Narrow Path
Helping People Walk the Narrow PathHelping People Walk the Narrow Path
Helping People Walk the Narrow Path
 
Pyongyang Fortress
Pyongyang FortressPyongyang Fortress
Pyongyang Fortress
 
Sybil Account Detection in OSN
Sybil Account Detection in OSNSybil Account Detection in OSN
Sybil Account Detection in OSN
 
Liar Buyer Fraud, and How to Curb It
Liar Buyer Fraud, and How to Curb ItLiar Buyer Fraud, and How to Curb It
Liar Buyer Fraud, and How to Curb It
 

Último

LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
Silpa
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.
Silpa
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
ANSARKHAN96
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Silpa
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
Silpa
 

Último (20)

Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
 
Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptx
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Genetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsGenetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditions
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 

Spy vs SPI: Hacking the Stratus ADS-B Transponder

  • 1. Spy vs. SPI Hacking the Stratus ADS-B Transponder Mayank Dhiman Brown Farinholt Edward Sullivan March 13, 2014
  • 2. Old school technology: Real-time Air Traffic Surveillance ● Radar-based ● Since the 1970s ● Provides location information ● Many disadvantages ○ Not very accurate for the altitude ○ Airplanes have to send their altitude to the ATC ○ Not real-time, sends information after a delay ○ Pilots don’t get much benefit e.g., which planes are nearby
  • 3. ADS-B Augments Pilot’s view of nearby traffic
  • 4. The Future: ADS-B ADS-B = Automatic Dependent Surveillance-Broadcast ADS-B Out: Your plane broadcasts its GPS coordinates (determined with a GPS device) to ground stations and other planes ADS-B In: Your plane receives broadcasted messages from other planes (about their locations) and from ADS-B towers (about weather, etc.) 1090 MHz
  • 5. The Stratus and the Foreflight App GPS Satellite Broadcast ADS-B Towers Other ADS-B Equipped Planes ADS-BBroadcasts: iPad joins the unprotected wifi network created by the Stratus Your plane Stratus sits on dashboard of your plane Foreflight app on iPad displays cool interface for GPS, weather, maps, and locations of nearby planesLocationinfo Weatherinfo,otherplanes
  • 6. How ADS-B packets are sent ● Plain-text ● No time-stamp ● Error-code “protected” ● Broadcast ● Contain “trivial” information like altitude, precise location and unique identifier of the airplane
  • 7. Which means... ● No message authentication ● No message secrecy ● No message integrity ● Basically, anybody with a device which can talk ADS-B OUT can pose as any airplane
  • 9. The Good ● Almost anybody can track airplanes in real-time via ADS-B IN ● Community efforts already underway e.g. www.flightradar24.com
  • 10.
  • 12. The Ugly ● Trivial to make the MH370 plane reappear ● Attacker needs a device which can talk at the 1090 MHz frequency ● Attacker knows ADS-B packet format ● Attacker knows the airplane unique ID ● Attacker is located at a little bit above the ground level ● Can start broadcasting ADS-B OUT packets
  • 15. The Firmware Update Process 2. iPad joins the unprotected wifi network created by the Stratus 1. Stratus sets up an unprotected wifi network 5. Foreflight App fetches a firmware update for the Stratus (usually via satellite link). 3. Foreflight App asks the Stratus about it’s current version 4. Stratus replies back with current version number 6. Foreflight App pushes the firmware update
  • 17. Potential Attacks ● Our focus: - Replace legitimate firmware with malicious firmware ● Other attacks: - Spoof GPS data to Stratus traffic - Spoof ADS-B IN to Stratus traffic - Spoof Stratus to iPad traffic - Fuzzing the ADS-B device with bad GPS/ADS-B IN data - Physical Attacks (Swap iPad/Stratus) - Jamming/DoS (Throw noise at Stratus at 1090 MHz) - Bricking the device (Send bad data as part of firmware update process)
  • 18. Threat Model (for Firmware Attacks) ● Attacker has reverse engineered the firmware update process ● Attacker is able to construct a malicious firmware ● Attacker is within the wifi-range of the Stratus to push a firmware update
  • 19. Proposed Malicious Firmware ● Gets activated after a certain amount of time ● Sends out bad/in-correct GPS location and altitude to nearby planes via ADS-B OUT ● Shows in-correct locations and altitudes of nearby planes to the pilot via ADS-B IN ● End Goal: Cause Mid-Air Collision
  • 20. Initial Firmware Analysis - Ripped from the Foreflight app (iPad) - Two chunks of data, packaged (encrypted..?) - Where might it be unpackaged?
  • 21. Flash Dump: Active Reading - Micron Serial NOR Flash Memory - ARM and Flash speak SPI
  • 22. SPI (Serial Peripheral Interface) - Simple data transfer protocol - Master (ARM) and slave (Flash) Chip Select MISO Clock MOSI
  • 23. Bus Pirate - data protocol interpreter (can speak SPI) - replace ARM with Bus Pirate - READ commands
  • 24. Issues with Active Reading - Resetting the ARM entirely disables board - Providing external power to Flash - Desoldering Flash from Stratus
  • 25. Flash Dump v2: Passive Sniffing - Remember the firmware update? Firmware
  • 26. Tools of the Trade Tektronix Oscope vs. Saleae Logic Analyzer
  • 27. Triggering an Update ● All about firmware version number ● Version number difference triggers update ● Spoof lower version number packet to app
  • 28. Captured Data ● Both machines return CSV, row per sample ● Tektronics = voltage at sample time ● Saleae = high or low at sample time
  • 31. Analyzing the Binaries ● Captured two binaries: boot-up and update ● Boot-up: - FPGA image - Possibly containing ARM instructions
  • 32. Analyzing the Binaries (cont.) ● Firmware update: Two writes... packaged
  • 33. Good News First? ● Good understanding of what happens internally during a firmware update ● Several reads during update after writing, possibly containing clues (read: keys)
  • 34. Future Work aka More To Do!! ● All firmware on 512 MB flash encrypted? ○ Look for keys in short messages ○ Examine code in ARM chip’s 1 MB onboard flash ○ JTAG debugging protocol ○ Onboard flash might be read/write protected ○ Electron microscopy ● Once we get the unencrypted firmware … ○ Ready, set, IDA! ● Continue work on other potential attacks
  • 35. Acknowledgements ● Devin Lundberg (esp. for Triggering Update) ● Kirill Levchenko ● Keaton Mowery ● David Kohlbrenner ● Hovav Shacham
  • 36. Q & A
  • 37. NextGen ● FAA (Federal Aviation Administration) Initiative to improve on Air-Traffic Control ● Shorten routes ● Reduce Traffic Delays ● Avoid Grid-Locks ● Save fuel and time ● Implementation in various steps by 2020
  • 38. ADS-B Implementation Status Source: https://www.faa.gov/nextgen/implementation/