Protecting Your Code with Visual C++ Defenses

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

Executive summary:

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 on Cybersecurity


Check www.endpoint-cybersecurity.com for seeing the consulting services we offer.

Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie de.itsecuritynews.info für IT Sicherheits News auf Deutsch

Discover more from Sorin Mustaca on Cybersecurity

Subscribe now to keep reading and get access to the full archive.

Continue reading