salmg/academy
Sign in

Mastercard · NFC

Mastercard business card

Step through a transaction one command at a time. Every field named, every status word explained.

Response

6F 45 84 0E 32 50 41 59 2E 53 59 53 2E 44 44 46 30 31 A5 33 BF 0C 30 61 16 4F 07 A0 00 00 00 04 10 10 87 01 01 5F 55 02 55 53 42 03 55 55 55 61 16 4F 07 A0 00 00 00 04 22 03 87 01 02 5F 55 02 55 53 42 03 55 55 55 90 00

Status word

9000Completed successfully.

Decoded objects

  • 6FFile Control Information (FCI) Template69 bytes
    • 84Dedicated File Name14 bytes
      32 50 41 59 2E 53 59 53 2E 44 44 46 30 312PAY.SYS.DDF01
    • A5FCI Proprietary Template51 bytes
      • BF0CFCI Issuer Discretionary Data48 bytes
        • 61Application Template22 bytes
          • 4FApplication Identifier (AID)7 bytes
            A0 00 00 00 04 10 10
          • 87Application Priority Indicator1 byte
            01
          • 5F55(unrecognised)2 bytes
            55 53US
          • 42Issuer Identification Number3 bytes
            55 55 55UUU
        • 61Application Template22 bytes
          • 4FApplication Identifier (AID)7 bytes
            A0 00 00 00 04 22 03
          • 87Application Priority Indicator1 byte
            02
          • 5F55(unrecognised)2 bytes
            55 53US
          • 42Issuer Identification Number3 bytes
            55 55 55UUU

Exercises

Answer from the capture above. The explanation is worth reading either way.

  • Level 2

    The Application Interchange Profile (tag 82) is 1980. Which authentication method does this card support: SDA, DDA or CDA?

  • Level 3

    The Application File Locator is 08 01 01 00 10 01 01 01 20 01 03 00. How many separate files does it tell the terminal to read?

  • Level 3

    The Application File Locator (tag 94) tells the terminal what to read. Which short file identifier (SFI) does it name first?