Bambulab RFID Tag Hacking Guide
[TOC]
Before you start
This guide gives you a basic overview how you can encrypt your tags. Since we don't know how Bambulab will react on this guide and the general reverse engineering of the tags: Please don't share you tag's UID and the related keys for now.
Todos/Timeline/Next steps
Required Epuipment
- Bambulab 3D Printer with AMS
- Bambulab Filament spool or the related tags
- A proxmark3 compatible rfid reader
- proxmark3 installed on your computer
Proxmark3 compatible readers
Proxmark3 easy
A Proxmark 3 easy is sufficent for all the tasks that need to be done. You can buy a clone from alixepress, amazon or dangerous things.
Hacking a Bambulab Tag and readout of it's data
We document here the most simple approach to get all required A-Keys and the data of the tag. The easiest way is to sniff the data
Bambulab AMS RFID readers and sniffing
The Bambulab AMS RFID readers are locate between slot 1&2 and slot 3&4
For sniffing you can place a bambulab spool in slot 1 and place the reader next to the AMS reader. If you have already a single tag you need to place a spool without a tag in slot one and tape a tag on the top side of the reader and hold the proxmark3 next to the reader in such a way that the proxmark3 reader's bottom side is directed to the AMS reader so the proxmark3 reader is between the tag and the AMS reader. It is recommended to rotate the proxmark3 reader similar to the spool. Details can be found in the next steps.
Sniffing the data
hf 14a sniff -c -r
trace list -t mf
You should be able to see already first keys. Until you see a message : "Nested authentication detected." with some bruteforce command: tools/mf_nonce_brute/mf_nonce_brute ...
Execute this command in the proxmark3 directory in an other terminal and write down the found key.
Check the date for crc errors and if they are fine save the trace with the following command if we need it later.
trace save -f
Getting the other keys by analyzing the log file
Remove now the spool/tag from the printer and place it on the reader so we can check all the keys.
Now a dictonary (*.dic) file with all the already found and bruteforced keys must be created.
Enter the keys line by line into that file.
The next steps need to be repeated until you have all keys. (A scirpt for this is already WIP)
- trace list -t mf -f <dic_file>
- bruteforce the new keys with the displayed command in a seperate terminal and add all new keys to the dict file
- verify the keys: hf mf fchk -f <dic_file>
- Go to 1 until you found all keys
Data Readout
UID Creation - Theory only
Instructions on how to read out the bambulab nfc tags

