A new approach to malware detection