Installing proxmark3 RDV4.01 in Kali
Preparing Linux
In my case, I will create a Virtual environment:
An system upgrade was carried out prior to following these instructions.
Update the packages list
Install the requirements
Clone the repository:
Check ModemManager. Make sure ModemManager will not interfere, otherwise it could brick your Proxmark3! Modem Manager must be discarded.
ModemManager is pre-installed on many different Linux distributions, very probably yours as well. It's intended to prepare and configure the mobile broadband (2G/3G/4G) devices, whether they are built-in or dongles. Some are serial, so when the Proxmark3 is plugged and a
/dev/ttyACM0
appears, ModemManager attempts to talk to it to see if it's a modem replying to AT commands. Now imagine what happens when you're flashing your Proxmark3 and ModemManager suddenly starts sending bytes to it at the same time... Yes it makes the flashing failing. And if it happens while you're flashing the bootloader, it will require a JTAG device to unbrick the Proxmark3. ModemManager is a threat for the Proxmark3, but also for many other embedded devices, such as some Arduino platforms.
Troubleshooting issues with ModemManager
Connect your device using the USB cable and check that the proxmark is being picked up by your computer:
It should show up as a CDC device:
And a new /dev/ttyACM0
should have appeared:
Get permissions to use /dev/ttyACM0. Add current user to the proper groups to get permission to use /dev/ttyACM0
. This step can be done from the Iceman Proxmark3 repo with:
Then, you need to logout and login in again for your new group membership to be fully effective.
To test you have the proper read & write rights, plug the Proxmark3 and execute:
It must return ok. Otherwise this means you've got a permission problem to fix.
Compilation instructions for RDV4
The repo defaults for compiling a firmware and client suitable for Proxmark3 RDV4.
Get the latest commits:
Clean and compile everything:
if you got an error, go to the troubleshooting guide.
Install, but be carefull, if you do
Then the required files will be installed on your system, by default in /usr/local/bin
and /usr/local/share/proxmark3
. Maintainers can read this doc to learn how to modify installation paths via DESTDIR
and PREFIX
Makefile variables.
The commands given in the documentation assume you did the installation step. If you didn't, you've to adjust the commands paths and files paths accordingly, e.g. calling ./pm3
or client/proxmark3
instead of just pm3
or proxmark3
.
In most cases, you can run the following script which try to auto-detect the port to use, on several OS:
if not working: go to troubleshooting
Run the client: In most cases, you can run the script pm3
which try to auto-detect the port to use, on several OS.
For the other cases, specify the port by yourself. For example, for a Proxmark3 connected via USB under Linux. Here, for example, for a Proxmark3 connected via USB under Linux (adjust the port for your OS):
or from the local repo
If all went well you should get some information about the firmware and memory usage as well as the prompt, something like this.
This [usb] pm3 -->
is the Proxmark3 interactive prompt.
Configuration and Verification
Verify the status of your installation with:
To make sure you got the latest sim module firmware:
If you get a message such as:
Then, the version is obsolete and you will need to update it. The following command upgrades your device sim module firmware. Don't not turn off your device during the execution of this command!! Even its a quite fast command you should be warned. You may brick it if you interrupt it.
You get the following output if the execution was successful:
Run hw status command to verify that the upgrade went well.