arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01445cs.CRcs.LG
收藏

Hamm-Grams:一种挖掘字节正则表达式的算法

Hamm-Grams: An Algorithm for Mining Regular Expressions of Bytes

Derek Everett, Edward Raff, James Holt

AI总结:

提出Hamm-Grams算法,通过局部敏感哈希和聚类高效挖掘固定长度含通配符的正则表达式特征,用于恶意软件分类检测,比传统n-gram更鲁棒。

摘要:

恶意软件构成一个关键且不断演变的威胁,因此用于检测和分类恶意软件的鲁棒且有效的系统至关重要。$n$-gram特征是用于恶意软件的有效机器学习系统中常见的静态特征之一,但这些特征本质上是脆弱的。我们提出了一种构建更鲁棒特征的算法,即hamm-grams,这是一类具有固定长度和单字符通配符的特殊正则表达式。我们设计了一种高效的算法来发现常见的hamm-grams,该算法使用一种新的局部敏感哈希,旨在产生小汉明距离对之间的碰撞,并在哈希桶内进行聚类以放置通配符。然后,我们展示了这些特征在恶意软件分类和检测任务中的优势。

英文摘要:

Malware poses a critical and ever-evolving threat, and robust and effective systems for detecting and classifying malware are of essential importance. $n$-grams features are among the common static features used in effective machine learning systems for malware, but these features are inherently brittle. We propose an algorithm for constructing more robust features, hamm-grams, which are a special class of regular expressions having a fixed length and single-character wildcards. We devise an efficient algorithm for finding common hamm-grams using a new locality-sensitive hash designed to produce collisions among pairs of small Hamming distance and a clustering within hash buckets to place wildcards. We then demonstrate the advantages of these features in malware classification and detection tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑