Merge branch 'RfidResearchGroup:master' into spi_flash_v2
[RRG-proxmark3.git] / armsrc / Standalone / hf_mattyrun.h
blob605ea447b2e87f9c4c2aac53ec95e8eff3edc962
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // definitions for HF MIFARE Classic chk/ecfill/sim aka MattyRun
17 //-----------------------------------------------------------------------------
19 #ifndef HF_MATTYRUN_H__
20 #define HF_MATTYRUN_H__
22 #include <inttypes.h>
24 // Set of standard keys to be used
25 static uint64_t const MATTYRUN_MFC_DEFAULT_KEYS[] = {
26 0xFFFFFFFFFFFF, // Default key
27 0x000000000000, // Blank key
28 0xA0A1A2A3A4A5, // MAD key
29 0x5C8FF9990DA2, // Mifare 1k EV1 (S50) hidden blocks, Signature data 16 A
30 0x75CCB59C9BED, // Mifare 1k EV1 (S50) hidden blocks, Signature data 17 A
31 0xD01AFEEB890A, // Mifare 1k EV1 (S50) hidden blocks, Signature data 16 B
32 0x4B791BEA7BCC, // Mifare 1k EV1 (S50) hidden blocks, Signature data 17 B
33 0xD3F7D3F7D3F7, // AN1305 MIFARE Classic as NFC Type MIFARE Classic Tag Public Key A
35 0x111111111111,
36 0x222222222222,
37 0x333333333333,
38 0x444444444444,
39 0x555555555555,
40 0x666666666666,
41 0x777777777777,
42 0x888888888888,
43 0x999999999999,
44 0xAAAAAAAAAAAA,
45 0xBBBBBBBBBBBB,
46 0xCCCCCCCCCCCC,
47 0xDDDDDDDDDDDD,
48 0xEEEEEEEEEEEE,
49 0xA5A4A3A2A1A0,
50 0xB0B1B2B3B4B5,
51 0xC0C1C2C3C4C5,
52 0xD0D1D2D3D4D5,
53 0xA0B0C0D0E0F0,
54 0xA1B1C1D1E1F1,
55 0xAABBCCDDEEFF,
56 0x001122334455,
57 0x112233445566,
58 0x010203040506,
59 0x0123456789AB,
60 0x123456789ABC,
62 // You could add more keys from, e.g, mfc_default_keys.dic here.
63 // However, be aware that more keys means longer brute-force times
64 // and too many keys will resuolt in running out of memory.
65 // See https://github.com/RfidResearchGroup/proxmark3/pull/2377#issuecomment-2112658439
66 // for a rough benchmark.
69 #endif /* HF_MATTYRUN_H__ */