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

HTTP REST API结构学习

HTTP REST API Structure Learning

Ariel University(阿里埃勒大学);Ariel Cyber Innovation Center(阿里埃勒网络安全创新中心)

Ran Dubin, Amit Dvir

AI总结:

提出HRAL方法,从网络流量中无监督学习API端点结构与行为,无需预定义规则或文档,有效检测恶意活动,平均召回率82.07%,F1分数87.24%。

摘要:

应用程序编程接口(API)在软件开发中至关重要,支持Web服务、移动应用和微服务。然而,它们的广泛使用带来了显著的安全风险,凸显了API安全的重要性。本文提出HTTP REST API学习(HRAL),一种新颖的无监督异常检测方法,直接从网络流量中对API端点的结构和行为进行建模,无需依赖预定义规则或文档。HRAL通过理解API的行为方式并将偏差标记为潜在威胁,实现了对恶意活动的鲁棒检测。我们在不同详细程度的OpenAPI文档下评估HRAL,并将其与现有技术进行比较。HRAL表现出色,平均召回率为82.07%,F1分数为87.24%,在API文档有限时显著优于替代方案。此外,我们的结果接近完整API文档定义的效果。当与基于签名的规则(如OWASP ModSecurity CRS)结合时,我们的系统实现了100%的检测率。这些结果突显了HRAL在现实世界中部分文档化的API环境中的有效性,以及其作为现代API安全解决方案基础层的潜力。

英文摘要:

Application Programming Interfaces (APIs) are essential in software development, enabling web services, mobile apps, and microservices. However, their widespread use introduces significant security risks, highlighting the importance of API security. This paper presents HTTP REST API Learning (HRAL), a novel unsupervised anomaly detection approach that models the structure and behavior of API endpoints directly from network traffic, without relying on predefined rules or documentation. HRAL enables robust detection of malicious activity by understanding how APIs behave and flagging deviations as potential threats. We evaluate HRAL across varying levels of OpenAPI documentation detail and compare it with existing techniques. HRAL achieves strong performance, with an average recall of 82.07% and an F1-score of 87.24%, significantly outperforming alternatives when API documentation is limited. Moreover, our results approach the effectiveness of full API document definitions. When combined with signature-based rules such as the OWASP ModSecurity CRS, our system achieves 100% detection. These results highlight HRAL's effectiveness in real-world, partially documented API environments and its potential as a foundational layer for modern API security solutions.

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

↑