Cardiff Metropolitan University
Embedded YARA rules strengthening YARA rules utilising fuzzy hashing and fuzzy rules for malware analysis.pdf (1.49 MB)

Embedded YARA rules: strengthening YARA rules utilising fuzzy hashing and fuzzy rules for malware analysis

Download (1.49 MB)
journal contribution
posted on 2022-02-18, 15:55 authored by Nitin Naik, Paul JenkinsPaul Jenkins, Nick Savage, Longzhi Yang, Tossapon Boongoen, Natthakan Iam-On, Kshirasagar Naik, Jingping Song
The YARA rules technique is used in cybersecurity to scan for malware, often in its default form, where rules are created either manually or automatically. Creating YARA rules that enable analysts to label files as suspected malware is a highly technical skill, requiring expertise in cybersecurity. Therefore, in cases where rules are either created manually or automatically, it is desirable to improve both the performance and detection outcomes of the process. In this paper, two methods are proposed utilising the techniques of fuzzy hashing and fuzzy rules, to increase the effectiveness of YARA rules without escalating the complexity and overheads associated with YARA rules. The first proposed method utilises fuzzy hashing referred to as enhanced YARA rules in this paper, where if existing YARA rules fails to detect the inspected file as malware, then it is subjected to fuzzy hashing to assess whether this technique would identify it as malware. The second proposed technique called embedded YARA rules utilises fuzzy hashing and fuzzy rules to improve the outcomes further. Fuzzy rules countenance circumstances where data are imprecise or uncertain, generating a probabilistic outcome indicating the likelihood of whether a file is malware or not. The paper discusses the success of the proposed enhanced YARA rules and embedded YARA rules through several experiments on the collected malware and goodware corpus and their comparative evaluation against YARA rules.


Portsmouth University


Published in

Complex & Intelligent Systems


Springer International Publishing


  • VoR (Version of Record)


Naik, N., Jenkins, P., Savage, N., Yang, L., Boongoen, T., Iam-On, N., Naik, K. and Song, J. (2021) 'Embedded YARA rules: strengthening YARA rules utilising fuzzy hashing and fuzzy rules for malware analysis', Complex & Intelligent Systems, 7(2), pp.687-702.

Print ISSN


Electronic ISSN


Cardiff Met Affiliation

  • Cardiff School of Technologies

Cardiff Met Authors

Paul Jenkins

Copyright Holder

  • © The Authors


  • en

Usage metrics

    School of Technologies Research - Journal Articles



    Ref. manager