Mobile NFC 101. Presenter: Nick von Dadelszen Date: 31st August 2012 Company: Lateral Security (IT) Services Limited



Similar documents
OWASP NZ Day 2011 Testing Mobile Applications

An NFC Ticketing System with a new approach of an Inverse Reader Mode

An NFC Ticketing System with a new approach of an Inverse Reader Mode

Remote 2014 Monitoring & Control. Securing Mobile Devices November 7 th 2014

NFC Hacking: The Easy Way

Contactless Payments with Mobile Wallets. Overview and Technology

NFC Hacking: The Easy Way

Applying the NFC Secure Element in Mobile Identity Apps. RANDY VANDERHOOF Executive Director Smart Card Alliance

Mobile Operating Systems & Security

DEVELOPING NFC APPS for BLACKBERRY

Dirty use of USSD codes in cellular networks

Norton Mobile Privacy Notice

PREVENTING ZERO-DAY ATTACKS IN MOBILE DEVICES

NFC. Technical Overview. Release r05

Whitepaper on identity solutions for mobile devices

Using an NFC-equipped mobile phone as a token in physical access control

Technical Article. NFiC: a new, economical way to make a device NFC-compliant. Prashant Dekate

How will Security Testing help to reduce risks and build customer confidence in mobile payments

BUSINESS PROTECTION. PERSONAL PRIVACY. ONE DEVICE.

Mobile Payments Applications and Challenges Jose Diaz Director, Business Development & Technical Alliances Thales e-security

Software Card Emulation in NFC-enabled Mobile Phones: Great Advantage or Security Nightmare?

Your Mobile Phone as a Ticket (NFC)

Inside the Mobile Wallet: What It Means for Merchants and Card Issuers

NFC: Enabler for Innovative Mobility and Payment NFC: MOBILIDADE E MEIOS DE PAGAMENTO

Loyalty Systems over Near Field Communication (NFC)

Enterprise Mobility Report 08/2015. Creation date: Vlastimil Turzík

Mobile Cloud Computing

Getting Familiar With Android

Mobile Payment: The next step of secure payment VDI / VDE-Colloquium. Hans-Jörg Frey Senior Product Manager May 16th, 2013

Vulnerability Analysis and Attacks on NFC enabled Mobile Phones

Threat Modeling for offline NFC Payments

Hacking the NFC credit cards for fun and debit ;) Renaud Lifchitz BT Hackito Ergo Sum 2012 April 12,13,14 Paris, France

Securing the future of mobile services. SIMalliance Open Mobile API. An Introduction v2.0. Security, Identity, Mobility

Help us make this document better smarttech.com/docfeedback/ Security information

Significance of Tokenization in Promoting Cloud Based Secure Elements

Web Application Security

Nokia. udirect 2 Bluetooth pairing guide. Pairing and connecting udirect 2 with your Nokia cellular phone

Android pay. Frequently asked questions

PICKPOCKETING MWALLETS. A guide to looting mobile financial services

Smartphone Security. A Holistic view of Layered Defenses. David M. Wheeler, CISSP, CSSLP, GSLC. (C) 2012 SecureComm, Inc. All Rights Reserved

APPFORUM2014. Helping the developer community build next-generation, multi-platform apps. SCHAUMBURG, ILLINOIS SEPTEMBER 8-10

Android vs. Apple ios Security Showdown Tom Eston

NFC in Android. Martijn Coenen

10 Quick Tips to Mobile Security

EMV-TT. Now available on Android. White Paper by

The State of Pay. A mobile revolution. semble.co.nz

Bringing Security & Interoperability to Mobile Transactions. Critical Considerations

Latest and Future development of Mobile Payment in Hong Kong

Software Card Emulation in NFC-enabled Mobile Phones: Great Advantage or Security Nightmare?

Android Security. Device Management and Security. by Stephan Linzner & Benjamin Reimold

Interagency Advisory Board Meeting Agenda, Wednesday, February 22, 2012

Training. NFC in Android. Public. MobileKnowledge October 2015

Fiserv. Hardware Requirements Browser Support Channel Support. Maximum OS Version Support. Version Support

Mobile Print/Scan Guide for Brother iprint&scan

ONE Mail Direct for Mobile Devices

BlackBerry 10.3 Work and Personal Corporate

Google Apps Premier Edition. Included Yes Yes Yes Storage 25 GB Varies by deployment

Feature Matrix MOZO CLOUDBASED MOBILE DEVICE MANAGEMENT

Introduction to Android Development. Jeff Avery CS349, Mar 2013

3rd Party Assurance & Information Governance outlook IIA Ireland Annual Conference Straightforward Security and Compliance

IAIK. Motivation 2. Advanced Computer Networks 2015/2016. Johannes Feichtner IAIK

Trust Digital Best Practices

5 Secrets to a Successful Mobile Application Testing Strategy

Training. MIFARE4Mobile. Public. MobileKnowledge April 2015

Hacking your Droid ADITYA GUPTA

"It's a Phone First! How to Test Your Five-star Mobile Apps"

Protecting against Mobile Attacks

Timo Müller NFC AND THE VEHICLE. TESTING THE LINUX NFC STACK. BMW Car IT GmbH

SEEK project - Access to Secure Elements on Android. Frank Schäfer

CYBERCRIMINAL IN BRAZIL SHARES MOBILE CREDIT CARD STORE APP

2015 MDRT Annual Meeting e Handout Material. What is Your Smartphone Leaking?

Mobile Device Security: What s Coming Next?

Tech 1 - Six New Technologies You Should Know About. Speakers. Near Field Communications (NFC) Practical Uses & Possibilities 8/8/2011

Kaspersky Fraud Prevention: a Comprehensive Protection Solution for Online and Mobile Banking

Epic Remote Access for Mobile Devices FAQ and Setup

Supported Operating Systems & Browsers

Security in Near Field Communication (NFC)

Mobile Application Marketplace 2015: Market Analysis and Assessment of Future Evolution and Opportunities

USEFUL HINTS & TIPS SAMSUNG GALAXY POCKET

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

Mobile Privacy: Tor On The iphone And Other Unusual Devices. Marco Bonetti - CutAway s.r.l.

Lecture Embedded System Security A. R. Darmstadt, Introduction Mobile Security

Windows Phone 8 Security deep dive

Your Digital Dollars Online & Mobile Banking

Mobile Application Security Sharing Session May 2013

Mobile Payment using HCE and mpoint payment gateway based on NFC enabled phones. AUTHOR : GRZEGORZ MILCARZ S111040

Xperia TM. Read about how Xperia TM devices can be administered in a corporate IT environment

Bluetooth Pairing with CUE - Android TM

Bytemark Mobile Ticketing

User's Guide. Copyright 2014 Bitdefender

How To Secure A Paypass Card From Being Hacked By A Hacker

Enterprise Mobile Security Survey

AT&T Connect System Requirements for End Users v9.5. March 2013

Adobe Systems Incorporated

Pentesting Mobile Applications

Bank. CA$H 2.0 Contactless payment cards

PCI Assessments 3.0 What Will the Future Bring? Matt Halbleib, SecurityMetrics

HP Cloud Printing. Rachel Tang, Market Development Manager 3 Dec, 2013

Mobiliti. Certified Device List MR5 Release. Last Updated November 21, ASP Version

Transcription:

Mobile NFC 101 Presenter: Nick von Dadelszen Date: 31st August 2012 Company: Lateral Security (IT) Services Limited

Company Lateral Security (IT) Services Limited Company Overview Founded in April 2008 by Nick von Dadelszen and Ratu Mason (both directors) Staff - AKL - 6 people, WGTN - 7 people, Hong Kong - 1 person Services Security testing (design & architecture, penetration testing, configuration, code reviews, security devices & controls, mobile apps) Security advisory (Lifecycle compliance & audit ISO, PCI-DSS, NZISM, policy process development, threat modelling and risk assessment) Regular ongoing technical testing and assurance programs Differentiators True vendor independence Security testing and advisory are our niche specialties Highly experienced and skilled staff

Objectives This talk has the following goals: Provide you with an understanding of the technology behind NFC on mobile phones How it integrates with the hardware and application layers Discuss the security considerations for NFC on Mobile and how it differs from standard NFC implementations

How NFC Fits

NFC Protocols

NFC On Mobiles Samsung Nexus S first Android phone to get NFC chip Android, Blackberry, Nokia phones with NFC available Samsung Galaxy SIII Several Snapper phones iphone cases with NFC Rumoured for the iphone 5 Huge increase in distribution from last year

Mobile Architecture

NFC Types In Mobiles Reader/Writer mode Phone can read passive tags Default on Android with NFC Android APIs available for easy use Many apps in the market My own RFIDiot app is an example of this

Reader/Writer Sample Code if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) { Parcelable nfctag = intent.getparcelableextra("android.nfc.extra.tag"); Tag t = (Tag)nfcTag; IsoDep mytag = IsoDep.get(t); if(!mytag.isconnected() ) { mytag.connect(); byte[] hexapdu = HexToList(APDU); byte[] response = mytag.transceive(hexapdu); String hexresponse = ListToHex(response);

NFC Types In Mobiles Peer-to-Peer Mode Allows two devices to talk directly to each other Android Beam is an example of this Can send URLs, Contacts, Apps etc between phones Can be used to pair bluetooth devices In both reader/writer and Peer-to-peer mode, Android OS has direct access to NFC reader hardware

NFC Types In Mobiles Card Emulation Allows a phone to act as a tag Multiple examples available now Google Wallet Snapper Touch2Pay BNZ/Vodafone NFC trial This is where things aren t quite so straightforward

Card Emulation Difficulties In order to emulate a card you need a secure element (SE) to hold the applet SE can be multiple places: Embedded On a SIM On an SD Phone hardware must allow communication between NFC controller and SE For SIM cards this is SWP

Card Emulation Difficulties To develop using Card Emulation you must have access to the SE to install the applet Google holds the keys to the embedded SE on Nexus phones Mobile Carriers hold the keys to the SIM SE Almost no phones support SD-SE Extremely difficult for the average developer to perform card emulation

SWP Card Emulation Multiple phones now support SWP Samsung Galaxy SIII Any phone supporting Snapper Touch2Pay Pretty much any other NFC phone except Google branded phones SWP enables applet on SIM to access NFC controller SWP does not allow the mobile OS to access the applet SWP provides access over wireless interface only

To Access Applet From OS To access applet from OS app, two options: Use Mobile OTA network to access SIM from carrier and remote call to mobile app Enable access to SIM from OS Access to SIM is through baseband processor, not application processor BB must provide AT commands to enable transparent APDU exchange Only Touch2Pay phones have these modifications

Security Considerations Mobile NFC as a delivery platform Mobile RFIDiot MITM Malicious apps Mobile NFC as a target Mobile payment apps NFC stack Android Beam

Mobile RFIDiot I presented my Mobile RFIDiot code at Kiwicon last year Allows you to use a phone as an RFIDiot reader Includes ability to read cards such as credit cards and passports Can be used to perform MITM New version (A Nick Special ) to be released at Kiwicon this year

MITM Theory

Malicious Apps A malicious NFC app could be installed on numerous phones The app could read any nearby NFC tag and send the data to the attacker Now your phone could be sniffing your credit cards without you knowing

Attacking Payment Apps Apps in phones are the same apps as in cards: Credit cards Snapper However, now it is connected permanently to a computer with internet access Mobile malware etc can now attack payment apps without being in the vicinity

Attacking The NFC Stack Charlie Miller presented excellent research at Blackhat 2012 He fuzzed the NFC stack on a Nexus S using an ACR122U Results: Multiple crashes Found a vulnerability that enabled him to gain full control of the phone

Charlie Miller s Fuzzing Setup

Android Beam Android Beam can be used to pass info between devices, or from a tag to a device Contacts URLs Apps There is no confirmation on the receiving side Automatically runs the associated app Combined with a browser bug this could be pretty dangerous

Bluetooth Pairing Nokia phones can use NFC to automatically pair bluetooth devices No requirement to enter a PIN No other confirmation by default Once paired, can use tools such as obexfs to gain access to the device

Roundup Mobile NFC use is increasing significantly As with any new tech, there is a security learning curve If you are developing NFC apps, make sure you understand the threat model If you are attacking NFC apps, go have fun (with the usual disclaimers)

Contact Details Lateral Security (IT) Services Limited Wellington 38-42 Waring Taylor Street (level 7, Petherick Tower) PO Box 8093, Wellington 6143, New Zealand Phone: +64 4 4999 756 Email: sas@lateralsecurity.com Auckland 187 Queen Street (level 8, Landmark House) PO Box 7706, Auckland, New Zealand Phone: +64 9 3770 700 Email: sas@lateralsecurity.com