15/01/2015 NFC Lab Michel Simatic. NFC Labpage 1 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) /

Slides:



Advertisements
Similar presentations
1 RFID and Telecommunication Services 25th May 2004 DATA BASE forum RFID and Your Phone Sebastian Nyström Nokia Ventures Organization.
Advertisements

Voice and Data Encryption over mobile networks July 2012 IN-NOVA TECNOLOGIC IN-ARG SA MESH VOIP.
Mobile Devices in the DoD
Mobile RFID Service and Its Security in Korea 17 Nov Keon Woo Kim.
NFC Forum Type 2 Tag Platform Operations with the TRF7970A
Secure Socket Layer.
Cosc 4/5730 Android and Blackberry Near Field Communications (NFC)
Project 1 Introduction to HTML.
Layer 7- Application Layer
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview.
E*Tag ® RFID System e*Tag ® Host Preview. What is e*Tag ® Host? A graphic user interface designed to demonstrate the commands and responses available.
1st Project Introduction to HTML.
7-Aug-15 Serialization and XML Pat Palmer What is serialization? “The process of converting an object (or a graph of objects) into a linear sequence.
Using TRF7970A USB EVM with GUI for NFC Demonstration Operations
The Internet & The World Wide Web Notes
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
NFC.  Near Filed Communication  Is a short range high frequency wireless communication technology  Low speed (106 to 424 kbps)  Low friction setup.
Presented by: Arpit Jain Guided by: Prof. D.B. Phatak.
Developing RFID Application In Supply Chain
IT 210 The Internet & World Wide Web introduction.
Chapter 1 Introduction to HTML, XHTML, and CSS
Radio Frequency Identification By Bhagyesh Lodha Vinit Mahedia Vishnu Saran Mitesh Bhawsar.
Cosc 4/5730 Android and Blackberry Near Field Communications (NFC)
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Four Configuring Outlook and Outlook Web Access.
Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.
Lesson 2 — The Internet and the World Wide Web
CINEMA’s UbiComp Subsystem Stefan Berger and Henning Schulzrinne Department of Computer Science Columbia University
NEAR FIELD COMMUNICATION. WHAT IS NFC??? NFC or Near Field Communication is a short range high frequency wireless communication technology. A radio communication.
World Wide Web Hypertext model Use of hypertext in World Wide Web (WWW) WWW client-server model Use of TCP/IP protocols in WWW.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Cosc 4765 SSL/TLS and VPN. SSL and TLS We can apply this generally, but also from a prospective of web services. Multi-layered: –S-http (secure http),
Web Security : Secure Socket Layer Secure Electronic Transaction.
CS1Q Computer Systems Lecture 17 Simon Gay. Lecture 17CS1Q Computer Systems - Simon Gay2 The Layered Model of Networks It is useful to think of networks.
Near Field Communication Systems Patras, July 2006.
Submitted By: A.Anjaneyulu INTRODUCTION Near Field Communication (NFC) is based on a short-range wireless connectivity, designed for.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
TCP/IP (Transmission Control Protocol / Internet Protocol)
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Lecture 18 Windows – NT File System (NTFS)
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NFC Forum Type 2 Tag Platform Operations with the TRF7970A TI NFC/RFID Applications Team.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Network and Internet Security Prepared by Dr. Lamiaa Elshenawy
Copyright 2007 John Wiley & Sons, Inc. Information Systems: Creating Business Value John Wiley & Sons, Inc. Mark Huber, Craig Piercy, and Patrick McKeown.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
1 Chapter 7 WEB Security. 2 Outline Web Security Considerations Secure Socket Layer (SSL) and Transport Layer Security (TLS) Secure Electronic Transaction.
TRF79xx/MSP430/Stellaris Mifare Direct Mode 0 Training Texas Instruments NFC/RFID Apps Team 12/2011 (updated 12/2012) (added slides 13, 21-24)
11/18/2003 Smart Card Authentication Mechanism Tim W. Baldridge, CISSP Marshall Space Flight Center Office of the Chief Information Officer.
Umm… What does this anagram mean ???. N EAR F IELD C OMMUNICATION (NFC)
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Lecture 6 (Chapter 16,17,18) Network and Internet Security Prepared by Dr. Lamiaa M. Elshenawy 1.
Accelerometer based motion gestures for mobile devices Presented by – Neel Parikh Advisor Committee members Dr. Chris Pollett Dr. Robert Chun Dr. Mark.
COMPARISON I CODE SLI versus I CODE1. 2 Semiconductors Content  Overview, Block Diagram and System Configuration  Memory Organisation (Write Access.
/13 LLCPS draft-urien-tls-llcp-01.txt Pascal Urien IETF 86, Orlando, FL, USA March 15th
ABSTRACT Near Field Communication (NFC) is based on a short- range wireless connectivity, designed for intuitive, simple and safe interaction between.
PRESENTATION ON SECURE SOCKET LAYER (SSL) BY: ARZOO THAKUR M.E. C.S.E (REGULAR) BATCH
BUILDING AND IMPLEMENT A EMBEDDED WEB SERVER BASE ON TCP/IP STACK WITH A SoC PLATFORM Professor : CHI-JO WANG Name : Bui Quang Hoa (M982b211)
Computer and Internet Basics
Thomas Ulz, Thomas Pieber, Christian Steger1
NFC Forum Type 2 Tag Platform Operations with the TRF7970A
NFC Forum Type 2 Tag Platform Operations with the TRF7970A
Network Types & Speed Learning Objectives:
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Near field communication (NFC)
Presentation transcript:

15/01/2015 NFC Lab Michel Simatic

NFC Labpage 1 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Mir:ror Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 2 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Karotz Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 3 15/01/2015 RFID versus NFC [Auto-ID labs, 2008] Overview of standards

NFC Labpage 4 15/01/2015 RFID versus NFC [Auto-ID labs, 2008] Benefits of EPC technology and NFC technology

Zoom on NFC : The NFC protocol stack [NFC, 2014] NFC Labpage 5 15/01/2015

5 NFC tag types [NFC, 2014] There are four types of tags defined by the NFC forum. There’s a fifth that’s compatible, but not strictly part of the NFC specification. Type 1 Based on ISO-14443A specification. Can be read-only, or read/write capable. 96 bytes to 2 kilobytes of memory. Communication speed 106Kb. No data collision protection. Examples: Innovision Topaz, Broadcom BCM NFC Labpage 6 15/01/2015

5 NFC tag types [NFC, 2014] Type 2 Similar to type 1 tags, type 2 tags are based on NXP/Philips Mifare Ultralight tag (ISO-14443A) specification. Can be read-only, or read/write capable. 96 bytes to 2 kilobytes of memory. Communication speed 106Kb. Anti-collision support. Example: NXP Mifare Ultralight. NFC Labpage 7 15/01/2015

5 NFC tag types [NFC, 2014] Type 3 These are based on the Sony FeliCa tags (ISO and JIS-X ), without the encryption and authentication support that FeliCa affords. Configured by factory to be read-only, or read/write capable. Variable memory, up to 1MB per exchange. Two communication speeds, 212 or 424Kbps. Anti-collision support. Example: Sony FeliCa. NFC Labpage 8 15/01/2015

5 NFC tag types [NFC, 2014] Type 4 Similar to type 1 tags, type 4 tags are based on NXP DESFire tag (ISO-14443A) specification. Configured by factory to be read-only, or read/write capable. 2, 4, or 8KB of memory. Variable memory, up to 32KB per exchange. Three communication speeds: 106, 212, or 424Kbps. Anti-collision support. Example: NXP DESFire, SmartMX-JCOP. NFC Labpage 9 15/01/2015

5 NFC tag types [NFC, 2014] Mifare Classic tag (ISO–14443A), proprietary to NXP Semiconductors  Not readable by readers not equipped with NXP chip, i.e. most of Android hardware (broadband-based) Memory options: 192, 768, or 3,584 bytes. Communication speed 106Kbps Anti-collision support. Examples: NXP Mifare Classic 1K, Mifare Classic 4K, Mifare Classic Mini. NFC Labpage 10 15/01/2015

NFC Labpage 11 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Karotz Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 12 15/01/2015 Touchatag (Tikitag) / Karotz Generalities Link real objects to actions in virtual world [Touchatag, 2010] (Same functionalities as the Karotz [Karotz, 2012]) Principles 1.The tag contains a unique identifier. 2.The end user touches a tag to his or her reader. The reader reads the unique identifier. Then the Touchatag application calls on the ACS to correlate a tag action. 3.The ACS determines that the tag is associated to a Web Link Application, and sends back the URL to the end user's system. 4.The Touchatag application triggers the opening of the URL sent by the ACS, by a local browser. Works also with An RFID-enabled mobile phone A device able to read QR-Code

NFC Labpage 13 15/01/2015 Touchatag (Tikitag) / Karotz Analysis Programming model is very limited Open questions How to configure rapidly a list of tags? How to take into account parameters present on tag, on reader? Business model? (

NFC Labpage 14 15/01/2015 Smart posters Generalities The Smart Poster is one of the key use cases for NFC technology [Smart Poster, 2006] The idea is that an object can be made “smart”, i.e., it is capable of storing additional information about itself in the form of an NFC Forum Tag. By touching an NFC Forum Device to the tag, this information can be read and displayed to the user The Smart Poster can also contain actions that will trigger an application in the device; for example, launching a browser to view a web site, or sending an SMS to a premium service to receive a ring tone. The Smart Poster concept is built around URIs (Uniform Resource Identifiers [RFC 3986])

NFC Labpage 15 15/01/2015 Smart posters Analysis Some interesting applications (e.g. paintings discovery) [Haberman et al., 2009], but somehow limited Competition with camera-based applications QR-codes SmartPaper technology ( DirectFlash (Journal Direct Matin, U-snap (J-C Decaux,

NFC Labpage 16 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Karotz Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 17 15/01/2015 HW/SW requirement to have low level interactions A tag reader The tag reader driver A library to interface with the driver: Libusb Personal computer/Smart Card (or PC/SC) software library

NFC Labpage 18 15/01/2015 Tag example: Mifare [Mifare, 2008] 13,56 MHz 106 kbit/s Typical transaction in less than 100 milliseconds Data retention: 10 years Write endurance: cycles Anticollision loop

NFC Labpage 19 15/01/2015 Tag example: Mifare Structure of a 1 kB tag General structure Block 0 (sector 0) contains manufacturer data NB: Net storage capacity = 1024–16–16*16 = 752 bytes

NFC Labpage 20 15/01/2015 Tag example: Mifare Available operations Read block Write block Decrement: Decrements the contents of a block and stores the result in a temporary internal data-register Increment: Increments the contents of a block and stores the result in the data-register Restore: Moves the contents of a block into the data- register Transfer: Writes the contents of the temporary internal data-register to a value block

NFC Labpage 21 15/01/2015 Tag example: Mifare Security Three pass authentication sequence 1.The reader specifies the sector to be accessed and chooses key A or B. 2.The card reads the secret key and the access conditions from the sector trailer. Then the card sends a random number as the challenge to the reader (pass one). 3.The reader calculates the response using the secret key and additional input. The response, together with a random challenge from the reader, is then transmitted to the card (pass two). 4.The card verifies the response of the reader by comparing it with its own challenge and then it calculates the response to the challenge and transmits it (pass three). 5.The reader verifies the response of the card by comparing it to its own challenge. After transmission of the first random challenge the communication between card and reader is encrypted. Bad news: Security algorithms have been broken Hack demo: Original presentation from Karsten Nohl et Henryk Plötz (with original pdf) : hacker-karsten-nohlhttp:// hacker-karsten-nohl NXP reaction: (see the FAQ of this Web page) MFOC :

NFC Labpage 22 15/01/2015 Interface between Card reader and Mifare tag [ACS NFC reader, 2008] Send/receive APDUs to/from the reader Example = Read Binary Blocks  Use libraries like a public platform independent Near Field Communication (NFC) libraryhttp://

Desfire Memory organization = flexible system file Up to 28 applications simultaneously Up to 16 files in each application [To be continued, once pres is mastered] pres NFC Labpage 23 15/01/2015

NFC Labpage 24 15/01/2015 Data structure in a tag Unique identifier of a tag Notion of UID -4 bytes on Mifare 1K or 4K -6 bytes on Mifare Ultralight Electronic Product Code (EPC) [EPC tag standard, 2008] -General Identifier (GID-96) -But there are others NFC Data Exchange Format (NDEF) [NDEF, 2006] defines a message encapsulation format to exchange information NDEF is a lightweight, binary message format that can be used to encapsulate one or more application-defined payloads of arbitrary type and size into a single message construct. Each payload (stored in an NDEFRecord) is described by a type, a length, and an optional identifier. Type identifiers may be URIs, MIME media types…

NFC Labpage 25 15/01/2015 NFC Peer-to-Peer communications [To be continued]

NFC Labpage 26 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Karotz Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 27 15/01/2015 JSR 257: Contactless Communication API Listeners When a tag is detected When a NDEFRecord (containing a given type) is detected Each NDEFRecord has a payload stored as a ByteArray This ByteArray is produced by using a ByteArrayOutputStream To produce this ByteArray in a more user-friendly manner, one can use Struct class of Javolution middleware (

Android and NFC [To be continued, once ivity/nfc/nfc.html is mastered] ivity/nfc/nfc.html NFC Labpage 28 15/01/2015

NFC Labpage 29 15/01/2015 Table of contents RFID versus NFC High level interactions with tags Touchatag (Tikitag) / Karotz Smart posters Low level interactions with tags Card readers Tags Medium level interactions with tags JSR 257: Contactless Communication API Android and NFC Conclusion and future work

NFC Labpage 30 15/01/2015 Other possibilities to explore More info on Desfire More info on Android Host Card Emulation Take a look at RFIDIOt ( an open source python library for exploring RFID devices, but not stable according to [OpenSilicium, 2014] OW2 Aspire RFID ( an RFID suite for SMEs + courses about RFIDhttp://wiki.aspire.ow2.org

NFC Labpage 31 15/01/2015 Thank you for your attention Questions ?

NFC Labpage 32 15/01/2015 References [ACS NFC reader, 2008] Application Programming Interface - ACR122U NFC Reader, Advanced Card Systems Ltd., 2008 [Auto-ID labs, 2008] Connecting Mobile Phones to The Internet Of Things, A discussion of compatibility issues between EPC technology and NFC technology, Thomas J. P. Wiechert, Frédéric Thiesse, Florian Michahelles, Patrick Schmitt, and Elgar Fleisch (Auto-ID Lab Switzerland), Technical report, 2008 [EPC Tag Standard, 2008] EPCglobal Tag Data Standards Version 1.4, EPCGlobal, 2008 [Haberman et al., 2009] Haberman, O., Pellerin, R., Gressier-Soudan, E. et Haberman, U. (2009). RFID painting demonstration. In Natkin, S. et Dupire, J., éditeurs : Entertainment Computing - ICEC 2009, volume 5709 de Lecture Notes in Computer Science, pages 286?287. Springer Berlin / Heidelberg. [Karotz, 2012] Karotz: Your smart rabbit http:// [Mifare, 2008] Mifare Standard card IC MF1 IC S50 - Functional specification – Product data sheet Rev. 5.3, NXP, 2008 ( [NDEF, 2006] NFC Data Exchange Format (NDEF) -Technical Specification, NFC Forum, 2006 [NFC, 2014] Beginning NFC – Near field communication with Arduino, Android & PhoneGap, Tom Igoe, Don Coleman and Brian Jepson, O’Reilly, January 2014 [OpenSilicium, 2014] Dossier “Prenez en main les technologies RFID/NFC”, OpenSilicium n° 12, Denis Bodor et al., sept./oct./Nov [Smart Poster, 2006] Smart Poster Record Type Definition, Technical specification SPR 1.1, NFC Forum, 2006 [Touchatag, 2010] Advanced HTTP | Touchatag, Touchatag,