projects:security:rfid

This is an old revision of the document!


What's RFID?

Radio-frequency identification (RFID) is the use of a wireless non-contact system that uses radio-frequency electromagnetic fields to transfer data from a tag attached to an object, for the purposes of automatic identification and tracking.

RFID Hardware

C3L is in possession of several Touchatag readers which work fine on Linux (after some hacking)

If you want to get one for yourself, you should hurry up because the manufacturer closes it's store on the 31. December ’12. If you order from Benelux you should visit getdigital.de. They sell and deliver them very fast.

RFID Software

Mifare Classic Offline Cracker is a tool that can recover keys from Mifare Classic cards.

Website

MFCUK - MiFare Classic Universal toolKit. Toolkit containing samples and various tools based on and around libnfc and crapto1, with emphasis on Mifare Classic NXP/Philips RFID cards.

Special emphasis of the toolkit is on the following:

  • mifare classic weakness demonstration/exploitation
  • demonstrate use of libnfc (and ACR122 readers)
  • demonstrate use of Crapto1 implementation to confirm internal workings and to verify theoretical/practical weaknesses/attacks

Website

Install the pcscd package.

sudo apt-get install pcscd

Install libccid

sudo apt-get install libccid

Install autoreconf

sudo apt-get install autoreconf

Install libnfc-1.3.9

autoreconf -vis
./configure
make
sudo make install

Download mfoc

autoreconf -vis
./configure
make
sudo make install

If you encounter problems after the execution, do this:

sudo ln -s /usr/local/lib/libncf.so* /usr/lib/

Now mfoc should be up and running.

Download and install libnfc-1.5.1

autoreconf -vis
./configure
make
sudo make install

Download mfcuk

svn checkout http://mfcuk.googlecode.com/svn/trunk/ mfcuk-read-only

Symlink shared object libs!

sudo ln -s /usr/local/lib/libncf.so* /usr/lib/

Install mfcuk

autoreconf -vis
automake --add-missing
autoconf 
./configure

Now open the Makefiles in /mfcuk-read-only & /mfcuk-read-only/src and search for the line LIBS = .Replace it with:

LIBS = $(LIBNFC_LIBS)

Now…

make
sudo make install

Final step

cd /mfcuk-read-only/src
cp data /usr/local/bin

Now you should be ready for ownage!

  • projects/security/rfid.1354613114.txt.gz
  • Last modified: 2015/07/15 21:54
  • (external edit)