mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
New: implementing hf mf hardnested
This implements the attack described in Carlo Meijer, Roel Verdult, "Ciphertext-only Cryptanalysis on Hardened Mifare Classic Cards" in Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security, 2015 It uses precomputed tables for many bitflip properties (not only two as in the paper) and is therefore quite efficient. To prevent failing it doesn't do differential analysis with several nonce bytes' Sum(a8) properties (each of them may be wrongly guessed) - instead it concentrates on one nonce byte and tries all Sum(a8) property guesses sequentially (ordered by probability). The brute force phase makes use of aczid's bit sliced brute forcer (https://github.com/aczid/crypto1_bs). Includes runtime CPU-detection to leverage modern (and old) SIMD instructions with a single executable.
This commit is contained in:
parent
a5eb7820a5
commit
c48c4d7856
370 changed files with 687839 additions and 172 deletions
1
client/hardnested/tables/bitflip_0_001_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_001_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_003_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_003_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_005_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_005_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_007_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_007_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_009_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_009_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_00b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_00b_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_00d_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_00d_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_00f_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_00f_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_010_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_010_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_014_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_014_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_01c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_01c_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_021_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_021_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_023_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_023_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_025_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_025_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_027_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_027_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_029_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_029_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_02b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_02b_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_02d_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_02d_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_02f_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_02f_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_030_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_030_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_034_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_034_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_03c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_03c_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_040_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_040_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_044_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_044_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_04c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_04c_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_051_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_051_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_053_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_053_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_055_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_055_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_057_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_057_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_059_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_059_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_05b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_05b_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_05d_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_05d_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_05f_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_05f_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_064_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_064_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_06c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_06c_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_071_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_071_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_073_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_073_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_075_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_075_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_077_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_077_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_079_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_079_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_07b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_07b_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_07f_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_07f_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_081_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_081_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_083_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_083_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_085_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_085_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_087_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_087_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_089_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_089_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_08b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_08b_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_08d_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_08d_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_08f_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_08f_states.bin
Normal file
File diff suppressed because one or more lines are too long
341153
client/hardnested/tables/bitflip_0_090_states.bin
Normal file
341153
client/hardnested/tables/bitflip_0_090_states.bin
Normal file
File diff suppressed because it is too large
Load diff
BIN
client/hardnested/tables/bitflip_0_094_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_094_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_09c_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_09c_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0a1_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0a1_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0a3_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0a3_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0a5_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0a5_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0a7_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0a7_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_0a9_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0a9_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0ab_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0ab_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0ad_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0ad_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0af_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0af_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0b0_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0b0_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_0b4_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0b4_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0bc_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0bc_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0c0_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0c0_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_0c4_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0c4_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0cc_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0cc_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0d1_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0d1_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0d3_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0d3_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0d5_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0d5_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0d7_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0d7_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0d9_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0d9_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0db_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0db_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0dd_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0dd_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0df_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0df_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_0e4_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0e4_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0ec_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0ec_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0f3_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0f3_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0f5_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0f5_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0f7_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0f7_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_0f9_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0f9_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_0fb_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_0fb_states.bin
Normal file
Binary file not shown.
1
client/hardnested/tables/bitflip_0_0fd_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0fd_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_0ff_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_0ff_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_104_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_104_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_10c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_10c_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_111_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_111_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_113_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_113_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_115_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_115_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_117_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_117_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_119_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_119_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_11b_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_11b_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_11d_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_11d_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_11f_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_11f_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_124_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_124_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_12c_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_12c_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_131_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_131_states.bin
Normal file
File diff suppressed because one or more lines are too long
1
client/hardnested/tables/bitflip_0_133_states.bin
Normal file
1
client/hardnested/tables/bitflip_0_133_states.bin
Normal file
File diff suppressed because one or more lines are too long
BIN
client/hardnested/tables/bitflip_0_135_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_135_states.bin
Normal file
Binary file not shown.
BIN
client/hardnested/tables/bitflip_0_137_states.bin
Normal file
BIN
client/hardnested/tables/bitflip_0_137_states.bin
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue