Commit Graph
90 Commits
Author SHA1 Message Date
douniwan5788 ae2f41eaef refactor: move Hitag size defines to hitag.h 2024-08-24 22:32:23 +08:00
douniwan5788 c279f88f13 refactor: Move Hitag 2 cmds to protocols.h 2024-08-23 23:49:47 +08:00
Iceman 3a3deaf3cb Merge pull request #2463 from douniwan5788/hitagS_plain
fix: Hitag S read/write in plain mode
2024-08-22 11:37:47 +02:00
douniwan5788 1efa52d704 add: Hitag S plain write 2024-08-22 02:16:10 +08:00
douniwan5788 d15537bbf1 Unified hitag naming style 2024-08-22 02:01:43 +08:00
mik 5de4f6ae3c fix hitag help typos 2024-08-08 14:11:37 +02:00
iceman1001 adfbcbc193 miscchecks white space 2024-05-28 10:14:02 +02:00
iceman1001 369db7c9d7 style 2024-05-27 20:29:02 +02:00
iceman1001 1b387ae90e some simple identification tests, will need to expand on the idea later 2024-05-20 21:26:12 +02:00
iceman1001 968bfcd591 added "lf hitag reader" command 2024-05-20 17:47:44 +02:00
iceman1001 d9ec99f903 found the bug in a call to hex2binarray() fct which overwrote first 16 bytes of keystream. Fixed loops. Crack2 now generates same data as RFIDLer impl. 2024-05-16 22:49:24 +02:00
iceman1001 dee84b5b6f added "lf hitag crack2" to support the second attack vector against Hitag2, based on all work from @kevsecurity Kev Sheldrake in the RFIDler repo. This is WIP, not working at the moment 2024-04-26 15:38:06 +02:00
iceman1001 8edf45a6c9 darn it 2024-04-22 17:36:22 +02:00
iceman1001 3f6ea0f0fc style 2024-04-22 16:35:22 +02:00
iceman1001 4762f5f33b fix error from goto ... 2024-04-22 16:30:09 +02:00
iceman1001 1016108694 comment out pwm code 2024-04-22 16:23:45 +02:00
iceman1001 c8849af5e0 This is the major changes made to the HITAG2 commands. Its heavly based on RFIDLers implementation and its been converted to work with Proxmark3. Special thanks to @kevsecurity for his amazing implementations of the Gone in 360 Seconds paper by Roel, Flavio & Balasch. Thanks to @adamlaurie for his RFIDler project. It wouldnt been doable without it. 2024-04-22 16:20:24 +02:00
iceman1001 4e540053e9 style 2024-04-07 11:38:51 +02:00
iceman1001 700d558432 move hitag2 crypto parts to the common folder in order to be able to use it on the client side. Some textual and minor adaptations across the bord 2024-03-27 09:32:00 +01:00
iceman1001 cdc46d5d2b textual and some layouts 2024-03-27 09:16:37 +01:00
iceman1001 c66e781a9c annotation of the hitag2 protocol now properly identifies different parts without shifting of whole hex arrays. Took the idea from RFIdler (@adamLLaurie) where he treats it like a binary string instead. It works. Problem: We use whole bytes in our logging protocol and Hitag2 uses 5, 10, 32, 64 bits commands. START_AUTH is 11000, which as a MSB aligned byte is 0xC0. Now we shift it down to LSB centered and 11000 becomes 0x18. This reduces all issues with handing the rest of the array. \n\nTake note that our protocol uses whole bytes. I had to print out number of actually captured bits in the trace log now. Otherwise 65 or 71 bits would not look any different but will not work when used with other tools. This also means we abuse the logging protocol by using the parity byte arry to store number of "left over bits" in the par[0] position. 2024-03-26 15:04:39 +01:00
iceman1001 392c251c81 fix lf search when running it without any tag on it. In short hitag get uid loop on device side just sits an waits 2024-02-20 00:42:35 +01:00
iceman1001 60439dc29b default to pwd mode 2024-02-16 21:07:02 +01:00
iceman1001 d58a9ad84e text 2024-02-10 19:07:13 +01:00
iceman1001 7c6d60e7ef style 2024-02-03 16:05:58 +01:00
iceman1001 0db2d1c92a added lf hitag eview command and unified some command description across the client 2024-01-30 11:02:10 +01:00
iceman1001 53a5087d67 added lf hitag view command to view dump files 2024-01-30 10:35:30 +01:00
iceman1001 fb23d2047f reworked the JSON format for 14a, 14b, 15, cryptorf, lto, NDEF.\nDeprecated EML format. Pm3 client do not save EML files any more.nPm3 client will continue to load EML files. 2023-10-02 20:11:23 +02:00
iceman1001 41ff9191d6 text 2023-07-24 21:04:21 +02:00
iceman1001 d19c9a262a style, same name everywhere in project 2023-07-24 00:53:35 +02:00
Philippe Teuwen 1a19640d18 make style 2023-07-21 18:22:46 +02:00
iceman1001 9324682873 fix lf search 2023-07-21 13:53:32 +02:00
iceman1001 152f1d4c6e coverity fix 2023-07-21 11:41:57 +02:00
Philippe Teuwen 78ea432b8c fix for killjoy windows 2023-07-21 09:27:12 +02:00
Philippe Teuwen dac7721cff hitag: coherence in hitag type options 2023-07-21 01:31:09 +02:00
Philippe Teuwen 173379b999 Rewrote completely cmds & options lf hitag read/dump/wrbl/ta
for more coherence with other pm3 cmds.
Still there remain strange things but it should be a step in the right direction...
2023-07-21 01:08:24 +02:00
iceman1001 97eb0238b1 style 2023-06-02 10:45:04 +02:00
Nat McHugh f1aedc6bce Add paxton id to hitg2 info 2023-05-03 13:17:20 +01:00
iceman1001 9888eef8dc changed hf mf wrbl and view command to look for strict readonly ACL in the data. 2023-01-06 23:53:25 +01:00
Nat McHugh cfc72fb5f1 Fix the dump command hitag2 2022-11-30 15:49:39 +00:00
iceman1001 17470a3720 keeping inside the arrays 2022-10-22 19:02:18 +02:00
Alisander be1c5305f8 Update cmdlfhitag.c
correct issue where only 4 or 6 key are used. 

Signed-off-by: Alisander <alessandro@lisi.cc>
2022-10-16 14:26:51 +02:00
iceman1001 b6908ab9c7 need an even better check if we got anything 2022-08-21 11:01:30 +02:00
iceman1001 2cfc4dc733 minor hitag adaptations 2022-07-30 20:11:39 +02:00
Doridian 789f807e83 100 2022-06-11 15:32:08 -07:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
iceman1001 f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 b3731c6003 cppcheck fixes 2022-01-06 18:18:48 +01:00
Philippe Teuwen 0f9315391a Changed drastically Hitag S ARM code to remove state machines and ease way to build new commands, Fixed Hitag S crypto mode with key or NrAr, fixed lf hitag cc, fixed pwd dump in hitagS dump with LKP 2022-01-03 22:43:58 +01:00