Commit Graph
88 Commits
Author SHA1 Message Date
iceman1001 2028a34d5e if SEOS decideds not to follow protocol themselfs... 2026-03-29 09:40:55 +07:00
iceman1001 d06b96d800 text 2026-03-29 08:32:05 +07:00
Iceman cfc2540aac Merge branch 'master' into master
Signed-off-by: Iceman <iceman@iuse.se>
2026-03-24 06:38:16 +07:00
kormax ea3d6ea39e Remove unused code; add comment names to AID values 2026-03-23 20:24:20 +02:00
Mistial Developer a46a4bfa65 Seos: allow plaintext ADF on rebased flow 2026-03-20 12:37:17 -07:00
Mistial Developer 30013fff2b Seos: fix key handling 2026-03-20 12:35:19 -07:00
kormax 48c47d84c2 Fix truncated 'le' value in some 'hf seos' commands 2026-03-20 20:45:19 +02:00
kormax ced4ce4c6b Add ADF response validation for 'hf seos' commands 2026-03-20 20:41:19 +02:00
kormax 58dcfb1dbc Add '--aid' param to 'hf seos' commands 2026-03-20 20:16:44 +02:00
Adam Jon Foster ee0b5ba3d3 Update cmdhfseos.c
Fixing debug names

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2026-03-18 13:20:59 +08:00
Adam Jon Foster 9d923c81f0 Fixing the SEOS GET Data logic to allow for tags values longer than 255
There was an issue inside of the GET Data response where if the response was longer than 255 bytes (such as the FF41 tag on NVX's Zero Key format), it would fail to parse. I've added some extra wrapping to clean this up, but longer term we would need to refactor how we parse SM responses anyway.

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2026-03-18 13:17:40 +08:00
Aaron Tulino (Aaronjamt) f8ff76c5ae [hf seos] Move max OID len to preproc define 2026-03-17 19:05:43 -07:00
Aaron Tulino (Aaronjamt) 440d82ae26 [hf seos] Increase maximum ADF OID length
Some newer MOB/ICE OIDs have gotten quite large. Custom OIDs may also be even larger.
2026-03-17 18:45:56 -07:00
Philippe Teuwen c00e4801b7 make style 2026-02-06 13:43:41 +01:00
Aaron Tulino (Aaronjamt) f399b8d3a6 [hf seos] Fix Synthesized IV validation 2026-01-23 14:15:21 -07:00
Iceman ccf61de4ec Merge pull request #3072 from aaronjamt/patch-keyset-update
[hf seos] Combine read/write/admin keys
2025-12-28 16:21:28 +01:00
Iceman f8434540f5 Merge pull request #3071 from aaronjamt/patch-diversifier-length
[hf seos] Fix printed diversifier length
2025-12-28 16:20:41 +01:00
Aaron Tulino (Aaronjamt) d0ad38d62d [hf seos] Combine read/write/admin keys 2025-12-27 02:57:30 -07:00
Aaron Tulino (Aaronjamt) 3a26fa884b [hf seos] Fix printed diversifier length 2025-12-27 02:19:10 -07:00
Aaron Tulino (Aaronjamt) a0a719245c [hf seos] Improve error logging for incorrect keys 2025-12-26 21:43:42 -07:00
Aaron Tulino (Aaronjamt) bf01adc309 [hf seos] Clean up fixed array allocations 2025-12-24 09:57:41 -07:00
Aaron Tulino (Aaronjamt) 08f7e0d45a Another minor bugfix 2025-12-23 22:51:29 -07:00
Iceman 50a55c21ae Merge pull request #3065 from aaronjamt/patch-minor-cleanup
[hf seos] Minor cleanup
2025-12-23 23:31:01 +01:00
Aaron Tulino (Aaronjamt) e2bd1444fb Further optimization
Make SHA256 output directly into the final output buffer and make the first SHA1 do the same. The second SHA1 needs an intermediate buffer as it outputs 20 bytes but we only need the first 12.
2025-12-23 14:43:14 -07:00
Aaron Tulino (Aaronjamt) 6da3dc3798 [hf seos] Minor cleanup 2025-12-23 11:02:09 -07:00
Aaron Tulino (Aaronjamt) 3a931fb320 Fix #3063 2025-12-23 10:52:27 -07:00
Iceman 6f55a8a9c0 Merge pull request #3060 from aaronjamt/patch-seos-emu-client
[hf seos] Simulate support (2/2)
2025-12-23 11:07:33 +01:00
Aaron Tulino (Aaronjamt) f1e6e49484 No more rand() 2025-12-22 15:21:47 -07:00
Aaron Tulino (Aaronjamt) e771408b33 Split single-line ifs 2025-12-22 15:20:30 -07:00
Aaron Tulino (Aaronjamt) 9969e23d98 Remove debug messages 2025-12-22 15:19:31 -07:00
Aaron Tulino (Aaronjamt) 722a8aac8c [hf seos] Simulate client support 2025-12-22 15:10:51 -07:00
Aaron Tulino (Aaronjamt) d54659370b [hf seos] Validate synthesized IV
Also adds missing return value checks
2025-12-22 14:38:46 -07:00
Aaron Tulino (Aaronjamt) 32f1e4b51c [hf seos] Allow short SIO 2025-12-21 03:55:28 -07:00
Aaron Tulino (Aaronjamt) f45d2798fb [hf seos] CommandTable formatting 2025-12-20 14:13:20 -07:00
Iceman 0cee5705f6 Merge pull request #3052 from aaronjamt/hex_conv_cleanup
Bytes->Hex conversions cleanup
2025-12-20 22:10:45 +01:00
Aaron Tulino (Aaronjamt) d4034d4ea1 [hf seos] Cleanup OID buffer hex conversion 2025-12-20 13:48:10 -07:00
Aaron Tulino (Aaronjamt) 179e6c5681 [hf seos] Add write support 2025-12-20 13:32:41 -07:00
Aaron Tulino (Aaronjamt) dd47e10a3f Add new keyslot value in keyset 2025-12-18 15:15:37 -07:00
Aaron Tulino 8a929015c9 Make PR more readable 2025-12-11 02:53:54 -07:00
Aaron Tulino (Aaronjamt) b602436a6e [hf seos] Carry when incrementing 2025-12-09 15:37:32 -07:00
Aaron Tulino (Aaronjamt) 950c087702 Fix cmac writing out-of-bounds 2025-12-03 01:46:35 -07:00
Aaron Tulino (Aaronjamt) a20856730c [hf seos] Fix wrapped command padding 2025-11-28 16:45:48 -07:00
Aaron Tulino (Aaronjamt) 7d198c9a9a [hf seos] Correct command padding size 2025-11-26 19:59:56 -07:00
Iceman 9b2e3eeeb4 Merge pull request #3029 from aaronjamt/patch-3
[hf seos] Clean up and clarify "tag data"
2025-11-26 05:17:10 +01:00
Iceman 34adba543d Merge pull request #3030 from aaronjamt/patch-5
[hf seos] Only allow read/write while Proxmark connected
2025-11-26 05:15:07 +01:00
Iceman cbba121711 Merge pull request #3028 from aaronjamt/patch-2
[hf seos] Add keyslot parameter to `seos_mutual_auth`
2025-11-26 05:14:09 +01:00
Aaron Tulino (Aaronjamt) 89e6e9a7d0 [hf seos] Fix cmac input length 2025-11-21 22:58:03 -07:00
Aaron Tulino (Aaronjamt) eaaa75957a [hf seos] Only allow read/write while Proxmark connected 2025-11-19 19:09:32 -07:00
Aaron Tulino (Aaronjamt) 7df4361031 [hf seos] Clean up "tag data" 2025-11-19 16:49:20 -07:00
Aaron Tulino (Aaronjamt) 8f13add397 [hf seos] Add keyslot parameter to seos_mutual_auth 2025-11-18 14:48:04 -07:00