arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18894cs.CR
收藏

评估LLM在Android应用程序漏洞分析中的有效性

Assessing the Effectiveness of LLMs in Android Application Vulnerability Analysis

Vasileios Kouliaridis, Georgios Karopoulos, Georgios Kambourakis

AI总结:

本文比较九种先进LLM在含混淆样本的100余个Android漏洞代码上的OWASP Mobile Top 10检测能力,分析性能因素及RAG上下文增强的价值。

摘要:

针对Android应用程序的攻击日益频繁,加上大型语言模型(LLM)近来广受欢迎,因此有必要全面了解后者在识别潜在漏洞方面的能力,这是降低总体风险的关键。为此,本研究比较了九种最先进LLM检测最新Open Worldwide Application Security Project(OWASP)移动十大风险中所列Android代码漏洞的能力。每个LLM都在一个包含100多个易受攻击代码样本(包括混淆样本)的开放数据集上进行评估,以考察各模型识别关键漏洞的能力。我们的分析揭示了每个LLM的优势与弱点,并确定了影响其性能的重要因素。此外,我们还对利用检索增强生成(RAG)进行上下文增强以检测Android代码漏洞提出了见解,这进而可能推动安全应用程序开发。最后,尽管所报告的关于代码漏洞分析的发现展现出良好前景,但它们也揭示了不同LLM之间存在显著差异。

英文摘要:

The increasing frequency of attacks on Android applications coupled with the recent popularity of large language models (LLMs) necessitates a comprehensive understanding of the capabilities of the latter in identifying potential vulnerabilities, which is key to mitigate the overall risk. To this end, the work at hand compares the ability of nine state-of-the-art LLMs to detect Android code vulnerabilities listed in the latest Open Worldwide Application Security Project (OWASP) Mobile Top 10. Each LLM was evaluated against an open dataset of over 100 vulnerable code samples, including obfuscated ones, assessing each model's ability to identify key vulnerabilities. Our analysis reveals the strengths and weaknesses of each LLM, identifying important factors that contribute to their performance. Additionally, we offer insights into context augmentation with retrieval-augmented generation (RAG) for detecting Android code vulnerabilities, which in turn may propel secure application development. Finally, while the reported findings regarding code vulnerability analysis show promise, they also reveal significant discrepancies among the different LLMs.

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

↑