Commit Graph
345 Commits
Author SHA1 Message Date
Jakub Kramarz 7b34f462cd sam_picopass: add nr-mac extraction and epurse update prevention modes 2025-01-27 20:17:44 +01:00
Jakub Kramarz 9696c97639 sam_picopass: adapt implementation from sam_seos 2025-01-27 20:17:43 +01:00
Jakub Kramarz 15a37ef9df seos_sam: ran make style 2025-01-07 00:30:49 +01:00
Jakub Kramarz dd30781608 extract PACS-parsing routines to wiegand_formats.c 2025-01-07 00:15:41 +01:00
Jakub Kramarz 0f7574c982 sam_seos: add option to send arbitrary requests 2025-01-07 00:05:41 +01:00
iceman1001 17338e2a5f style 2024-12-31 23:35:16 +01:00
Antiklesys de01578c4b Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-12-13 16:03:45 +08:00
Antiklesys afed67ca2c Added hf iclass trbl 2024-12-12 18:54:56 +08:00
Philippe Teuwen a13b1db49f make style 2024-12-09 15:16:46 +01:00
Antiklesys e4a3a244ce Added unhash instructions after legbrute
Added unhash instructions after legbrute
2024-11-30 07:53:52 +08:00
Antiklesys 2aae3317a0 Added more configcards
Added special config cards:

1- Elite Bugger : bugs the reader causing an erroneous and disruptive behavior
2- Added one config card to change the reader's default master key
3- Added a reset master key config card to restore the reader to the default master key
2024-11-24 13:08:28 +08:00
Antiklesys 2f2667944c Update cmdhficlass.c 2024-11-24 12:59:04 +08:00
Antiklesys a3813e970d Updated legrec functionality to support simulations
Added a functionality to simulate/estimate the key recovery process assuming the card was standard keyed.
2024-11-22 17:45:12 +08:00
iceman1001 3a3ea75d12 style 2024-11-15 14:28:14 +01:00
Antiklesys d69e04dcbc Updated hf iclass configcard
Documented and added an extensive list of configcards available and functionalities.
- Led Operations (A8 byte) are now fully documented (up from 2)
- Added : Beep Operations
- Elite Key Operations fully documented (3 up from 2)
-Added potential other bytes pending full documentation / discovery
-To Add: Reader Master Key Operations and Erratic Operations

While initially I was trying to maximise backward compatibility with cardhelper, the way its functions were linked and engrained in the code, caused a constant flow of errors and did not allow the flexibility to easily expand the list of cards. Maintaining that code would lead to creating multiple duplicate functions with no real added value perceived (except increased complexity of the code and difficulty to continue maintaining its  backward compatiblity)
2024-11-09 02:31:39 +08:00
Antiklesys 480b632528 Minor hf iclass configcard fixes
Fixed error messaging that was swapped between card key and keyroll key
2024-11-08 01:57:08 +08:00
Antiklesys a8204187ab Fixed elite configcard generation
Fixed elite configcard generation. From nfc-iclass and other resources block 13 generation was completely missing.
This resulted in configcards for legacy readers to be working on Rev.A readers but not Rev.C readers when it came to setting elite keys or enabling keyrolling.
2024-11-06 16:38:32 +08:00
iceman1001 b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001 81d795e56f fix styles 2024-11-02 14:52:59 +01:00
Antiklesys 4f85def6b0 Check for silicon version in iclass info
Updated hf iclass info to check whether the card's chipset is old silicon (supporting 14b) or new silicon (without the 14b support)
2024-10-20 12:33:25 +08:00
iceman1001 c8fe7205b4 enhanced the hf iclass info command to try legacy aa1 and if found read out and decode 2024-10-18 19:24:02 +02:00
iceman1001 70581e3bfa modified iclass chk to load the default dictionary file. hf iclass chk -> use iclass_default_keys and hf iclass chk --elite -> use iclass_elite_keys`.. a bit simple 2024-10-18 18:20:43 +02:00
iceman1001 88a46a289e Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2024-10-04 10:01:56 +02:00
iceman1001 ff765f569f change out some non-breaking wait for response from some command which shouldnt have it. Sniff / simulate / bruteforce should have it. and some minor text / style 2024-10-04 10:01:50 +02:00
Antiklesys dfa5d0c341 Fixed config cards segmentation fault
Fixed segmentation fault error from commit 6264b1df9a when trying to generate config cards.
2024-10-04 12:14:23 +08:00
Antiklesys 992dfdad48 hf iclass unhash improvements
Added more detailed instructions for next steps after unhashing
2024-10-02 00:16:03 +08:00
Antiklesys 190a88c61f Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-10-01 23:33:35 +08:00
Antiklesys 091b76b163 unhash hints for next steps
Added hints for next steps
2024-10-01 23:32:00 +08:00
iceman1001 e162cc3953 style and text. Might need some hint for the next step when/how unhash output is used 2024-10-01 10:15:44 +02:00
iceman1001 f4d2d2e5db simplify logic and continue to check use_elite even in default mode key 2024-10-01 09:57:38 +02:00
iceman1001 01a191f385 style 2024-10-01 09:52:46 +02:00
Antiklesys 6264b1df9a Updated iclass config card generation
Improved config card generation to support using a different key than the default k0 for the card's key
2024-10-01 11:35:17 +08:00
iceman1001 71c86f4b21 style 2024-09-30 10:36:29 +02:00
Antiklesys d5469d567f Added hf iclass unhash
Added hf iclass unhash based on the document "Exposing iClass Key Diversification"
The command works but only handles the "main" scenarios, retrieving only 8/512 potential hash0 pre-images.
Handling of the additional pre-images is still work in progress.
2024-09-29 21:38:20 +08:00
Antiklesys b92e357307 Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-09-18 23:18:30 +08:00
Antiklesys 47dc372ca7 Update cmdhficlass.c 2024-09-18 23:16:42 +08:00
Antiklesys 90b05106f8 Updates to iclass legrec and legbrute
Streamlined legbrute to remove then need for CSN and validate variables accuracy as per Iceman's suggestions.
Updated legrec (client side only) for the future arm side PR
Fixed variable overflow on the arm side for hex conversions
2024-09-18 18:10:53 +08:00
Antiklesys ac0260570a Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-09-17 16:35:52 +08:00
Antiklesys f24b087c19 Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-09-17 15:46:33 +08:00
Antiklesys 3c258827e8 Removed unused multithreading functions and updated to uint64_t 2024-09-17 15:35:23 +08:00
Antiklesys f70008bd0c Optimized legbrute
Removed multithreading and bottlenecks in favor of sequentially generated keys.
Multithreading can/should be reimplemented but optimized for keyspaces
2024-09-17 15:08:15 +08:00
Antiklesys 5bbffafe65 Updated hf iclass legbrute
Update legbrute to perform a double check when finding a potentially valid raw key, to ensure that is indeed the raw key and works against multiple macs (for the same epurse values).
2024-09-17 13:01:39 +08:00
Antiklesys 49524575be Update legbrute for even threads
Updated legbrute to use an even number of threads and display the starting key of every key block. Useful in case the operation needs to be halted and resumed
2024-09-17 01:32:44 +08:00
iceman1001 3ea655c86d text 2024-09-15 11:43:05 +02:00
iceman1001 9ebe5ae8dd text 2024-09-14 14:55:23 +02:00
Antiklesys 3253e2c288 Reverted buggy changes to hf iclass dump
Reverted code back to the original as it would "read" a card's AA1 without the correct keys.
2024-09-09 22:46:49 +08:00
Antiklesys 8e961aaa04 Re-fixed indent 2024-09-09 18:01:02 +08:00
Antiklesys 96b1b6d72c Fixed indent
Fixed indent
2024-09-09 17:58:47 +08:00
Antiklesys 041f6244cb Fixed AA2 dump with Kc only
Fixed issue preventing iclass dump to dump AA2 only when only using Kc
2024-09-09 17:54:57 +08:00
iceman1001 7549f53b63 we use calloc 2024-09-06 10:07:06 +02:00