]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/lualibs/mf_default_keys.lua
CHG: the mifare Auth command can make use of a random nonce aswell.
[proxmark3-svn] / client / lualibs / mf_default_keys.lua
CommitLineData
16b04cb2 1
2local _keys = {
16b04cb2 3 --[[
16b04cb2 4 These keys are from the pm3 c-codebase.
16b04cb2 5 --]]
9f7a854d 6 'ffffffffffff', -- Default key (first key used by program if no user defined key)
16b04cb2 7 '000000000000', -- Blank key
8 'a0a1a2a3a4a5', -- NFCForum MAD key
9 'b0b1b2b3b4b5',
10 'aabbccddeeff',
11 '4d3a99c351dd',
12 '1a982c7e459a',
34c30823 13 'd3f7d3f7d3f7', -- key A Wien
14 '5a1b85fce20a', -- key B Wien
16b04cb2 15 '714c5c886e97',
16 '587ee5f9350f',
17 'a0478cc39091',
18 '533cb6c723f6',
19 '8fd0a4f256e9',
16b04cb2 20
21 --[[
bae363d8 22 The Slurp project,
23 Data from: https://github.com/4ZM/slurp/blob/master/res/xml/mifare_default_keys.xml
16b04cb2 24 --]]
16b04cb2 25 '000000000000', -- Default key
9f7a854d 26 'ffffffffffff', -- Default key
16b04cb2 27 'b0b1b2b3b4b5', -- Key from mfoc
28 '4d3a99c351dd', -- Key from mfoc
29 '1a982c7e459a', -- Key from mfoc
30 'aabbccddeeff', -- Key from mfoc
31 '714c5c886e97', -- Key from mfoc
32 '587ee5f9350f', -- Key from mfoc
33 'a0478cc39091', -- Key from mfoc
34 '533cb6c723f6', -- Key from mfoc
35 '8fd0a4f256e9', -- Key from mfoc
bae363d8 36
37 --[[
38 Data from: http://pastebin.com/wcTHXLZZ
39 --]]
16b04cb2 40 'a64598a77478', -- RKF SL Key A
41 '26940b21ff5d', -- RKF SL Key A
42 'fc00018778f7', -- RKF SL Key A
43 '00000ffe2488', -- RKF SL Key B
44 '5c598c9c58b5', -- RKF SL Key B
45 'e4d2770a89be', -- RKF SL Key B
bae363d8 46
47 --[[
48 Data from: http://pastebin.com/svGjN30Q
49 --]]
16b04cb2 50 '434f4d4d4f41', -- RKF JOJO GROUP Key A
51 '434f4d4d4f42', -- RKF JOJO GROUP Key B
52 '47524f555041', -- RKF JOJO GROUP Key A
53 '47524f555042', -- RKF JOJO GROUP Key B
54 '505249564141', -- RKF JOJO PRIVA Key A
55 '505249564142', -- RKF JOJO PRIVA Key B
bae363d8 56
57 --[[
58 Data from: http://pastebin.com/d7sSetef
59 --]]
16b04cb2 60 'fc00018778f7', -- RKF Rejskort Danmark Key A
61 '00000ffe2488', -- RKF Rejskort Danmark Key B
62 '0297927c0f77', -- RKF Rejskort Danmark Key A
63 'ee0042f88840', -- RKF Rejskort Danmark Key B
64 '722bfcc5375f', -- RKF Rejskort Danmark Key A
65 'f1d83f964314', -- RKF Rejskort Danmark Key B
bae363d8 66
67 --[[
68 Data from: http://pastebin.com/pvJX0xVS
69 --]]
16b04cb2 70 '54726176656C', -- Transport Key A
71 '776974687573', -- Transport Key B
72 '4AF9D7ADEBE4', -- Directory and event log Key A
73 '2BA9621E0A36', -- Directory and event log Key B
bae363d8 74
75 --[[
76 Data from: http://pastebin.com/AK9Bftpw
77 --]]
f218d50e 78 '48ffe71294a0', -- Länstrafiken i Västerbotten
79 'e3429281efc1', -- Länstrafiken i Västerbotten
80 '16f21a82ec84', -- Länstrafiken i Västerbotten
81 '460722122510', -- Länstrafiken i Västerbotten
bae363d8 82
83 --[[
84 Data from: http://pastebin.com/Dnnc5dFC
85 --]]
16b04cb2 86 'fc00018778f7', -- Västtrafiken Key A
87 '00000ffe2488', -- Västtrafiken Key B
88 '0297927c0f77', -- Västtrafiken Key A
89 'ee0042f88840', -- Västtrafiken Key B
90 '54726176656c', -- Västtrafiken Key A
91 '776974687573', -- Västtrafiken Key B
bae363d8 92
93 --[[
94 Data from: http://pastebin.com/y3PDBWR1
95 --]]
16b04cb2 96 '000000000001',
97 'a0a1a2a3a4a5',
98 '123456789abc',
99 'b127c6f41436',
100 '12f2ee3478c1',
101 '34d1df9934c5',
102 '55f5a5dd38c9',
103 'f1a97341a9fc',
104 '33f974b42769',
105 '14d446e33363',
106 'c934fe34d934',
107 '1999a3554a55',
108 '27dd91f1fcf1',
109 'a94133013401',
110 '99c636334433',
111 '43ab19ef5c31',
112 'a053a292a4af',
113 '434f4d4d4f41',
114 '434f4d4d4f42',
115 '505249565441',
116 '505249565442',
bae363d8 117
118 --[[
119 Data from: http://pastebin.com/TUXj17K3
120 --]]
16b04cb2 121 'fc0001877bf7', -- RKF ÖstgötaTrafiken Key A
122 '00000ffe2488', -- RKF ÖstgötaTrafiken Key B
123 '0297927c0f77', -- RKF ÖstgötaTrafiken Key A
124 'ee0042f88840', -- RKF ÖstgötaTrafiken Key B
125 '54726176656c', -- RKF ÖstgötaTrafiken Key A
126 '776974687573', -- RKF ÖstgötaTrafiken Key B
127
128 --[[
bae363d8 129 Data from: https://code.google.com/p/mifare-key-cracker/downloads/list
16b04cb2 130 --]]
16b04cb2 131 'bd493a3962b6',
132 '010203040506',
133 '111111111111',
134 '222222222222',
135 '333333333333',
136 '444444444444',
137 '555555555555',
138 '666666666666',
139 '777777777777',
140 '888888888888',
141 '999999999999',
142 'aaaaaaaaaaaa',
143 'bbbbbbbbbbbb',
144 'cccccccccccc',
145 'dddddddddddd',
146 'eeeeeeeeeeee',
147 '0123456789ab',
148 '123456789abc',
fdefed66
MHS
149
150 --[[
bae363d8 151 Data from: https://github.com/4ZM/mfterm/blob/master/dictionary.txt
fdefed66 152 --]]
fdefed66 153 'abcdef123456', -- Key from ladyada.net
fdefed66
MHS
154 '000000000001',
155 '000000000002',
156 '00000000000a',
157 '00000000000b',
158 '100000000000',
159 '200000000000',
160 'a00000000000',
161 'b00000000000',
c15d2bdc 162
163 --[[
bae363d8 164 Mifare TNP3xxx tags key A
c15d2bdc 165 --]]
166 '4b0b20107ccb',
167
95e63594 168 --[[
169 Kiev metro cards
170 --]]
171 '8fe644038790',
172 'f14ee7cae863',
173 '632193be1c3c',
174 '569369c5a0e5',
175 '9de89e070277',
176 'eff603e1efe9',
177 '644672bd4afe',
95e63594 178 'b5ff67cba951',
984f9571 179
180 --[[
181 hotel system cards,
182 http://www.proxmark.org/forum/viewtopic.php?id=2430
183 --]]
184 '44ab09010845',
185 '85fed980ea5a',
0ad970fb 186
187 --[[
188 VIGIK1
189 --]]
190 '314B49474956',
191 '564c505f4d41',
3fd842ed 192
193 --[[
194 BCARD keyB
195 --]]
196 'f4a9ef2afc6d',
70ee301e 197
198 --[[
199 --]]
200 'a9f953def0a3',
e98572a1 201
202 --[[
203 mystery Key A and B for Mifare 1k EV1 (S50) Sector 17!
204 --]]
205 '75ccb59c9bed',
206 '4b791bea7bcc',
b87f99f4 207
208 --[[
bae363d8 209 Here be BIP keys
210 Data from: http://pastebin.com/QjUc66Zg
b87f99f4 211 --]]
212 '3A42F33AF429',
213 '1FC235AC1309',
214 '6338A371C0ED',
215 '243F160918D1',
216 'F124C2578AD0',
217 '9AFC42372AF1',
218 '32AC3B90AC13',
219 '682D401ABB09',
220 '4AD1E273EAF1',
221 '067DB45454A9',
222 'E2C42591368A',
223 '15FC4C7613FE',
224 '2A3C347A1200',
225 '68D30288910A',
226 '16F3D5AB1139',
227 'F59A36A2546D',
228 '937A4FFF3011',
229 '64E3C10394C2',
230 '35C3D2CAEE88',
231 'B736412614AF',
232 '693143F10368',
233 '324F5DF65310',
234 'A3F97428DD01',
235 '643FB6DE2217',
236 '63F17A449AF0',
237 '82F435DEDF01',
238 'C4652C54261C',
239 '0263DE1278F3',
240 'D49E2826664F',
241 '51284C3686A6',
242 '3DF14C8000A1',
243 '6A470D54127C',
f74d0b89 244
245 --[[
246 3dprinter
247 EPI Envisionte
248 --]]
249 'AAFB06045877',
bb0fc401 250
251 --[[
252 Fysiken
253 --]]
254 '3E65E4FB65B3',
255 '25094DF6F148',
bae363d8 256
0a259877 257 --[[
258 key A
259 --]]
260 '454841585443',
bae363d8 261
4ce2037b 262 --[[
263 Data from: http://phreakerclub.com/forum/showthread.php?p=41266
264 --]]
265 '26973ea74321',
266 '71f3a315ad26',
267 '51044efb5aab',
268 'ac70ca327a04',
269 'eb0a8ff88ade',
270
bae363d8 271 --[[
272 Data from: http://pastebin.com/gQ6nk38G
273 --]]
274 'A0A1A2A3A4A5',
275 'D39BB83F5297',
276 'A27D3804C259',
277 '85675B200017',
278 '528C9DFFE28C',
279 'C82EC29E3235',
280 '3E3554AF0E12',
281 '491CDCFB7752',
282 '22C1BAE1AACD',
283 '5F146716E373',
284 '740E9A4F9AAF',
285 'AC0E24C75527',
286 '97184D136233',
287 'E444D53D359F',
288 '17758856B182',
289 'A8966C7CC54B',
290 'C6AD00254562',
291 'AE3FF4EEA0DB',
292 '5EB8F884C8D1',
293 'FEE470A4CB58',
294 '75D8690F21B6',
295 '871B8C085997',
296 '97D1101F18B0',
297 '75EDE6A84460',
298 'DF27A8F1CB8E',
299 'B0C9DD55DD4D',
300
301 --[[
302 Data from: http://pastebin.com/AK9Bftpw
303 --]]
304 '48ffe71294a0',
305 'e3429281efc1',
306 '16f21a82ec84',
307 '460722122510',
308
309 --[[
310 Data from: http://bit.ly/1bdSbJl
311 --]]
312 'A0B0C0D0E0F0',
313 'A1B1C1D1E1F1',
314
315 --[[
316 Data from: msk three
317 Thanks to A.
318 --]]
319 'ae3d65a3dad4',
320 'a73f5dc1d333',
321 '73068F118C13',
322
0a259877 323 --[[
bae363d8 324 Data from: msk social
325 Thanks to A.
0a259877 326 --]]
bae363d8 327 'a0a1a2a3a4a5',
328 '2735fc181807',
329 '2aba9519f574',
330 '84fd7f7a12b6',
331 '73068f118c13',
332 '186d8c4b93f9',
333 '3a4bba8adaf0',
334 '8765b17968a2',
335 '40ead80721ce',
336 '0db5e6523f7c',
337 '51119dae5216',
338 '83e3549ce42d',
339 '136bdb246cac',
340 '7de02a7f6025',
341 'bf23a53c1f63',
342 'cb9a1f2d7368',
343 'c7c0adb3284f',
344 '2b7f3253fac5',
345 '9f131d8c2057',
346 '67362d90f973',
347 '6202a38f69e2',
348 '100533b89331',
349 '653a87594079',
350 'd8a274b2e026',
351 'b20b83cb145c',
352 '9afa6cb4fc3d',
4ce2037b 353 --[[
354 Data from: http://pastebin.com/RRJUEDCM
4490a476 355 --]]
356 '0d258fe90296',
357 'e55a3ca71826',
358 'a4f204203f56',
359 'eeb420209d0c',
360 '911e52fd7ce4',
361 '752fbb5b7b45',
362 '66b03aca6ee9',
363 '48734389edc3',
364 '17193709adf4',
365 '1acc3189578c',
366 'c2b7ec7d4eb1',
367 '369a4663acd2',
4ce2037b 368 --[[
369 Data from: https://github.com/zhangjingye03/zxcardumper
370 zxcard Key A/B
371 --]]
372 '668770666644',
373 '003003003003',
bd46dec6 374 --[[
375 Data from: https://github.com/RadioWar/NFCGUI
376 --]]
377 '44dd5a385aaf',
378 '21a600056cb0',
379 'b1aca33180a5',
380 'dd61eb6bce22',
381 '1565a172770f',
382 '3e84d2612e2a',
383 'f23442436765',
384 '79674f96c771',
385 '87df99d496cb',
386 'c5132c8980bc',
387 'a21680c27773',
388 'f26e21edcee2',
389 '675557ecc92e',
390 'f4396e468114',
391 '6db17c16b35b',
392 '4186562a5bb2',
393 '2feae851c199',
394 'db1a3338b2eb',
395 '157b10d84c6b',
396 'a643f952ea57',
397 'df37dcb6afb3',
398 '4c32baf326e0',
399 '91ce16c07ac5',
400 '3c5d1c2bcd18',
401 'c3f19ec592a2',
402 'f72a29005459',
403 '185fa3438949',
404 '321a695bd266',
405 'd327083a60a7',
406 '45635ef66ef3',
407 '5481986d2d62',
408 'cba6ae869ad5',
409 '645a166b1eeb',
410 'a7abbc77cc9e',
411 'f792c4c76a5c',
412 'bfb6796a11db',
c15d2bdc 413}
16b04cb2 414
9f7a854d 415---
416-- The keys above have just been pasted in, for completeness sake. They contain duplicates.
417-- We need to weed the duplicates out before we expose the list to someone who actually wants to use them
418-- @param list a list to do 'uniq' on
16b04cb2 419
420local function uniq(list)
421
422 local foobar = {}
423 --print("list length ", #list)
424 for _, value in pairs(list) do
425 value = value:lower()
426 if not foobar[value] then
427 foobar[value] = true
428 table.insert(foobar, value);
429 end
430 end
431 --print("final list length length ", #foobar)
432 return foobar
433end
434
fdefed66 435return uniq(_keys)
Impressum, Datenschutz