Questions tagged [mifare]

MIFARE is the well-known trademark (owned by NXP Semiconductors) of RFID and NFC chips used in cards, tags and mobile phones.

MIFARE is the well-known trademark (owned by NXP Semiconductors) of RFID and NFC chips used in cards, tags and mobile phones.

719 questions
9
votes
1 answer

Mifare 1K authentication keys

I have a MIFARE 1K tag. Some blocks can be written/read using authentication key A, while other block can be written using authentication key B. Why? How can I change all blocks to be written/read, for example, with key A? For example, I can write…
Andrea
  • 125
  • 1
  • 1
  • 7
9
votes
2 answers

Android HCE: are there rules for AID?

I'm trying to use an ACR122 NFC reader to select an application emulated in one Nexus 5 using Android Host Card Emulation. However, small AIDs are not recognized. My goal is to use a three byte long AID, as I do in a DESfire card. My first goal is…
Marcos Ramos
  • 135
  • 1
  • 2
  • 4
9
votes
2 answers

DES Send and Receive Modes for DESFire Authentication

I'm trying to authenticate DESFire card with my android application. I use the example in this link to decypher the bytes I got from the card. For that, I ruled out padding in decryption (commented out below), because DESFire documentation points it…
İsmet Alkan
  • 5,361
  • 3
  • 41
  • 64
8
votes
1 answer

Using an Apple Wallet NFC Pass as an NFC tag

Although many topics have already talked about the impossibility for an iPhone to emulate an NFC tag, I found this document that talks about card emulation based on the PassKit (on page 6). By imagining that I have completed the steps to obtain an…
Martin Denion
  • 352
  • 1
  • 3
  • 22
8
votes
1 answer

Reading and writing Mifare Classic 1K RFID on Nexus-S

I'd like to be able to write and read strings from a Mifare 1K RFID. I successfully read and wrote to the tag I have using the NXP TagWriter App. I then tried the code here, but was able to get anything meaningful out of it. It wouldn't even…
neufuture
  • 277
  • 3
  • 10
8
votes
2 answers

ATR command when programming PC/SC reader

I have checked the programming interface for the MIFARE Ultralight and TOPAZ/Jewel IC tags. The API quite nicely describes how the bytes are saved on the card, how to address the memory blocks, how to make all operations like read, read-all, use of…
STeN
  • 6,262
  • 22
  • 80
  • 125
8
votes
0 answers

iOS 13, Swift 5, Core NFC MiFare Classic 1K not detected

i have a very fundamental issue when reading from a rfid chip using ios 13+ and swift 5, i have two setups (NFCNDEFReaderSession and NFCTagReaderSession), NFCNDEFReaderSession: import UIKit import CoreNFC class ViewController: UIViewController { …
Creative crypter
  • 1,348
  • 6
  • 30
  • 67
8
votes
3 answers

DESFire EV1 card emulation

I need to emulate a DESFire EV1 card on an Android device. However, I'm confused on how to use the Mifare SDK (lite or advanced) with the HCE. Is that even possible? I need to start the project and I had a lot of researches about how the data are…
kharbechtein
  • 83
  • 1
  • 4
8
votes
1 answer

Android NFC IsoDep read file content

I'm trying to read some information out of an ISO/IEC 14443 Type A card. After analysing the card with the android app NFC TagInfo, I found out, that the application (AID: 15845F) has the particular file (File ID: 01) that I need. I already managed…
Vilius
  • 1,169
  • 5
  • 19
  • 32
8
votes
2 answers

Standards for smartcard communication

What is the difference between ISO 14443-3 and ISO 7816-4 APDUs? I'm asking this because seems some cards use former to communicate with reader, some latter. I'm confused with this, would like to get a good understanding about this. For example, I…
user2568508
8
votes
4 answers

How well does the Android NFC API support Mifare Desfire?

I'm likely to be working on a project where existing Desfire cards (used to access paid services) will be replaced with an NFC-capable mobile device. Can anyone point me to any resources to help me understand what's involved in a) replicating a…
Ollie C
  • 28,313
  • 34
  • 134
  • 217
7
votes
3 answers

Is it possible to lock command, protect cloning or not erasable by other app for MIFARE card 1k

I want to do this to protect the card from erasable or cloning the card. I read many documents Some tell the user the fourth block to set permission to reading and write.. According to @Michael Roland The authentication keys and the access…
Arjun saini
  • 4,223
  • 3
  • 23
  • 51
7
votes
1 answer

Is it possible to implement a token queue in NFC cards?

This question is specifically about MIFARE Ultralight C/EV1, or MIFARE DESFire EV1, or even NTAG cards. I want to implement a system of tokens, so that each time a normal user reads one of those cards they'll get one available token; that token will…
softzer0
  • 445
  • 2
  • 7
  • 25
7
votes
2 answers

how to know if tag is present?

Good morning, I would like to use the write method I found on the page: https://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html, to write on an ultralight mifare. I have not yet succeeded. public void writeTag(Tag tag,…
Antilope
  • 443
  • 2
  • 6
  • 17
7
votes
1 answer

Send APDU command to card through HID OMNIKEY 5427 CK

I'm trying to pass though APDUs command via HID OMNIKEY 5427 CK to operate MIFARE Card ie. Ultralight C card, on the Windows 10 x64 OS environment using WinSCard.dll. (I'm under NXP NDA and have full access t their documents) I tried to find…
Eric F.
  • 309
  • 4
  • 11
1
2
3
47 48