Sponsored Links

Sponsored Links

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3


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

[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]





Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene and PlayStation 4 scene updates and fresh homebrew PS3 Downloads. Enjoy!
Sponsored Links
Sponsored Links

Comments 1258 Comments - Go to Forum Thread »

• Please Register at PS4News.com or Login to make comments on Site News articles.
 
#128 - elser1 - 163w ago
elser1's Avatar
thanks dean.. you're the man.. any chance of mm cfw.. LOL

#127 - HeyManHRU - 163w ago
HeyManHRU's Avatar
Like DeVil3o3 said, it has more features. Like a new display mode called "XBOX Dash Clone" which is pretty cool.

#126 - konnada - 163w ago
konnada's Avatar
What's the most significant thing about that?

#125 - HeyManHRU - 163w ago
HeyManHRU's Avatar
Quote Originally Posted by konnada View Post
I'm confused. Does this mean that non-dongle-users can use PSX, PS2, and PSP ISO backups through this application?


No, it just means non-cobra users can use Team Cobra's multiMAN.

#124 - konnada - 163w ago
konnada's Avatar
I'm confused. Does this mean that non-dongle-users can use PSX, PS2, and PSP ISO backups through this application?

#123 - DeVil3o3 - 163w ago
DeVil3o3's Avatar
Great news, even more Multiman features for us to mess with!

#122 - NTA - 163w ago
NTA's Avatar
Um well since this requires no dongle, this means we are no longer excluded from the extra features right? >_>

Just wanna be clear lol

#121 - PS4 News - 163w ago
PS4 News's Avatar
Yep, it's another update from Cobra... and last deank spoke on it he denied involvement so unless something changes that's all we have to go on at the moment.

Also +Rep for the news HeyManHRU, I have now promoted it to the main page for multiMAN fans.

#120 - smokyyuwe - 163w ago
smokyyuwe's Avatar
Interesting. Is the 4.0 with help from deank or is it just unofficial?

#119 - HeyManHRU - 163w ago
HeyManHRU's Avatar
Today MultiMAN Cobra Manager (mmCM) version 04.00.00 has been released, and those interested in updating multiMAN without the DRM-infected dongle can now do so as is it not required for non-Cobra multiMAN functionality on the PlayStation 3 console.

Download: multiMAN Cobra Manager (mmCM) v04.00.00 Update (20120112) / multiMAN Cobra Manager (mmCM) v04.00.00 Full (20120113) (184.72 MB) / multiMAN Cobra Manager (mmCM) v04.00.00 Full (20120113) (Mirror - 184.72 MB)

Previously multiMAN developer deank stated to the PlayStation 3 scene that he was not in bed with Cobra (aka Max Louarn), however, some PS3 developers such as CrashSerious appear to think otherwise, to quote via Twitter:

"Huge thanks to deank for leaving the scene and selling out to Cobra [/satire]"

Below is the multiMAN Cobra Manager (mmCM) v04.00.00 Full (20120113) changelog, as follows:

13 - 01 - 2012

  • Added support for jpg/png covers for BD/DVD ISO files in "Coverflow" mode
  • Added PIC1.PNG/SND0.AT3 (background image and music) support to lastGAME and "PSP Launcher" for PSP ISO files
  • Improved performance when extracting CSO to ISO and when creating ISO files from folders
  • SIXAXIS gyroscope affects screensaver mode (wave/tilt the controller to navigate the starfield)
  • Improved "Coverflow" display mode
  • Added preparations for experimental support for multi-disc PSX games in CUE+BIN or ISO format for up to 4 discs. ("Required Cobra USB/FW update will be announced when PSX multidisc support is available")
  • mmCM 04.00.00 will work without CobraUSB dongle connected (click HERE for more information). New mmCM users will have to install mmCM 04.00.00 FULL version..

Changelog for non-Cobra users updating from multiMAN 02.09.02 to multiMAN/mmCM 04.00.00:

  • Added function "Create ISO from folder"
  • Support for *.0/.31, *.001/.032, *.66600/.66631 split file formats
  • Join split files in file manager (select and copy the first file to get the rest joined)
  • New display mode "XBDM" - XBOX Dash Clone
  • Added option "Detect Game Title in ISO Images" to allow using ISO filenames and *not* scan for game names in local database
  • Improved scanning for retro roms/iso and covers (populating the Retro column)
  • New THEME format (.thm). One theme - one file. Easy installation within multiMAN/mmCM without going to XMB to install theme pkg files.
  • mmTM - Easy to use PC application to create thm files from folders (separate download).
  • multiMAN/mmCM will try to read disc volume labels and display in VIDEO column (BD/DVD entry) and in other display modes.
  • Added indication (rotating refresh icon next to the column icon) when multiMAN/mmCM is loading/extracting title thumbnails (XMMB mode)
  • Added pop-up notifications when new versions of multiMAN/mmCM and Showtime are available for download
  • Added pop-up notification when running low on disc space (less than 1GB on internal HDD)
  • Added pop-up notification when multiMAN/mmCM successfully connects to nethost folders during startup (/net_host# in File Manager)
  • Added support for downloading themes in a background thread (pop-up messages will notify user when download starts and completes)
  • Added support for copying big (4+GB) files in File Manager to USB drives. multiMAN/mmCM will split source file when copying to USB.
  • Changed option "Link Video Library to Showtime" - it will only create links for XMB Video files, but will not start Showtime
  • Added shortcut (virtual folder) "XMB Video Files" when browsing HDD/USB drives in VIDEO column
  • Added "Showtime Font Preference" option to select 10 different fonts for SHOWTIME media player (GUI and Subtitles)
  • Added support to extract PSP CSO (compressed ISO) files in XMMB/XBDM display modes and File Manager (extracted image is saved in /dev_hdd0/PSPISO)
  • Added shortcut to ISO folder when browsing external USB devices (PSP connected with memory stick /ISO folder, containing CSO and ISO files)
  • Added music playback fade-out when leaving multiMAN/mmCM
  • Added download progress indication in XMMB/XBDM modes - Web column. An entry will show current download filename and percentage of completion.
  • Added TextViewer in File Manager (supported files colored in light blue). Supports viewing of ANSI/UTF plain text files.
  • TextViewer controls: L1/R1 - PageUp/PageDown, L2/R2 - zoom out/in (50%-250%), R3 - change font, UP/DOWN/LEFT/RIGHT - scroll/pan, L1/R1+SELECT - skip to start/end of file
  • Added support for browsing Video, Games, Favorites and Retro (ROMS/PS1/PS2/PSP) in "Coverflow" display mode. Change content mode with UP/DOWN.
  • Improved performance when extracting CSO to ISO and when creating ISO files from folders
  • SIXAXIS gyroscope affects screensaver mode (wave/tilt the controller to navigate the starfield)
  • Improved "Coverflow" display mode


More PlayStation 3 News...

 

Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS4 Downloads - PS4 Forums - Privacy Statement - Site Rules - Top - © 2015 PlayStation 4 News