Protecting Your Code with Visual C++ Defenses

Protecting Your Code with Visual C++ Defenses by Michael Howard

Executive summary:


My company offers consulting on how to prepare for TISAX, ISO27001, NIS2, CSMS and SOC2 audits.
Get in touch with us here: https://www.endpoint-cybersecurity.com/contact/

Always compile with:
/NXCompat
/SafeSEH
/DynamicBase

In the header(PCH) always define:
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1

In the code call :
SetProcessDEPPolicy(PROCESS_DEP_ENABLE);

Note that some of these feature are available from Vista SP1.


© Copyright 2010 Sorin Mustaca, All rights Reserved. Written For: Sorin Mustaca - Security & Technology


Want to work with me on this topic?
Check Endpoint Cybersecurity to see the consulting services we offer.