arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.11996cs.CRcs.DBcs.LG
收藏

基于MongoDB日志文件的MongoDB注入查询分类模型

MongoDB Injection Query Classification Model using MongoDB Log files as Training Data

Goa Business School, Goa University(果阿大学果阿商学院)

Shaunak Perni, Minal Shirodkar, Ramdas Karmalli

AI总结:

本文提出基于MongoDB日志数据的注入攻击分类模型,利用判别分析和机器学习方法,通过特征提取和模型训练,实现对NoSQL注入攻击的高准确率检测。

摘要:

NoSQL注入攻击是一类网络安全攻击,其中攻击者向NoSQL数据库发送专门设计的查询,导致数据库执行未经授权的操作。为了防御此类攻击,最初开发了基于规则的系统,但后来发现这些系统对创新性的注入攻击无效,因此开发了基于模型的方法。大多数基于模型的检测系统在测试中给出了指数级的正结果,但它们仅在服务器接收到的查询语句上进行训练。然而,由于数据稀缺性和类别不平衡,这些基于模型的系统在现实世界中对所有攻击并不有效。本文探讨了基于日志数据和其他提取的特征(不包括原始查询语句)来分类发送到MongoDB服务器的NoSQL注入攻击。日志数据是从对空MongoDB服务器进行模拟攻击时收集的,然后进行了处理和探索。进行了判别分析,以确定统计显著的特征,以区分注入和良性查询,从而得到一个显著特征的数据集。几种基于机器学习的分类模型使用AutoML库

英文摘要:

NoSQL Injection attacks are a class of cybersecurity attacks where an attacker sends a specifically engineered query to a NoSQL database which then performs an unauthorized operation. To defend against such attacks, rule based systems were initially developed but then were found to be ineffective to innovative injection attacks hence a model based approach was developed. Most model based detection systems, during testing gave exponentially positive results but were trained only on the query statement sent to the server. However due to the scarcity of data and class imbalances these model based systems were found to be not effective against all attacks in the real world. This paper explores classifying NoSQL injection attacks sent to a MongoDB server based on Log Data, and other extracted features excluding raw query statements. The log data was collected from a simulated attack on an empty MongoDB server which was then processed and explored. A discriminant analysis was carried out to determine statistically significant features to discriminate between injection and benign queries resulting in a dataset of significant features. Several Machine learning based classification models using an AutoML library, "FLAML", as well as 6 manually programmed models were trained on this dataset , which were then trained on 50 randomized samples of data, cross validated and evaluated. The study found that the best model was the "FLAML" library's "XGBoost limited depth" model with an accuracy of 71%.

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

↑