Classic Electronics Smart 4F Specifikace

Procházejte online nebo si stáhněte Specifikace pro Dálková ovládání Classic Electronics Smart 4F. Classic Electronics Smart 4F Specifications [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 59
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
SMART CARDS LAB
UCL M.Sc. in Information Security 2011
Nicolas T. COURTOIS
Room 7.06a., Computer Science, University College London,
Gower Street, WC1E 6BT, London, UK
http://www.cs.ucl.ac.uk/staff/N.Courtois/
Abstract
This is an interactive pdf form to fill. It is not graded.
The form can be filled with Acrobat Reader or with other appropri-
ate software, see below. BUT, beware: All changes to the document
are lost with Acrobat Reader, it is NOT able to save forms.
The document with changes can be saved reliably if it is opened
with the full ”professional” (paid) version of Adobe Acrobat. A free
and tested alternative (recommended) is FoxIt 3.1 which can be down-
loaded for free from the Internet. Further alternatives include printing
the document with a printer (real paper printer), or printing it as a pdf
file with GNU pdf creator (free), but this usually fails if we try to print
the whole document at once, which apparently can be circumvented
by printing a selection of pages at one time.
1 Copyright
The copyright for the present documents belongs to Nicolas T. Courtois
and University College London. This document cannot be distributed to
people not enrolled in COMPGA12 unless explicitly authorized by Nicolas
T. Courtois.
1
Zobrazit stránku 0
1 2 3 4 5 6 ... 58 59

Shrnutí obsahu

Strany 1 - SMART CARDS LAB

SMART CARDS LABUCL M.Sc. in Information Security 2011Nicolas T. COURTOISRoom 7.06a., Computer Science, University College London,Gower Street, WC1E 6B

Strany 2 - 3 Expected Learning Outcomes

Smart Cards Lab COMPGA12 University College LondonSome Application Independent Error MessagesThese or similar codes will be used in bank cards, GSM et

Strany 3 - 4 Hardware and Software Setup

Smart Cards Lab COMPGA12 University College London8 How to Identify a Smart CardHere there is no command. The command is to physically RESET the card(

Strany 4 - APDU Tools - Linux

Smart Cards Lab COMPGA12 University College LondonThis displays the ATR values and decodes them. This works well onlyfor contactless cards, and a few

Strany 5

Smart Cards Lab COMPGA12 University College London0C 12 bytes followRID: A000000306 PC/SC WorkgroupPIX: 03000100000000SS: 03 ISO 14443 A, part 3Name:

Strany 6 - 5 rfidiot library

Smart Cards Lab COMPGA12 University College LondonIn fact with an RFID reader there is no serial communication betweenthe card and the reader at all.

Strany 7

Smart Cards Lab COMPGA12 University College LondonExample 4: You SIM card ATR (with a USB SIM reader, or with anormal reader such as Omnikey 5321 and

Strany 8 - 6 rfidiot Tips

Smart Cards Lab COMPGA12 University College Londonthat powers the passport (if the passport is continuously powered, the ATRstays the same).Your own p

Strany 9 - Structure of an APDU

Smart Cards Lab COMPGA12 University College London9 Unique ID for RFID Tags:It is fixed, usually stored in the first block, that is read-only, and can n

Strany 10 - 7.2 Vendor Extensions

Smart Cards Lab COMPGA12 University College Londonbecause though the functionality implemented may seem the same, the se-curity will usually be degrad

Strany 11 - 8.2 Getting ATR With Rfidiot

Smart Cards Lab COMPGA12 University College London11 Exploring an Electronic PassportWe are going to implement (with high-level standard APDUs) the fir

Strany 12 - 8.3 ATR with Explanations

Smart Cards Lab COMPGA12 University College London2 Structure of the Smart Cards LabStudents may skip some parts or do them in a different order.• Sect

Strany 13 - Communication Protocols

Smart Cards Lab COMPGA12 University College London11.1 Basic Access ControlNow the reader and the passport do a mutual cryptographic authenticationas

Strany 14 - 8.4 Real-life ATR Examples

Smart Cards Lab COMPGA12 University College LondonHere we will implement only the first step.GET CHALLENGECLA INS P1 P2 Le00 84 00 00 08Where Le is the

Strany 15 - 8.6 Variable ATS

Smart Cards Lab COMPGA12 University College London12 High-Level Exploration of RFID Memory Cardson the Example of MiFare ClassicWe will be further exp

Strany 16

Smart Cards Lab COMPGA12 University College LondonQuiz The MiFare Classic card energy comes from:a tiny battery radio transmission magnetic fieldQuiz T

Strany 17 - 10 Further Identification

Smart Cards Lab COMPGA12 University College LondonSee mifare.pdf that is distributed with rfidiot library. Depending oninstallation directory it could

Strany 18

Smart Cards Lab COMPGA12 University College London12.6 Which Key to UsePlease enter the key A for block of your card (or leave the defaultvalue):13 Ac

Strany 19

Smart Cards Lab COMPGA12 University College LondonCLA INS P1 Kt Le KeyFF 82 20 00 06Here P2=Kt is the key number, should be 0.The answer should be:13.

Strany 20 - 11.1 Basic Access Control

Smart Cards Lab COMPGA12 University College LondonAssuming that we know the key for a given Oyster card, how can weknow how much money there is curren

Strany 21 - 11.3 Better Software

Smart Cards Lab COMPGA12 University College London13.7 Writing One BlockWe use the following command:MIFARE CLASSIC WRITECLA INS P1 P2 Lc DataFF D6 00

Strany 22 - 12.2 Which Cards to Use

Smart Cards Lab COMPGA12 University College Londonand compare to the data written:13.11 Reading ScriptTo read several blocks at once with one key we c

Strany 23 - 12.3 Card Layout

Smart Cards Lab COMPGA12 University College London4 Hardware and Software Setup4.1 PC/SC Interface for Smart Card ReadersPC/SC Interface in WindowsSma

Strany 24 - 12.5 Which Block to Use

Smart Cards Lab COMPGA12 University College London13.12 Ready Software - EasyKeyA ready Windows program to explore MiFare Classic cards is provided by

Strany 25 - 12.6 Which Key to Use

Smart Cards Lab COMPGA12 University College LondonIt is a tool which allows to do arbitrary operations on MiFare Classiccards. In particular it allows

Strany 26 - 13.5 Reading One Block

Smart Cards Lab COMPGA12 University College London14 GSM SIM Card ExplorationWe mean a classical (2G) SIM card, what we present here also works onmany

Strany 27

Smart Cards Lab COMPGA12 University College LondonGET RESPONSECLA INS P1 P2 LeA0 C0 00 00The answer is the FCI of the DFGSMdirectory.Handling ErrorsAl

Strany 28 - 13.10 Reading The Block Again

Smart Cards Lab COMPGA12 University College LondonHowever if the PIN is correct, the counter for the number of CHV at-tempts will be reset to 3.14.4 C

Strany 29 - 13.11 Reading Script

Smart Cards Lab COMPGA12 University College London14.5 An Embarrassing DiscoveryIf we do the above steps and are able to run RUN GSM ALGORITHM fora SI

Strany 30

Smart Cards Lab COMPGA12 University College London15 Bank Card Magnetic Stripe ExplorationWarning: your bank card belongs to your bank, not to you. It

Strany 31

Smart Cards Lab COMPGA12 University College London15.3 Decoding Service Code - 3 DigitsD1: Interchange and technology.D2: Authorization processing.D3:

Strany 32 - 14 GSM SIM Card Exploration

Smart Cards Lab COMPGA12 University College London16 Bank Card Chip ExplorationWarning: your bank card belongs to your bank, not to you. It is specific

Strany 33 - 14.3 Cardholder Verification

Smart Cards Lab COMPGA12 University College Londonwhich means FILE NOT FOUND. For example certain cards from Mas-terCard. For these at least, all is n

Strany 34

Smart Cards Lab COMPGA12 University College London4.3 DriversFor Windows:For ACR122, and for Windows XP, drivers are in\Smart Cards Lab docs and free

Strany 35

Smart Cards Lab COMPGA12 University College London16.5 Select The ApplicationTypically a bank card supports several applications. Applications are ide

Strany 36 - 15.2 Track 2

Smart Cards Lab COMPGA12 University College LondonSELECT FILE by an AIDCLA INS P1 P2 Lc DataIn00 A4 04 00Answer obtained:SW1 SW261If the answer was in

Strany 37

Smart Cards Lab COMPGA12 University College LondonAnswer obtained:SW1 SW261If the answer was indeed of form ’61 Le’, we will be able to recover theans

Strany 38 - 16 Bank Card Chip Exploration

Smart Cards Lab COMPGA12 University College London16.10 Cardholder VerificationIn EMV many cardholder authentication methods are supported. But bydefau

Strany 39 - 16.4 FCI

Smart Cards Lab COMPGA12 University College LondonOne needs also to know how to encode the PIN and the special paddingthat extends it to 8 bytes.The e

Strany 40 - Select The Application by AID

Smart Cards Lab COMPGA12 University College London16.11 Further Exploration: chap.pyAdam Laurie wrote an open-source program to explore a bank card. I

Strany 41 - 16.6 About CLA

Smart Cards Lab COMPGA12 University College London17 How to Become a Smart Card DeveloperAny student vaguely familiar with Microsoft Visual Studio sho

Strany 42 - 16.8 Read Application Data

Smart Cards Lab COMPGA12 University College London{ \printf(text ": OK\n\n"); \}void print_hex(const byte*pbtData, const ui32 uiBytes){ui32

Strany 43 - Checking the PIN

Smart Cards Lab COMPGA12 University College LondonbSend[i]=ReadHex(Text[j]);j++;};i++;};};return i;};int PCSCExample(int readernb){SCARDCONTEXT hConte

Strany 44

Smart Cards Lab COMPGA12 University College London// Display the value./*sprintf(CurrReader,"%S", AReader );if(strnicmp(CurrReader,WantReade

Strany 45

Smart Cards Lab COMPGA12 University College Londonhttp://linux.die.net/man/1/opensc-toolProbably requires to install some packages such as openct and

Strany 46

Smart Cards Lab COMPGA12 University College Londonbreak;case SCARD_PROTOCOL_UNDEFINED:default:printf("Active protocol unnegotiated or unknown\n&q

Strany 47

Smart Cards Lab COMPGA12 University College Londoncase SCARD_POWERED:printf("Card has power.\n");break;case SCARD_NEGOTIABLE:printf("Ca

Strany 48

Smart Cards Lab COMPGA12 University College Londonprintf("APDU: ");print_hex_nocr(bSend,dwSend);printf("\n");lReturn = SCardTransm

Strany 49

Smart Cards Lab COMPGA12 University College Londonchar*pcsc_stringify_error(const long pcscError){static char strError[75];switch (pcscError){case SCA

Strany 50

Smart Cards Lab COMPGA12 University College London(void)strncpy(strError, "Internal error.", sizeof(strError));break;case SCARD_F_UNKNOWN_ER

Strany 51

Smart Cards Lab COMPGA12 University College Londonbreak;case SCARD_W_UNRESPONSIVE_CARD:(void)strncpy(strError, "Card is unresponsive.", size

Strany 52

Smart Cards Lab COMPGA12 University College Londondefault:/*(void)snprintf(strError, sizeof(strError)-1, "Unkown error: 0x%08lX",pcscError);

Strany 53

Smart Cards Lab COMPGA12 University College London17.2 More ExamplesMany ready Visual Studio and other development projects examples are pro-vided wit

Strany 54

Smart Cards Lab COMPGA12 University College London18.1 A Simple Timing Attack ProjectFor this we use the following program provided to students on a fl

Strany 55

Smart Cards Lab COMPGA12 University College LondonT ms: 31.210APDU: FF8800006000Resp: (90 00)T ms: 62.759In contrast, if the key is wrong, the second

Strany 56

Smart Cards Lab COMPGA12 University College London5 rfidiot libraryThe rfidiot library is developed by Adam Laurie, a well-known English se-curity resea

Strany 57 - 18 Timing Attacks

Smart Cards Lab COMPGA12 University College London1. Install Python Imaging http://www.pythonware.com/products/pil/2. Install pyscard, http://pyscard.

Strany 58

Smart Cards Lab COMPGA12 University College London5.0.5 Installation DirectoryFiles from the rfidiot installation can be for example copied toC:\Progra

Strany 59

Smart Cards Lab COMPGA12 University College London7 APDUsSmart Card commands are called APDUs (Application Protocol Data Unit).They are strings of byt

Komentáře k této Příručce

Žádné komentáře