Presentation by Wesley Wineberg at B-Sides Vancouver 2015. It includes an analysis of EMU-2, introduction to hardware security and the ZigBee Smart Energy device.
63. JN5142 and JN5148-J01/Z01 Flash Header
Bytes Word Contents
0x0000 to 0x000F 0 - 3 16-byte Boot Image Record
0x0010 to 0x0017 4 - 5 64-bit MAC address
0x0018 to 0x0027 6 - 9 Encryption Initialisation Vector (ignored if unencrypted)
0x0028 to 0x0029 10 16-bit load address for .text segment in RAM (word aligned)
0x002A to 0x002B 10 16-bit length of .text segment, in 32-bit words
0x002C to 0x002D 11 16-bit load address for .bss segment in RAM (word aligned)
0x002E to 0x002F 11 16-bit length of .bss segment in RAM, in 32-bit words
0x0030 to 0x0033 12 32-bit wake-up entry point (word aligned) – warm start
0x0034 to 0x0037 13 32-bit reset entry point (word aligned) – cold start
0x0038 to (MemA –1) 14 - .text segment
MemA to (MemB-1) .data segment
MemB Overlay segment
84. Send Beacon Request, and look for a device that has the 'join'
flag enabled in its beacon.
After joining the network, wait for the Coordinator to send the
network key encrypted with our link key (derived from the install
code).
Look for the Key Establishment Cluster using match descriptor.
Perform Key Exchange.
If successful, look for the time cluster…