Proxmark3: Installation

From Embedded Lab Vienna for IoT & Security
Revision as of 13:53, 27 March 2019 by Ikramer (talk | contribs)
Jump to navigation Jump to search

Summary

Installation of Proxmark3 Linux client for RFID and NFC sniffing.

Requirements

  • Operating system: Ubuntu 16.04 trusty amd64

Description

Step 1 Compile resources:

1. download and install some needed packages and libs

  sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config wget libncurses5-dev gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib

2. clone proxmark3 git repository

  git clone https://github.com/proxmark/proxmark3.git

3. enter repo

  cd proxmark3

4. get newest version

  git pull
  git checkout v3.1.0      # important git checkout latest stable version!! 

5. Install the blacklist rules

  sudo cp -rf driver/77-mm-usb-device-blacklist.rules /etc/udev/rules.d/77-mm-usb-device-blacklist.rules
  sudo udevadm control --reload-rules

6. add current user to group

  sudo adduser $USER dialout

7. compile proxmark3

  make clean && make all


Step 2 Identify proxmark3 device

  dmesg | grep -i usb
  [ 9704.503904] usb 1-3: Manufacturer: proxmark.org
  [ 9704.539638] cdc_acm 1-3:1.0: ttyACM0: USB ACM device

Step 3 Flash the firmware of the proxmark

  client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf

if it does not succeed at first glance log out your user and log in again, this worked for me!!


Usage

1. Start client

  cd client
  ./proxmark3 /dev/ttyACM0 
  proxmark3>hw status
  proxmark3>hw version
  proxmark3>hw tune
  proxmark3>quit

2. Read some data with high frequency antenna

  hf mf rdbl 0 a ffffffffffff
  --block no:0, key type:A, key:ff ff ff ff ff ff            
  #db# READ BLOCK FINISHED          
  isOk:01 data:b5 5c c3 b0 9a 08 04 00 01 11 fa dc 17 46 6a 1d   

Resources and Tutorials


Used Hardware

Proxmark 3

Courses

References