Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
102 views

How to Understand Access Conditions in Mifare Classic 1k

I am working with Mifare Classic 1K, and so far I have successfully inserted/updated data in each block using key A with default access byte FF0780. I am trying to understand the documentation, but I ...
Eko Muhammad Rilo Pembudi's user avatar
0 votes
0 answers
207 views

Get AID from Debit/Credit Card using NFC

I just want to get AID from scanned debit/credit card, many apps are available on Google play store that easily gets the info on scan but i am unable to get the same. The purpose of getting the AID ...
Muhammad Adeel Shoukat's user avatar
0 votes
0 answers
236 views

Can I edit the information placed on a RFID chip with the ISO 14443-4 Type A?

Can I edit the information placed on a RFID chip with the ISO 14443-4 Type A? I’m trying to figure out if this is possible, and what hardware do I need to edit this type of chip, however, I can’t find ...
Wendy Gallardo's user avatar
0 votes
1 answer
1k views

Can't write on NFC Tag after reading with Google's web NFC sample

I have a NFC Tag Mifare Classic 1k which I was using with NFC Tools for android, and stopped being able to write after reading with web NFC sample (see: https://googlechrome.github.io/samples/web-nfc/)...
Nicolas's user avatar
1 vote
0 answers
672 views

Mifare sector read-only

i have a MIFARE Classic EV1, and I can't write to sector 3 because it is read only. I have already made sure that the keys are correct Any ideas on how can I write to it?
lorenzo's user avatar
  • 11
2 votes
1 answer
2k views

Cannot authenticate a sector in mifare card with correct key in android

I have a mifare classic 1K card and custom Key. But unable to read/write using it. Need help to find my mistake. I have identified the key that is used to read/write the mifare card using NXP Taginfo ...
Vamshi's user avatar
  • 349
7 votes
1 answer
952 views

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 ...
softzer0's user avatar
  • 455
1 vote
1 answer
2k views

MIFARE read-only & write protected block at the same time?

Which of MIFARE cards support a single block that can be programmed to require a password for writing, but is available to everyone for reading its data? And is such standard eligible on all platforms,...
softzer0's user avatar
  • 455
1 vote
1 answer
1k views

Why is the length byte of this ATS so large?

Testing with a DESFire, I picked up the following ATS: 0x75 0x77 0x81 0x02 0x80. From what I can tell, ISO/IEC 14443-4 says that the first byte should be the "length byte" and should indicate the ...
VortixDev's user avatar
  • 1,013
1 vote
1 answer
551 views

Give HCE app priority over other NFC tags so that HCE becomes the only readable tag/first to be read

I have created an Android app which uses Host Card Emulation to emulate a contactless smartcard. Now, in a situation where both the real smartcard and the app are close to a reader, I would like to ...
The BigBoss's user avatar
1 vote
1 answer
3k views

What and where are historical bytes in a MIFARE's ATS?

What are historical bytes, and, given an ATS value, how can you tell which bytes are "historical"? In my particular case, I've got the ATS of a MIFARE DESFire card. The ATS is 75 77 81 02 80. From my ...
VortixDev's user avatar
  • 1,013
1 vote
1 answer
853 views

Does hf14b raw command allow me to send and receive APDU messages?

Undocumented in the Proxmark3's Wiki as well as in its command-line documentation, the proxmark3 Linux client provides the hf 14a apdu command (though there is no hf 14b apdu command). The way I view ...
Mat's user avatar
  • 999
2 votes
1 answer
1k views

MIFARE Classic 1K - ATQA Size?

I'm actually doing some research on MIFARE Classic 1K cards but there is an information that I can't find. What is the ATQA size on a MIFARE Classic 1K card? I found some document that indicates it's ...
YeeDooz's user avatar
  • 23
4 votes
1 answer
5k views

What are Secure Access Modules (SAM) needed for?

I am working on understanding Secure Access Modules (SAM). Why are they needed? What is the difference between a SAM-based and SAM-less approach when used along with RFID card readers?
Yugal Mahajan's user avatar
1 vote
1 answer
756 views

Can I write a text on UHF RFID tag with RC522 module?

I want to write a text on a UHF RFID tag. Can I write with the RC522 module? What software is appropriate for this work?
k.h's user avatar
  • 11
3 votes
0 answers
2k views

Send APDU Commands in python (RC522, RaspberryPi)

I build up some kind of RFID-Reader with an Raspberry Pi 3 and an RC522 using this code as a start: https://github.com/mxgxw/MFRC522-python. Unfortunately I'm not able to get a APDU-Response from my ...
TRojaner2013's user avatar
5 votes
1 answer
2k views

DESFire write data command fails with 917E (length error)

I am facing a very strange problem with MIFARE DESFire. When I write small amounts of data (e.g. 11 bytes), the write operation succeeds. However, when I try to write e.g. 50 byte, the response is ...
jiten's user avatar
  • 5,254
2 votes
1 answer
1k views

Get available memory MIFARE DESFire EV1

How can I get the available memory of a MIFARE DESFire EV1 card? I know some Android applications show the available memory. So is there any APDU command to get the available memory?
jiten's user avatar
  • 5,254
-1 votes
1 answer
1k views

MIFARE DESFire EV1 authentication and MAC

When sending the FormatPICC command to a MIFARE DESFire EV1 card, I observe the following behavior: PCD ---> PICC -------------- 0xFC ---> <--- 0x00 or 0x00 + MAC or ERROR CODE ...
bin.chen's user avatar
3 votes
1 answer
3k views

Distinguish different types of MIFARE Ultralight

How to identify different types of MIFARE Ultralight tags? In document AN10834 Ultralight and Ultralight C differ by the answer from "Auth". What is this "Auth"? There is no description of this ...
Николай's user avatar
1 vote
1 answer
3k views

Error in reading and writing data on Mifare DESFire cards

I am trying to read and write data on Mifare DESFire cards using ISO 7816-4 APDU commands. I followed the steps: Select application using {00,A4,04,00,07,D2,76,00,00,85,01,00}. I get the response as ...
Neo's user avatar
  • 11
1 vote
1 answer
4k views

Anti-collision and ATQA in ISO14443A-3

Edit: based on the below picture as you can see ,in ISO 14443-3 when we send REQA command to the PCD,all PICC in the reading field will answer with their ATQR. If PCD receives more than ATQR ,this ...
Dzzz's user avatar
  • 21
1 vote
1 answer
3k views

Unable to clone entire RFID Card

With an unused RFID card (MIFARE Classic 1K) that I had found in my old wallet, I've decided to clone it onto a blank card. After executing nfc-mfclassic w X u <Original Card file name> <...
Jaiho Kumpatra's user avatar
1 vote
1 answer
2k views

Mifare DESFire EV1 4k Manufacturer Block

I was recently using a Mifare Classic 1k smartcard. I used the manufacturer block (sector 0, block 0) to identify the card, since the UID of Mifare Classic cards is not really unique. My application ...
Chrisser's user avatar
7 votes
4 answers
20k views

Mifare cards: distinguish between 4-byte and 7-byte UIDs

I have a card reader that always report 64 bits, and can read cards with 4 or 7 byte UIDs. As an example, I see it can report: 04-18-c5-82-00-00-00-00 - a 4-byte UID in the form uid0-uid1-uid2-uid3-...
bbaker's user avatar
  • 71
9 votes
1 answer
14k views

HF-RFID vs. NFC - Can an NFC-enabled mobile phone read high frequency RFID tags?

I see lots of forums that say RFID is different than NFC. I absolutely agree with this as both have different standards and operate on different frequencies. After some further research, I found that ...
AskMe's user avatar
  • 2,561
0 votes
2 answers
4k views

MIFARE Classic - What could cause "All-zero key" and "Unknown key" error?

I have developed a C# application to write to a MIFARE Classic card. I use default keys (FF FF FF FF FF FF) to write to the card. After I write to the card, I notice there is no data going into the ...
Vijay Kumbhoje's user avatar
1 vote
1 answer
549 views

Use javax.smartcardio for MIFARE Classic and Omnikey 5021 CL

Can the API javax.smartcardio be used on for finding the smart card terminal for the card reader Omnikey 5021 CL and to read sectors of a MIFARE Classic card? This needs to work on a Windows 7 ...
adajava's user avatar
  • 23
0 votes
1 answer
2k views

Get mifare card serial number is incorrect

With the card reader I'm using, the protocol to retrieve the serial number of a MIFARE card is as follows: Mifare anticollision, 0x0202: Function card anticollision Format    &...
Van Duoc's user avatar
1 vote
2 answers
2k views

ACR1222L FF 82 Load Authentication Keys fails with 63 00 Operation Failed

I'm using ACR1222L NFC smartcard reader with Mifare Plus cards (Security Level 0 as of now; manufacturer default keys A and B). I tried a variety of commands to load authentication key into the reader:...
ADTC's user avatar
  • 10k
1 vote
0 answers
2k views

Authenticate/Read/Write NFC Mifare Classic Using Private Key

With refrence to Michael Roland's answer, I am facing problems in changing the key of a Mifare Classic 4K card. I want to do the personalization of NFC cards using NFC reader ACR122U. I have followed ...
Syed Muhammad Mubashir's user avatar
2 votes
1 answer
6k views

Mifare Application Directory Management?

[ Please only consider 1k classic cards in your answers. ] I am hoping to gain a bit of industry knowledge in the realm of RFID. Specifically, with the MIFARE MAD (Mifare application directory). I ...
xMythicx's user avatar
  • 827
0 votes
0 answers
288 views

SCardTransmit() returns 801000002

I had a working contactless system in Windows XP. But when I tried to run it under Win7 it fails in this sCardTransmit function even though it runs connect function well: UCHAR ucAnswerL[255]; DWORD ...
ibrahim demir's user avatar
1 vote
1 answer
3k views

Mifare UIDs of different card types

Is it possible for different Mifare card types to have the same UID? For example, could there exist Mifare Classic 1K (4 bytes UID) and Mifare Classic 4K (4 bytes UID) that have the same UID? Or ...
Alexandr Zarubkin's user avatar
3 votes
1 answer
7k views

Mifare Access condition calculation

I am aware of this post :- Locking mechanism of Mifare Classic 1K However, it is really not clear - how a value like FF 07 80 FF is calculated in this string: D3 F7 D3 F7 D3 F7 FF 07 80 FF 00 00 00 ...
Densil's user avatar
  • 31
10 votes
1 answer
15k views

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, ...
Andrea's user avatar
  • 135
6 votes
1 answer
6k views

Locking mechanism of Mifare Classic 1K

The procedure of Mifare Classic 1K is Polling for tags Authenticate those tags If authentication succeded then read/write. I already completed those procedures and also read and write data from ...
Md. Sajedul Karim's user avatar
0 votes
1 answer
3k views

Mifare 1K write block but cannot read value block

For the last three days I have been looking for block and value blocks for Mifare 1K. For example, I wrote data successfully 1. block with this APDU: < FF D6 00 01 10 61 79 79 69 6C 64 69 7A 66 ...
Fatih Ayyildiz's user avatar
2 votes
1 answer
5k views

Mifare card memory space?

What is the net memory space remaining in a MIFARE Classic 1K card considering that keys and access bits take 16 bytes per sector, and the unique id (UID) and manufacturer data takes 16 bytes for ...
Faris's user avatar
  • 39
0 votes
1 answer
877 views

weired DesFire EV1 Results

I have purchased a number of DesFire EV1 from a HK based Company for a project i'm working on . some of the cards that are supposed to be factory empty had a number of applications on. reading the ...
user300435's user avatar
0 votes
2 answers
4k views

Mifare card security

Some days ago I connected a USB contact-less Smart-Card reader and sniffed that USB port via an USB Sniffer tool. Afterward, I put a 1k Mifare card on the reader and read 1 byte. I take a look at the ...
TheGoodUser's user avatar
  • 1,198
1 vote
1 answer
1k views

Changing key in Mifare 4K Card

Can anyone please tell me how to change a key in a Mifare 4K classic card. What I tried was <newKeyA> + access bits + <KeyB> 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0X78 0x77 0x88 0x69 0xFF 0xFF ...
vikky's user avatar
  • 11
3 votes
2 answers
3k views

Recover Mifare Classic key from authentication trace

I have been given a Mifare Classic authentication trace and was wondering if there are any tools or tutorials I could use to obtain the key? Start | End | Src | Data ---------|---------|-----|...
james's user avatar
  • 1,035
5 votes
2 answers
7k views

SCardTransmit, how to read and write smartcard

I'm working on a printer, trying to read and write a contactless card. This is the manual of the hardware and software I'm using: manual contactless The process to ineract with the smart card (read ...
A.Vila's user avatar
  • 1,486
0 votes
1 answer
827 views

TWN3 Mifare USB and Mifare Desfire

I use TWN3 Mifare USB transceiver and a Mifare DESFire EV1 transponder. I have a problem to get data from transponder. (For serial communication I use Hercules SETUP utility 3.2.6.) I open serial ...
Petofi's user avatar
  • 511
1 vote
1 answer
3k views

MIFARE Classic: How to find to good Access Byte value

My aim is to have only KEY A authentification and disable Key B (used space to store data). I read these documentations: http://www.nxp.com/documents/data_sheet/MF1S503x.pdf http://dangerousthings....
user3655305's user avatar
4 votes
1 answer
12k views

Set own authentication keys MiFare Classic with APDU C#

I'm using the SMARTCARD API from CardWerk. How can I change the default key ((byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF) using an APDU? The APDU consits of a CLASS, an ...
GeorgeMR's user avatar
  • 187
6 votes
3 answers
11k views

Determine card type from ATR

Is it possible using ATR to determine whether I have ISO14443A or ISO14443B type card? If yes, how?
user avatar
0 votes
1 answer
875 views

Desfire EV1 file Access Bytes

Can someone tell me how to calculate the access bytes of files and applications of a MIFARE DESFire 4K EV1 card?
TheAustrian's user avatar
2 votes
1 answer
21k views

How Can I Read NFC Card with IsoDep?

I want to read a RFID card through NFC, the card is from the local transportation system in Bogotá, Colombia. I know this is possible because I've downloaded an android app that does just this! My ...
Roger's user avatar
  • 83