Microsoft Data Execution Prevention (DEP) can help stop malicious code from running on your computer. DEP works by monitoring the memory usage of an application and preventing it from executing any data in certain areas of memory that are not designated for code execution.