Windows EMET: Enforcing Code Execution Protections
This is a good post from darkoperator that explains how to use EMET to enforce code executi on protections in windows binaries, like ASLR and DEP.
As explained in the post, the applic ations have to be compiled with the right flags in order to use these protections by default, but they can also be manually enabled with EMET.