NWM Services: Difference between revisions

Line 273: Line 273:


==== Encrypted beacon data ====
==== Encrypted beacon data ====
The following 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).
===== Structure =====
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 289: Line 294:
| 0x12
| 0x12
| 0x1E * <total array entries>
| 0x1E * <total array entries>
|  
| This is an array of entries for each of the devices on this network, the first entry is for the host and the rest is for the client(s).
|}
|}


The above structure is for the plaintext version of the encrypted data.
===== Array entry =====
 
{| class="wikitable" border="1"
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).
|-
!  Offset
!  Size
!  Description
|-
| 0x0
| 0x18
| This is the first 0x18-bytes of the structure from [[NWMUDS:Initialize|here]].
|-
| 0x18
| 0x4
| ?
|-
| 0x1C
| 0x2
| ?
|}