Sponsored Links

Sponsored Links

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3


Sponsored Links
169w ago - Today Spanish PlayStation 3 developer JaicraB has explained the Cobra USB JIG protection RTOC trick implemented for the PS3 against cloning the device.

To quote, roughly translated: Flynn sent me this text explaining this protective carrying the Cobra, I hope it will open the eyes of those interested in reversing the dumps.

EXPLAIN RTOC COBRA TRICK

The JIG Cobra has several protective measures to ensure that your code could not be used correctly even if your code could be dumped.

This trick RTOC in the registry is the first used for this purpose in addition to hinder analysis.
Registration is initially RTOC stored in the battery to keep the RTOC of lv2 and power it back later:

[Register or Login to view code]


At this point we have to explain that the OFFSET DELTA. DELTA OFFSET is a method used in the x86 in its original moments in the creation of computer viruses, to calculate the memory address in which we are in the sea of ​​bytes in RAM.

In the original time a computer virus when I did not know where he was pulled into an executable,
depending on the executable it could be an initial site or another, for it was invented DELTA OFFSET.

DELTA OFFSET can be used in any system, the procedure is:

  • Using the record that indicates the current execution address (or the next depending on the system)
  • Reducing the size of the previous code we use the value obtained from the registry.

Knowing this, and taking for example the x86 processor where the EIP register can not be read directly invented the trick make a call to a "subfunction" which is simply the following line to the call:

[Register or Login to view code]


X86 call instruction saves the top of the stack the address of the next instruction to itself. Thus using pop draw from the top of the stack this value, and stored in eax for example, and having the memory address where we only subtract the above would be missing and we have the exact calculation.

The PowerPC can use this trick using the BL instruction is equivalent (LINK BRANCH), which jumps to a "subfunction" but before you save LR in the record the following address to BL.

[Register or Login to view code]


At this point we see the trick used for the creation of the RTOC of charges at this time. If you look both r0 and RTOC are passed to 0:

[Register or Login to view code]


Subsequently, given the value 0x11DE0 to RTOC:

[Register or Login to view code]


A r0 is given the value 0x920:

[Register or Login to view code]


R0 is subtracted from the value of RTOC:

[Register or Login to view code]


Unlike the PowerPC x86 LR register can be read directly with mflr instruction, we put in RTOC the value obtained by the delta offset:

[Register or Login to view code]


To calculate the delta offset subtract final instructions executed before the delta offset, which were 4, or 16 bytes:

[Register or Login to view code]


Finally we add the value of r0 at the end of the delta offset RTOC, storing the result in the RTOC and this already takes RTOC suitable for this hook:

[Register or Login to view code]


It takes having the RTOC stored in the stack 3 arguments that the hook received:

[Register or Login to view code]


You call the function of the charges where the first argument will check for command 0x8202 (a special command to the usual):

[Register or Login to view code]


After making the necessary steps as charged, the battery recovers the original RTOC, like the arguments the hook received, it executes the original instruction that was overwritten in the syscall entry 379 (in this case) to have our hook, and call the original syscall lv2:

[Register or Login to view code]


Upon returning to retrieve the original LR from the stack and returns to the prompt

[Register or Login to view code]





Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 727 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

tmt's Avatar
#697 - tmt - 8w ago
thank you

misaalxperia's Avatar
#696 - misaalxperia - 8w ago
i am using ps3 with firmware 4.55 , cobra ode version 2.1. i am trying to install dc for few weeks but i am not able to find a way , tried comogenie file manager a, sonicman and multiman they all didn't worked as they were not converting to 4.55 version iso.

i tried usb way to install pkg files but was not success. only multiman was a lill success but it got stuck after choose base version or.. screen. i am trying to install black ops2 all dlc maps. i am completely a noob in dlc installation , please help me .

PS3 News's Avatar
#695 - PS3 News - 9w ago
30 - 7 - 2014: Cobra ODE News - Information

We are pleased to announce that we will be releasing an update in the next week or so for 4k users which allows all versions of Cobra ODE to function on 4.60 OFW including all game updates. A swap disc is still required. This makes us the first team to confirm full support of 4.60 OFW with 4k consoles.

We are currently developing methods to bypass 4.60 OFW on PATA phat, 2k and 2k5/3k systems. A news update will follow again shortly, stay tuned!

The update for 4k users to bypass 4.60 OFW will be bundled with several other improvements and a couple of added features in the 2.2 update.

In addition, we can now confirm that shipments of the 5.30A complete version of the Cobra ODE took place over the weekend and stocks should be available from your local resellers over the next couple days.

Play PSN Games in Cobra ODE by Making ISO of PKG Files Tutorial by IamImtiaz

If you guys facing problem making iso file of PSN Games than follow this video tutorial...





You need these softwares:

1. PkgView_1.3
2. ODDE Eboot Resigner
3. ISO Tool

I made a ISO of PSN Game (RESIDENT EVIL UMBRELLA CHRONICLES) and it worked

Note:- The ISO will be made without IRD so it wont be 1:1 so do go online...

From Mogwai: Yeah, 4.7 does behave a little quirky.

Here is the stable 4.6.10:

Download: [Register or Login to view links] (Saves to first USB port... no idea if it writes to NTFS) / [Register or Login to view links] by Mogwai

newkidds's Avatar
#694 - newkidds - 10w ago
A few days ago I bought and had installed the Cobra ODE. My question is can I use the isos I have ripped with the usb on my Cobra ODE? Thanks in advance!!

kaynshi's Avatar
#693 - kaynshi - 11w ago
Thanks Misiozol. I have only 80GB on my internal HDD, so I was hoping to play it directly from the external HDD. But if there are no other solutions, then I'll have to I guess.

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News