Detail výsledku

Pattern Matching in YARA: Improved Aho-Corasick Algorithm

REGÉCIOVÁ, D.; KOLÁŘ, D.; MILKOVIČ, M. Pattern Matching in YARA: Improved Aho-Corasick Algorithm. IEEE Access, 2021, vol. 9, no. 1, p. 62857-62866. ISSN: 2169-3536.
Typ
článek v časopise
Jazyk
angličtina
Autoři
Regéciová Dominika, Ing., UIFS (FIT)
Kolář Dušan, doc. Dr. Ing., UIFS (FIT)
Milkovič Marek, Ing.
Abstrakt

YARA is a tool for pattern matching used by malware analysts all over the world. YARA can scan files, as well as process memory. It allows us to define sequences of symbols as text strings, hexadecimal strings, and regular expressions. However, the use of regular expressions is limited because of the concern that it can slow down the scanning process.
In this paper, we analyze the true nature of regular expressions in YARA and its implementation.
We discovered several reasons regular expressions can, in a fact, slow down scanning based on the nature of the used algorithm, Aho-Corasick. We proposed a new version of this algorithm and we implemented it in the original version of this tool.
The experiments are presented, proving the speed of pattern matching with regular expressions can be indeed improved.

Klíčová slova

Aho-Corasick algorithm, pattern matching, regular expressions, YARA

URL
Rok
2021
Strany
62857–62866
Časopis
IEEE Access, roč. 9, č. 1, ISSN 2169-3536
DOI
UT WoS
000645857100001
EID Scopus
BibTeX
@article{BUT171395,
  author="Dominika {Regéciová} and Dušan {Kolář} and Marek {Milkovič}",
  title="Pattern Matching in YARA: Improved Aho-Corasick Algorithm",
  journal="IEEE Access",
  year="2021",
  volume="9",
  number="1",
  pages="62857--62866",
  doi="10.1109/ACCESS.2021.3074801",
  issn="2169-3536",
  url="https://ieeexplore.ieee.org/document/9410267"
}
Projekty
Metody AI pro zabezpečení kybernetického prostoru a řídicí systémy, VUT, Vnitřní projekty VUT, FIT-S-20-6293, zahájení: 2020-03-01, ukončení: 2023-02-28, ukončen
Pracoviště
Nahoru