PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

July 8, 2011 // 6:59 pm - 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.


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]

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3

Follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 CFW forums for the latest PlayStation 3 scene and PS4 Hacks & JailBreak updates with PlayStation 4 homebrew PS4 Downloads.

#1249 - jinkazawa - January 21, 2015 // 2:41 pm
jinkazawa's Avatar
great.. thanx

#1248 - Yakuzad - January 20, 2015 // 10:20 pm
Yakuzad's Avatar

#1247 - PS4 News - January 19, 2015 // 7:37 pm
PS4 News's Avatar
9 - 1 - 2015: Cobra ODE News - Update

We have resolved in the bug found in the previous 2.3 release and have re-uploaded the 2.3 fixed archive to the downloads page.

5.30A users with M2S025 chipset kindly note that the update is a two step process as explained in the readme inside the archive.

Download: Cobra ODE Firmware v2.3 (Fixed)

15 - 1 - 2015: Cobra ODE News - Update

We have uploaded the DMC module installation manual to the downloads section, as well as an updated Cobra ODE installation manual v1.5 which covers Cobra ODE 5.30A.

We have also added a quick reference guide which explains the usage of the cables across different versions of Cobra ODE, as well as clarifying ODE / PS3 model compatibility.

Download: Cobra ODE DMC Installation Manual (English) V1.0 / Cobra ODE Quick Reference (English) v1.0 / Cobra ODE Installation Manual (FAT to 2k1) (v3 v4 v5) v1.5

22 - 1 - 2015: Cobra ODE News - Information

We are pleased to announce that the first batch of DMC has already shipped to some resellers. Further quantities will be shipped again next week to help meet demand.

#1246 - rifkybon - January 18, 2015 // 10:08 am
rifkybon's Avatar

#1245 - Isleofdoom - January 16, 2015 // 1:27 pm
Isleofdoom's Avatar
The bd rom emu is only supported by the one within mm itself as there is no longer any options for bd rom emu n hasn't bin for awhile from what i have noticed

#1244 - elsagheeer - January 16, 2015 // 11:29 am
elsagheeer's Avatar

#1243 - mjolnir - January 16, 2015 // 8:19 am
mjolnir's Avatar
same here

#1242 - topantita - January 15, 2015 // 8:14 pm
topantita's Avatar
in Multiman 4.66, i cannot find BD Rom Emulator option...

#1241 - Isleofdoom - January 15, 2015 // 6:40 pm
Isleofdoom's Avatar
You need to fix your games to different fw revision but will lose ability to play online if you do it unless you make a backup of your boot files within the game disc.

#1240 - Faisalhameed - January 14, 2015 // 11:37 pm
Faisalhameed's Avatar
I have ps3 slim CECH 3012B jailbroken by COBRA ODE, my OFW is 4.55 and I can't play new games that require 4.60 OFW like evil within and call of duty advanced warfare. can someone help me please?