Statistics for Automated detection and classification of malware used in targeted attacks via machine learning