DocumentCode
1405176
Title
String Searching Engine for Virus Scanning
Author
Pao, Derek ; Wang, Xing ; Wang, Xiaoran ; Cao, Cong ; Zhu, Yuesheng
Author_Institution
Dept. of Electron. Eng., City Univ. of Hong Kong, Hong Kong, China
Volume
60
Issue
11
fYear
2011
Firstpage
1596
Lastpage
1609
Abstract
A memory-efficient hardware string searching engine for antivirus applications is presented. The proposed QSV method is based on quick sampling of the input stream against fixed-length pattern prefixes, and on-demand verification of variable-length pattern suffixes. Patterns handled by the QSV method are required to have at least 16 bytes, and possess distinct 16-byte prefixes. The latter requirement can be fulfilled by a preprocessing procedure. The search engine uses the pipelined Aho-Corasick (P-AC) architecture developed by the first author to process 4 to 15-byte short patterns and a small number of exception cases. Our design was evaluated using the ClamAV virus database having 82,888 strings with a total size that exceeds 8 Mbyte. In terms of byte count, 99.3 percent of the pattern set is handled by the QSV method and 0.7 percent of the pattern set is handled by P-AC. A pattern with distinct 16-byte prefix only occupies up to three lookup table entries in QSV. The overall memory cost of our system is about 1.4 Mbyte, i.e., 1.4 bit per character of the ClamAV pattern set. The proposed method is memory-based, hence, updates to the pattern set can be accommodated by modifying the contents of the lookup tables without reconfiguring the hardware circuits.
Keywords
computer viruses; formal verification; pipeline processing; sampling methods; search engines; string matching; table lookup; QSV method; antivirus system; fixed length pattern prefixe; lookup tables; on-demand verification; pipelined Aho-Corasick architecture; quick sampling; search engine; string searching; variable length pattern suffixes; virus scanning; Algorithm design and analysis; Databases; Engines; Hardware; Memory management; Pattern matching; Table lookup; String searching; antivirus system; embedded system.; system security;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.2010.250
Filename
5669261
Link To Document