用深度学习对Unicode进行分类--识别具有弱标记数据的同源字形
Weaponizing Unicodes with Deep Learning -- Identifying Homoglyphs with Weakly Labeled Data
摘要:
视觉上相似的字符,或homoglyphs,可以用来执行社会工程攻击或逃避垃圾邮件和剽窃检测器。因此,重要的是要了解攻击者识别同型文字的能力-特别是那些以前没有发现的-并在攻击中利用它们。我们研究了一种使用嵌入学习、迁移学习和增强的深度学习模型,以确定字符的视觉相似性,从而识别潜在的同型字形。我们的方法独特地利用了弱标签,产生的事实,大多数字符不是homoglyphs。我们的模型在成对同源性识别方面大大优于归一化压缩距离方法,我们实现了0.97的平均精度。我们还提出了第一次尝试聚类homoglyphs成组的等价类,这是更有效的比成对的信息安全从业人员快速查找homoglyphs或规范化混淆字符串编码。为了衡量聚类性能,我们提出了一个度量(mBIOU)建立在经典的交集超过联盟(IOU)度量。我们的聚类方法达到0.592 mBIOU,相比之下,幼稚基线为0.430。我们还使用我们的模型预测了8,000多个以前未知的同形文字,并发现了良好的早期迹象,其中许多可能是真阳性。源代码和预测的同形文字列表上传到Github:https://github.com/PerryXDeng/weaponizing_unicode
英文摘要:
Visually similar characters, or homoglyphs, can be used to perform social engineering attacks or to evade spam and plagiarism detectors. It is thus important to understand the capabilities of an attacker to identify homoglyphs -- particularly ones that have not been previously spotted -- and leverage them in attacks. We investigate a deep-learning model using embedding learning, transfer learning, and augmentation to determine the visual similarity of characters and thereby identify potential homoglyphs. Our approach uniquely takes advantage of weak labels that arise from the fact that most characters are not homoglyphs. Our model drastically outperforms the Normalized Compression Distance approach on pairwise homoglyph identification, for which we achieve an average precision of 0.97. We also present the first attempt at clustering homoglyphs into sets of equivalence classes, which is more efficient than pairwise information for security practitioners to quickly lookup homoglyphs or to normalize confusable string encodings. To measure clustering performance, we propose a metric (mBIOU) building on the classic Intersection-Over-Union (IOU) metric. Our clustering method achieves 0.592 mBIOU, compared to 0.430 for the naive baseline. We also use our model to predict over 8,000 previously unknown homoglyphs, and find good early indications that many of these may be true positives. Source code and list of predicted homoglyphs are uploaded to Github: https://github.com/PerryXDeng/weaponizing_unicode
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。