Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Zune
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6 7

Author Topic: Zune  (Read 144486 times)

Offline zivan56

  • Member
  • *
  • Posts: 38
Re: Zune
« Reply #60 on: May 03, 2008, 06:07:31 PM »
Here is an xml file from the hard disk (devcert.dat):

[EDIT: file moved to attachment]

Does this give any clues or keys?  I guess these are known already...
I have also zipped the filesystem and you can get it here:
http://rapidshare.com/files/112343487/tfat.zip
* devcert.txt (2.79 kB - downloaded 445 times.)
« Last Edit: May 03, 2008, 06:33:47 PM by zivan56 »
Logged

Offline zivan56

  • Member
  • *
  • Posts: 38
Re: Zune
« Reply #61 on: May 04, 2008, 03:20:55 PM »
I guess I forgot to mention that the filesystem appears to have unsigned files with executable binary code (relating to booting/memory/disk checks).  Maybe someone could have a look at that?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Zune
« Reply #62 on: May 04, 2008, 05:32:10 PM »
The file 'zconfig.dat' contains several strings mentioning TFTP which I find interesting. You aware of any functionality in the Zune that uses TFTP?
Logged

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Zune
« Reply #63 on: May 04, 2008, 05:48:36 PM »
Track sharing over wifi maybe?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Zune
« Reply #64 on: May 04, 2008, 06:04:00 PM »
TFTP is often used for booting stuff why I'm curious. There are also others strings hinting about this possibility, like:

"SendBootme()::Error on SendUDP() call"

Further research on the "recovery.bin" file shows that it starts with B000FF \n which according to
this page is a file "generated by microsofts romtools". And the description there seems to match the initial bytes in that file. It mentions a 32 bit start address and length following that seven byte marker and there we see 80080000 and 00121C60 (little endian). Another funny thing is that if we run 'strings -el' on that image we get to see "0x80080000" and "0x00121C60" stored...

It is worth noticing that 0x00121C60 is significantly bigger than the recovery.bin file. 45873 bytes bigger to be exact.

Update: zivan56's 53MB fat dump is now also available here => http://daniel.haxx.se/rockbox/zune-tfat.zip
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: Zune
« Reply #65 on: May 04, 2008, 06:41:51 PM »
Quote from: NicolasP on May 04, 2008, 05:48:36 PM
Track sharing over wifi maybe?

TFTP is UDP based with almost no error resilience, I would not expect it to be used over any sort of wireless link.  Its mostly used over things like serial ports where you have 100% control over the line at all times and only send small files.
Logged

Offline zivan56

  • Member
  • *
  • Posts: 38
Re: Zune
« Reply #66 on: May 04, 2008, 10:56:33 PM »
Perhaps it uses UDP broadcasts when sending the name of the currently playing song over wireless?  I don't know of anything relating to TFTP...it is perhaps just for testing.  It could use TFTP and send the songs in sections...then just doing a hash check and re-requesting it if the chunk is incorrect.
I did grab some wireless packets before, and it does encrypt some things with WEP (or it just send a wrong 802.11 header out?).  Currently playing songs are broadcast unencrypted and in plain text (with a custom binary header).

recovery.bin might be modifiable, as it doesn't appear to have a signature.  I don't believe it is distributed with the firmware, so it may have not been tried at all.
« Last Edit: May 04, 2008, 10:59:35 PM by zivan56 »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Zune
« Reply #67 on: May 05, 2008, 04:01:09 AM »
WEP is unsafe and it should be possible to retrieve the key(s) used, like with airsnort

I would rather expect the TFTP/UDP things to be used for a magic upgrade case or some special service mode or something and not something used in the ordinary system. Is it possible to upgrade this thing over the network?
Logged

Offline zivan56

  • Member
  • *
  • Posts: 38
Re: Zune
« Reply #68 on: May 05, 2008, 10:17:59 PM »
I would gladly crack the WEP key, but I have no other Zune.  It uses some sort of application layer encryption for wireless syncing, so that would probably need to be figured out as well; not to mention MTPZ encryption.
I don't know about firmware updates over wireless, but they are done over MTPZ.
Overall, they got it locked down pretty tight.  However, those files on the drive seem like good candidates to start off...
Logged

Offline Romanian

  • Member
  • *
  • Posts: 9
Re: Zune
« Reply #69 on: May 07, 2008, 06:30:45 AM »
Quote from: Llorean on November 13, 2007, 10:07:47 PM
Until someone figures out a way to bypass the encryption so unsigned code can be run, there's really nothing much that can be done.

It's a long shot, but has anybody tried asking Microsoft, or some representatives, or even ex-employees, if this is achievable? Or have we passed this stage already?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Zune
« Reply #70 on: May 07, 2008, 07:26:27 AM »
Quote from: Romanian on May 07, 2008, 06:30:45 AM
It's a long shot, but has anybody tried asking Microsoft, or some representatives, or even ex-employees, if this is achievable? Or have we passed this stage already?

I don't think we ever will pass that phase as we can always use more info. Personally I have no contacts at all to approach to even start getting this info, but by all means contact your friends and ask!
Logged

Offline zivan56

  • Member
  • *
  • Posts: 38
Re: Zune
« Reply #71 on: May 10, 2008, 10:26:29 PM »
With the latest firmware and XNA studio, you can deploy your own games that have been written using the XNA framework in C#.
I didn't have much time to mess around with it, but standard I/O and filesystem API works.  However, it will not let you browse the filesystem using that.  Apparently, each game gets 16MB of runtime memory and has a theoretical 2GB max file size.  My guess is that there is a small .NET framework on there which seem to be locked pretty tightly.  I will try to extract a game from the HDD when I get the chance to see if it has any sort of digital signature.
Logged

Offline bipton

  • Member
  • *
  • Posts: 21
Re: Zune
« Reply #72 on: August 13, 2008, 01:40:36 AM »
Has anyone seen the article for cold boot hacking yet? Basically when you shut down your machine data is still in your ram for a small time, these fellas wrote an application that boots off a usb drive or pxe and immediately makes an image of the ram, they also provide a coupe tools for retrieving aes and rsa keys from that image. They tested it to retrieve keys for various hard drive encryption solutions and were successful. I'm curious if you could boot up xp, launch zune, connect the device, and kill the power abruptly after the device connected. Reboot from the usb drive, dump the ram, then search for the key. Here's the site from the fellas that did it, they have video, documentation, and source code. http://citp.princeton.edu/memory/
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Zune
« Reply #73 on: August 13, 2008, 09:27:34 AM »
Yes, we've seen it - No, no-one's bothered doing it.
Logged

Read The Manual Please

Offline JonathanHull

  • Member
  • *
  • Posts: 68
Re: Zune
« Reply #74 on: August 14, 2008, 11:07:02 AM »
And I honestly don't think it's necessary. The cold-hack method is for reading the ram on a system that you have physical access to, but not login access. What you are suggesting is doing this to a machine that the zune is connected to, which you already have full login access to, so there are many other ways to read the ram without having to do the cold hack.
Logged

  • Print
Pages: 1 ... 3 4 [5] 6 7
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Zune
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.156 seconds with 21 queries.