A machine learning framework for domain generating algorithm based malware detection