Skip to content

MALGRA: Machine learning and N-GRAM malware feature extraction and detection system

Research output: Contribution to journalArticlepeer-review

Detection and mitigation of modern malware are critical for the normal operation of an organisation. Traditional defence mechanisms are becoming increasingly ineffective due to the techniques used by attackers such as code obfuscation, metamorphism, and polymorphism, which strengthen the resilience of malware. In this context, the development of adaptive, more effective malware detection methods has been identified as an urgent requirement for protecting the IT infrastructure against such threats, and for ensuring security. In this paper, we investigate an alternative method for malware detection that is based on N-grams and machine learning. We use a dynamic analysis technique to extract an Indicator of Compromise (IOC) for malicious files, which are represented using N-grams. The paper also proposes TF-IDF as a novel alternative used to identify the most significant N-grams features for training a machine learning algorithm. Finally, the paper evaluates the proposed technique using various supervised machine-learning algorithms. The results show that Logistic Regression, with a score of 98.4%, provides the best classification accuracy when compared to the other classifiers used.

Original languageEnglish
Article number1777
Number of pages20
JournalElectronics (Switzerland)
Issue number11
Publication statusPublished - 26 Oct 2020



    Final published version, 570 KB, PDF document

    Licence: CC BY

Related information

Relations Get citation (various referencing formats)

ID: 23441431