Malware detection using machine learning