arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.09738cs.CR
收藏

基于Siamese神经网络的同源语法攻击检测

Detecting Homoglyph Attacks with a Siamese Neural Network

Jonathan Woodbridge, Hyrum S. Anderson, Anjum Ahuja, Daniel Grant

摘要:

homoglobing(名称欺骗)攻击是攻击者用来混淆文件和域名的常见技术。此技术创建的进程或域名在视觉上与合法的和已识别的名称相似。例如,攻击者可能会创建名为svch0st.exe的恶意软件,以便在对正在运行的进程或目录列表进行目视检查时,该进程或文件名可能会被误认为是Windows系统进程svchost.exe。已经发表的关于检测同源性攻击的研究有限。目前的方法依赖于字符串比较算法(如Levenshtein距离),导致计算量大的解决方案具有大量的误报。此外,用于可重复研究的公开数据集数量不足,大多数数据集都集中在钓鱼攻击上,其中并不总是使用homoglyphs。本文提出了一个根本不同的解决方案,这个问题,使用暹罗卷积神经网络(CNN)。这种技术不是利用基于字符交换和删除的相似性,而是对渲染为图像的字符串使用学习的度量:CNN学习被优化以检测渲染字符串的视觉相似性的特征。经过训练的模型用于将数千个潜在目标进程或域名转换为特征向量。这些特征向量使用随机KD树进行索引,以最小的计算处理进行非常快的相似性搜索。该技术在受试者工作特征曲线下面积(ROC AUC)方面比基线技术有13%至45%的显著改善。此外,我们提供了代码和数据,以进一步未来的研究。

英文摘要:

A homoglyph (name spoofing) attack is a common technique used by adversaries to obfuscate file and domain names. This technique creates process or domain names that are visually similar to legitimate and recognized names. For instance, an attacker may create malware with the name svch0st.exe so that in a visual inspection of running processes or a directory listing, the process or file name might be mistaken as the Windows system process svchost.exe. There has been limited published research on detecting homoglyph attacks. Current approaches rely on string comparison algorithms (such as Levenshtein distance) that result in computationally heavy solutions with a high number of false positives. In addition, there is a deficiency in the number of publicly available datasets for reproducible research, with most datasets focused on phishing attacks, in which homoglyphs are not always used. This paper presents a fundamentally different solution to this problem using a Siamese convolutional neural network (CNN). Rather than leveraging similarity based on character swaps and deletions, this technique uses a learned metric on strings rendered as images: a CNN learns features that are optimized to detect visual similarity of the rendered strings. The trained model is used to convert thousands of potentially targeted process or domain names to feature vectors. These feature vectors are indexed using randomized KD-Trees to make similarity searches extremely fast with minimal computational processing. This technique shows a considerable 13% to 45% improvement over baseline techniques in terms of area under the receiver operating characteristic curve (ROC AUC). In addition, we provide both code and data to further future research.

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

↑