Jump to content
Tuts 4 You

AntiDebugging in Delphi


GautamGreat

Recommended Posts

GautamGreat
Posted

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.

Posted

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.

 

Posted (edited)
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
GautamGreat
Posted

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.

Posted
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

Posted

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

http://www.delphibasics.info/

 

 

CodeExplorer
Posted

I don't like Pascal/Delphi.
But I think Lazarus (Delphi) is cool! http://www.lazarus-ide.org/
Lazarus - The professional Free Pascal RAD IDE!
 

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...