SlideShare a Scribd company logo
How to get good seats in the
security theater?
Hacking boarding passes for fun and profit
Przemek Jaroszewski
przemj+defcon24@gmail.com
$ whoami
• head of the Polish national CSIRT (CERT Polska)
• 10+ years of education in programming
• Master’s degree in social psychology
• 15 years of experience in IT security
• aviation enthusiast, unrealized air traffic controller
Disclaimer
• Research and opinions are my own, not my employer’s
• Some of the stuff is grey area, and some is plain illegal
Up in the Air
• FF miles are nice, but status in nicer
Except when improvements don’t work…
IATA Resolution 792 (2005)
• Paper
• PDF417
• Mobile
• QR Code
• Aztec
• DataMatrix
Bar-Coded Boarding Pass
M1JAROSZEWSKI/PRZEMYSLE56XXXX
WAWCPHSK 2762 666M009C0007 666>10B0
K6161BSK 2511799999153830 SK A3
199999999 *3000500A3G
M1JAROSZEWSKI/PRZEMYSLE56XXXX
WAWCPHSK 2762 666M009C0007 666>10B0
K6161BSK 2511799999153830 SK A3
199999999 *3000500A3G
M1JAROSZEWSKI/PRZEMYSLE56XXXX
WAWCPHSK 2762 666C009C0007 666>10B0
K6161BSK 2511799999153830 SK A3
199999999 *3000500A3G
Where did we get?
• Free Fast Track for all travellers
M1COLUMBUS/CHRISTOPHERE56XXXX
WAWCPHSK 2762 666M009C0007 666>10B0
K6161BSK 2511799999153830 SK A3
199999999 *3000500A3G
M1COLUMBUS/CHRISTOPHERE56YYYY
WAWCPHSK 2762 666M009C0007 666>10B0
K6161BSK 2511799999153830 SK A3
199999999 *3000500A3G
Where did we get?
• Free Fast Track for all travelers => Sterile area access for all
Wait, this is not news!
• Bruce Schneier (2003): Flying On Someone Else’s Airplaine Ticket
• shows how to work around no fly lists with print-at-home BPs
• Andy Bowers (2005): Dangerous Loophole in Airport Security
• Bruce Schneier (2006): The Boarding Pass Brouhaha
• Christopher Soghoian (2007): Insecure Flight: Broken Boarding Passes
and Ineffective Terrorist Watch Lists
• Jeffrey Goldberg (2008): The Things He Carried
• Charles C. Mann (2011): Smoke Screening
• John Butler (2012): Security Flaws in the TSA Pre-Check System and
the Boarding Pass Check System
No Fly List Bypass (in 2003)
• Buy tickets under false name
• Print your boarding pass at home
• Create a copy of the boarding pass with your real name
• Present the fake boarding pass and the real ID to TSA officers
• Present the real boarding pass to gate agents
• Fly
No Fly List Bypass (in 2016 Europe)
• Buy tickets under false name
• Print your boarding pass at home
• Fly
Impacting factors:
• Particular airline’s business consciousness
• Temporary security checks
Source: r/MapPorn
Source: IATA
• NO integrity checks
• NO authentication
Source: IATA
So… Where is passenger data stored?
• Computer Reservation Systems (CRS) allow for storage and processing of
Passenger Name Records (PNR) containing:
• personal data (names, contact details)
• reservations (airlines, hotels, cars, …)
• issued tickets
• special requests
• loyalty programs data
• Dozens of CRSs exist
• GDS (eg. Sabre, Amadeus, Galileo, Worldspan, …)
• proprietary ones
• One reservation may result with multiple PNRs in different CRSs
• Data access is limited not only across CRSs, but across different parties
Notice of advice
• BCBP often contains more information than the printed version
• PNR locator (aka: reservation/confirmation number, booking reference)
• Ticket number
• Full frequent flyer number
• This information can be used to retrieve most and modify some data
in your PNR, including ticket cancellation!
• Sometimes with additional knowledge like e-mail address
• Don’t post or share non-anonymized boarding passes!
… and then on to other systems
• Departure Control System (DCS) – check-in info
• Advance Passenger Information (API) – to border agencies
• PNRGOV – to government agencies
• Secure Flight
Paper is just a bit less fun…
• MS Word is a great PDF-editing tool 
• Most likely barcode will be scanned
anyway, so it needs to reflect the printed
information
Lounge access
• Contract lounges
• no way to verify eligibility
• may require an invitation issued from the airline
at check-in
• Airline-operated lounges
• may have access to passenger records …
• … but only for own passengers!
• automatic gates increasingly popular (eg. SAS
lounges in CPH, OSL; Turkish lounge in IST)
Duty Free Goods
• In many countries goods
are sold directly to the
passenger (liquors sealed in
a plastic bag)
• Eligibility is determined
based on destination
(eg. EU/Non-EU)
Where did we get?
• Airport access (meet&greet, sightseeing, …)
• Fast Track
• Free lunch and booze
• Duty free shopping
Source: IATA
Digital Signature
• In 2009 IATA extended BCBP standard (ver. 3) with support for digital
signatures based on PKI
• Yet many airlines still use BCBP v.1
• The field is "optional and to be used only when required by the local
security administration"
• The field has variable length, with specific algorithm etc. determined
by the authority
• Private keys owned by airlines, public keys distributed to third parties
• TSA enforced for US carriers (well, almost)
BCBP XML
• In 2008 IATA proposed Passenger and Airport Data Interchange
Standards (PADIS) XML to be used for exchange of BCBP data
between airlines and third parties, such as lounges or security
checkpoints
• The terminal would send a message consisting of a header and full
BCBP content
• The airline would reply with a Yes/No, along with a reason and
optional free text
Source: BCBP Working Group
Secure Flight
• Program implemented by TSA in 2009 takeover watchlists monitoring from
airlines
• Pre-Check and Secondary Screening introduced in 2011
• Selectee indicator in BCBP field 18; 0=normal; 1=SSSS; 3=LLLL
• In 2013 TSA started networking CAT/BPSS devices to pull passenger data
from Secure Flight, including:
• Passenger’s full name
• Gender
• Date of birth
• Screening status
• Reservation number
• Flight itinerary (in order to determine which airports receive data)
Why is awesome?
• Just when I thought I got my slides ready… I get this message
from @supersat
I noticed you are giving a talk on boarding passes at DEF CON. I
managed to acquire [this] off of eBay, and was wondering if you'd
like to play around with it at DEF CON or use it for a demo at your
talk.
Where did we get?
• Airport access (meet&greet, sightseeing, …)
• Fast Track
• Free lunch and booze
• Duty free shopping
• Pre-check??
Is it a vulnerability?
• LOT Polish Airlines:
- Please contact Warsaw Airport about this issue as they’re responsible for
boarding pass scanning systems.
• Warsaw Airport:
- It’s a known issue, but not a problem. We’re compliant with all CAA
guidelines.
• Civil Aviation Authority for Poland:
- Boarding pass forgery is a crime since they are documents.
• Me:
- Can you have a legally binding document without any form of
authentication?
• Civil Aviation Authority for Poland:
- Oh, go f*** yourself!
Is it a vulnerability?
• Turkish Airlines:
- Please be inform that, we have already shared your contact details
with our related unit, to get in touch with you as soon as possible.
• SAS:
- We appreciate that you have taken the time to send us your
feedback, as this is crucial for us to improve our services.
• TSA:
awkward silence
Will it fly?
•NO.
•Seriously. Don’t try!
But you can have a nice souvenir 
+
=
Wrap up
• Privacy and complexity of reservation systems prevent effective data
exchange between airlines and BP scanning checkpoints
• Several countermeasures have been introduced by IATA, but they’re
expensive and complicated to implement
• While US did a reasonably good job, other places have actually
lowered the bar
• Because of privacy restrictions access to PNR will likely by limited to
governments making cross-dependencies between private entities
inherently broken
Sources/Further reading
• IATA: BCBP Implementation Guide
http://www.iata.org/whatwedo/stb/bcbp/Documents/BCBP-Implementation-Guide.pdf
• IATA: Bar-Coded Boarding Passes FAQ
https://www.iata.org/whatwedo/stb/bcbp/Documents/bcbp-faqs.pdf
• IATA: Passenger and Airport Data Interchange Standards (PADIS) Board
http://www.iata.org/whatwedo/workgroups/Pages/padis.aspx
• TSA: Privacy Impact Assessment for the Boarding Pass Scanning System
https://www.dhs.gov/xlibrary/assets/privacy/privacy_pia_tsa_bpss.pdf
• TSA: Secure Flight
http://www.dhs.gov/xlibrary/assets/privacy/privacy_pia_tsa_secureflight_update018(e).pdf
https://www.tsa.gov/news/testimony/2014/09/18/tsa-secure-flight-program
• BCBP Working Group: Business Requirements: BCBP Data Exchange
http://www.aci.aero/media/aci/file/aci_priorities/it/doc0803_brd_bcbp_xmlfinal.pdf
• Bruce Schneier: Flying On Someone Else’s Airplane Ticket
https://www.schneier.com/crypto-gram/archives/2003/0815.html#6
• Bruce Schneier: The Boarding Pass Brouhaha
https://www.schneier.com/essays/archives/2006/11/the_boarding_pass_br.html
• Andy Bowers: A Dangerous Loophole in Airport Security
http://www.slate.com/articles/news_and_politics/hey_wait_a_minute/2005/02/a_dangerous_loophole_in_airport_security.html
• Christopher Sokhoian: Insecure Flight: Broken Boarding Passes and Ineffective Terrorist Watch Lists
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1001675
• Jeffrey Goldberg: The Things He Carried (The Atlantic)
http://www.theatlantic.com/magazine/archive/2008/11/the-things-he-carried/307057/
• Charles C. Mann: Smoke Screening (Vanity Fair)
http://www.vanityfair.com/culture/2011/12/tsa-insanity-201112
• Brian Krebs: What’s in the Boarding Pass? A lot
http://krebsonsecurity.com/2015/10/whats-in-a-boarding-pass-barcode-a-lot/
• John Butler: Security Flaws in the TSA Pre-Check System and the Boarding Pass Check System
https://puckinflight.wordpress.com/2012/10/19/security-flaws-in-the-tsa-pre-check-system-and-the-boarding-pass-check-system/
Thank you!
Questions/Comments:
<przemj+defcon24@gmail.com>

More Related Content

What's hot

maikling kuwento-hashnu.pptx
maikling kuwento-hashnu.pptxmaikling kuwento-hashnu.pptx
maikling kuwento-hashnu.pptx
Department of Education - Philippines
 
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nilaTauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
johnrohannebasale
 
Pagsulong at pag unlad
Pagsulong at pag unladPagsulong at pag unlad
Pagsulong at pag unlad
EDITHA HONRADEZ
 
Pagaalsa at himagsikan
Pagaalsa at himagsikanPagaalsa at himagsikan
Pagaalsa at himagsikanMigi Delfin
 
MODYUL 1 Pag-aalsa Laban sa Pang-aabuso
MODYUL 1 Pag-aalsa Laban sa Pang-aabusoMODYUL 1 Pag-aalsa Laban sa Pang-aabuso
MODYUL 1 Pag-aalsa Laban sa Pang-aabuso
Chassel Paras
 
3rd pamahalaang lokal
3rd pamahalaang lokal3rd pamahalaang lokal
3rd pamahalaang lokal
The Underground
 
Filipino Kabanata 16-18.pptx
Filipino Kabanata 16-18.pptxFilipino Kabanata 16-18.pptx
Filipino Kabanata 16-18.pptx
Aubrey40
 
Kabanata
KabanataKabanata
Kabanata
jermeine bruna
 
Noli kabanata1-8.pptx
Noli kabanata1-8.pptxNoli kabanata1-8.pptx
Noli kabanata1-8.pptx
MAEdFilipinoCarolynA
 
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang PanahonUnit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
dionesioable
 
Noli Me Tangere Kabanata 10-17
Noli Me Tangere Kabanata 10-17Noli Me Tangere Kabanata 10-17
Noli Me Tangere Kabanata 10-17
SCPS
 
Kabanata XIV.pptx
Kabanata XIV.pptxKabanata XIV.pptx
Kabanata XIV.pptx
RioOrpiano1
 
cot_AP5_3rd qtr_carreon.pptx
cot_AP5_3rd qtr_carreon.pptxcot_AP5_3rd qtr_carreon.pptx
cot_AP5_3rd qtr_carreon.pptx
GreyzyCarreon
 
Mga pagbabagong dulot ng pananakop
Mga pagbabagong dulot ng pananakopMga pagbabagong dulot ng pananakop
Mga pagbabagong dulot ng pananakopsiredching
 
Noli me tangere kabanata 33
Noli me tangere kabanata 33Noli me tangere kabanata 33
Noli me tangere kabanata 33
Sir Pogs
 
NMT 26-38
NMT 26-38NMT 26-38
NMT 26-38
Jane Panares
 
Sinaunang Sining at Arkitektura
Sinaunang Sining at ArkitekturaSinaunang Sining at Arkitektura
Sinaunang Sining at Arkitektura
MAILYNVIODOR1
 
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
Juan Miguel Palero
 
Kabanata viii (mga alaala ng lumipas
Kabanata viii (mga alaala ng lumipasKabanata viii (mga alaala ng lumipas
Kabanata viii (mga alaala ng lumipasCarla Faner
 

What's hot (20)

maikling kuwento-hashnu.pptx
maikling kuwento-hashnu.pptxmaikling kuwento-hashnu.pptx
maikling kuwento-hashnu.pptx
 
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nilaTauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
Tauhan sa Noli me Tangere at ang mga ganap o ginagampanan nila
 
Pagsulong at pag unlad
Pagsulong at pag unladPagsulong at pag unlad
Pagsulong at pag unlad
 
Pagaalsa at himagsikan
Pagaalsa at himagsikanPagaalsa at himagsikan
Pagaalsa at himagsikan
 
MODYUL 1 Pag-aalsa Laban sa Pang-aabuso
MODYUL 1 Pag-aalsa Laban sa Pang-aabusoMODYUL 1 Pag-aalsa Laban sa Pang-aabuso
MODYUL 1 Pag-aalsa Laban sa Pang-aabuso
 
3rd pamahalaang lokal
3rd pamahalaang lokal3rd pamahalaang lokal
3rd pamahalaang lokal
 
Filipino Kabanata 16-18.pptx
Filipino Kabanata 16-18.pptxFilipino Kabanata 16-18.pptx
Filipino Kabanata 16-18.pptx
 
Kabanata
KabanataKabanata
Kabanata
 
Noli kabanata1-8.pptx
Noli kabanata1-8.pptxNoli kabanata1-8.pptx
Noli kabanata1-8.pptx
 
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang PanahonUnit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
Unit 1, mod 3 Sulyap ng Buhay Panlipunan sa Sinaunang Panahon
 
Noli Me Tangere Kabanata 10-17
Noli Me Tangere Kabanata 10-17Noli Me Tangere Kabanata 10-17
Noli Me Tangere Kabanata 10-17
 
Kabanata XIV.pptx
Kabanata XIV.pptxKabanata XIV.pptx
Kabanata XIV.pptx
 
cot_AP5_3rd qtr_carreon.pptx
cot_AP5_3rd qtr_carreon.pptxcot_AP5_3rd qtr_carreon.pptx
cot_AP5_3rd qtr_carreon.pptx
 
Mga pagbabagong dulot ng pananakop
Mga pagbabagong dulot ng pananakopMga pagbabagong dulot ng pananakop
Mga pagbabagong dulot ng pananakop
 
Noli me tangere kabanata 33
Noli me tangere kabanata 33Noli me tangere kabanata 33
Noli me tangere kabanata 33
 
NMT 26-38
NMT 26-38NMT 26-38
NMT 26-38
 
Sinaunang Sining at Arkitektura
Sinaunang Sining at ArkitekturaSinaunang Sining at Arkitektura
Sinaunang Sining at Arkitektura
 
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
Filipino 9 (Noli Me Tangere): Kabanata 1 (Nabibigyang-kahulugan ang Matatalin...
 
Kabanata viii (mga alaala ng lumipas
Kabanata viii (mga alaala ng lumipasKabanata viii (mga alaala ng lumipas
Kabanata viii (mga alaala ng lumipas
 
Canal de-la-reina
Canal de-la-reinaCanal de-la-reina
Canal de-la-reina
 

Similar to How to get good seats in the security theater

Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
Edutour
 
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-tDefcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
Priyanka Aash
 
Mobile NFC @ Airlines
Mobile NFC @ AirlinesMobile NFC @ Airlines
Mobile NFC @ Airlines
Hatem Kameli
 
Passenger and Airport Collaboration through Technology (PACT)
Passenger and Airport Collaboration through Technology (PACT)Passenger and Airport Collaboration through Technology (PACT)
Passenger and Airport Collaboration through Technology (PACT)
Human Recognition Systems
 
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
PROIDEA
 
5 Steps for Creating an Easier Travel Experience for your Attendees
5 Steps for Creating an Easier Travel Experience for your Attendees5 Steps for Creating an Easier Travel Experience for your Attendees
5 Steps for Creating an Easier Travel Experience for your Attendees
DMAI's empowerMINT.com
 
Document authentication system powered by assuretec
Document authentication system powered by assuretecDocument authentication system powered by assuretec
Document authentication system powered by assuretec
Murugan Ramasamy
 
Essence of Travel Technology
Essence of Travel TechnologyEssence of Travel Technology
Essence of Travel Technology
Krishna Kanth (CSM,ITIL V3(F),Six Sigma-GB
 
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
Md Shaifullar Rabbi
 
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
InteractiveNEC
 
Overview of airline booking process
Overview of airline booking processOverview of airline booking process
Overview of airline booking process
Java and .NET Architect
 
How can airports get to know their passengers - and should they try?
How can airports get to know their passengers - and should they try?How can airports get to know their passengers - and should they try?
How can airports get to know their passengers - and should they try?
Human Recognition Systems
 
Driving Efficiency with Splunk Cloud at Gatwick Airport
Driving Efficiency with Splunk Cloud at Gatwick AirportDriving Efficiency with Splunk Cloud at Gatwick Airport
Driving Efficiency with Splunk Cloud at Gatwick Airport
Splunk
 
The Future of Customer Experience in Commercial Aviation
The Future of Customer Experience in Commercial Aviation The Future of Customer Experience in Commercial Aviation
The Future of Customer Experience in Commercial Aviation
Jorge Fonseca
 
Machine Readable Travel Documents (MRTD) - Biometric Passport
Machine Readable Travel Documents (MRTD) - Biometric PassportMachine Readable Travel Documents (MRTD) - Biometric Passport
Machine Readable Travel Documents (MRTD) - Biometric Passport
Tariq Tauheed
 
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQLServing the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
Sönke Liebau
 
Using biometric technology to facilitate airport security - November 2015
Using biometric technology to facilitate airport security - November 2015Using biometric technology to facilitate airport security - November 2015
Using biometric technology to facilitate airport security - November 2015
Rockwell Collins | ARINC airports
 
Portal apps (slt)
Portal apps (slt)Portal apps (slt)
Portal apps (slt)
kevin_donovan
 
PATANG - GLOBAL VISIBILITY PLATFORM
PATANG - GLOBAL VISIBILITY PLATFORMPATANG - GLOBAL VISIBILITY PLATFORM
PATANG - GLOBAL VISIBILITY PLATFORM
Patang
 
Using a modern data stack to explore and visualize the impact of a global pan...
Using a modern data stack to explore and visualize the impact of a global pan...Using a modern data stack to explore and visualize the impact of a global pan...
Using a modern data stack to explore and visualize the impact of a global pan...
Data Con LA
 

Similar to How to get good seats in the security theater (20)

Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
Global Distribution Systems - Part 2 of 5: Past, present and yet to come: GDS...
 
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-tDefcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
Defcon 22-alex zacharis-nikolaos-tsagkarakis-po s-attacking-t
 
Mobile NFC @ Airlines
Mobile NFC @ AirlinesMobile NFC @ Airlines
Mobile NFC @ Airlines
 
Passenger and Airport Collaboration through Technology (PACT)
Passenger and Airport Collaboration through Technology (PACT)Passenger and Airport Collaboration through Technology (PACT)
Passenger and Airport Collaboration through Technology (PACT)
 
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
PLNOG 13: Grzegorz Janoszka: Peering vs Tranzyt – Czy peering jest naprawdę s...
 
5 Steps for Creating an Easier Travel Experience for your Attendees
5 Steps for Creating an Easier Travel Experience for your Attendees5 Steps for Creating an Easier Travel Experience for your Attendees
5 Steps for Creating an Easier Travel Experience for your Attendees
 
Document authentication system powered by assuretec
Document authentication system powered by assuretecDocument authentication system powered by assuretec
Document authentication system powered by assuretec
 
Essence of Travel Technology
Essence of Travel TechnologyEssence of Travel Technology
Essence of Travel Technology
 
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
Chapter-4 Introduction to Global Distributions System and Computerized Reserv...
 
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
7 Ways Facial Recognition Can Unlock A Secure, Frictionless and Personalized ...
 
Overview of airline booking process
Overview of airline booking processOverview of airline booking process
Overview of airline booking process
 
How can airports get to know their passengers - and should they try?
How can airports get to know their passengers - and should they try?How can airports get to know their passengers - and should they try?
How can airports get to know their passengers - and should they try?
 
Driving Efficiency with Splunk Cloud at Gatwick Airport
Driving Efficiency with Splunk Cloud at Gatwick AirportDriving Efficiency with Splunk Cloud at Gatwick Airport
Driving Efficiency with Splunk Cloud at Gatwick Airport
 
The Future of Customer Experience in Commercial Aviation
The Future of Customer Experience in Commercial Aviation The Future of Customer Experience in Commercial Aviation
The Future of Customer Experience in Commercial Aviation
 
Machine Readable Travel Documents (MRTD) - Biometric Passport
Machine Readable Travel Documents (MRTD) - Biometric PassportMachine Readable Travel Documents (MRTD) - Biometric Passport
Machine Readable Travel Documents (MRTD) - Biometric Passport
 
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQLServing the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
Serving the Real-Time Data Needs of an Airport with Kafka Streams and KSQL
 
Using biometric technology to facilitate airport security - November 2015
Using biometric technology to facilitate airport security - November 2015Using biometric technology to facilitate airport security - November 2015
Using biometric technology to facilitate airport security - November 2015
 
Portal apps (slt)
Portal apps (slt)Portal apps (slt)
Portal apps (slt)
 
PATANG - GLOBAL VISIBILITY PLATFORM
PATANG - GLOBAL VISIBILITY PLATFORMPATANG - GLOBAL VISIBILITY PLATFORM
PATANG - GLOBAL VISIBILITY PLATFORM
 
Using a modern data stack to explore and visualize the impact of a global pan...
Using a modern data stack to explore and visualize the impact of a global pan...Using a modern data stack to explore and visualize the impact of a global pan...
Using a modern data stack to explore and visualize the impact of a global pan...
 

Recently uploaded

Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
Sunil Jagani
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Ukraine
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
HarpalGohil4
 

Recently uploaded (20)

Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
 

How to get good seats in the security theater

  • 1. How to get good seats in the security theater? Hacking boarding passes for fun and profit Przemek Jaroszewski przemj+defcon24@gmail.com
  • 2. $ whoami • head of the Polish national CSIRT (CERT Polska) • 10+ years of education in programming • Master’s degree in social psychology • 15 years of experience in IT security • aviation enthusiast, unrealized air traffic controller
  • 3. Disclaimer • Research and opinions are my own, not my employer’s • Some of the stuff is grey area, and some is plain illegal
  • 4. Up in the Air • FF miles are nice, but status in nicer
  • 5. Except when improvements don’t work…
  • 6. IATA Resolution 792 (2005) • Paper • PDF417 • Mobile • QR Code • Aztec • DataMatrix Bar-Coded Boarding Pass
  • 7.
  • 8. M1JAROSZEWSKI/PRZEMYSLE56XXXX WAWCPHSK 2762 666M009C0007 666>10B0 K6161BSK 2511799999153830 SK A3 199999999 *3000500A3G
  • 9.
  • 10. M1JAROSZEWSKI/PRZEMYSLE56XXXX WAWCPHSK 2762 666M009C0007 666>10B0 K6161BSK 2511799999153830 SK A3 199999999 *3000500A3G
  • 11. M1JAROSZEWSKI/PRZEMYSLE56XXXX WAWCPHSK 2762 666C009C0007 666>10B0 K6161BSK 2511799999153830 SK A3 199999999 *3000500A3G
  • 12. Where did we get? • Free Fast Track for all travellers
  • 13. M1COLUMBUS/CHRISTOPHERE56XXXX WAWCPHSK 2762 666M009C0007 666>10B0 K6161BSK 2511799999153830 SK A3 199999999 *3000500A3G
  • 14. M1COLUMBUS/CHRISTOPHERE56YYYY WAWCPHSK 2762 666M009C0007 666>10B0 K6161BSK 2511799999153830 SK A3 199999999 *3000500A3G
  • 15. Where did we get? • Free Fast Track for all travelers => Sterile area access for all
  • 16. Wait, this is not news! • Bruce Schneier (2003): Flying On Someone Else’s Airplaine Ticket • shows how to work around no fly lists with print-at-home BPs • Andy Bowers (2005): Dangerous Loophole in Airport Security • Bruce Schneier (2006): The Boarding Pass Brouhaha • Christopher Soghoian (2007): Insecure Flight: Broken Boarding Passes and Ineffective Terrorist Watch Lists • Jeffrey Goldberg (2008): The Things He Carried • Charles C. Mann (2011): Smoke Screening • John Butler (2012): Security Flaws in the TSA Pre-Check System and the Boarding Pass Check System
  • 17. No Fly List Bypass (in 2003) • Buy tickets under false name • Print your boarding pass at home • Create a copy of the boarding pass with your real name • Present the fake boarding pass and the real ID to TSA officers • Present the real boarding pass to gate agents • Fly
  • 18.
  • 19. No Fly List Bypass (in 2016 Europe) • Buy tickets under false name • Print your boarding pass at home • Fly Impacting factors: • Particular airline’s business consciousness • Temporary security checks
  • 21. Source: IATA • NO integrity checks • NO authentication
  • 23. So… Where is passenger data stored? • Computer Reservation Systems (CRS) allow for storage and processing of Passenger Name Records (PNR) containing: • personal data (names, contact details) • reservations (airlines, hotels, cars, …) • issued tickets • special requests • loyalty programs data • Dozens of CRSs exist • GDS (eg. Sabre, Amadeus, Galileo, Worldspan, …) • proprietary ones • One reservation may result with multiple PNRs in different CRSs • Data access is limited not only across CRSs, but across different parties
  • 24. Notice of advice • BCBP often contains more information than the printed version • PNR locator (aka: reservation/confirmation number, booking reference) • Ticket number • Full frequent flyer number • This information can be used to retrieve most and modify some data in your PNR, including ticket cancellation! • Sometimes with additional knowledge like e-mail address • Don’t post or share non-anonymized boarding passes!
  • 25.
  • 26. … and then on to other systems • Departure Control System (DCS) – check-in info • Advance Passenger Information (API) – to border agencies • PNRGOV – to government agencies • Secure Flight
  • 27.
  • 28. Paper is just a bit less fun… • MS Word is a great PDF-editing tool  • Most likely barcode will be scanned anyway, so it needs to reflect the printed information
  • 29. Lounge access • Contract lounges • no way to verify eligibility • may require an invitation issued from the airline at check-in • Airline-operated lounges • may have access to passenger records … • … but only for own passengers! • automatic gates increasingly popular (eg. SAS lounges in CPH, OSL; Turkish lounge in IST)
  • 30.
  • 31.
  • 32. Duty Free Goods • In many countries goods are sold directly to the passenger (liquors sealed in a plastic bag) • Eligibility is determined based on destination (eg. EU/Non-EU)
  • 33. Where did we get? • Airport access (meet&greet, sightseeing, …) • Fast Track • Free lunch and booze • Duty free shopping
  • 35. Digital Signature • In 2009 IATA extended BCBP standard (ver. 3) with support for digital signatures based on PKI • Yet many airlines still use BCBP v.1 • The field is "optional and to be used only when required by the local security administration" • The field has variable length, with specific algorithm etc. determined by the authority • Private keys owned by airlines, public keys distributed to third parties • TSA enforced for US carriers (well, almost)
  • 36. BCBP XML • In 2008 IATA proposed Passenger and Airport Data Interchange Standards (PADIS) XML to be used for exchange of BCBP data between airlines and third parties, such as lounges or security checkpoints • The terminal would send a message consisting of a header and full BCBP content • The airline would reply with a Yes/No, along with a reason and optional free text
  • 38. Secure Flight • Program implemented by TSA in 2009 takeover watchlists monitoring from airlines • Pre-Check and Secondary Screening introduced in 2011 • Selectee indicator in BCBP field 18; 0=normal; 1=SSSS; 3=LLLL • In 2013 TSA started networking CAT/BPSS devices to pull passenger data from Secure Flight, including: • Passenger’s full name • Gender • Date of birth • Screening status • Reservation number • Flight itinerary (in order to determine which airports receive data)
  • 39. Why is awesome? • Just when I thought I got my slides ready… I get this message from @supersat I noticed you are giving a talk on boarding passes at DEF CON. I managed to acquire [this] off of eBay, and was wondering if you'd like to play around with it at DEF CON or use it for a demo at your talk.
  • 40.
  • 41.
  • 42. Where did we get? • Airport access (meet&greet, sightseeing, …) • Fast Track • Free lunch and booze • Duty free shopping • Pre-check??
  • 43. Is it a vulnerability? • LOT Polish Airlines: - Please contact Warsaw Airport about this issue as they’re responsible for boarding pass scanning systems. • Warsaw Airport: - It’s a known issue, but not a problem. We’re compliant with all CAA guidelines. • Civil Aviation Authority for Poland: - Boarding pass forgery is a crime since they are documents. • Me: - Can you have a legally binding document without any form of authentication? • Civil Aviation Authority for Poland: - Oh, go f*** yourself!
  • 44. Is it a vulnerability? • Turkish Airlines: - Please be inform that, we have already shared your contact details with our related unit, to get in touch with you as soon as possible. • SAS: - We appreciate that you have taken the time to send us your feedback, as this is crucial for us to improve our services. • TSA: awkward silence
  • 46. But you can have a nice souvenir  + =
  • 47. Wrap up • Privacy and complexity of reservation systems prevent effective data exchange between airlines and BP scanning checkpoints • Several countermeasures have been introduced by IATA, but they’re expensive and complicated to implement • While US did a reasonably good job, other places have actually lowered the bar • Because of privacy restrictions access to PNR will likely by limited to governments making cross-dependencies between private entities inherently broken
  • 48. Sources/Further reading • IATA: BCBP Implementation Guide http://www.iata.org/whatwedo/stb/bcbp/Documents/BCBP-Implementation-Guide.pdf • IATA: Bar-Coded Boarding Passes FAQ https://www.iata.org/whatwedo/stb/bcbp/Documents/bcbp-faqs.pdf • IATA: Passenger and Airport Data Interchange Standards (PADIS) Board http://www.iata.org/whatwedo/workgroups/Pages/padis.aspx • TSA: Privacy Impact Assessment for the Boarding Pass Scanning System https://www.dhs.gov/xlibrary/assets/privacy/privacy_pia_tsa_bpss.pdf • TSA: Secure Flight http://www.dhs.gov/xlibrary/assets/privacy/privacy_pia_tsa_secureflight_update018(e).pdf https://www.tsa.gov/news/testimony/2014/09/18/tsa-secure-flight-program • BCBP Working Group: Business Requirements: BCBP Data Exchange http://www.aci.aero/media/aci/file/aci_priorities/it/doc0803_brd_bcbp_xmlfinal.pdf • Bruce Schneier: Flying On Someone Else’s Airplane Ticket https://www.schneier.com/crypto-gram/archives/2003/0815.html#6 • Bruce Schneier: The Boarding Pass Brouhaha https://www.schneier.com/essays/archives/2006/11/the_boarding_pass_br.html • Andy Bowers: A Dangerous Loophole in Airport Security http://www.slate.com/articles/news_and_politics/hey_wait_a_minute/2005/02/a_dangerous_loophole_in_airport_security.html • Christopher Sokhoian: Insecure Flight: Broken Boarding Passes and Ineffective Terrorist Watch Lists http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1001675 • Jeffrey Goldberg: The Things He Carried (The Atlantic) http://www.theatlantic.com/magazine/archive/2008/11/the-things-he-carried/307057/ • Charles C. Mann: Smoke Screening (Vanity Fair) http://www.vanityfair.com/culture/2011/12/tsa-insanity-201112 • Brian Krebs: What’s in the Boarding Pass? A lot http://krebsonsecurity.com/2015/10/whats-in-a-boarding-pass-barcode-a-lot/ • John Butler: Security Flaws in the TSA Pre-Check System and the Boarding Pass Check System https://puckinflight.wordpress.com/2012/10/19/security-flaws-in-the-tsa-pre-check-system-and-the-boarding-pass-check-system/