Flag: Tornado! Hurricane!

 Forums >>  Target Specific - General  >>  How to BP "on text changed"?

Topic created on: August 25, 2011 09:25 CDT by oxident .

I'm trying to reverse an application which checks if an entered string is valid (somehow like a serial checking routine). But in my case, there isn't a simple string like "wrong password": The application just changes the color of the entered string to either black (string ok) or red (string invalid).

Now I just have any clue on where to put a BP in order to find the "code area" where the decision is taken.

The only relevant call I've found so far is GDI32.SetTextColor ... but I'm not able to track this call down to the main executable code.

I'm talking about an unpacked Win32 application, originally written in Delphi.

Thanks for any help!

  NirIzr     September 17, 2011 09:53.40 CDT
perhaps its using TextOut@GDI32?

Also, why wont you try finding the api the app uses to read the text content to begin with? such as GetWindowText etc..

  beenu     September 22, 2011 08:07.30 CDT
that's a good suggestion, parse the PE file and hook to the API. Thanks Padrim great tool pydbg, can save a lot of time.

Note: Registration is required to post to the forums.

There are 31,326 total registered users.


Recently Created Topics
what\'s the big idea...
Nov/13
Oct/23
Oct/23
Oct/23
Oct/23
Oct/23
Oct/23
Oct/23
Oct/23
Oct/23


Recent Forum Posts
Reverse Engineering ...
bytecod3r
Reverse Engineering ...
bytecod3r
Reverse Engineering ...
bytecod3r
Reverse Engineering ...
bytecod3r
Reverse Engineering ...
bytecod3r
let 'IDAPython' impo...
bytecod3r
Reverse Engineering ...
bytecod3r
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow


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