Question

I need writing a safe program and prevent it against exploiting in Delphi. I need to enable all protection and mechanism but i don't understand do it.

Protection example:

  1. Safe SEH
  2. SEH Overwrite Protection(SEHOP)
  3. DEP Permanent

and How to running my program under EMET and get green tick?

Grateful you for response and share your information with me.

Was it helpful?

Solution

  1. Delphi does not support Safe SEH.
  2. SEHOP is an operating system setting. Enable it at the system level.
  3. DEP is enabled by a PE flag. Set it by adding this to your program, e.g. in your .dpr file: {$SetPEOptFlags IMAGE_DLLCHARACTERISTICS_NX_COMPAT }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top