Sponsored Links

Sponsored Links

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3


Sponsored Links
167w 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 714 Comments - Go to Forum Thread »

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

hishamage's Avatar
#709 - hishamage - 2w ago
if you do not know what cfw is then your on ofw and is your ps3 slim or super slim or fat, cause ode is compatible with some ps3s models, so what is your ps3 model number it says at the back of your ps3, let me know the model number and then i try to help you ok

misiozol's Avatar
#708 - misiozol - 2w ago
There you go my friend 71 pages of knowledge: [Register or Login to view links]

ahole's Avatar
#707 - ahole - 2w ago
why did you buy this??? not knowing what to do or where to start I for one wnt be wasting time explaining the ins and outs if you cant take the time to learn sell it

makemind's Avatar
#706 - makemind - 2w ago
Hello, i bought a ps3 with ode and i need to know where to start!

I read about Firmwares and i don't know what kind is mine... It's a 4.53, but i don't know if it's OFW or CFW ...

then, i think i need to install, for example, Habib CFW 4.53 right? Then, i need multiman for better experience right? Using showtime etc ...

I really don't know what to do, if i can upgrade firmware by software only or so ...

Can someone help me start please??

Thanks a lot

PS3 News's Avatar
#705 - PS3 News - 3w ago
27 - 8 - 2014: Cobra ODE News - Update - Cobra ODE Firmware v2.2 Fixed2

We have updated the 2.2 fw archives for Cobra ODE v5.30A with chipset "M2S010" to correct a problem which prevented updating from 2.1 to 2.2.

All 5.30A users should therefore update to 2.2 with this update.

Download: Cobra ODE Firmware v2.2 Fixed2

Note: This UPDATE require 2 steps:

1: Copy "v5p30A10_step1.spi" to your USB key.

2: Rename file on USB key to "v5p30A10.spi" and use ("safely remove hardware") from windows.

3: Proceed with UPDATE. *Refer to Cobra_ODE_V5_Update_Process_(_README_FIRST_).pdf *

4: When process is done with "solid GREEN LED" then then remove USB key and (Unplug PS3 power cable).

5: Delete file on USB key and copy "v5p30A10_step2.spi" to this last.

6: Rename file on USB key to "v5p30A10.spi" and use ("safely remove hardware") from windows.

7: Proceed with UPDATE.

8: When process is done with "solid GREEN LED" then remove USB key and (Power Cycle PS3).

Done!





Also from Roor today comes an update to HCL - Humble Cobra Launcher as follows: Today I'm making the second release of HCL.

Download: [Register or Login to view links]

Here are the most important changes in this version (HCL V0.2):

  • Graphical enhancements. Most glitches are fixed. Better Icons.
  • Better autodetection of PS1 and PS2 titles and covers.
  • Added File Manager in Tools section. Now you can copy/move/delete folders and files.
  • Added FTP Server in Tools section. Now you can access your PS3 through wifi using any FTP client, including Windows Explorer.
  • Integrated Showtime in Tools section. Just select it, and enjoy your movies.
  • Initial Disc Rip support in Tools section (doesn't work well yet, though).
  • Settings and stuff now are saved INSIDE your PS3 HDD. HCL remembers the last game you mounted, and loads faster.

Coming features (in following weekly updates):

  • Disc Ripper (fully functional).
  • PKG Installer (great progress has been made, but not stable enough for release yet)
  • Integration with some Emulators and Players.
  • Sound Effects.

In this opportunity, I'm posting some screenshots. Please write feedback. Cheers.

Update: HCL - Humble Cobra Laucher v0.3 by Roor

Download: [Register or Login to view links] / [Register or Login to view links] (Mirror) / [Register or Login to view links] (Mirror #2) / [Register or Login to view links] (HCL v0.3 without PS1 and PS2 Covers, and without Eleganz) / [Register or Login to view links] (HCL v0.3 removed the still unused 3 gamecode databases)

Hi. As promised (again), here's the third weekly update of HCL (Humble Cobra Launcher).

HCL is a Cobra ODE manager. If you want to use it, just replace the original "cobra manager" (manager.iso) and make sure that your "cobra.cfg" is already set to use homebrew.

Here are the most important changes in this version (HCL V0.3):

  • PKG Installer. (yes, you now can install demos, games and homebrews from PKG files - read bellow for further information).
  • Hex Viewer. Now you can open any file from the File Manager and have a look at its binary contents.
  • Better File Manager. Now it has icons, allows to execute .self files (correctly located and signed), install .pkg files and Hex Viewer.
  • Graphical enhancements. And better resolution backgrounds.
  • Faster load time. Once installed, HCL takes less than 8 seconds to start and allow access to your games!

Coming features (in following weekly updates):

  • Disc Ripper (present right now, but seems that doesn't work in ALL Cobra ODE, I'm still investigating the issue).
  • Better PKG Installer (support for game updates and DLC installs)
  • Param.sfo Viewer.
  • Image Viewers.
  • Integration with some Emulators.
  • Sound Effects.

About PKG INSTALLER:

  • PKG Installer, for now, only allows you to install Games, Demos, Homebrews, and others. But it WILL NOT allow you to install Game Updates nor DLCs. This is because a "safety" measure I implemented that doesn't allow the installer to write over "already existing content" inside your PS3. This feature, after further investigation, might be added in next update.
  • You can install PKG from the File Manager. Just "select" it, and you will be asked if you want to install the file.
  • The PKG INSTALLER from TOOLS menu, will ask you to place the file you want to install in a USB Drive and it must be named INSTALL.PKG . Remember that the USB Drive must be formated as FAT32. Also, you can install the same file through the FILE MANAGER if you want (it's exactly the same internal procedure).
  • The INSTALLER does not "crack" the games for you. Most PSN content, if not cracked before install, will just run in "demo mode" or not run at all.
  • The INSTALLER will install PS1, PS2 classics content and others. But the games will surely not work, because their licence is surely "not activated".
  • After installing a PKG, you need to enter into GAMEDATA TOOL menu of PS3, this will force XMB menu to update, and then it will display the icon to the stuff you just installed.

Please write feedback. Cheers.

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







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