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


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
hi!
Jul/01
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


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