Sponsored Links

Sponsored Links

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3


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

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

newkidds's Avatar
#694 - newkidds - 6d ago
A few days ago I bought and had installed the Cobra ODE. My question is can I use the isos I have ripped with the usb on my Cobra ODE? Thanks in advance!!

kaynshi's Avatar
#693 - kaynshi - 2w ago
Thanks Misiozol. I have only 80GB on my internal HDD, so I was hoping to play it directly from the external HDD. But if there are no other solutions, then I'll have to I guess.

misiozol's Avatar
#692 - misiozol - 2w ago
move game to internal hdd

kaynshi's Avatar
#691 - kaynshi - 2w ago
Hi,

I have a very strange problem with my PS3 and hope someone can help. I've played a lot of games with split files, but Darksiders (1 not II) gives me a lot of trouble.

I'm using Rogero 4.46 + Multiman 4.60. The installation of the game goes without any problems, but then in the Multiman window under the game I see different icons. One of the is the SPLIT icon in red. Meaning that there are split files. That shouldn't be the case if Multiman automatically merge the files. When I go into Game settings I see there is an exclamation mark over the start icon. Meaning I can't load the game from the Game settings menu. When I go back to the games list, I see the image is in grey but I can load it.

And this is where it all goes wrong: Once the game starts I see the intro and then the screen goes black. The sound works fine, but there is only a black screen. Sometimes the intro works fine, but once I'm in the game I only see the character floating in black. No monsters, no sky, ground or whatever...

I tried removing the cache for darksiders and installed it again, but the same problem occurred again.

The strange part is that I've given the game to a friend of mine and it's working fine on his PS3. I don't know which firmware he is using, but it's not up to date as mine.

Any information/tips is highly appreciated, since I can't find anything on the web about this issue.

Thanks in advance.

PS3 News's Avatar
#690 - PS3 News - 2w ago
Following up on his previous update, today PlayStation 3 developer deank has released MultiMAN v04.60.00 CEX (Full) alongside a WebMAN v1.30 update for his MultiMAN PS3 backup game manager and Showtime 04.07.095 with details below.

Download: [Register or Login to view links] (124.89 MB) / [Register or Login to view links] (7.27 MB) / [Register or Login to view links] (7.34 MB) / [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links] by brunolee / [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links] / [Register or Login to view links] by aldostools / M@tsumoto / [Register or Login to view links] / [Register or Login to view links]

Changelog:

multiMAN ver 04.60.00 BASE CEX DEX STEALTH (20140712).zip

  • Added support for CFW 4.60

Includes:

  • multiMAN ver 04.60.00 BASE CEX (20140712).pkg
  • multiMAN ver 04.60.00 BASE DEX (20140712).pkg
  • multiMAN ver 04.60.00 STEALTH (20140712).zip
  • webMAN_1.30.zip (cobra/cappi/standard versions)

Showtime 04.07.095:

Showtime 04.07.095 is available within mM and as standalone packages.

I noticed that it won't autoselect the .srt subtitles named after the movie/video in the same folder, which is a downer for me, but still here you have the latest from andoma.

Dean

PlayStation 3 developer aldostools has also updated the Set Priority packages created by brunolee alongside some WebMAN Unofficial Mods for 4.60 CFW (linked above) by M@tsumoto as well for those interested.

Unofficial WebMAN Mods for 4.60:

WebMAN with support for 4.60 and the Habib's fixes that solve the errors 80010017 and 8001002b when running ISO with updates with disc inside. Also M@tsumot0 fixed a bug with the combos and also activated ps2emu switch for future 4.60 cobra and removed that feature for noncobra compilation (making the plugin more lighter, due it's useless on classic cfw). Thanks to DeanK, Joonie, Habib, EvilNat & Matsumot0. Also Orion90 & checcolin for the tests and reports.

Changelog WebMAN MOD 1.30.2 Multi 16:

  • Added support for Korean language [Translation by darkiris.net]
  • Addressed a data type issue spoofing IDPS/PSID.
  • Setup form is created using these functions: addcheckbox, addoptionitem, addradiobutton

Changelog WebMAN MOD 1.30.3U:

  • Labels on setup.ps3 now are clickable
  • Language now can be changed without have to restart
  • Fixed issue displaying notification messages
  • Enabled the Lowest speed to fan control
  • Increased the allowed minimum from 25 to 30
  • webMAN Setup on My Games now displays webMAN menu from XMB Manager Plus (if it’s installed)
  • Scans for covers in more folders

Changelog WebMAN MOD 1.30.4:

  • The installer now can upload into flash a modified category_game.xml, if the webMAN’s My Games entry is missing;
  • Fixed a bug switching languages;
  • Fixed a bug in the label “Show PSP Launcher”;
  • Added language: Modern Greek;
  • Correct encode UTF-8-BOM for Korean language file;
  • Change some signs utf-8 to unicodes.

Changelog WebMAN MOD 1.30.5:

  • Added option to include the ID of the game as part of the title;
  • Fixed issue scanning the covers;
  • Fixed issue on some labels displaying the (tm) symbol on XMB.

Changelog WebMAN MOD 1.30.6 Multi 17:

  • Disabled the option in the installer that upload the category_game.xml to dev_flash.
  • Expanded the size of 3 notification messages to fix an issue in Greek language.

Changelog WebMAN MOD 1.30.7:

  • Added display of webMAN startup notification on non-Cobra CFW.
  • Fixed PL language. Thanks to Raskolnikow.
  • Improved the algorithm for covers scanning: only existing folders are scanned.
  • Set back the minimum allowed fan speed to 25.

Changelog WebMAN MOD 1.30.8 Multi 18:

  • Addressed the duplicate “My Games” issue in the installer. (Thanks zar)
  • Added new “Copy Folder” option to the File browser.
  • Added option to copy individual files using /copy.ps3/
  • Replaced some copy code in mount_with_mm with the new copy functions. - Re-made the get covers / icons. Merged all related code in 3 functions.
  • Added Croatian language. Updated Hungarian.
  • Added new labels to all languages for the new Copy function.

Changelog WebMAN MOD 1.30.8 (Fix4) Multi 18:

  • Fixed a missing quotes that prevented the 'Copy Folder' work on the web interface;
  • Fixed "webMAN loaded" notification not being translated;
  • Updated Italian language for the new Copy functions;
  • Fixed the issue not scanning the "video" folder on non-Cobra editions

Changelog WebMAN MOD 1.30.8 (Fix9) Multi 19:

  • Fixed a missing quotes that prevented the 'Copy Folder' work on the web interface.
  • Fixed "webMAN loaded" notification not being translated.
  • Updated Italian language for the new Copy functions.
  • Fixed the issue not scanning the "video" folder on non-Cobra editions.
  • Fixed an error listing net host files
  • Re-added scan for covers in WMTMP folder like before
  • Hrvat → Hrvatski
  • Addressed a rare case where webMAN generates a blank name in mygames.xml for ISO games inside /dev_hdd0/PS3ISO
  • Added Bulgarian language (thanks to Dzver).
  • Removed the option "Remove cfw syscall at startup" option for noncobra
  • Fixed "Copy Finished" displayed untranslated.

Changelog WebMAN MOD 1.30.9 Multi 19:

  • Enabled a fast auto eject/insert when a game is mounted on nonCobra CFW
  • Added option to scan a user defined path indicated in the COVERS_PATH entry of the language file.
  • Added option "Disable startup notification of WebMAN on the XMB" to the web panel.
  • Updated language files with this new entry.

Changelog for webMAN Mod 1.30.11 Multi 19:

  • Fixed various bugs in the peek/poke function.
  • Added web command to search value: /find.lv1?{from-hex-address}={hex-value} or /find.lv2?{from-hex-address}={hex-value}

Changelog for webMAN Mod 1.30.12 Multi 19:

  • More bug fixes in the peek/poke function.
  • Found value is now highlighted
  • Better integration with PS3 Web Debugger

Changelog for webMAN Mod 1.30.13 Multi 19:

  • Bug fix in the address for Pokes
  • Highlight poke value
  • Translated “Not found!” to the other 18 languages.

Changelog for webMAN MOD 1.30.14 Multi 19:

  • Fixed a regression that prevented to mount second game and perform other tasks.
  • Updated Hungarian and Bulgarian translations.
  • Changed html error codes responses from 200 to 400/503

The {hex-value} for poke/find commands now can be 8bit/16bit/32bit/64bit.

WARNING: Use poke function with caution!!! You could brick your console if you don’t know what you’re doing!

Changelog for webMAN MOD 1.30.10 Multi 19:

  • Fixed issue with blank titles when parsing PARAM.SFO with multiple TITLE
  • Added ability to peek/poke lv1/lv2 using web commands: /peek.lv1?{hex-address} or /poke.lv1?{hex-address}={hex-value} or /peek.lv2?{hex-address} or /poke.lv2?{hex-address}={hex-value}

Examples:

The issue with the Greek language must be fixed in this build... It was due some text strings were using more space than the one reserved by webMAN.

PS3 Web Debugger

Here (linked above) is a very simple debugger based on the new peek/poke features of webMAN-MOD 1.30.10:

Changelogs:

  • v1.0: Initial Release
  • v1.2: Added a basic bookmark GUI.

Finally, from brunolee: My "Priority packages" only contain the PARAM.SFO, "App Version" is always 01.00, and on the installation does not show any message about the version installed.

More PlayStation 3 News...

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







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