Appendix D. Command Examples
117
BEA104C4EF584ED5
CE07C0D55B810000
We can ignore the last four bytes because the MagnePrint Data Absolute
Length field cites only 54 characters.
01000184EA10B939408C872A5C513C90C78B57A6F3FAA663CE0678B879D0D78B7FADBCE8591AE7E4BEA104C4
EF584ED5CE07C0D55B81
This is an accurate decryption of the MagnePrint data.
Encrypted Session ID (user didn't load, all zeroes)
21 68 5F 15 8B 5C 6B E0
As this is a simple eight byte block, we only need decrypt it with
the appropriate key:
21685F158B5C6BE0 TDES Dec with 27F66D5244FF621E AA6F6120EDEB427F
gets 0000000000000000
This is an accurate decryption of the Encrypted Session ID, which
was not loaded by the user and thus was all zeroes.
Example 12: Swipe decryption, Keyboard or Serial Reader in Security Level 3 or 4:
This example shows the data received in a KB swipe for a reader at Security
Level 3, KSN Count = 8. It will go on to show the steps to decrypt ALL the
data received.
Raw KB Data:
Byte Content
0 %B5452000000007189^HOGAN/PAUL ^08040000000000
50 000000000?;5452000000007189=08040000000051
100 63000050000445=000000000000?|0600|C25C1D1197D31CAA
150 87285D59A892047426D9182EC11353C051ADD6D0F072A6CB34
200 36560B3071FC1FD11D9F7E74886742D9BEE0CFD1EA1064C213
250 BB55278B2F12|724C5DB7D6F901C7F0FEAE7908801093B3DBF
300 E51CCF6D483E789D7D2C007D539499BAADCC8D16CA2|E31234
350 A91059A0FBFE627954EE21868AEE3979540B67FCC40F61CECA
400 54152D1E|A1050000|8628E664C59BBAA232BA90BFB3E6B41D
450 6F4B691E633C311CBE6EE7466B81196EC07B12648DCAC4FD7F
500 D0E212B479C60BAD8C74F82F327667||21685F158B5C6BE0|F
550 FFF9876543210E00008|B78F||0000
According to the USB MagneSafe Swipe Reader Technical Reference Manual the
KB Data is broken down like this:
[P30]
[P32] [Tk1 SS] [Tk1 Masked Data] [ES] [P33]
[P32] [Tk2 SS] [Tk2 Masked Data] [ES] [P33]
[P32] [Tk3 SS] [Tk3 Masked Data] [ES] [P33]
[P31]
[P35] [Reader Encryption Status]
[P35] [Tk1 Encrypted Data (including TK1 SS and ES)]
[P35] [Tk2 Encrypted Data (including TK2 SS and ES)]
[P35] [Tk3 Encrypted Data (including TK3 SS and ES)]
[P35] [MagnePrint Status]
[P35] [Encrypted MagnePrint data]
[P35] [Device serial number]
Summary of Contents for MagneSafe V5
Page 8: ...viii...
Page 84: ...MagneSafe V5 76...
Page 96: ...MagneSafe V5 88...
Page 98: ...MagneSafe V5 90...
Page 132: ...MagneSafe V5 124...