Homebrew mch2t - alternative memchunkhax2 implementation

AngelSL

Member
OP
Newcomer
Joined
Dec 29, 2008
Messages
18
Trophies
0
XP
222
Country
Singapore
I've written an alternative memchunkhax2 exploit implementation that does not depend on version specific information like svchax does (svchax has dumps of the thread local page for each FW).

The only version-dependent information mch2t uses is the paddr-vaddr delta for the kernel slabheap (which has not changed since 9.0), and the structures of KThread and KProcess (which have not changed either). Therefore this exploit should work on all kernels 9.0 and newer.

This exploit also tries to corrupt as little used kernel memory as possible. You can look at how it tries to do this by staring at the source for a while.

The code is available here.

Please help me test if it works using this test binary. Do report your results. If you see "Checking am access... OK", it worked. Note that pressing B to exit to launcher does not work, just like in the other two memchunkhax2 implementations. I don't know why.

This uses the same exploit as aliaspider's svchax and delebile's libsu (the exploit known as memchunkhax2); it is just exploited differently.

Thanks to aliaspider for helping me in understanding his svchax code and for many suggestions here and there and for putting up with my ignorance about the 3DS platform in general.
 
Last edited by AngelSL,

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,261
Trophies
0
Age
36
XP
3,295
Country
United States
Was this built on reliability ? I mean, is the probability for a success higher than the other 2 implementations?
 
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    Great plot too
  • Vetusomaru @ Vetusomaru:
    psychic academy. lol. it was meh even back then when i bought volume 1. also same author also made one of the manga adaptions of Escaflowne.
  • Skelletonike @ Skelletonike:
    Pfffft!
  • Skelletonike @ Skelletonike:
    I have all the volumes.
  • Vetusomaru @ Vetusomaru:
    btw do u have discord?
  • Vetusomaru @ Vetusomaru:
    last tv anime i remember with nipples i personally watched was Senran Kagura
  • Skelletonike @ Skelletonike:
    yeah I do
  • Skelletonike @ Skelletonike:
    I mostly read, haven't watched much, but I do keep my cunchyroll sub.
  • Skelletonike @ Skelletonike:
    Found out one of my fave animes got an adaptation this season

    the other day lol
  • Skelletonike @ Skelletonike:
    Yuusha ga Shi
    nda
  • Vetusomaru @ Vetusomaru:
    crynchyrolls is cancer, especially with the censorship they do like they did with Oshimai
  • Vetusomaru @ Vetusomaru:
    can u post your discord here or at dm?
  • Skelletonike @ Skelletonike:
    No idea
  • Skelletonike @ Skelletonike:
    it's my username
  • Vetusomaru @ Vetusomaru:
    and number?
  • Skelletonike @ Skelletonike:
    it needs the number?
  • Vetusomaru @ Vetusomaru:
    okey dokey. i ve sent u friend request.
  • Vetusomaru @ Vetusomaru:
    i have same username with here
  • Skelletonike @ Skelletonike:
    alright, accepted
    +1
  • K3N1 @ K3N1:
    You got a friend in you
  • Skelletonike @ Skelletonike:
    that's gay
  • K3N1 @ K3N1:
    Maybe I like being gay
    K3N1 @ K3N1: Maybe I like being gay