使用小型语言模型进行命令行混淆检测
Command-line Obfuscation Detection using Small Language Models
AI总结:
本文提出一种基于定制训练的小型Transformer语言模型的可扩展命令行混淆检测方法,在真实世界高容量遥测数据上实现高精度检测,并证明其优于传统签名方法。
摘要:
为了避免被检测,攻击者经常使用命令行混淆。命令行混淆存在多种技术,这些技术都旨在改变命令行语法而不影响其原始功能。这种可变性迫使大多数安全解决方案即使对于单个模式也必须创建详尽的签名枚举。与使用签名不同,我们实现了一种可扩展的基于自然语言处理(NLP)的检测方法,该方法利用了一个经过定制训练的小型Transformer语言模型,可应用于任何执行日志来源。基于真实世界遥测数据的评估表明,即使在来自大学、企业、医疗保健或金融等多样化环境的高容量遥测数据上,我们的方法也能产生高精度的检测结果。实际价值在一个由我们的模型检测到的真实世界样本案例研究中得到了证明。我们展示了该模型在已知使用混淆的既定恶意软件上相对于签名的优越性,并展示了由我们的模型检测到的以前未见过的混淆样本。
英文摘要:
To avoid detection, adversaries often use command-line obfuscation. There are numerous techniques of the command-line obfuscation, all designed to alter the command-line syntax without affecting its original functionality. This variability forces most security solutions to create an exhaustive enumeration of signatures for even a single pattern. In contrast to using signatures, we have implemented a scalable NLP-based detection method that leverages a custom-trained, small transformer language model that can be applied to any source of execution logs. The evaluation on top of real-world telemetry demonstrates that our approach yields high-precision detections even on high-volume telemetry from a diverse set of environments spanning from universities and businesses to healthcare or finance. The practical value is demonstrated in a case study of real-world samples detected by our model. We show the model's superiority to signatures on established malware known to employ obfuscation and showcase previously unseen obfuscated samples detected by our model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。