Hacking BootNTR New Version Research

  • Thread starter Thread starter astronautlevel
  • Start date Start date
  • Views Views 54,091
  • Replies Replies 257
  • Likes Likes 24
The loader module was changed in the new update (so I wasn't completely correct on Arm11 not being changed in 11.2. it was). This change means PASLR will be enabled for all future games using the 11.x SDK.

But CFW replaces the loader entirely and disables PASLR stuff entirely as a result, so this effectively means no change at all if you are using a CFW like Luma 3DS.
Stuff other than the loader was changed.

From 3dbrew:

ARM11-kernel
3 functions were updated.

The first one is the actual handler function for svcWaitSynchronizationN.

After incrementing the counter with ldrex/strex, the last two functions now load the counter with plain ldr and executes kernelpanic() when it's zero.

Other than meaning NTR will need an update, it also means that slowhax is rip.
 
The loader module was changed in the new update (so I wasn't completely correct on Arm11 not being changed in 11.2. it was). This change means PASLR will be enabled for all future games using the 11.x SDK.

But CFW replaces the loader entirely and disables PASLR stuff entirely as a result, so this effectively means no change at all if you are using a CFW like Luma 3DS.

PASLR on every future game.... dear god. RIP entrypoints
 
To update the offsets you take an axiwram dump of the already supported FIRM and one of the new FIRM (use BootNTR to make them, you need to use a version which doesn't support both FIRMs).
Then take the offsets in main.c and use this https://www.3dbrew.org/wiki/Virtual_address_mapping_New3DS_v11.1 (on Old 3DS 0xFFF20000 virt -> 0x1FFDD000 physical - thanks to TuxSH for this). axiwram starts at 0x1FF80000, so in the dump consider offsets as relative to that. Having found the location of the patches, copy some bytes and find them in the new FIRM axiwram, then reverse the calculation (phys -> virt).
 
Last edited by Aurora Wright,

Site & Scene News

Popular threads in this forum