Difference between revisions of "Proxmark3: Installation"

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
m
Line 10: Line 10:
=== Step 1 Compile resources:===
=== Step 1 Compile resources:===


1.  download and install some needed packages and libs
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
  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
2. clone proxmark3 git repository


  git clone https://github.com/proxmark/proxmark3.git
  git clone https://github.com/proxmark/proxmark3.git
3. enter repo


  cd proxmark3
3. enter repo


4. get newest version
  cd proxmark3


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


5. Install the blacklist rules
  git pull
  git checkout v3.1.0      # important git checkout latest stable version!!


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


6. add current user to group
  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


  sudo adduser $USER dialout
6. add current user to group


7. compile proxmark3
  sudo adduser $USER dialout


  make clean && make all
7. compile proxmark3
 
  make clean && make all




Line 43: Line 44:


   dmesg | grep -i usb
   dmesg | grep -i usb
   [ 9704.503904] usb 1-3: Manufacturer: proxmark.org
   [ 9704.503904] usb 1-3: Manufacturer: proxmark.org
   [ 9704.539638] cdc_acm 1-3:1.0: ttyACM0: USB ACM device
   [ 9704.539638] cdc_acm 1-3:1.0: ttyACM0: USB ACM device
Line 49: Line 49:
=== Step 3 Flash the firmware of the proxmark ===
=== Step 3 Flash the firmware of the proxmark ===


client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
  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!!
if it does not succeed at first glance log out your user and log in again, this worked for me!!
Line 59: Line 59:


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


2. Read some data with high frequency antenna  
2. Read some data with high frequency antenna  


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


== Resources and Tutorials ==
== Resources and Tutorials ==

Revision as of 18:13, 20 December 2018

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

Proxmark3

Courses

References