2012 CodeEngn Conference 07
최근 스마트폰의 보급율이 높아지면서 NFC에 대한 관심이 많아졌다. NFC는 10cm 거리에서 기기간의 통신을 가능하게 해주는 근거리 통신 프로토콜이다. NFC에 대한 기본 개념과 통신원리, 국제/국내 표준을 알아보고, 국내 스마트폰에서 NFC가 들어간 장치의 스펙을 알아 본다. 그리고, 어떤 환경에서 NFC서비스가 사용될 수 있는지와 현재 사용되고 있는 서비스들도 간단하게 볼 예정이며 NFC를 이용하여 교통카드를 위조했던 해킹사례를 간단하게 알아본다. 마지막으로, 실제 NFC기기를 프로그래밍하여 이용, 조작을 해보도록 한다.
http://codeengn.com/conference/07
3. What is NFC
Near Field Communication
• 13.56 Mhz – RFID??
• 424 kbit/s
• 15mA (for Reading)
• < 0.2m
• Possible to Read/Write
4. Where is it? and will be used?
– In SmartPhone (is not you?)
• NFC USIM
– Some Smart Card (ID Card, T-money, …)
– Payment Service Like Square
• Square used only iPhone. (need some device)
– Bluetooth and wifi network
• without pairing?
– A Smart(really?) Devices!
• NFC Keyboard – elecom@japan
5. NFC USIM! – in my phone
• Galaxy S3 LTE (800,000)
• Micro USIM + NFC
• Spec?
Nexus S used Same NFC Chip
6. If you don’t have any smart phone…
– Give up NFC Hacking L ?
– Buy RF Module
• EBRF700
• Mifareⓡ, ISO 14443A, 14443B
• Support to Good Test Program
• Here!
8. So, talking about smart card!
– Do you remember MSR Card?
• Find That Now open your pocket!
–
(contact) (contactless)
smart card has CPU and OS! = COS
(Card Operation System)
9. A little bit details for smart card
VCC : Power Supply GND : Ground
RST : Reset Signal VPP : Program Voltage(Not used)
CLK : Clock Signal I/O : Input / Output
10. A Kind of Smart Cards
ATQA : Answer To Request acc. To ISO/IEC 14443-4
SAK : Select Acknowledge, Type A
ATS : Answer To Select acc. To ISO/IEC 1443-4
This table is Not @ All!!
http://ludovic.rousseau.free.fr/softwares/pcsc-tools/smartcard_list.txt
11. If you need IC chip information?
• Use NXP App with Android – [Example]
– About Iphone? Find it J
12. About Republic of korea?
• A famous and friendly T-money
• T-money card : KSX6924 (based ISO14443)
• T-money SAM : KSX6923 (based ISO14443)
• Kssn.net (KS), but…L