Preventing mobile malware attacks