Go Back  
Reply
 
Thread Tools
Old 03-18-2010   #1
Pirate
 
Pirate's Avatar
 
Join Date: Feb 2007
Posts: 6,930
Likes: 370
Liked 7,989 Times in 1,233 Posts
Mentioned: 568 Post(s)
Tagged: 0 Thread(s)
XorHack v2.0: The Updated PS3 Exploit Toolkit

Xorloser has released the latest update for his PS3 exploit toolkit . To quote:
XorHack v2.0: The Updated PS3 Exploit Toolkit



After using the XorHack for a while I realised it was missing some things so I decided it was time for an update. New syscalls have been added to give finer control over data access, now providing 8, 16, 32 and 64 bit reads and writes. Also some new ioctls were added to provide additional useful functions for your userland code. Lastly new userland applications were added which now give the ability to read, write and execute memory from the command line

Hypervisor Exploit Changes



At the innermost level some more syscalls are now added to the hypervisor when initially exploiting the PS3. These use different syscall numbers to the previous exploit code in order to group them all together rather than scattering them all over the place. This should make keeping track of them easier. There are now nine syscalls added to the PS3 upon exploiting. These are added as syscalls 32 to 40 inclusive. Previously syscalls 16 and 20 were used for 64bit peek and 64bit poke, but these syscalls are no longer setup.

Kernel Module Changes



In the middle level I added interfacing support to the nine new syscalls as well as a new ioctl to let user apps convert lpar addresses to real addresses and yet another to let user apps perform an ioremap on memory. I also fixed the syscall that executes code via a real memory address since previously it wasn?t saving the link register, which is not good.. Lastly I tracked down the problem I was having with calling ioctls from userland code. It turns out there are issues sending ioctls to a 64bit kernel from 32bit userland code. When you send the ioctl from your userland code there is a hidden function that attempts to ?make it compatible? before sending it on to the kernel. This was transparently causing some ioctls to not make it to my kernel code. Things like this are why I hate linux hehe. It looked like fixing this was going to require a rebuild of sections of the kernel, so instead I brute force tried all ioctl numbers until I found a nice bunch that made it through ok and settled for using them instead. When sending these ioctls a handle to the XorHack device is used, so I am not too worried about them going astray and wreaking havoc.

User Library changes



Finally the on outermost level I added support for calling the new syscalls to read and write 8, 16, 32, or 64 bits at a time. In doing so I support unaligned addresses without the user having to check or worry about such things. If the address being accessed is aligned it will access it in a single syscall of the specified size. If the address is unaligned it will either use multiple syscalls or a syscall of a larger access size. I also added functions to easily check if the system has been exploited yet, to perform the lpar address to real address translation, io-remapping of addresses and to execute code at a given real address. A new header file xorhack_sc.h was added which contains translations between syscalls as they would be used in kernel mode and the userland interface. I have only done a few here, but it should be enough to follow the pattern and create translations for any other syscalls. If anyone does complete these translations, please send it to me to include in the next version of XorHack.

Sample Application Changes



As well as the above additions and changes to userland code I have added three new command line applications; ps3peek, ps3poke and ps3exec which allow reading, writing and executing of memory. The ps3peek and ps3poke tools work in a similar fashion. Both are able to perform 8bit, 16bit, 32bit and 64bit data accesses and can access multiple amounts of the data size in one call. The ps3peek tool can print data to screen as hex values and ascii characters similar to the display of a hex editor, or be printed as binary data and redirected into a file. The ps3poke tool does not print data to screen but can write data to memory from values passed on the command line or values read from a file.

Here are some examples of what these tools can be used for.

Dumping the hypervisor



This reads 0×10000000 bytes (16MB) of data starting at address zero using a data access size of 8 bytes (64bits) and prints it in binary form which gets redirected into the hvdump.bin file. Note that the 64bit access is used since it requires 8 times less syscalls to get the same amount of information as if we used the default 8bit access.

ps3peek 0 -s 0×1000000 -d 8 -b > hvdump.bin

Reading the status register for spu0



ps3peek 0×20000044024 -d 4

Loading metldr..



Scripts can be written using ps3peek, ps3poke and ps3exec and utilising files to store values between calls. By doing so many tasks can be done such as the setting of the required registers to load metldr.

Everyone loves pictures



The following is a picture taken with my dodgy G1 iPhone camera to show peek and poke in action. One day I will get a decent camera?




[Download v2 Toolkit]
[VIA]


Pirate is offline   Reply With Quote
Old 03-18-2010   #2
iTZzDaGr33K
Member
null
 
Join Date: Feb 2010
Posts: 32
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
How close are we now???
iTZzDaGr33K is offline   Reply With Quote
Old 03-18-2010   #3
smartymarty07
Member
 
smartymarty07's Avatar
 
Join Date: May 2008
Location: Newcastle
Posts: 279
Likes: 108
Liked 51 Times in 32 Posts
Mentioned: 9 Post(s)
Tagged: 0 Thread(s)
Originally Posted by iTZzDaGr33K View Post
How close are we now???
How close are we to what exactly? If you give more details people might be able to help
smartymarty07 is offline   Reply With Quote
Old 03-19-2010   #4
spec8320
Member
 
Join Date: Aug 2008
Posts: 158
Likes: 5
Liked 3 Times in 3 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I think that he was thinking about progress in creating some working homebrew in PS3 ,,we'' are know in hmm I don't know how to describe it ... We are trying do discover some leak that allow us to use homebrews from Other Os (you can imagine it like this but its not true at all)
spec8320 is offline   Reply With Quote
Old 03-19-2010   #5
PSX Nikos
Apprentice
 
Join Date: Dec 2007
Posts: 3
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
personally i couldnt care about an iso loader and stuff. people who get all worked up about that are muppets because it destroys the gaming industry.

I want the ps3 to be hacked mainly because a firmware update for some reason stopped my blu-ray drive working months ago and no matter how i have tried to fix it, nothing has worked.

So im hoping when a hack is out i can completely wipe and start again on my ps3.

Tbh the main reason why i want a hacked ps3? Running other operating systems that use the full potential not just what they give us

posts like this put a smile on my face showing that more exploits are found, but people who want an iso loader? naa!!
PSX Nikos is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 03:05 AM.