Layered Security Approach for Malware Prevention