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.

#204 - Transient - June 15, 2012 // 6:28 pm
Transient's Avatar
What's with that guy's tweets? Is he drunk?

#203 - Xplic1T - June 15, 2012 // 6:09 pm
Xplic1T's Avatar
this next one though is pretty much the one that everybody wants though ...

#202 - niwakun - June 15, 2012 // 5:45 pm
niwakun's Avatar
another game over for dongle, 2-0

now there only one left.

#201 - technodon - June 15, 2012 // 11:48 am
technodon's Avatar
Following up on the recent PS3UserCheat dongle hacking news, today PlayStation 3 developer zadow28 has updated his ongoing work with some reverse-engineering and payload development research on the DRM-infected Cobra PS3 USB dongle.

Download: Cobra USB Payloads and Other Essential Files (77.33 MB) / Cobra USB Payloads and Other Essential Files (Mirror) / Cobra USB Payloads and Other Essential Files (Mirror) / Cobra USB Update v1 (350.88 KB - place these in the Cobra-USB_PS3_Updater_v1_0\CBUP43210\USRDIR directory) / cipher.ppu.elf.txt (954.98 KB)

It's important to note that these files are not end-user friendly yet, work still needs to be done by those familiar with PS3 PPU / SPU coding in IDA Pro by other PlayStation 3 developers to further develop payloads for dongle-free PS3 scene solutions.

Finally, below are some recent related Tweets via Twitter (linked above), as follows:

If you cant uses the stuff i post carry on. as promised i post all i find compared to others. Like secrets Hens that work on 4.11

Its my findings regarding the cobra, lot off reversed, and decrypted. Shouldn't be any trouble porting this to any device

Ohh almost forgot one off the most important ones goes in the Cobra-USB_PS3_Updater_v1_0\CBUP43210\USRDIR

Don't think Dean is gonna be very happy.but but.

Just an little test off whats ill be sending tomorrow. will explain also there

More PlayStation 3 News...

#200 - BiMode - June 8, 2012 // 8:12 am
BiMode's Avatar
Does multiman 4.03 support playing ps1/ps2 iso format for regular CFW?

#199 - PS4 News - June 7, 2012 // 5:31 am
PS4 News's Avatar
Cobra multiMAN mmOS / mmCM v04.03.03 PS3 update for those with the DRM dongle is below.

Download: Cobra mmCM v04.03.03 Base (20120607) / Cobra mmCM v04.03.03 Full (20120607)

7 - 06 - 2012


  • Fixed rare issue causing mmOS to lock/stall when browsing /ps3_home subfolders
  • Added "Reset Desktop" option to mmOS home menu (resets icons positions and closes all windows)
  • Added "Set as Wallpaper" / "Restore Wallpaper" to mmOS context menu when single image (jpg/png) is selected; affects all display modes
  • Added better visualization when moving icons around the desktop with L3 (Windows alike)
  • Changed visualization of selected/hovered desktop icons (a bit slicker)

#198 - PS4 News - June 6, 2012 // 3:14 am
PS4 News's Avatar
Cobra multiMAN mmOS / mmCM v04.03.02 PS3 update for those with the DRM dongle is below which includes bdRESET2 via deank which fixes the ability to mount app_home and get the disc icon back after TB users turn on their PS3 without having to eject / reinsert or run / exit multiMAN.

Download: Cobra mmCM v04.03.02 Base (20120606)

6 - 06 - 2012


  • Extended desktop content to 48 icons (6 system and 42 user defined); system icons cannot be moved/renamed/deleted
  • Added ability to arrange desktop icons - press L3 over an icon to move it to a free placeholder and then press L3 to place it
  • Fixed issue with playing/loading 2GB+ files with Showtime from /net_host or NTFS USB HDD (file wrongly cached to /dev_hdd1 when there isn't enough space there)
  • Fixed issue when USB.CFG is not present in USRDIR - now warning is issued when user enables PFS mode
  • Fixed loading of last open folders in mmOS - now /pvd_usb* folders from NTFS drives are not reloaded

#197 - PS4 News - June 4, 2012 // 4:57 am
PS4 News's Avatar
Following up on their previous release, today Team Cobra has released multiMAN mmCM update v04.03.01 with the mmOS changes detailed below, as follows:

Download: mmCM v04.03.01 Base (20120604) (25.19MB)

4 - 06 - 2012

mmCM ver 04.03.01 BASE


  • Added option to mmOS context menu: [Paste as Link] to create shadow copy of one folder copied to
  • Added ability to create desktop shortcuts to devices (hdd, usb, ms, cf, sdhc)
  • Added free space information for devices when browsing PS3 Root
  • Added information to the window status bar about selected entries and their size
  • Added "Home" menu with options to Enable Direct Disc Access Mode, to Restart/Quit to XMB, to
    Restart/Shutdown PS3
  • Added key-combo "SELECT+TRIANGLE" to minimize current window (holding the combo will minimize all
    windows) (press or hold [SQUARE] to switch/restore)
  • Fixed issue with loading Blu-ray movies in ISO format which contain jacket images in BDMV/META/DL folder
    (introduced in 04.02.04)
  • FTP Service: For best performance use ACTIVE mode and 2 concurrent file transfers
  • Improved loading of PSX games burned to CD (no eject/insert procedure)

Recorded non-PSX CD/DVD/DVD-Video discs:

  • No need to enable Direct Disc Access Mode *if disc is inserted while mM is running* (for best results
    insert the disc after mM is loaded)
  • It allows users easier access to content on recorded discs (video/music/pictures/data) in mM and spawned
    applications (Showtime)

#196 - smokyyuwe - June 2, 2012 // 2:06 am
smokyyuwe's Avatar
Just a quick note to people, the movement of the windows is super sensitive.

Over all though, amazing work. Can't wait to see what else he is able to add to the OS or mm itself.

#195 - jabberosx - June 1, 2012 // 2:20 pm
jabberosx's Avatar
Don't know how i missed this. But isn't this more important than the mmOS release ?? Any dev's looking /working on this to release the free cfw version of cobra ?