XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2013, 12:31:08 AM


Login with username, password and session length


Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
  Print  
Author Topic: 360 Flash Dump Tool V0.1  (Read 145277 times)
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« on: May 27, 2007, 07:05:20 PM »

What is it

This tool will allow you to decrypt and extract various parts of a XBox360 flash dump. The flash is devided into 2 major parts

1) The Cx sections (CB,CD,CE & 0,1 or 2 CF & CG sections).
   CB, CPU bootup
   CD, unpacker for CE
   CE, contains the HV and Kernel in a .cab archive
   CF&CG are upgrade patches

The tool will extract and decrypt sections CB, CD, CE. Additionally it will extract the .cab file in section CE. This can be opened with winrar and the content (xboxkrnl.img) extracted. The first 256K of xboxkrnl.img is the Hypervisor, the remainder is the 2.0.1888 Kernel.

2) The Flash File System.

The tool expects a dump to contain the data (512 bytes) followed by the ECC (16 bytes). The ECC bytes are used to locate FS entries & identify the version.

The tool consists of the exe and CxKey.txt. CxKey.txt is delivered with 32 '0's and they should be replaced with the key obtained from the 1BL. After all the fuss about AACS keys recently it seems risky to put the key in the exe Wink The Cx sections extracted from a dump will only decrypt correctly if the correct hex digits are inserted in the CxKey.txt  file

How to Use it

Load a flash dump and the tool will display a tree containing the Cx Sections and the FFS. The tool displays the base Kernel version (2.0.1888) and the highest revision CF/CG patch installed.

Expand the CX Sections node and right click on a section, choose Extract (or for CE sections ExtractCAB) you will then be prompted for a directory. Hit OK and the tool will extract that section to the selected directory

Expand the ile System Roots node, each entry takes the form FS_XXXXXXXX_YY (ZZZZ) Where

XXXXXXXX is the offset into the flash of this FS root in bytes
YY is the version, we suggest extracting from the latest FS roots in case some older files have been deleted.
ZZZZ is the offset into the flash of this FS root in blocks

Expand a FS root to view the files it contains

Right click on a FS root to extract all the files in this FS entry.
Right click on a File to extract the file.

To do to it

Add support for CF & CG sections
Patch and re-encrypt pairing data in CB and CF

Download it

http://rapidshare.com/files/38552194/tool.06.rar.html

Thanks to Takires, tmbinc and TheSpecialist
« Last Edit: June 21, 2007, 12:58:18 PM by TheSpecialist » Logged
TheSpecialist
Global Moderator
Xbox Hacker
*****
Posts: 782


View Profile
« Reply #1 on: May 27, 2007, 07:18:19 PM »

Thanks to tmbinc and TheSpecialist
I just have to say thanks to Takires too Smiley
Logged
warpjavier
Master Hacker
****
Posts: 108


View Profile
« Reply #2 on: May 27, 2007, 08:05:54 PM »

Congratulations, Nice tool man!
I'll look to find the keys so I can play with the decrypted files!

warpjavier
Logged

Internet Explorer is only useful to download Firefox.
jas0nuk
Hacker
***
Posts: 67


View Profile
« Reply #3 on: May 28, 2007, 08:48:49 AM »

Is it possible to make a NAND dump in Linux on a vulnerable kernel?
Logged
Icekiller
Master Hacker
****
Posts: 184


View Profile
« Reply #4 on: May 28, 2007, 08:55:50 AM »

Is it possible to make a NAND dump in Linux on a vulnerable kernel?

yip the code is floating around here somewhere..
Logged
Ced2911
Member
**
Posts: 26


View Profile
« Reply #5 on: May 28, 2007, 09:05:51 AM »

Quote
CxKey.txt is delivered with 32 '0's and they should be replaced with the key obtained from the 1BL.
how do i can obtain it ?with xbflash ?someone have can post an .ini file ?
Logged
jas0nuk
Hacker
***
Posts: 67


View Profile
« Reply #6 on: May 28, 2007, 09:26:12 AM »

Damn, appears the dump from Linux does not contain the ECC data and so can't be used with this application.

Quote from: warpjavier
I believe the dump you get from linux, is the same dump you can get with Infectus or any other NAND programmer but you dont have a RAW dump that way, so you will be missing the extra 16 bytes of the nand. So does not maka sense to do that if you are gonna end up with an unusable dump.
Logged
Geremia
Xbox Hacker
*****
Posts: 600


View Profile
« Reply #7 on: May 28, 2007, 09:27:58 AM »

Congrats for your work!

Much respect to all the kernel hackng people  Grin
Logged
ElijahX
Member
**
Posts: 17


View Profile
« Reply #8 on: May 28, 2007, 12:57:36 PM »

Non-rapidshare link:
home.comcast.net/~elijahx2k7/tool.01.zip

(I hate rapidshare, with a passion.)
Logged
sentinel0
Master Hacker
****
Posts: 200

Lost and Confused


View Profile WWW
« Reply #9 on: May 28, 2007, 07:47:54 PM »

Is the only way to obtain the key via the serial cable kk exploit.  I guess my real question is can I obtain my key with the non serial version?
Logged
Surrido
Master Hacker
****
Posts: 232


Wer lesen kann ist klar im Vorteil!


View Profile
« Reply #10 on: May 29, 2007, 01:50:43 AM »

Great job man!

and another step closer... ;-)
Logged
Takires
Hacker
***
Posts: 69


View Profile
« Reply #11 on: May 31, 2007, 06:30:57 AM »

Is the only way to obtain the key via the serial cable kk exploit.  I guess my real question is can I obtain my key with the non serial version?

It should be possible. It is not different than dumping the NAND or the fuses. Size of 1BL is 32k, the address should be in one of the posts.
Logged
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« Reply #12 on: May 31, 2007, 11:29:52 AM »

A little update for you

http://rapidshare.com/files/34460139/tool.02.zip.html

New:
*Decrypts CF & CG (thanks again tmbinc)
*The .cab file extracted from CE now contains 2 files, Hypervisor.bin and xboxkrnl.exe
*Exported sections now include version number in the name

Todo:
*Apply CG patch to CE and extract patched Kernel & Hypervisor
*Patch pairing data in CF and re encrypt

Logged
Takires
Hacker
***
Posts: 69


View Profile
« Reply #13 on: June 01, 2007, 09:02:30 AM »

*The .cab file extracted from CE now contains 2 files, Hypervisor.bin and xboxkrnl.exe

This is a bad idea.

1) If the HV code needs to call the xboxkrnl code it will do this by direct addressing. Two examples of this are the exception processing code and the external interrupt code. One of these calls goes to 8005F9B0.

2) The xboxkrnl.exe file is a binary image. Dont let the MZ header fool you. All stuff that a MZ/PE loader normally would do has already been done. If you try to load it as a MZ file you will break the HV dependencies.

Logged
MoDInside
Hacker
***
Posts: 66


View Profile
« Reply #14 on: June 02, 2007, 02:31:18 AM »

Guys, can I get the dvd drive key with flash tool 0.2, I have a dump of my 4542 (made with infectus) I opened it with flash tool and can see all the sections of the dump, I was wondering if any of the listed keys is the drive key.
I have not flashed the drive of that x360, so right now I can not compare the keys.
Logged
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« Reply #15 on: June 02, 2007, 04:01:35 AM »

Unfortunately no. The DVD key is in the key vault and you need the CPU key decrypt that.

I have a vulnerable box now and plan to add key vault decrypt soon.

The CG section extraction is broken Sad A fix will be available soon 
Logged
haute1
Newbie
*
Posts: 6


View Profile
« Reply #16 on: June 02, 2007, 07:17:47 AM »

There is a copy of the efuses in any Cx zone to decrypt the keyvault?
aside from the key of dvd that others keys form the Keyvault?
Logged
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« Reply #17 on: June 03, 2007, 09:23:20 PM »


Update:
 Fixed CG extraction (see NAND Layout thread for info http://www.xboxhacker.net/index.php?topic=6674.msg48716#msg48716)
 Reverted CE.cab to single file (thanks Takires)

Here's the file

http://rapidshare.com/files/35115132/tool.03.rar.html

Logged
jacksback
Master Hacker
****
Posts: 117



View Profile
« Reply #18 on: June 08, 2007, 07:41:01 AM »

Hi

Could someone tell me what I am doing wrong when using the flash dump tool. I insert my DVD key into CxKey.txt and flash tool crashes when trying to open the flash dump. If I leave in all the 0's it starts up fine and I can see all the sections in my Flash. Am I using the wrong key? Which key should I use and where do I get it? I used the infectus chip to read and extract my tsop

Thanks
Logged
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« Reply #19 on: June 08, 2007, 08:26:40 AM »

You need the 1BL key NOT your DVD drive key. To get the 1BL key you need a dump of memory from a vulnerable (4532 or 4548) xbox
Logged
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM