Commit graph

3861 commits

Author SHA1 Message Date
Antiklesys
0b7d76d7cd Fixed keygen bug in legrec
Fixed legrec bug that was generating blank keys after misalignment in commit: 110dfab668
2024-11-07 19:20:50 +08:00
Antiklesys
110dfab668 Improved algorithm for hf iclass legrec
Improved algorithm for hf iclass legrec by taking in account the hash0 limitations for the ending bits distributions of each key bite, thus reducing the key entropy and number of required tries from 2^24 to almost 2^19
2024-11-06 16:52:48 +08:00
Philippe Teuwen
46813e0e50 hf mf isen: rewrite counters, add specific NONCE_SUPERSTATIC case (when first nt == nested nt) 2024-11-05 17:07:54 +01:00
Philippe Teuwen
6706bdb13f hf mf isen: detect special static nonce nt_first==nt_nested 2024-11-05 09:30:22 +01:00
iceman1001
b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001
9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
nvx
ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx
6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx
df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00
Iceman
7c4fd9a46a
Merge pull request #2595 from n0emis/hitags-sim-timing
hitagS sim: fix timing of receive
2024-10-28 01:26:02 +01:00
Iceman
1229d7fd93
Merge pull request #2580 from n0emis/hitags-byteorder
lf hitag hts: use correct byteorder for authentication
2024-10-28 01:25:32 +01:00
Ember 'n0emis' Keske
843bb46705 hitagS sim: fix timing of receive
probably a regression from timer changes in 911766b
2024-10-27 13:17:42 +01:00
Ember 'n0emis' Keske
612aae8658 lf hitag hts: correct byteorder for authentication 2024-10-26 22:55:02 +02:00
Iceman
57d3de2af6
Merge pull request #2589 from douniwan5788/style
style
2024-10-24 13:25:02 +02:00
Simone Spadino
a1ca2fefa2
Merge branch 'RfidResearchGroup:master' into feature/staticnested 2024-10-23 18:18:31 +02:00
Iceman
49ac2339b5
Merge branch 'master' into master
Signed-off-by: Iceman <iceman@iuse.se>
2024-10-23 17:59:52 +02:00
Iceman
6de21ed0c3
Merge pull request #2588 from douniwan5788/hts_read_page
fix: Hitag S Read page failed
2024-10-23 17:58:40 +02:00
Simone Spadino
f1614b4c77
Merge branch 'RfidResearchGroup:master' into feature/staticnested 2024-10-23 17:57:52 +02:00
Iceman
a2b18ddd22
Merge branch 'master' into hts_resp_protocol
Signed-off-by: Iceman <iceman@iuse.se>
2024-10-23 17:44:07 +02:00
Iceman
3aeefde14d
Merge pull request #2582 from jakkpotts/fix-hf_young_syntax
Fixed syntax error in flags declaration in hf_young.c
2024-10-23 17:36:24 +02:00
douniwan5788
f049b568c5 style 2024-10-23 22:25:30 +08:00
douniwan5788
046488664b fix: Hitag S Read page failed 2024-10-23 22:24:53 +08:00
douniwan5788
911766b212 add: support for all Hitag S response protocol mode 2024-10-23 22:08:52 +08:00
Simone Spadino
212f108a91 Auto distance measurement 2024-10-23 11:53:49 +02:00
Simone Spadino
846937a684 Support for static nonces card with offset 0 2024-10-23 00:24:07 +02:00
jakkpotts
0cd6e950b0 Fixed syntax error in flags declaration in hf_young.c 2024-10-20 02:47:55 -07:00
Antiklesys
88364f6a48
Update iclass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-10-20 11:18:50 +08:00
Antiklesys
d6f8f9db4a Updated hf iclass legrec arm side and added custom key to dictionary
Updated hf iclass legrec arm functionality
Added new custom standard key to the repository

Todo: Improve keygen algorithm efficiency
2024-10-20 11:16:46 +08:00
Philippe Teuwen
41a43bc85c hf mf sim: add option to allow key b to be used even if readable 2024-10-19 20:34:40 +02:00
Philippe Teuwen
838e0adfa7 rework Mifare simulation flags 2024-10-19 20:34:40 +02:00
iceman1001
0c2ef9d3a8 style 2024-10-18 17:37:52 +02:00
Philippe Teuwen
079689628b hf mf sim: add nested reader attack (needs data & rf08s nonces) 2024-10-16 19:54:03 +02:00
Philippe Teuwen
5b7ba3bf50 MFsim: RATS_IN_DATA was not a proper bit flag 2024-10-16 15:24:01 +02:00
Philippe Teuwen
5470303588 prepare MifareAcquireStaticEncryptedNonces for standalone 2024-10-16 01:48:36 +02:00
Philippe Teuwen
3b91624ea6 Mifare1ksim logic closer to SimulateIso14443aTag and keep running when using mfkey32v2 2024-10-16 01:46:13 +02:00
Philippe Teuwen
8828c9513e hf mf sim -x: collect nonces for mfkey32v2 only if current sim key is invalid 2024-10-16 01:46:13 +02:00
Philippe Teuwen
ffd5601325 hf mf sim: simplify nonce collection 2024-10-16 01:46:13 +02:00
douniwan5788
252d6a29db fix: switch Hitag S UID REQUEST to HITAGS_UID_REQ_ADV1 for Hitag 1 compatibility 2024-10-15 13:35:47 +08:00
Philippe Teuwen
bb3d36bf20 hf mf sim: fix text 2024-10-15 01:27:05 +02:00
Philippe Teuwen
85e463b222 hf mf isen --collect_fm11rf08s_with_data optimizations:
* do not read data blocks twice
* store data in the emulator memory, to be prepared for standalone modes and to not allocate large buffer on stack
* 9->8 bytes to store each key data in emulator memory (half_nt + nt_par_err + flag + nt_enc)
2024-10-14 15:34:25 +02:00
Philippe Teuwen
e7ff2ad1ca hf mf ecfill: wait for execution and return status 2024-10-13 22:55:41 +02:00
Philippe Teuwen
a11ba61b01 hf mf ecfill: add support for quick dump via backdoor auth 2024-10-13 22:55:41 +02:00
Sebastian Meyer-Bohr
6da624c580 Fix SimulateIso14443aInit usage
Added NULL as `uint8_t *iRats` to all invokations in armsrc/Standalone.

Not sure if that is the right thing to do: The actual code checks for the presence of a special flag, but does not contain a check for NULL.
IMHO adding a NULL check in `iso14443a.c` line 1259 wouldn't hurt, and could catch programming errors (flag set by accident, but NULL passed).

Maybe @evildaemond wants to verify whether my fix does the right thing or if I missed something (they added the iRATs to `iso14443a.h` with 56324b16b2).
2024-10-07 11:44:27 +02:00
Philippe Teuwen
05ec053a38 Quick fix on standalone modes using SimulateIso14443aTag. Still need to fix those with SimulateIso14443aInit 2024-10-07 11:15:43 +02:00
iceman1001
c002ae9f77 style 2024-10-06 10:08:17 +02:00
Iceman
f00fac8b59
Merge pull request #2557 from douniwan5788/82xx_config
add: 82xx config parse
2024-10-04 19:39:48 +03:00
douniwan5788
9a50e608e0 add PM3_REASON_UNKNOWN 2024-10-04 23:25:15 +08:00
douniwan5788
d361cd863c add: 82xx config parse 2024-10-04 23:00:24 +08:00
douniwan5788
680f16573d fix: lf hitag hts rdbl read by page 2024-10-04 22:30:28 +08:00
douniwan5788
274756686a add: Hitag S error reason 2024-10-04 21:56:22 +08:00