📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








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 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit