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

202w 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]



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.




#195 - jabberosx - 155w ago
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 ?

#194 - SwordOfWar - 155w ago
SwordOfWar's Avatar
I just hope the new mmOS feature doesn't make transferring video files to my PS3's HDD more difficult (more steps) since that is my current main/only function for it during the past several months.

So, for that to happen, let's hope that currently open windows/directories get saved on exit and appear on next use.

#193 - PS4 News - 155w ago
PS4 News's Avatar
Following up on the previous Cobra mmOS multiMAN Cobra Manager (mmCM) updates, today condorstrike has made available the mmCM v04.03.00 changelog alongside mmOS PS3 File Manager functions detailed below.

Download: mmCM v04.03.00 Base (20120531) (24.63MB) / mmCM v04.03.00 Full (20120531) (293.93MB) / mmCM v04.03.00 Base (20120531) (Mirror) / mmCM v04.03.00 Full (20120531) (Mirror)

To quote from Tortuga-Cove.com (linked above) and via pastie.org/4004077 on the changes:

04.03.00 -

  • http://img827.imageshack.us/img827/3105/mmos12x.jpg
  • Added support to launch DVD-Video titles (disc/folder format) from mmOS and other display modes (Showtime Media Player required)
  • Added support to load DVD-Video movies in ISO format from DVDISO folder (Showtime Media Player Required) (for non-Cobra Firmwares)
  • Added option to override SBS/TB modes in stereo player for .avi3d video titles (with L3/R3)
  • Changed: File Manager is replaced by a new powerful and memory efficient engine (mmOS) to resemble desktop environment

mmOS features:

  • Uses just 1-2MB of RAM (about 10-15 times less than the old File Manager mode), intuitive and faster
  • Desktop + Taskbar + 7 Windows + Desktop Shortcuts + Clock + Tray + Clipboard
  • Clipboard and each window support up to 4096 entries
  • Window properties: minimize, restore, close, move, sort contents by name/size/date (asc/desc), fast scroll in rows and pages
  • Window history: 16 path levels deep (forward and backward), window state and current scroll/cursor position
  • Window contents: content icons/names/size/date, status bar, header, scrollbar
  • Window actions (single click/tap): single/multiple entry selection
  • Window actions (double click/tap): start music playback, image viewer, hex/text viewer, launch executable files (.self/EBOOT.BIN), play video titles (standard 2D and AVI3D), play DVD folders/ISO, direct-boot or load "folder/jb" games, load Blu-ray/DVD-Video/PS3/PSP/PS2 ISO files and BIN+CUE PSX images, load AVCHD video folders, mount folders to install PKG files, install themes and launch PSX games from CD-R discs (when DDA mode is enabled: PSX.EXE/SYSTEM.CNF/ps1_*emu.self)
  • Taskbar actions: minimize/restore a window, minimize all, change active window
  • Context/command menu functions: Copy (copy selected entries to clipboard), Cut (copy selected entries to clipboard; entries will be deleted after "Paste"), Paste (paste clipboard contents), Paste as ISO (create an ISO file from a single folder selected with "Copy"), Delete, Rename, Properties, Create New Folder, Create Shortcut, Shadow for PKG game (when a PS3_GAME folder is selected from a game under /dev_hdd0/GAMES), Activate BD-Mirror (when a PS3_GAME folder is selected from a game under /dev_usb***/GAMES), Eject Disc, Open in HEX Viewer, Refresh Net Host
  • Added option in "Settings" - "Swap Sticks In mmOS - Change actions of Left and Right Sticks in mmOS."

Navigation:

  • Right Stick - Move mouse pointer (can be changed to Left Stick in Settings "Swap Sticks in mmOS")
  • Left Stick - Move active window (can be changed to Right Stick in Settings "Swap Sticks in mmOS")
  • LEFT/RIGHT - One directory level back (history) / forward
  • UP/DOWN - Scroll up/down window contents
  • L2/R2 - (PgUp/PgDn) Scroll window contents in pages
  • CROSS - (single tap) Select/Deselect entry
  • CROSS - (double tap) Execute/View/Play/Open folder
  • CIRCLE - (right click) Open command/context menu
  • SQUARE - (ALT-TAB) Switch active window
  • SELECT+(CROSS double tap) - Open folder in new window
  • SELECT+(CIRCLE) - (ALT-F4) Close active window
  • SELECT+(SQUARE) - (F5) Refresh active window
  • SELECT+(UP/DOWN/LEFT/RIGHT) - Move mouse pointer (useful with BD-Remote Controller)

Finally, below is how to launch PSN games via multiMAN for those interested from sealhealy (via psx-scene.com/forums/content/tutorial-2280/):

Launch PSN Games from multiMAN like any other PS3 backup:

1. Install your PSN package game like you normally would
2. In multiman go into file manager and navigate to /dev_hdd0/game
3. Find the corresponding game folder to the game you just installed eg. 'Tom Clancy's Splinter Cell HD' = NPEB00527
4. Copy this folder to your USB game folder /dev_usb000/GAMES
5. Now rename the copied folder to something meaningful eg./dev_usb000/GAMES/NPEB00527 becomes /dev_usb000/GAMES/[Splinter Cell HD]-NPEB00527
6. Inside the [Splinter Cell HD]-NPEB00527 folder create a new folder called PS3_GAME eg. /dev_usb000/GAMES/[Splinter Cell HD]-NPEB00527/PS3_GAME
7. Now move all files inside /dev_usb000/GAMES/[Splinter Cell HD]-NPEB00527/ into the PS3_GAME folder.
8. Go back to your Game list and refresh it, the new game will appear
9. Mount the game
10. When kicked back to XMB start the game from App_home not the disc icon

Notes:

  • You don't always need to copy all files sometimes just creating the file structure and copying the eboot.bin and param.sfo is enough.
  • I also think the reverse maybe true for some other games that don't work copying only eboot.bin eg. leave behind only eboot.bin param.sfo TROPDIR in the /dev_hdd0/game folder.
  • Creating a shadow copy of the USRDIR may also work? Nope

More PlayStation 3 News...

#192 - HeyManHRU - 157w ago
HeyManHRU's Avatar
It's about time MultiMan Manager become it's own OS. I wonder if it will have an inbuilt browser in the near future though, never like the PS3 one.

#191 - Roach95 - 157w ago
Roach95's Avatar
awsome

#190 - PS4 News - 157w ago
PS4 News's Avatar
Below are some details on the upcoming Cobra mmOS and multiMAN Cobra Manager (mmCM) updates from Gary Wayne Bowser aka GaryOPA (via ps3crunch.net/forum/threads/3597-EXCLUSIVE?p=40536#post40536) as follows:

It has been very silent recently in 'mmCM' updates, but we have good news today, developers behind 'Team Cobra' have contacted us and shared with us what they been working on since March, and it is is awesome, basically a full featured desktop enviroment called 'mmOS' to replace the old multiman file manager.

Click on the above picture, for a jaw-dropping HD screenshot of 'mmOS' in action, and after your jaw lifts off the keyboard, see below some of it's features:

  • supports 8 windows with up to 4096 entries per folder
  • double-click to launch video/music/picture/games...
  • single-click to multiple-select for copy/move
  • desktop icons for fast access to various options/functions
  • (shortcuts for showtime, games, themes, user created shortcuts)

This is just a hint of what is coming in the next big update, so we can't wait to see 'mmOS' all completed and fully in action with its many new jaw-dropping features on our PS3 consoles, and it might not be too long either as the developers are hinting at before this month's end for a big release, so this is already heating up to be nice hot summer for us Jailbreak Sony PS3 owners!

#189 - PS4 News - 163w ago
PS4 News's Avatar
Below are details from anonymous on IRC (via DemonHades - pastebin.com/a5fKfFHw) on using a USB drive as a Blu-ray drive to dump the entire RAM alongside the Cobra USB Payload 2 code leaked.

Using USB DRIVE as Blu-ray Drive:

[Register or Login to view code]


Using USB DRIVE as Blu-ray Drive:

[Register or Login to view code]


Dump entire ram when USB specific is introduced:
[code]
/****************************************************************/
/* JaiCraB 14/07/2011 */
/* Plugin TheGrid: */
/* Dump entire ram when USB especific is introduced */
/* Private use to demonhades.org */
/****************************************************************/
#include "defines.h"
#include "gccpch.h"
#include "ps3Utils.h"
#include "ps3FileSystemUtils.h"

void lv1dumplv1()
{
uint64_t Valor;
uint64_t x=0,i=0;

char internal_buffer[255];
unsigned char buffer_dump[0x400];
int result, fd;

for (i=0;i

#188 - PS4 News - 166w ago
PS4 News's Avatar
Here is the mmCM v04.02.04 (20120315) Update for those with the Cobra dongle and the changes outlined below, as follows:

Download: mmCM v04.02.04 Update (20120315) / mmCM v04.02.04 Update (20120315) (Mirror)

mmCM v04.02.04 Update (20120315) Changelog:

04.02.04 - (Stereo 3D related)

  • Fixed rare issue when launching video files from NTFS and /net_host (when file is >2GB and there is no space on /dev_hdd1)
  • Added support for playing video files (including AVI3D) from NTFS drives and remote /net_host servers
  • Returning from Stereo Player will fall back to standard 2D mode
  • Stereo files (avi3d) in 1920x1080 resolution are treated as SBS 960x1080 per eye (default)
  • Audio output uses Dolby Digital if available (for 5.1 AC3 audio)
  • Controls:
    [START] - Pause / Resume
    [RIGHT / LEFT] - Skip 120 sec forward/rewind
    [DOWN / UP] - Skip 10% forward/rewind
    [SELECT] - Toggle 4x fast-forward / normal playback
    [R3] - Toggles SBS and TB/OU modes if autodetection fails
    [CIRCLE] - Return to mM
    [TRIANGLE] - Exit to XMB
    [L1/R1/L2/R2] - Change L/R-eye color bias in anaglyph display mode

Finally, from zadow28:

Here is the Cobra-USB_PS3_Updater_v1_0.pkg unpacked and decrypted.

I named the eboot.bin cobra1.elf the eboot.bin decrypted: http://www.mediafire.com/?1twmd11gsbe394n

The pkg extracted: http://www.mediafire.com/?rixwybwq6wmiiwk

I've manage to sign the cobra1.elf with 3.55 keys:

[Register or Login to view code]


Here is the cobra eboot with 3.55 keys: http://www.mediafire.com/?98tt0yd19id7rsv

The strings from cobra.elf

[Register or Login to view code]


From CrashSerious: Case in point: (first 8 lines of the cobra driver)

[Register or Login to view code]


The device ID and Vendor ID should be useful eventually, but it's so easy to get I'm not sure it's worth mentioning. (Though, it is documented in the wiki.) The device GUID is simply a windows thing so the libusb drivers can be found in the registry, etc.

From lewy20041: Cobra PC update and Debugging Tools for Windows

I have used Debugging Tools for Windows when the proces cobraflash.exe were used to flash Cobra-USB_Firmware_v5.0.cba to dongle and here is the outcome to open this file you need to install Debugging Tools for Windows. maybe some one can look at this. there are wery interesting info about cobra update process on pc.. have fun.

Download: http://www.mediafire.com/?1bso0pclglm4r5a

Some of it:

[Register or Login to view code]



I used 7 zip on cobra.elf (http://www.filedropper.com/cobra_1), inside there are some more files without extensions.. ran it in ida pro and they are also regenized as PPC elf 64 and now the strings look little different: http://pastebin.com/ESRHxMyQ

From blazek566: Got this from the cobra1 file.. tell if its any good http://pastie.org/3716125

Finally from zadow28: Been testing my new tracker on the cobraflash and got some visual results with big difference in security. you can see the results here.

first download: http://csr.lanl.gov/vera/VeraSetup.msi

small guide to open the visual files, then download the visual files: http://www.filedropper.com/downloads_2

just open the files with the guide. i would recommend cobratrack first. blue spot is start, and you scroll in with mouse. this is from start, too when i load the different images.

its show the way with fake loops, as they are in the software (encryption) the path. it speaks for themselves.

regards

#187 - PS4 News - 166w ago
PS4 News's Avatar
Here is the mmCM v04.02.03 (20120313) Update for those with the Cobra dongle and the changes outlined below, as follows:

Download: mmCM v04.02.03 Update (20120313) (7.67MB) / mmCM v04.02.03 Update (20120313) (7.67MB - Mirror) / Two Stereo Samples in SBS and TB Format

mmCM v04.02.03 Update (20120313) Changelog:

  • Added experimental/POC support for frame-packed 3D video playback
  • Video files in AVI 3D format must be named with .avi3d (AVI3D) file extension
  • Supported formats:
    - DivX or XviD in AVI container (FourCC codes must be divx/DX50. When XviD codec is used, mM will change the IDs automatically)
    - SIDE-BY-SIDE 3D: 1920x 720 ( 960x720 frame per eye)
    - TOP-BOTTOM(O/U): 1280x1080 (1280x540 frame per eye)
  • Simple video controls in stereo player: [START] - Pause playback, [CIRCLE] - Quit playback, [UP/DOWN/LEFT/RIGHT] - Adjustments for anaglyph mode
  • If TV set supports 3D video playback - 3D AVI files will be played back in 3D mode
  • If TV set does not support 3D video playback - 3D AVI files will be played back in red/cyan anaglyph mode (Red-Cyan glasses needed)
  • Two stereo samples in SBS and TB format (xvid_encraw used for encoding): http://www.sendspace.com/file/73b3v2

#186 - PS4 News - 167w ago
PS4 News's Avatar
Here is mmCM v04.02.02 (20120313) Update for those with the Cobra dongle and the changes outlined below, as follows:

Download: mmCM v04.02.02 Update (20120313) (7.50MB)

mmCM v04.02.02 Update (20120313) Changelog:

  • Added sort options in File Manager:
    -> SELECT+R2 changes sort order: name / date
    -> SELECT+L2 changes sort order: ascending / descending
  • Fixed overlapping of text entries in context menu in File Manager mode
  • Added function to change the font in File Manager mode by pressing [R3]
  • Exiting with {PS} button will save last state and options
  • Added custom commands to FTP (quit/restart the application and shutdown/restart the PS3)
  • Improved font rendering (faster and no more blue-tint artifacts)
  • Improved graphics rendering (no more GUI glitches