Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-03-2009, 17:13
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 6 Posts
redbull Reputation: 5
Reserving with Resource DLLs

Hi GUys,

I am reversing the latest MobSync 2.0.3. An application which allows you to syncronize a windows mobile phone with files on windows computer. IT has lots of options and a really good tool.

http://doosoft.seesaa.net/

The program is written in Borland C++ 6 (BCB6) and IDA and DEDE seem to do quite well on the target. No packing or protection.

The protection consists of an ID and a password.

It uses Localization software to help you build other languages.

The native EXE is built in the Japanese language and when you run the program it tries to load the language for your region. Eg mobsync.enu (english) mobsync.de (german) etc.

These other files are basically resource DLLs (mobsync.enu).

I have located the Japanese resource strings for "Registered" "Unregistered" etc. And marked them in IDA at the right position.

Problem is the PE file has all its strings in the ".rsrc" section and not ".data" so IDA 5.1 does not link the string to any of its references. So i have no xref's for these strings. I tried various options when analysing the file in IDA with no luck.

I have found the MessageBoxA calls and calls to determine where the serial is read.

But the target is quite tricky because it writes a serial file. <username>.ser2
So I want to make sure I find all the places and patch the target correctly. (Actually I want to keygen it)

My question is really how to get IDA to recognize these strings or how to find the "link" between the strings and their references.

I am not expecting people to do my work for me but I need a push in the right direction.

There is a large table, which I will post the real code later, which could be a clue

Something like:

a425530: db offset_421334 [text, dd_213324]
a425534: db offset_421316 [text, dd_213324]
a425538: db offset_42133A [text, dd_213324] etc

And I and guessing this is where the major work is done.

I want to ideally write an IDA script to map these resources and rename them to their reference strings.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
different DLLs have same udd name in OllyDbg BlackWhite General Discussion 8 07-31-2014 03:04
How to patch .NET DLLs? Newbie_Cracker General Discussion 28 09-26-2005 04:52
Unpacking DLLs thomasantony General Discussion 22 08-18-2005 05:34
DLLs armmad8 General Discussion 2 06-09-2005 22:13


All times are GMT +8. The time now is 00:58.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )