Anota:通过基于注解的净化识别业务逻辑漏洞
Anota: Identifying Business Logic Vulnerabilities via Annotation-Based Sanitization
AI总结:
Anota通过基于注解的净化方法,有效识别业务逻辑漏洞,发现43个已知漏洞和22个未知漏洞。
摘要:
检测业务逻辑漏洞是软件安全中的关键挑战。这些漏洞源于应用程序设计或实现中的错误,允许攻击者触发意外的应用行为。传统的动态分析模糊净化器在发现与内存安全违规相关的漏洞方面表现优异,但 largely 无法检测业务逻辑漏洞,因为这些漏洞需要理解应用程序特定的语义上下文。最近尝试推断这种上下文的方法,由于依赖启发式方法和非可移植的语言特性,本质上是脆弱且不完整的。由于业务逻辑漏洞在实践中占大多数(27/40)最危险的软件缺陷,这是现有工具的一个令人担忧的盲点。在本文中,我们通过ANOTA,一种新的人机协作净化器框架,来解决这一挑战。ANOTA引入了一个轻量级、用户友好的注解系统,使用户能够直接将领域特定的知识编码为轻量级注解,以定义应用程序的预期行为。运行时执行监控器然后观察程序行为,将其与注解定义的策略进行比较,从而识别偏差,这些偏差表明漏洞。为了评估ANOTA的有效性,我们将ANOTA与最先进的模糊器结合,并将其与其他流行的漏洞发现方法进行比较,这些方法适用于相同的目标。结果表明,ANOTA+FUZZER在有效性方面优于它们。更具体地说,ANOTA+FUZZER能够成功重现43个已知漏洞,并在评估期间发现了22个以前未知的漏洞(17个CVE已分配)。这些结果表明,ANOTA提供了一种实用且有效的途径,用于发现通常被传统安全测试技术所遗漏的复杂业务逻辑缺陷。
英文摘要:
Detecting business logic vulnerabilities is a critical challenge in software security. These flaws come from mistakes in an application's design or implementation and allow attackers to trigger unintended application behavior. Traditional fuzzing sanitizers for dynamic analysis excel at finding vulnerabilities related to memory safety violations but largely fail to detect business logic vulnerabilities, as these flaws require understanding application-specific semantic context. Recent attempts to infer this context, due to their reliance on heuristics and non-portable language features, are inherently brittle and incomplete. As business logic vulnerabilities constitute a majority (27/40) of the most dangerous software weaknesses in practice, this is a worrying blind spot of existing tools. In this paper, we tackle this challenge with ANOTA, a novel human-in-the-loop sanitizer framework. ANOTA introduces a lightweight, user-friendly annotation system that enables users to directly encode their domain-specific knowledge as lightweight annotations that define an application's intended behavior. A runtime execution monitor then observes program behavior, comparing it against the policies defined by the annotations, thereby identifying deviations that indicate vulnerabilities. To evaluate the effectiveness of ANOTA, we combine ANOTA with a state-of-the-art fuzzer and compare it against other popular bug finding methods compatible with the same targets. The results show that ANOTA+FUZZER outperforms them in terms of effectiveness. More specifically, ANOTA+FUZZER can successfully reproduce 43 known vulnerabilities, and discovered 22 previously unknown vulnerabilities (17 CVEs assigned) during the evaluation. These results demonstrate that ANOTA provides a practical and effective approach for uncovering complex business logic flaws often missed by traditional security testing techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。