FPGA-Based Acceleration of Pattern Matching in YARA

被引:1
作者
Singapura, Shreyas G. [1 ]
Yang, Yi-Hua E. [2 ]
Panangadan, Anand [3 ]
Nemeth, Tamas [4 ]
Ng, Peter [4 ]
Prasanna, Viktor K. [1 ]
机构
[1] Univ Southern Calif, Ming Hsieh Dept Elect Engn, Los Angeles, CA 90007 USA
[2] Google Inc, Mountain View, CA USA
[3] Calif State Univ Fullerton, Fullerton, CA 92634 USA
[4] Chevron, San Ramon, CA USA
来源
APPLIED RECONFIGURABLE COMPUTING, ARC 2016 | 2016年
关键词
D O I
10.1007/978-3-319-30481-6_26
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
String and regular expression pattern matching is an integral part of intrusion detection systems to detect potential threats. YARA is a pattern matching framework to identify malicious content by defining complex patterns and signatures. Software implementations of YARA on CPU do not meet the throughput requirements of core networks. We present a FPGA based hardware accelerator to boost the performance of pattern matching in YARA framework. The proposed architecture consists of pattern matching engines organized as two-dimensional stages and pipelines. We implemented rulesets of sizes varying from 8 to 200 rules with total number of patterns ranging from 128 to 6000. Post place-and-route results demonstrate that the proposed design achieves throughput ranging from 12.85 Gbps to 21.8 Gbps. This is an improvement of 8.8x to 14.5x in comparison with the throughput of 1.45 Gbps for a software implementation on a state of the art multi-core platform.
引用
收藏
页码:320 / 327
页数:8
相关论文
共 13 条
[1]   Regular expression matching for reconfigurable packet inspection [J].
Bispo, Joao ;
Sourdis, Ioannis ;
Cardoso, Joao M. P. ;
Vassiliadis, Stamatis .
2006 IEEE INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2006, :119-126
[2]   THE COMPILATION OF REGULAR EXPRESSIONS INTO INTEGRATED-CIRCUITS [J].
FLOYD, RW ;
ULLMAN, JD .
JOURNAL OF THE ACM, 1982, 29 (03) :603-622
[3]  
Jung J-H, 2015, J COMMUN COMPUT, V12, P91
[4]   A Memory-Efficient and Modular Approach for Large-Scale String Pattern Matching [J].
Le, Hoang ;
Prasanna, Viktor K. .
IEEE TRANSACTIONS ON COMPUTERS, 2013, 62 (05) :844-857
[5]  
Mansoori M., 2014, Proceedings of the Twelfth Australasian Information Security Conference-Volume, V149, P7
[6]   A memory-efficient FPGA-based classification engine [J].
Nikitakis, Antonis ;
Papaefstathiou, Ioannis .
PROCEEDINGS OF THE SIXTEENTH IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, 2008, :53-62
[7]  
Sidhu R., 2001, P 9 ANN IEEE S FIELD, P227, DOI DOI 10.1109/FCCM.2001.22
[8]  
Snort, INTR DECT SYST
[9]  
Sourdis I., 2003, FPL, V2003, P880
[10]  
Weaver N, 2007, FPGA 2007: FIFTEENTH ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE GATE ARRAYS, P199