Commit graph

2124 commits

Author SHA1 Message Date
iceman1001 972fb2e167 chg: micro opt.. 2017-12-12 22:08:55 +01:00
iceman1001 453831268a chg: 'script run mifare_autopwn' - when used with -k parameter, exit after one run. 2017-12-12 20:07:02 +01:00
iceman1001 7f706e1466 chg: 'script run 14araw' - if empty args, show help 2017-12-12 20:06:20 +01:00
iceman1001 4781ee78e8 chg: extracted check-key-fast into its own.
chg: added fast check inside nested.
2017-12-12 20:05:36 +01:00
iceman1001 033bc12933 chg: 'hf mf fchk' - adapttions to depth first exits 2017-12-11 22:33:50 +01:00
iceman1001 dd024b5300 chg: 'hf mf fchk' - depth first search 2017-12-11 21:43:29 +01:00
iceman1001 da57e74140 CHG: 'hf mf fchk' - two strategys. depth first for sector 1, AB. and width first with all sectors.
first run strategy 1. then 2.
2017-12-11 01:44:55 +01:00
iceman1001 b0f84f1391 chg: 'hf mf nack' - trying a different output 2017-12-10 20:29:59 +01:00
iceman1001 f148d34bc3 chg: 'hf mf chk' - added param h for help
chg:  'hf mf fchk' - added param h for help
2017-12-10 09:44:49 +01:00
iceman1001 8fbea68295 fix: 'script run mifare_autopwn' - out of context,... 2017-12-10 09:25:26 +01:00
iceman1001 e5f2198653 FIX: scripting, faulty command vaule for darkside attack. 2017-12-10 09:18:16 +01:00
iceman1001 21d4c5a530 FIX: scripting, darkside attack used faulty value instead of MIFARE_AUTH_KEYA... 2017-12-10 09:15:22 +01:00
iceman1001 97137b80df chg: 'script run mifare_autopwn' - forgot a lib 2017-12-10 09:07:35 +01:00
iceman1001 79494182cd chg: 'script run mifare_autopwn' - added a option to use a key. 2017-12-10 09:05:30 +01:00
iceman1001 c0d1fdff75 chg: added default keys 2017-12-09 07:15:54 +01:00
iceman1001 732fe340cb fix: 'hf search' - 14a detection was wrong. thanks @doegox for point it out. 2017-12-08 22:27:55 +01:00
iceman1001 44280abf62 chg: reverting back to more or less offical pm3 version. 2017-12-07 15:02:15 +01:00
iceman1001 e1a01dd2ff CHG: uniformed output for failed key retrivals. Now denoted with ------- 2017-12-06 23:56:07 +01:00
iceman1001 d34d42b0b8 textual 2017-12-06 21:58:08 +01:00
iceman1001 2bc60a87aa CHG: 'hf mf chk' - adding default_key array refactoring (@merlokk) 2017-12-06 20:14:18 +01:00
iceman1001 8a69488582 fix: 'hf mf mifare - wrongly executed the parity-zero when not needed. 2017-12-06 19:53:41 +01:00
iceman1001 c6a7cbfc1e fix: 'hf mf mifare' -1 bug...
fix:  some better timeouts for prng detection (@merlokk)
2017-12-06 17:46:35 +01:00
iceman1001 1f637d726f fix to darkside overdue. I needed to remove my old impl.. 2017-12-06 17:15:24 +01:00
iceman1001 f59ee2ffeb chg: textual 2017-12-06 01:20:31 +01:00
iceman1001 56dbf3ea15 chg: 'hf mf nack' - adjustments in return values..
add: 'hf 14a info -n'  added new parameter,  to enable test for nack bug.
2017-12-06 00:34:57 +01:00
iceman1001 01e1442bf8 chg: textual 2017-12-06 00:23:11 +01:00
iceman1001 e5f92935a1 chg: more adjustments 2017-12-06 00:17:49 +01:00
iceman1001 0c0e20eb06 chg: adjustments 2017-12-06 00:12:15 +01:00
iceman1001 2fffe96773 chg: added the append_Crc option 2017-12-05 23:41:04 +01:00
iceman1001 0a1a48df01 chg: 'hf mf nack' - extracted in into mifarehost for easier usage in other cmds like
'hf 14a info'
chg: 'hf mf nack' - changes on devices side from @doegox   Thanks!
2017-12-05 23:34:52 +01:00
iceman1001 5f87b24493 chg: 2017-12-05 21:07:03 +01:00
iceman1001 c0f91ddd09 revert... 2017-12-05 18:42:57 +01:00
iceman1001 c8a9813261 fix: better avr512 detection (@pwpiwi) https://github.com/Proxmark/proxmark3/pull/507 2017-12-05 18:28:29 +01:00
iceman1001 a43f156370 chg: 'hf mf nack' - minor 2017-12-05 18:04:21 +01:00
iceman1001 6e5038f224 chg: 'hf mf nack' - only test all 256 parities for one nonce when synced.
0 nack = has not bug.
1 nack == has bug
x nacks == most likely a clone card which answers nack to all requests.
2017-12-05 17:57:44 +01:00
iceman1001 53d8668e00 ADD: 'hf emv' - more additions by (@merlokk) 2017-12-05 15:44:35 +01:00
iceman1001 08193fd2e5 chg: getting crazy out of sync when running against magic cards. 2017-12-05 12:30:40 +01:00
iceman1001 bea28ae654 chg: wrong var name 2017-12-05 11:54:38 +01:00
iceman1001 984a26370d chg: 'hf mf nack' better output 2017-12-05 11:53:42 +01:00
Iceman 66e0e18a35
Update Makefile
Remove all subversionings like  
7.1.1-3   becomes  7.1.1
2017-12-05 07:29:53 +01:00
iceman1001 7b01acd6cc fix: ref to <ctype.h> for isxdigit() 2017-12-04 21:18:08 +01:00
iceman1001 614255fd75 revert...
something is wrong with includes and defines...
2017-12-04 20:35:51 +01:00
iceman1001 7044cf8fdf chg: double defines.. 2017-12-04 20:30:03 +01:00
iceman1001 e02e145fae draft for a Mifare classic NACK bug detection.
the idea is to have a statistically solid conclusion if tag does or does not have the NACK bug.

-in short, ref  https://github.com/iceman1001/proxmark3/issues/141
NACK bug;  when a tag responds with a NACK to a 8 byte nonce exchange during authentication when the bytes are wrong but the parity bits are correct.

This is a strong oracle which is used in the darkside attack.
2017-12-04 19:36:26 +01:00
iceman1001 07bf77e155 fix: 'hf mfu restore' - printed too many bytes. 8 -> 4 2017-12-03 15:58:37 +01:00
iceman1001 c4b73c8737 chg: better debugging functions. 2017-12-03 15:24:24 +01:00
iceman1001 73a5e3b23d chg: 'hf mfu eload' - instead of showing a error, it now tells a warning that we only loaded N blocks of data to emulator memory.
It always loads the existing blocks into emulator memory.

The previous message made users belive a error had occured when it actually did load.
2017-12-03 15:23:24 +01:00
iceman1001 b89b3399dc FIX: if receiving array isnt large enough, previously this will smash the stack.. 2017-12-02 20:45:53 +01:00
iceman1001 bb916aa999 fix: removed a warning 2017-12-02 19:07:10 +01:00
iceman1001 3b4b7812bf fix: removed a warning, 2017-12-02 19:01:43 +01:00
iceman1001 d54bb4ddf4 chg: skip if not debug 2017-12-02 18:59:47 +01:00
iceman1001 eb0c0c364c CHG: EMV changes. https://github.com/Proxmark/proxmark3/pull/493 [@merlokk) 2017-12-02 18:58:33 +01:00
iceman1001 6e144e0121 chg: removed line 2017-11-29 07:19:51 +01:00
iceman1001 2a120ec2e0 fix: no copy the crc 2017-11-29 07:18:43 +01:00
iceman1001 53452ab857 fix: 'hf mfu info' - rfu should n't print pack.
fix: 'hf mfu info' - wrong pointer to cli authenticationkey
2017-11-28 21:23:58 +01:00
iceman1001 bed2ff2dba fix: wrong place.. key got overwritten.. 2017-11-28 20:36:29 +01:00
iceman1001 bc9b2af87e ADD: NTAG213F,NTAG216F specific information in configuration blocks.
ADD: insert pwd/pack if specified from cli.
2017-11-28 20:03:46 +01:00
iceman1001 5f58dcfa52 fix: 'hf mfu dump' - wrong. 2017-11-28 09:25:36 +01:00
iceman1001 1299a0b31d CHG: increased timeout for printing the warning messages. It interupts all loops that already takes this in consideration. 2017-11-28 08:30:25 +01:00
iceman1001 6fa8740abd fix: 'hf mfu info' - select before testing a new pwdgen.
fix: 'hf mfu info' - break after found pwd
2017-11-27 20:04:54 +01:00
iceman1001 b99d759231 fix: compare not assign 2017-11-27 09:23:21 +01:00
iceman1001 f46546c5a9 ADD: 'hf mfu info' - tag identification should now identify NTAG213_F , NTAG216_F (thanks for info @jackfagner) 2017-11-27 09:21:55 +01:00
iceman1001 428e54bb6b CHG: 'hf mfu' gettype identification, now deals with NTAG213, GetVersion = subtype 04, 2017-11-26 19:16:12 +01:00
iceman1001 1ebf4afd73 CHG: 'hf mfu info' - now also tests for pwdgen algo D. 2017-11-26 16:52:20 +01:00
iceman1001 b5010ddfe8 fix: signed / unsigned errors. 2017-11-26 07:29:05 +01:00
iceman1001 9b573e06a4 ADD: hooking up 'pwdgen algo D' for lua-scripting 2017-11-26 07:08:27 +01:00
iceman1001 0815f19389 ADD: new pwdgen algo, (thanks @jackfagner) who did a great job figuring it out. Read his blog.
ref.   https://github.com/jackfagner/NfcKey/blob/master/NfcKeyC.c
2017-11-25 08:48:36 +01:00
iceman1001 9959d5c1e7 chg: emv commands should now compile. no testing done. 2017-11-25 08:18:30 +01:00
iceman1001 647411d10d chg: pointing to new emv cmds. (@merlokk) 2017-11-25 08:06:43 +01:00
iceman1001 4721e7e8a0 add: new found pwd. {@gentilkiwi) 2017-11-25 08:05:15 +01:00
iceman1001 e8e3256f7e add: compilation order 2017-11-25 08:03:53 +01:00
iceman1001 fa98197961 chg: added some updated string functions (@merlokk) 2017-11-25 08:02:51 +01:00
iceman1001 81ccfa734e add: 'script run brutesim' - new script to show simple bruteforce by incrementing cardnumber against different readers. Both LF & HF. @kenzycarey
(adjusted to fit into same script structure like the rest in iceman fork)
2017-11-25 07:58:56 +01:00
iceman1001 5f695999d2 add: emv - new files from pm3 offical 2017-11-25 03:29:26 +01:00
iceman1001 13ffd7bf97 add: emv changes from pm3 offical. 2017-11-25 03:28:02 +01:00
iceman1001 2f3dbbcaa3 rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)
chg:  Fix memory bounds error (@wsmoses)
 c3511781a1
2017-11-11 23:23:01 +01:00
iceman1001 02af3b9e1d CHG: (@pwpiwi) d940ebfbad 2017-11-10 23:24:05 +01:00
iceman1001 25b173ea20 chg: 'hf 14a reader' - @pwpiwi 7c8115b273 2017-11-10 22:55:33 +01:00
iceman1001 0d149dd949 FIX: buffer overflow. array too short 2017-11-10 21:20:54 +01:00
iceman1001 9b4e52b89e CHG: dropfield 2017-11-10 20:49:56 +01:00
iceman1001 8b83db2c1b ADD: 'hf 14a apdu' @merlokk 2017-11-10 20:47:31 +01:00
iceman1001 a3e923c529 add: emv 2017-11-10 20:09:22 +01:00
iceman1001 23506bd1d7 add: first part emv @merlokk 2017-11-10 20:08:28 +01:00
iceman1001 30ceea4aea chg: cleaning up some function calls.
fix: check to see clock is bigger than zero.
2017-11-09 19:15:56 +01:00
iceman1001 3b91a33eec fix: assume graphbuffer data only 2017-11-06 15:45:23 +01:00
iceman1001 dd0b11c0ef fix: ..its not noise ...
fix:  only assume Graphbuffer values 128 -> -127 ...
2017-11-06 15:43:15 +01:00
iceman1001 e3ac1c586f chg: noise detection 2017-11-06 15:32:46 +01:00
iceman1001 31be64824e syntax sugar 2017-11-06 15:28:03 +01:00
iceman1001 423de2ba44 CHG: removed unused function 2017-11-06 15:08:36 +01:00
iceman1001 881c7115a7 CHG: centralized the LF signal properties LOW/HIGH/MEAN/AMPLITUDE/ISNOISE into one struct.
CHG: 'data raw ar'  - didn't take in consideration the command line parameter CLOCK.
2017-11-06 15:06:42 +01:00
iceman1001 d89fb5ab39 chg: helptext 2017-11-05 18:33:10 +01:00
iceman1001 de5b06c3d3 rem: outdated script 2017-11-05 17:44:41 +01:00
iceman1001 3b1c01cd13 CHG: 'lf search' - hitag/cotag wrong return values
CHG: is_justnoise - safety checks
CHG: 'hitag reader' - debug printing
2017-10-30 22:20:08 +01:00
iceman1001 54e8a0ae2b change demod printing 2017-10-30 20:33:11 +01:00
iceman1001 9632d91240 FIX: absolute value when comparing against threhold 2017-10-30 20:03:36 +01:00
iceman1001 db56ca11a3 FIX: detect noise signal by measuring amplitude of signal. 2017-10-30 19:18:30 +01:00
iceman1001 6f948be842 CHG: some average / mean functions to enhance justNoise functions.
FIX: 'lf t55xx' - verifying that collected signal is not just noise..
2017-10-30 16:44:04 +01:00
iceman1001 d5a1e4c7d4 fix: 'em' - return negative to a bool is not ok 2017-10-30 16:19:15 +01:00
iceman1001 d1566728e2 more fflushes. 2017-10-30 15:10:32 +01:00
iceman1001 92858d39d4 fix: flushing some output.. 2017-10-30 15:08:20 +01:00