1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
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.
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__
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
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__ */