Jump to content

dechipher a .bin file


zisk
 Share

Recommended Posts

The firmware is the operating system that router runs.

You can try dissembling it, but it'll take allot of work to understand it. The first thing you need to do in this process is determine the instruction set used. You can do this by looking at the processor type. It is most likely an ARM processor, but it could be a MIPS processor (among other instruction sets). Once you have figured this out you can use an equivalent dissembler to create human readable assembly, from there you can figure out the rest.

Link to comment
Share on other sites

Those are usually small http servers with built in web gui interfaces, often based on linux, but could be anything. If you open any of the bin files in a text editor, you can see the web stuff, like the javascript and html code.

Link to comment
Share on other sites

first, thanks for answering!

i already tried to view with text/hex editors, but i get only unreadable characters (non javascript, html)...that's why i doubt it could be a encrypted .XML (like other routers do)

i'm thinking it might be a binary image-representation of the router's settings status...but it certainly has some kind of encryption (that's what i probably need to find out, in order to read its data!)

i wouldn't say it's compressed (too many repeated characters...)

i'm almost certain:

the Firmware is writen in C and compiled onto a ARM processor, with EON flash memory

i'm asking your help, since i'm just a web programmer, web designer with some video-editing skills...but i'm no good at disassembling.

Could somebody please try it, maybe with a good ARM Disassembler ?

i post the firmware (version V2.04, dated 28 april 2006)

http://tsd.dlink.com.tw/ModelDocuView.asp?...ocuSno=BDKDGDAD

ftp://ftp.dlink.de/di/di-524/driver_software/

ftp://ftp.dlink.co.uk/di_broadband_gateways/di-524/

i also found this opensource firmware version here:

http://www.dlink.fi/cs/Satellite?c=TechSup...-FI%2FDLWrapper

BUT i'm not completely certain it is exactly the same as the V2.04 ...??

and of course the config.bin

http://rapidshare.com/files/255561195/config.bin.html

...i rely on your help (it's not a joke...it'd be important to me to retrieve the data stored in the config)

Thanks very much for any help!

Link to comment
Share on other sites

i analized the source code, and i would say that the files involved in the "config.bin" parsing might be these (path within the .tar.gz achives):

.\di524\userland\target\usr\sbin\rgbin

.\di524\progs.priv\rgbin\Makefile

.\di524\progs.priv\rgbin\rgbin

now, could you help me compiling the "rgbin" executable (i guess that might be the key to get the .xml out of the .bin, don't you think?) so that it could be run on a Linux?

or, alternatively, if you own a DI-524 with telnet access, i could send the config.bib so that you try decode it thru the "rgbin" utility...

thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...