SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
@Majin_Boo HZV Meet, Jan. 2013 – First Meet after Apocalypse
WE ARE CURRENTLY HERE
1 of 19
RFID / NFC(Avec des vrais morceaux d’open hardware dedans)
https://hackerzvoice.net
Small INTRO
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 2 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- RFID, NFC !?
- Matériel & Toolkits
- OpenPCD
- EMV NFC
RFID ?!
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 3 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Technologie communication sans-contact
- Tags passifs (sauf UHF)
- LF 125khz : Q5, Hitag2 (Renault Laguna)
- HF 13.56mhz : Mifare, Passeport, Navigo, NFC
- UHF : peu utilisé
LF RFID
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 4 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Encore très utilisé comme badge d’accès
- Souvent peu sécurisé
- Clonage via tags Q5
HF RFID
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Couche transport : ISO/IEC 14443
- SmartCards avec différents niveaux de
spécifications :
- EMV => ISO/IEC 7816 (idem puces physiques)
- Navigo => Calypso (Bon niveau crypto)
- …
5 of 19
NFC RFID
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 6 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Extension de ISO/IEC 14443 (rétrocompatible)
- Echange de données au format NDEF
- NFC-SEC pour le chiffrement (utilisé ?!)
Matériel LFQuick ‘n’ Dirty sniffer
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 7 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Carte son avec port MIC
- Un peu de cuivre
(antenne)
- 4 diodes, 2
condensateurs, 1
résistance
http://www.openpcd.org/File:LF-Sniffer-Napkin-Schematics.png
Matériel LFArduino FTW
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 8 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Arduino ou TI
LaunchPad
- Un peu de cuivre
(antenne)
- Sensor board ( ~ 10€)
http://www.instructables.com/id/Arduino-and-RFID-from-seeedstudio/
Matériel HFOpenPCD
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 9 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- CPU ARM intégré
- PN532 RFID HF chipset
- Design hardware et
firmware open-source
- Environ 50€ http://www.openpcd.org/
Matériel HFOpenPCD
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 10 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Firmware libnfc :
- USB TTY pour accès direct au PN532
- Compatible à 99.9% avec libnfc (Patch)
- Devrait pouvoir marcher avec RFIDIOT
- Firmware standalone :
- Dump automatique des cartes à portée
- Pas d’obstacle à l’émulation d’un tag (mais aucun code
disponible sur le repo officiel)
EMV NFCPour tout le reste, il y a mastercard
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 11 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- SmartCard NFC :
- ISO 14443 1 à 4 : couches transport
standardisées du RFID HF
- ISO 7816-4 : même méthodes d’accès
aux blocs de la carte qu’en mode
contact
- Encodage des données en BER TLV
EMV NFC
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 12 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Normes ISO « publiques »
- http://www.wrankl.de/SCTable
s/SCTables.html
- “Hacking the NFC credit cards
for fun and debit ;)“ Renaud
Lifchitz
- Intéressante présentation
- Nécessite bonne compréhension
ISO 7816
- PoC ReadNFCCC peu utilisable en
pratique
EMV (LIB)NFC
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 13 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- outils intéressants :
- nfc-list, lsnfc
- nfc-relay
- pn53x-tamashell
- http://www.emvlab.org/tlvutils/
- Ticket de caisse
EMV (LIB)NFC
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 14 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
- Wake up de la carte :
4a 01 00
- Choix de l’application :
40 01 00 a4 04 00 07 a0 00 00 0
0 42 10 10 00
- Lecture du bloc 01 :
40 01 00 b2 01 0c 00 00
EMV (LIB)NFC
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 15 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
root@tobago:~# pn53x-tamashell
NFC reader: pn532_uart:/dev/ttyACM0 opened
> 4a 01 00
4a 01 00
Tx: 4a 01 00
Rx: 01 01 00 04 20 04 c8 ca 3c 70 0a 78 80 82 02 20 63 cb a3 20
EMV (LIB)NFC
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 16 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
> 40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00
40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00
Tx: 40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00
Rx: 00 6f 5a 84 07 a0 00 00 00 42 10 10 a5 4f 50 02 43 42 87 01 01
5f 2d 04 66 72 65 6e 9f 11 01 01 9f 12 0e 54 72 61 6e 73 61 63 74
69 6f 6e 20 43 42 9f 38 18 9f 66 04 9f 02 06 9f 03 06 9f 1a 02 95
05 5f 2a 02 9a 03 9c 01 9f 37 04 bf 0c 0e df 60 02 0b 14 9f 4d 02
0b 14 df 61 01 03 90 00
EMV YUMMY
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 17 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
EMV DAFUQ?!
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 18 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
> 40 01 00 b2 01 0c 00 00
40 01 00 b2 01 0c 00 00
Tx: 40 01 00 b2 01 0c 00 00
Rx: 00 70 3b 57 13 49 79 ....
QUESTIONS ?!
HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 19 of 19
WE ARE CURRENTLY HERE
https://hackerzvoice.net
Sponsored by http://www.sexygeeks.net

Contenu connexe

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

HZV 2013.1 RFID/NFC 'n' OpenHardware

  • 1. @Majin_Boo HZV Meet, Jan. 2013 – First Meet after Apocalypse WE ARE CURRENTLY HERE 1 of 19 RFID / NFC(Avec des vrais morceaux d’open hardware dedans) https://hackerzvoice.net
  • 2. Small INTRO HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 2 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - RFID, NFC !? - Matériel & Toolkits - OpenPCD - EMV NFC
  • 3. RFID ?! HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 3 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Technologie communication sans-contact - Tags passifs (sauf UHF) - LF 125khz : Q5, Hitag2 (Renault Laguna) - HF 13.56mhz : Mifare, Passeport, Navigo, NFC - UHF : peu utilisé
  • 4. LF RFID HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 4 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Encore très utilisé comme badge d’accès - Souvent peu sécurisé - Clonage via tags Q5
  • 5. HF RFID HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo WE ARE CURRENTLY HERE https://hackerzvoice.net - Couche transport : ISO/IEC 14443 - SmartCards avec différents niveaux de spécifications : - EMV => ISO/IEC 7816 (idem puces physiques) - Navigo => Calypso (Bon niveau crypto) - … 5 of 19
  • 6. NFC RFID HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 6 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Extension de ISO/IEC 14443 (rétrocompatible) - Echange de données au format NDEF - NFC-SEC pour le chiffrement (utilisé ?!)
  • 7. Matériel LFQuick ‘n’ Dirty sniffer HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 7 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Carte son avec port MIC - Un peu de cuivre (antenne) - 4 diodes, 2 condensateurs, 1 résistance http://www.openpcd.org/File:LF-Sniffer-Napkin-Schematics.png
  • 8. Matériel LFArduino FTW HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 8 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Arduino ou TI LaunchPad - Un peu de cuivre (antenne) - Sensor board ( ~ 10€) http://www.instructables.com/id/Arduino-and-RFID-from-seeedstudio/
  • 9. Matériel HFOpenPCD HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 9 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - CPU ARM intégré - PN532 RFID HF chipset - Design hardware et firmware open-source - Environ 50€ http://www.openpcd.org/
  • 10. Matériel HFOpenPCD HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 10 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Firmware libnfc : - USB TTY pour accès direct au PN532 - Compatible à 99.9% avec libnfc (Patch) - Devrait pouvoir marcher avec RFIDIOT - Firmware standalone : - Dump automatique des cartes à portée - Pas d’obstacle à l’émulation d’un tag (mais aucun code disponible sur le repo officiel)
  • 11. EMV NFCPour tout le reste, il y a mastercard HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 11 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - SmartCard NFC : - ISO 14443 1 à 4 : couches transport standardisées du RFID HF - ISO 7816-4 : même méthodes d’accès aux blocs de la carte qu’en mode contact - Encodage des données en BER TLV
  • 12. EMV NFC HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 12 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Normes ISO « publiques » - http://www.wrankl.de/SCTable s/SCTables.html - “Hacking the NFC credit cards for fun and debit ;)“ Renaud Lifchitz - Intéressante présentation - Nécessite bonne compréhension ISO 7816 - PoC ReadNFCCC peu utilisable en pratique
  • 13. EMV (LIB)NFC HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 13 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - outils intéressants : - nfc-list, lsnfc - nfc-relay - pn53x-tamashell - http://www.emvlab.org/tlvutils/ - Ticket de caisse
  • 14. EMV (LIB)NFC HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 14 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net - Wake up de la carte : 4a 01 00 - Choix de l’application : 40 01 00 a4 04 00 07 a0 00 00 0 0 42 10 10 00 - Lecture du bloc 01 : 40 01 00 b2 01 0c 00 00
  • 15. EMV (LIB)NFC HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 15 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net root@tobago:~# pn53x-tamashell NFC reader: pn532_uart:/dev/ttyACM0 opened > 4a 01 00 4a 01 00 Tx: 4a 01 00 Rx: 01 01 00 04 20 04 c8 ca 3c 70 0a 78 80 82 02 20 63 cb a3 20
  • 16. EMV (LIB)NFC HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 16 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net > 40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00 40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00 Tx: 40 01 00 a4 04 00 07 a0 00 00 00 42 10 10 00 Rx: 00 6f 5a 84 07 a0 00 00 00 42 10 10 a5 4f 50 02 43 42 87 01 01 5f 2d 04 66 72 65 6e 9f 11 01 01 9f 12 0e 54 72 61 6e 73 61 63 74 69 6f 6e 20 43 42 9f 38 18 9f 66 04 9f 02 06 9f 03 06 9f 1a 02 95 05 5f 2a 02 9a 03 9c 01 9f 37 04 bf 0c 0e df 60 02 0b 14 9f 4d 02 0b 14 df 61 01 03 90 00
  • 17. EMV YUMMY HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 17 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net
  • 18. EMV DAFUQ?! HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 18 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net > 40 01 00 b2 01 0c 00 00 40 01 00 b2 01 0c 00 00 Tx: 40 01 00 b2 01 0c 00 00 Rx: 00 70 3b 57 13 49 79 ....
  • 19. QUESTIONS ?! HZV Meet, Jan. 2013 – First Meet after Apocalypse@Majin_Boo 19 of 19 WE ARE CURRENTLY HERE https://hackerzvoice.net Sponsored by http://www.sexygeeks.net