MagTek MagneSafe V5 User Manual
Page 120
MagneSafe V5
112
25 42 35 34 35 32 30 30 30 30 30 30 30 30 37 31 38 39 5E 48
4F 47 41 4E 2F 50 41 55 4C 20 20 20 20 20 20 5E 30 38 30 34
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 3F
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
620 - 731
Track 2 Masked data
3B 35 34 35 32 30 30 30 30 30 30 30 30 37 31 38 39 3D 30 38
30 34 30 30 30 30 30 30 30 30 30 30 30 30 30 30 3F 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
732 - 843
Track 3 Masked data
3B 35 31 36 33 30 30 30 30 35 30 30 30 30 34 34 35 3D 30 30
30 30 30 30 30 30 30 30 30 30 3F 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
844 - 851
Encrypted Session ID (user didn't load, all zeroes)
21 68 5F 15 8B 5C 6B E0
852
Track 1 Absolute data length
3C
853
Track 2 Absolute data length
25
854
Track 3 Absolute data length
1F
855
MagnePrint Absolute data length
36
The data is coherent structurally, let's work on decryption.
First, we note the KSN = FFFF9876543210E00008, counter is 8.
For the standard ANSI key example, counter 8 gets us the following
Encryption Key: 27F66D5244FF621E AA6F6120EDEB427F
There are five encrypted fields: Tracks 1, 2, and 3 encrypted data,
Encrypted MagnePrint data, Encrypted Session ID. We will show the decryption
of each of these fields in detail. For convenience each will be grouped as
blocks of eight bytes.
Track 1 encrypted data
C2 5C 1D 11 97 D3 1C AA
87 28 5D 59 A8 92 04 74
26 D9 18 2E C1 13 53 C0
51 AD D6 D0 F0 72 A6 CB
34 36 56 0B 30 71 FC 1F
D1 1D 9F 7E 74 88 67 42
D9 BE E0 CF D1 EA 10 64
C2 13 BB 55 27 8B 2F 12
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00