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.

#174 - Malleco - February 1, 2012 // 11:55 am
Malleco's Avatar
We're getting there... But don't pay for a dongle, with patience all comes free...

And then there will be PS4 and we started over again...

#173 - cfwprophet - February 1, 2012 // 1:54 am
cfwprophet's Avatar
Today we have a little snipesd of the COBRA dongle with a few interesting parts of code they proof that what we sayed is true and that you can turn a normall retail ps3 into a debugger one or at least into debugger mode. Enyoi reading and have fun

[Register or Login to view code]

flags -> 0x8x

-> load /apphome/liblv2.sprx


sys process elf

sys prx user

sys prx kernel

elf fixed

it's a patch !!

real time patch

elf -> LV2

[Register or Login to view code]

and after they said that cobra/tb2 are not related to debugger

Version -> 0x08X the PS3

revision -> boot mode

[Register or Login to view code]

selfdecrypter ??

[Register or Login to view code]


[Register or Login to view code]

kernel memory shrinked ? there is the part emulator etc
[CODE]/apph@.ome...../devusb0D.00...........D.|...d......P..... ..r....t.`...,....

#172 - HeyManHRU - January 26, 2012 // 5:31 pm
HeyManHRU's Avatar
That new display mode looks awesome, it's simple and easy to use. I'm also glad they added new themes, the ones that came with the first mmCM weren't that good.

#171 - PS4 News - January 26, 2012 // 7:19 am
PS4 News's Avatar
Below is a mmCM (multiMAN Cobra Manager) v04.00.01 Base (20120126) update for those with the dongle, with the changes outlined as follows:

Download: mmCM (multiMAN Cobra Manager) v04.00.01 Base Update

26 - 01 - 2012

  • Added new display mode (Board 5x4x5), replacing the oldest "Game list (plain)" mode

  • "Board" display mode shows ICON0.PNG game images by default. You can use covers by changing the option "XMMB Icon Swap" in Settings

  • Improved File Manager visuals when used in SD resolution (480p/576p)

  • Fixed an issue, which prevented operation on CFW/MFW 3.41

  • Added support for showing PSN titles in all display modes from internal/external HDD (PSN titles cannot be loaded and you have to put empty RELOAD.SELF in game's USRDIR folder to make it show!) (requested)

  • Added lastGAME2 and bdRESET applications

  • Added 11 new themes to the theme download section (total of 14 now)

  • Updated 15 language files

  • Added separate background images for Board and XBDM display modes (PSVBG.JPG and XBDBG.JPG)

  • Updated mmCM Original Theme (includes new images PSVBG.JPG, XBDBG.JPG, PBOX0.PNG, PBOX1.PNG)

  • Preparations to support loading of network PS3, DVD and Blu-ray ISO files

  • Preparations to support firmware version spoofer (auto-spoofing to latest official FW or to user-defined fixed version)

  • Required Cobra USB update will be announced when network ISO and firmware spoof support is available

Q: So what's the advantage of lastGAME2 over the original LastGame app?

A: There are 3 versions actually:

1) The original lastGAME works with mM 01.13.* - 02.09.02.
2) lastGAME2 works with mM 04.00.00+.
3) lastGAME2 for CobraUSB works with ISOs (DVD/PSX/PS1/PS2/PSP/PS3/BD-movies), too.

#170 - HeyManHRU - January 17, 2012 // 3:41 am
HeyManHRU's Avatar
There is no way to play PSP games without it unless it is a PSP Mini game from PSN that works on CFW (someone correct me if I'm wrong). PSP games are mountable on the PS3 though (

#169 - Alibaba123 - January 17, 2012 // 3:30 am
Alibaba123's Avatar
That wasn't very specific lol. Can I play extracted PSP ISO images then?

#168 - HeyManHRU - January 17, 2012 // 3:22 am
HeyManHRU's Avatar
You cannot play PSP .ISO files without the Cobra USB.

#167 - Alibaba123 - January 17, 2012 // 2:32 am
Alibaba123's Avatar
Can the newest version play FFVII : Crisis Core (PSP game) WITHOUT the dongle? Yes/No

#166 - yzp1998914 - January 16, 2012 // 8:03 pm
yzp1998914's Avatar
i have a 60GB, this is good.

#165 - zero233 - January 16, 2012 // 6:44 pm
zero233's Avatar
has anybody got this to boot on a non bc ps3?

tried it on my 160gb non bc phat and all i get is the ps2 gameboot sound and then a black screen.