If you are looking for legitimate ways to secure your applications, please let me know:
It actively detects if a debugger is attached to the process or if the executable’s checksum has been modified, terminating the application if tampering is detected.