ML-FEED:用于有效漏洞检测的机器学习框架
ML-FEED: Machine Learning Framework for Efficient Exploit Detection
摘要:
基于机器学习(ML)的方法最近对于检测安全漏洞利用变得有吸引力。不幸的是,最先进的ML模型,如长短期记忆(LSTM)和Transformers,会产生大量的计算开销。这种开销使得在实时环境中部署它们变得不可行。我们提出了一种新的基于ML的漏洞检测模型,ML-FEED,它可以在不牺牲性能的情况下实现高效的推理。我们开发了一种新的自动化技术,从常见的弱点枚举(CWE)和常见的漏洞和暴露(CVE)数据库中提取漏洞模式。该功能使ML-FEED能够了解最新的网络弱点。其次,它不是基于将应用程序编程接口(API)调用序列分类为漏洞利用类别的传统方法。这种处理整个序列的传统方法会产生巨大的计算开销。相反,ML-FEED以更细的粒度运行,并预测程序跟踪的每个API调用所触发的漏洞。然后,它使用状态表来更新这些潜在漏洞的状态,并跟踪潜在漏洞链的进展。ML-FEED还采用了一种特征工程方法,该方法使用基于自然语言处理的词嵌入、频率向量和独热编码来检测语义相似的指令调用。然后,它更新预测的漏洞类别的状态,并在漏洞指纹执行时触发警报。我们的实验表明,ML-FEED分别比最先进的轻量级LSTM和Transformer模型快72.9倍和75,828.9倍。我们在79个真实世界的漏洞类别上训练和测试了ML-FEED。它可以实时预测漏洞的类别,准确率为98.2%,召回率为97.4%,F1得分为97.8%。这些结果也优于LSTM和Transformer基线。
英文摘要:
Machine learning (ML)-based methods have recently become attractive for detecting security vulnerability exploits. Unfortunately, state-of-the-art ML models like long short-term memories (LSTMs) and transformers incur significant computation overheads. This overhead makes it infeasible to deploy them in real-time environments. We propose a novel ML-based exploit detection model, ML-FEED, that enables highly efficient inference without sacrificing performance. We develop a novel automated technique to extract vulnerability patterns from the Common Weakness Enumeration (CWE) and Common Vulnerabilities and Exposures (CVE) databases. This feature enables ML-FEED to be aware of the latest cyber weaknesses. Second, it is not based on the traditional approach of classifying sequences of application programming interface (API) calls into exploit categories. Such traditional methods that process entire sequences incur huge computational overheads. Instead, ML-FEED operates at a finer granularity and predicts the exploits triggered by every API call of the program trace. Then, it uses a state table to update the states of these potential exploits and track the progress of potential exploit chains. ML-FEED also employs a feature engineering approach that uses natural language processing-based word embeddings, frequency vectors, and one-hot encoding to detect semantically-similar instruction calls. Then, it updates the states of the predicted exploit categories and triggers an alarm when a vulnerability fingerprint executes. Our experiments show that ML-FEED is 72.9x and 75,828.9x faster than state-of-the-art lightweight LSTM and transformer models, respectively. We trained and tested ML-FEED on 79 real-world exploit categories. It predicts categories of exploit in real-time with 98.2% precision, 97.4% recall, and 97.8% F1 score. These results also outperform the LSTM and transformer baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。