Go Back  
Reply
 
Thread Tools
Old 01-03-2012   #1
V6ser
Member
 
V6ser's Avatar
 
Join Date: Oct 2011
Posts: 494
Likes: 64
Liked 117 Times in 49 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
How to load metldr

How to load METLDR in PlayStation 3

After some experiment I succeded to load METLDR in spu isolation. You need geohot's exploit to do this, because you need to turn spu relocation off (MFC_SR1[R]=0) and not let know the HV you are using a SPU (so no calls to lv1_construct_logical_spe or similar). For some strange conf, it doesn't work in HV way.

Here the source code. Enjoy!!!!

Spuisolation.tgz // (27.11 KB)

Download

Thks to TitanMKD, Xorloser and Mathieulh.

Here a paste of an userspace metldr loader using xorhack. You need to patch xorhack tools adding read_u32() and write_u32() functions.
// Turn relocation OFF
printf("<TURN RELOCATION OFF>\n");
write_u64(SPU_P1(SPU_CURR)+0x0000, (read_u64(SPU_P1(SPU_CURR)+0x0000) & 0xFFFFFFFFFFFFFFEF�;
printf("MFC_SR1 = %llx\n", read_u64(SPU_P1(SPU_CURR)+0x0000�;

// no accesses are to be considered well behaved and cacheable
write_u64(SPU_P1(SPU_CURR)+0x0900, (u64)0x0);

// set overwrite mode for signal notification 1/2
write_u64(SPU_P2(SPU_CURR)+0x4078, (u64)0x0);

// set signal_notify1 = high metldr real address
write_u32(SPU_PS(SPU_CURR)+0x1400C, (u32)0x0);

// set signal_notify2 = low metldr real address
write_u32(SPU_PS(SPU_CURR)+0x1C00C, (u32)0x11000);


printf("---> START SPU IN ISOLATION MODE\n");

// set SPU_PRIVCNTL[LE]=1
write_u64(SPU_P2(SPU_CURR)+0x4040, (u64)0x4);

// set SPU_RUNCNTL[Run] = '11'
write_u32(SPU_PS(SPU_CURR)+0x401C, (u32)0x3);:


for (cx=0; cx<3; cx++)
{
// Print SPU_STATUS
print__spu_status(read_u32(SPU_PS(SPU_CURR)+0x4024�;

sleep(5);
}

Source:
http:// http://www.ps3devwiki.com/index.php?...erflow_Exploit
__________________

Originally Posted by OoZic View Post
... and where the Devs are I have to be :)

Last edited by V6ser; 05-27-2012 at 02:59 AM.
V6ser is offline   Reply With Quote
Old 05-13-2012   #2
rizwanalichand
Apprentice
 
Join Date: May 2012
Posts: 4
Likes: 0
Liked 2 Times in 1 Post
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hyztname View Post
How to load METLDR in PlayStation 3

After some experiment I succeded to load METLDR in spu isolation. You need geohot's exploit to do this, because you need to turn spu relocation off (MFC_SR1[R]=0) and not let know the HV you are using a SPU (so no calls to lv1_construct_logical_spe or similar). For some strange conf, it doesn't work in HV way.

Here the source code. Enjoy!!!!

Spuisolation.tgz // (27.11 KB)

http://www.multiupload.com/UFNIMIG472

Thks to TitanMKD, Xorloser and Mathieulh.

Here a paste of an userspace metldr loader using xorhack. You need to patch xorhack tools adding read_u32() and write_u32() functions.
// Turn relocation OFF
printf("<TURN RELOCATION OFF>\n");
write_u64(SPU_P1(SPU_CURR)+0x0000, (read_u64(SPU_P1(SPU_CURR)+0x0000) & 0xFFFFFFFFFFFFFFEF�;
printf("MFC_SR1 = %llx\n", read_u64(SPU_P1(SPU_CURR)+0x0000�;

// no accesses are to be considered well behaved and cacheable
write_u64(SPU_P1(SPU_CURR)+0x0900, (u64)0x0);

// set overwrite mode for signal notification 1/2
write_u64(SPU_P2(SPU_CURR)+0x4078, (u64)0x0);

// set signal_notify1 = high metldr real address
write_u32(SPU_PS(SPU_CURR)+0x1400C, (u32)0x0);

// set signal_notify2 = low metldr real address
write_u32(SPU_PS(SPU_CURR)+0x1C00C, (u32)0x11000);


printf("---> START SPU IN ISOLATION MODE\n");

// set SPU_PRIVCNTL[LE]=1
write_u64(SPU_P2(SPU_CURR)+0x4040, (u64)0x4);

// set SPU_RUNCNTL[Run] = '11'
write_u32(SPU_PS(SPU_CURR)+0x401C, (u32)0x3);:


for (cx=0; cx<3; cx++)
{
// Print SPU_STATUS
print__spu_status(read_u32(SPU_PS(SPU_CURR)+0x4024�;

sleep(5);
}

Source:
http:// http://www.ps3devwiki.com/index.php?...erflow_Exploit
metldr
where can i put this codes

how it use sir
rizwanalichand is offline   Reply With Quote
Likes: (2)
Old 05-13-2012   #3
Goldeneye
Member
 
Goldeneye's Avatar
 
Join Date: Nov 2011
Location: Under your bed
Posts: 218
Likes: 93
Liked 89 Times in 55 Posts
Mentioned: 26 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Goldeneye Send a message via Skype™ to Goldeneye
don't even bother taking a look at it if you don't know what it does or how you can use it.
Goldeneye is offline   Reply With Quote
Old 05-16-2012   #4
V6ser
Member
 
V6ser's Avatar
 
Join Date: Oct 2011
Posts: 494
Likes: 64
Liked 117 Times in 49 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
WOOOOOW, i sent a request to post this tut here about 5 months ago.
__________________

Originally Posted by OoZic View Post
... and where the Devs are I have to be :)
V6ser is offline   Reply With Quote
Old 05-16-2012   #5
hellsing9
Hired Gun
 
hellsing9's Avatar
 
Join Date: May 2011
Posts: 6,744
Likes: 2,555
Liked 3,289 Times in 1,827 Posts
Mentioned: 977 Post(s)
Tagged: 1 Thread(s)
@hyztname you don't need to send a request in order to post a tutorial, you post it and if it's not good on the view of the mods/admin gets moderated.
hellsing9 is offline   Reply With Quote
Old 05-16-2012   #6
V6ser
Member
 
V6ser's Avatar
 
Join Date: Oct 2011
Posts: 494
Likes: 64
Liked 117 Times in 49 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hellsing9 View Post
@hyztname you don't need to send a request in order to post a tutorial, you post it and if it's not good on the view of the mods/admin gets moderated.


pfffff and what do you know about it, you are just a Moderator.

When i posted it(I think january 20 something) it clearly said:
Originally Posted by PS3Hax;Service
Your tutorial need to wait our mods and/or admin aprovation. If you are trolling us, prepare to die.
__________________

Originally Posted by OoZic View Post
... and where the Devs are I have to be :)
V6ser is offline   Reply With Quote
Old 05-16-2012   #7
hellsing9
Hired Gun
 
hellsing9's Avatar
 
Join Date: May 2011
Posts: 6,744
Likes: 2,555
Liked 3,289 Times in 1,827 Posts
Mentioned: 977 Post(s)
Tagged: 1 Thread(s)
Originally Posted by hyztname View Post


pfffff and what do you know about it, you are just a Moderator.

When i posted it(I think january 20 something) it clearly said:


Well you know the consequences if you were trolling. Nice welcome party from this side

Things have changed since that date that you submited the tut.
hellsing9 is offline   Reply With Quote
Likes: (1)
Old 05-16-2012   #8
V6ser
Member
 
V6ser's Avatar
 
Join Date: Oct 2011
Posts: 494
Likes: 64
Liked 117 Times in 49 Posts
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hellsing9 View Post
Well you know the consequences if you were trolling. Nice welcome party from this side

Things have changed since that date that you submited the tut.
Actually just some rules and mods have changed in this site.

The scene keeps being a big and public sh1t full of trolls and mathieulh...
__________________

Originally Posted by OoZic View Post
... and where the Devs are I have to be :)
V6ser is offline   Reply With Quote
Likes: (1)
Old 05-16-2012   #9
hellsing9
Hired Gun
 
hellsing9's Avatar
 
Join Date: May 2011
Posts: 6,744
Likes: 2,555
Liked 3,289 Times in 1,827 Posts
Mentioned: 977 Post(s)
Tagged: 1 Thread(s)
@hyztname bullseye let's stay on topic.
hellsing9 is offline   Reply With Quote
Old 05-16-2012   #10
iPwnz
Member
 
iPwnz's Avatar
 
Join Date: Jan 2012
Posts: 279
Likes: 83
Liked 138 Times in 69 Posts
Mentioned: 12 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hyztname View Post

Thks to TitanMKD, Xorloser and Mathieulh.

Originally Posted by hyztname View Post
The scene keeps being a big and public sh1t full of trolls and mathieulh...
iPwnz 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 04:06 AM.