Jump to content
Tuts 4 You

AntiDebugging in Delphi


GautamGreat

Recommended Posts

GautamGreat

Hey. I need some help. I wanna program a application which is fully protected from RCE. Means if it will detect any PE tool or debugger it will self destroy.

Link to comment

Check that post, it contain a paper with the most common techniques to do that. :)

The simplest way to check if an application is running inside your code is call FindWindowA and looking for the name of the dialog.

 

Link to comment
3 hours ago, ramjane said:

if it will detect any PE tool or debugger it will self destroy.

That's useless since cracker can just set a BP in the api you using for it or just freeze the process,

would be useful only if you have a online licence system able to ban the licence.

Edited by Reasen
Link to comment
GautamGreat

Finally I decided I will make a online registration system and use FindWindowA api to trace any debugging or pe tools if process detect the license will ban automatically.

Link to comment
2 hours ago, ramjane said:

Finally I decided I will make a online registration system and use FindWindowA api to trace any debugging or pe tools if process detect the license will ban automatically.

Make it able to detect breakpoints and md5 checksums internally too

Link to comment

I love coding in delphi/pascal... here is a great site for source code/snippets and inspiration:

http://www.delphibasics.info/

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...