Hekate: Please cancel KASLR on 5.0.0 or above. Thank you very much!

Created on 14 Aug 2018  路  7Comments  路  Source: CTCaer/hekate

Please cancel KASLR on 5.0.0 or above. Thank you very much!

Informative

Most helpful comment

All 7 comments

That sounds really hard to do and would probably make the system unstable - Also what exact benefit would it bring?

@tumGER Thanks for replying my message.

KASLR is used for anti-hacking.
That's the reason why I wish it could be canceled. or else, it's very difficult to find the real addresses or pointers to hack games.

A reference to whom it may concerned:

http://switchbrew.org/index.php?title=Memory_layout

kaslrBase = (rand64ViaSmc() % 0x3FFF0 << 21) + DRAM_VA(_start);

Can anyone please help to patched/disable this random value (rand64viasmc)?

Then, it would be all good. Thank you so much in advance.

Thank you so much~

kaslr is just randomizing kernel-addresses.

What you 'want' to disable is aslr which can be done in loader by keeping aslr_slide at zero https://github.com/Atmosphere-NX/Atmosphere/blob/44e2412ae6905924e9ed3fd228e3ceeda0b8d9d6/stratosphere/loader/source/ldr_nso.cpp#L184

The wip lua-scripting support in sys-netcheat can help you find the base-addresses of memory-regions though so you don't need any of that.

@jakibaki

Thanks so much for the explaination and your big help!

I will check it out.

@AnalogMan151

which can be done in loader by keeping aslr_slide at zero

It already stops doing that by default but you can re-enable aslr when changing that var:
https://github.com/Atmosphere-NX/Atmosphere/blob/44e2412ae6905924e9ed3fd228e3ceeda0b8d9d6/stratosphere/loader/source/ldr_nso.cpp#L184

So yeah, he wanted aslr stopped and not kaslr (even though he said kaslr) - That's why I was so confused why anybody would need it

Was this page helpful?
0 / 5 - 0 ratings