Changes

Jump to navigation Jump to search
869 bytes added ,  08:11, 24 September 2014
no edit summary
Line 126: Line 126:  
| 0x6
 
| 0x6
 
| This is the MAC address of the host. This is all-zero on the host, like with [[NWMUDS:BeginHostingNetwork]].
 
| This is the MAC address of the host. This is all-zero on the host, like with [[NWMUDS:BeginHostingNetwork]].
 +
|-
 +
| 0x8
 +
| 0x1
 +
| This is non-zero when at least one entry is stored in the array under the encrypted beacon data.
 
|-
 
|-
 
| 0xC
 
| 0xC
Line 149: Line 153:  
| 0x1D
 
| 0x1D
 
| 0x1
 
| 0x1
| ?
+
| This is the total number of entries stored under the array in the encrypted beacon data.
 
|-
 
|-
 
| 0x1E
 
| 0x1E
Line 174: Line 178:     
=== UDS Beacon Tags ===
 
=== UDS Beacon Tags ===
The following is the structure of each tag, starting at the OUI. The order of the tags is the same as listed below.
+
The following is the structure of each tag, starting at the OUI. The order of the tags is the same as listed below. All data stored under these tags are stored as big-endian.
    
==== OUI Type 20 ====
 
==== OUI Type 20 ====
Line 227: Line 231:  
!  Size
 
!  Size
 
!  Description
 
!  Description
|-
   
|-
 
|-
 
| 0x0
 
| 0x0
Line 250: Line 253:  
!  Size
 
!  Size
 
!  Description
 
!  Description
|-
   
|-
 
|-
 
| 0x0
 
| 0x0
Line 266: Line 268:     
When this exists in the beacon, this is the tag1 used with [[NWMUDS:DecryptBeaconData]]. The data stored here is the 0xFA-bytes following the previous encrypted data in tag0, for more space for storing the encrypted data.
 
When this exists in the beacon, this is the tag1 used with [[NWMUDS:DecryptBeaconData]]. The data stored here is the 0xFA-bytes following the previous encrypted data in tag0, for more space for storing the encrypted data.
 +
 +
 +
==== Encrypted beacon data ====
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
!  Size
 +
!  Description
 +
|-
 +
| 0x0
 +
| 0x10
 +
| MD5 over the rest of the data following this(plaintext).
 +
|-
 +
| 0x10
 +
| 0x2
 +
| ?
 +
|-
 +
| 0x12
 +
| 0x1E * <total array entries>
 +
|
 +
|}
 +
 +
The above structure is for the plaintext version of the encrypted data.
 +
 +
This data is encrypted with AES-CTR, by NWM module in software. The AES key is stored in NWM module itself. See above for the CTR. The size of this encrypted data is 0x12 + (0x1E*val), where val is the u8 from networkstruct offset 0x1D(zero when the u8 at networkstruct offset 0x8 is value zero).

Navigation menu