Flag: Tornado! Hurricane!

 Forums >>  Brainstorms - General  >>  Requesting Suggestions - VxWorks Binary Image

Topic created on: March 6, 2010 06:38 CST by secursig .

Hello all,

nice to find a nice community such as openRCE where I can actually find people that know what they're doing.

i'm working on trying to decompile an image that was designed in an older version of VxWorks ( circa yr. 2000). I don't know if it's format is in ELF... I do not think so. I have successfully been able to decompress the image using code that does what the bootloader has inside of it to inflate from flash. Now that I have the proper uncompressed image, I can't get IDA to recognize any part of it, it just thinks it's a binary file. I know the file was built for the powerpc architecture. I tried using a linux tool to convert the binary to elf called powerpc-rtems-binutils/objcopy and it will properly build an ELF header, but I don't think this is going to do me any good without feeding it the loading address / entry point. Running strings on the file yielded very good results..so I know the uncompressed image is good.

I have already tried to look for potential addresses of where strings or functions are located, and compare those addresses with the actual location of the string, ( subtract  the value of what I think is the entry in a table from the actual address of the string ) to try to find the entry point but i'm not having much luck.

How can I go about finding the entry point / whatever I need to disassemble this in IDA?

thanks in advance for your time.

  phn1x     March 6, 2010 09:38.25 CST
http://www.openrce.org/forums/posts/1212
https://www.openrce.org/forums/posts/908

  secursig   March 6, 2010 19:37.09 CST
Hi phn1x,


I seen those topics but I couldn't seem to apply them to my current situation. The first 0x3F bytes of my target are the following:

7C8422784C00012C
7C8001244C00012C
7C0002784C00012C
7C1043A67C1143A6
7C1243A67C1343A6
7C631A78
7C0004AC60632000
7C0004AC
7C6001244C00012C

which leaves the value 4C0001 at offset 0x14 which doesn't seem to make much sense to me. if the file is only ~3,800,000 bytes long, then how can this be the proper entry point?

i have tried to create an image in IDA with the rom starting at 0x400000 and then navigating to offset C0001 ( 4C0001) which has data which should be real powerPC instructions, but the data looks like this:

E3004057FF00304BFF3A817C03F8404182000C38

and IDA can't convert it into code. What am I doing wrong here?

Note: Registration is required to post to the forums.

There are 28,225 total registered users.


Recently Created Topics
Reverse Engineering ...
Jan/23
Career: DoD Agency I...
Jan/22
"Disappearing&q...
Jan/17
Career: Software Sec...
Jan/11
Where is the call st...
Jan/07
IDA Pro 6.1 Breakpoi...
Jan/01
How to create data s...
Dec/30
can i search all mod...
Dec/23
IDA symbol table exp...
Dec/20
An anti-attach trick
Dec/17


Recent Forum Posts
Reverse Engineering ...
NirIzr
"Disappearing&q...
NirIzr
Reverse Engineering ...
charlie
"Disappearing&q...
charlie
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
Looking for value in...
NirIzr


Recent Blog Entries
cmathieu
Feb/07
Hacker Carnival

waleedassar
Feb/06
OllyDbg v1.10 And Hardware ...

waleedassar
Jan/31
Yet Another Anti-Debug Trick

RolfRolles
Jan/22
Finding Bugs in VMs with a ...

waleedassar
Jan/13
An OllyDbg Bug Disables Sof...

More ...


Recent Blog Comments
waleedassar on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/05
Yet Another Anti-Debug Trick

trolotou on:
Feb/05
Doudoune Moncler -Pennies F...

waleedassar on:
Feb/01
Yet Another Anti-Debug Trick

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit