Automatic malware classification and new malware detection using machine learning