arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.00085cs.LGcs.AIcs.CR
收藏

基于机器学习的安全策略分析

Machine Learning-Based Security Policy Analysis

University of Rochester(罗切斯特大学);Acadia University(阿卡迪亚大学)

Krish Jain, Joann Sum, Pranav Kapoor, Amir Eaman

AI总结:

本文提出结合 Neo4j 图表示、Node2vec 嵌入与机器学习的 SELinux 策略异常检测方法,实验表明 MLP 在不同数据规模下表现最佳,准确率达 95%。

摘要:

Security-Enhanced Linux(SELinux)是一种实施强制访问控制(MAC)的强健安全机制,但其策略语言的复杂性给策略分析和管理带来了挑战。本研究考察如何利用基于图的技术并结合机器学习方法实现 SELinux 策略分析自动化,以检测策略异常。该研究探讨两个关键问题:SELinux 策略分析能否通过图分析实现自动化,以及不同异常检测模型在分析 SELinux 策略时表现如何。我们将比较不同机器学习模型,评估其在检测策略违规和异常方面的有效性。本方法使用 Neo4j 对策略进行图表示,并通过 Node2vec 将这些图结构转换为有意义的向量嵌入,以便机器学习模型处理。在结果中,MLP 神经网络在不同数据集规模上始终表现出优越性能,达到 95% 的准确率,并且精确率和召回率指标均衡;而 Random Forest 和 SVM 模型在检测策略违规方面也具有竞争力,但性能略低。与传统人工分析方法相比,这种基于图的建模与机器学习相结合的方法,为理解和分析复杂的 SELinux 策略提供了一种更精密、更自动化的途径。

英文摘要:

Security-Enhanced Linux (SELinux) is a robust security mechanism that enforces mandatory access controls (MAC), but its policy language's complexity creates challenges for policy analysis and management. This research investigates the automation of SELinux policy analysis using graph-based techniques combined with machine learning approaches to detect policy anomalies. The study addresses two key questions: Can SELinux policy analysis be automated through graph analysis, and how do different anomaly detection models compare in analyzing SELinux policies? We will be comparing different machine learning models by evaluating their effectiveness in detecting policy violations and anomalies. Our approach utilizes Neo4j for graph representation of policies, with Node2vec transforming these graph structures into meaningful vector embeddings that can be processed by our machine learning models. In our results, the MLP Neural Network consistently demonstrated superior performance across different dataset sizes, achieving 95% accuracy with balanced precision and recall metrics, while both Random Forest and SVM models showed competitive but slightly lower performance in detecting policy violations. This combination of graph-based modeling and machine learning provides a more sophisticated and automated approach to understanding and analyzing complex SELinux policies compared to traditional manual analysis methods.

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

↑