Sponsored Links

Sponsored Links

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3


Sponsored Links
164w 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:


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:


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.


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:


Subsequently, given the value 0x11DE0 to RTOC:


A r0 is given the value 0x920:


R0 is subtracted from the value of RTOC:


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


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


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:


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


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


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:


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





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 705 Comments - Go to Forum Thread »

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

misiozol's Avatar
#700 - misiozol - 2w ago
Install newest multiman base package but before delete old one completely.

prab1975's Avatar
#699 - prab1975 - 2w ago
right i updated to rogero 4.55 and multiman wont work, i click on the multiman icon on ps3 and it goes to black screen then back to main screen, tried deleting it and reinstalling (multiman 4.55) still no joy..

tried swapping to habib 4.60 and multiman 4.60 and all i get then from multiman is error, so tried loading multiman 4.55 back on and its back to the going to black screen for couple of seconds then back to main screen.. help..

PS3 News's Avatar
#698 - PS3 News - 3w ago
Cobra ODE FW 2.2 Beta by magneto is now available with details below, as follows:

We are releasing a beta firmware for the version 2.2 of the Cobra ODE.

You will need to have the 2.1 firmware before applying this update, and we are only releasing the mcu.rom image for v3.x and v4.x boards at this time. We will release the update for v5.x boards once we release the final 2.2 version.

This update will make your Cobra ODE work with the 4.60 firmware for PS3 superslim 4k models, including games that have been updated.

Instructions:

  • Download and run extractps3swapfiles: [Register or Login to view links]
  • Download and run genps3swapdisc: [Register or Login to view links]
  • Burn the swap disc to a BD-R or BD-RE disc.
  • Download and run convertps3iso on each of your ISO files: [Register or Login to view links]
  • Download and install the 2.2 Beta firmware for v3.x and v4.x boards: [Register or Login to view links]
  • Edit the cobra.cfg file and add the following lines:

Test your games. If you have installed an update to a game, this firmware will still allow you to run the game, but you will need to swap the discs twice.

If you have any issues, report back here so we can fix them before release. If it works without any problems, let us know as well.

To everyone complaining about the swap method for older models: The Cobra Team has been working hard to give you a solution in order to keep playing online and keep using the ODE. Online capabilities were never guaranteed, and no one is being forced to buy a BD burner.

If it is too expensive for you, then you can stay on 4.55 and enjoy your ODE, or you can update to 4.60 and enjoy online. If you want to enjoy both, then the Cobra Team has a solution for you, it is your choice whether or not to use that solution.

Remember that online play was never guaranteed and the anti-ODE security measures introduced in 4.60 were added by Sony to protect their intellectual property, it is not Cobra's fault. You may be disappointed, but that is out of our control.

Will there be any reason to update to Firmware 2.2 for 4k system owners on non-4.60 OFW? Are there any additional improvements other than 4.60 compatibility?

Yes, firmware 2.2 adds other improvements such as:

  • Increase USB read speeds by 40% for v5.x boards (now over 16.5MB/s)
  • Better swap disc reliability for some brands of BD-R
  • Fix a bug in PS1 game mounting
  • Add support for automatic region patching of PS1 games
  • Fix PS2 games and BD movies support when manager.on_reboot option is enabled




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

misaalxperia's Avatar
#696 - misaalxperia - 4w 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 .

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







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