James Mitchell

Hi, I'm James Mitchell

CIOS • Maker • Problem Solver

I build things, break things, and figure out how they work. JimDotDev is my public notebook for projects, experiments, lessons learned, and technical discoveries across making, computing, signals, research, and everyday problem solving.

Article

Proxmark3 - Getting Started

Like with any new tool, it's time to discover and become fluent with some basics:

Out of habit with the back and forth I had when flashing my Proxmark3, I check to see that the device is detect by running the command:

~$lsusb
This is used to list usb buses and get information about devices connected them, and as we can see on bus 001 Device 003 our Proxmark3 is listed.


I also then ensure that the port has be assigned by running 
~$sudo dmesg| grep -i usb
and can see it has been properly assigned to ttyAMC0


I can now change directories to /proxmark3 and attempt to launch it

~$cd proxmark3 
~$sudo ./client/proxmark3 /dev/ttyACM0
 


Above you can see information on the board as it loads and we can now perform a few tests. Although we have made a number of steps to ensure we are connected to the proxmark3, we can run a pin test to validate communication to the board.

proxmark3>hw ping 
Ping successful


Next we should run a hardware tune to test the tuning of the antennas for transmitting and receiving

~$hw tune 



Above you can see the test came back with the High Frequency(HF) and Low Frequency (LF) and while I do not have a GUI added to the build, we can see the values are accurate to the device frequency requirement and specifications.

The only RFID's I have to play with at this time are some HF cards that came with the Proxmark3. So to test this I check 'help' and see that I can do a High Frequency Search.

~$hf search


You can see a failed search attempt in the image above and is present because I didn't have an RFID near the antenna when I ran the command. Running again was successful and the UID can information can be seen.

With this data, we can see that the card has been identified as a MIFARE Classic 1K. Refering to official Proxmark3 Command Dump ( a reference guide I've spent a bit of time on) we can refer to the high frequency MIFARE commands on how to write.

Now we can try another basic command of applying a UID to another card.

~$hf mf csetuid 1e45ae7


Success! I can read and write values to HF MIFARE cards.









About Me

James Mitchell

I'm James Mitchell, an IT Operations Specialist, builder, and lifelong learner. JimDotDev is where I document projects, experiments, lessons learned, and technical discoveries across fabrication, computing, RF systems, research, and practical problem solving.