Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with KartHax? #2

Open
aboood40091 opened this issue Nov 9, 2016 · 23 comments
Open

Help with KartHax? #2

aboood40091 opened this issue Nov 9, 2016 · 23 comments

Comments

@aboood40091
Copy link

aboood40091 commented Nov 9, 2016

KartHax is a hack to get code execution in MK8 using this exploit, since this game uses mvplayer.rpl, it can be exploited when entering the menu (A video gets loaded).

We can replace this video with the exploit mp4.
We can test using cafiine.
Permanent replacements will be made by using smea's iosuhax.

But, I have read your README and it says it may need porting.
("update the payload heap addr/etc")

Can you help? :)

@aboood40091
Copy link
Author

I'll fork this if you can help. :)

@yellows8
Copy link
Owner

yellows8 commented Nov 9, 2016

"Can you help? :)"

Not interested in doing it myself... Just dump heap memory to determine this -> ("update the payload heap addr/etc")

@aboood40091
Copy link
Author

aboood40091 commented Nov 9, 2016

If you're not interested in doing it yourself, can you at least give me more instructions?

What do I exactly need to change? Which file? Which part? How do I dump the heap memory? And how do I get the addresses if I dump the heap memory?

Sorry for asking too much... 😊

I still think your help is needed. :P
I hope I get you motivated anytime soon. :)

I don't need help with the rest as I can do the rest myself. ;)

@aboood40091
Copy link
Author

aboood40091 commented Nov 9, 2016

I'd really appreciate your help.

I really think KartHax is worth working on, because it could be useful for people who don't have a DS game. (therefore can't use Haxchi)

Also, do you think this will really work if ported correctly? (Since MK8 uses mvplayer.rpl)

I tried running the exploit without edditing the heap addresses, it gave me a black screen with a nice beep sound. 😆

Is there a reason for it to not work the same as browserhax? (After porting...)

Is there a place I could chat with you about this privately?

@yellows8
Copy link
Owner

yellows8 commented Nov 9, 2016

Please remember why DS/N64 VC was targeted for contenthax: codegen(JIT). Obviously zero games should have it(haven't checked MK8 myself though).

@aboood40091
Copy link
Author

Welp. No other way?

So, only Web Browser and DS/N64 VC have codegen, right?

@yellows8
Copy link
Owner

Some of the browser-based titles & those two VC platforms.

"Welp. No other way?" <- Unless you really want to implement your own ROP, no.

@aboood40091
Copy link
Author

But I can still use the same entrypoint, right?

Well, never mind then.

I think I'll be getting a DS game soon.

@yellows8
Copy link
Owner

Of course.

@aboood40091
Copy link
Author

Re-write the exploit, or implement my own ROP?

@yellows8
Copy link
Owner

Latter.

@aboood40091
Copy link
Author

@yellows8
Copy link
Owner

@aboood40091
Copy link
Author

Oh, that's it? Hmm....

@aboood40091
Copy link
Author

So, is that the function I need to re-write? Do I still need to change the heap addresses?

@yellows8
Copy link
Owner

yellows8 commented Nov 10, 2016

Both.

EDIT: Obviously it should be done under a different function though.

@aboood40091
Copy link
Author

aboood40091 commented Nov 10, 2016

This is going to be harder than what we (The people working on KartHax) are capable of doing.

We'll be waiting for you or someone to help...
When ever you/someone get motivated to help... :(

@yellows8
Copy link
Owner

I am not implementing kernelhax/{iosu-exploit} in PowerPC ROP.

@aboood40091
Copy link
Author

aboood40091 commented Nov 11, 2016

Kernel? I thought we were talking about userland... :P

@yellows8
Copy link
Owner

It's the only known way to get any code execution at all without codegen.

@aboood40091
Copy link
Author

Would this help in any way?
https://gbatemp.net/threads/rop-from-within-ios_usb-5-5-1.444369/page-4#post-6741076

It's ROP using IOSU.

@yellows8
Copy link
Owner

............ "PowerPC ROP"

@aboood40091
Copy link
Author

Oh, well then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants