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

HYDRA:一种混合启发式引导深度表示架构,用于预测补丁函数中的潜在零日漏洞

HYDRA: A Hybrid Heuristic-Guided Deep Representation Architecture for Predicting Latent Zero-Day Vulnerabilities in Patched Functions

School of Computing \& Informatics \ of Louisiana at Lafayette Lafayette Louisiana USA;School of Computing \& Informatics \ of Louisiana at Lafayette

Mohammad Farhad, Sabbir Rahman, Shuvalaxmi Dass

AI总结:

HYDRA结合规则启发式与深度学习,检测补丁后残留的潜在风险代码模式,优于传统方法,发现更多真实风险代码变体。

摘要:

软件安全测试,尤其是结合深度学习模型,已成为提高软件质量、加快源代码中已知缺陷检测的有效方法。然而,许多方法遗漏了补丁后仍存在的潜在漏洞,这通常由于修复不完整或遗漏问题,可能导致零日利用。本文提出HYDRA,一种混合启发式引导深度表示架构,用于预测补丁函数中的潜在零日漏洞。它结合基于规则的启发式方法与深度表示学习,以检测补丁后仍存在的危险代码模式。HYDRA整合静态漏洞规则、GraphCodeBERT嵌入和变分自编码器(VAE),以揭示由符号或神经模型单独无法发现的异常。我们在无监督设置下,在Chrome、Android和ImageMagick三个现实世界软件项目中评估HYDRA。结果表明,HYDRA预测Chrome、Android和ImageMagick中分别有13.7%、20.6%和24%的函数包含潜在风险,包括启发式匹配和无启发式匹配(None)的情况,可能引发零日漏洞。HYDRA优于仅依赖正则表达式特征或其与嵌入结合的基线模型,揭示了大量与已知启发式模式一致的真实风险代码变体。这些结果展示了HYDRA发现隐藏、此前未检测到风险的能力,推动软件安全验证,并支持主动发现零日漏洞。

英文摘要:

Software security testing, particularly when enhanced with deep learning models, has become a powerful approach for improving software quality, enabling faster detection of known flaws in source code. However, many approaches miss post-fix latent vulnerabilities that remain even after patches typically due to incomplete fixes or overlooked issues may later lead to zero-day exploits. In this paper, we propose $HYDRA$, a $Hy$brid heuristic-guided $D$eep $R$epresentation $A$rchitecture for predicting latent zero-day vulnerabilities in patched functions that combines rule-based heuristics with deep representation learning to detect latent risky code patterns that may persist after patches. It integrates static vulnerability rules, GraphCodeBERT embeddings, and a Variational Autoencoder (VAE) to uncover anomalies often missed by symbolic or neural models alone. We evaluate HYDRA in an unsupervised setting on patched functions from three diverse real-world software projects: Chrome, Android, and ImageMagick. Our results show HYDRA predicts 13.7%, 20.6%, and 24% of functions from Chrome, Android, and ImageMagick respectively as containing latent risks, including both heuristic matches and cases without heuristic matches ($None$) that may lead to zero-day vulnerabilities. It outperforms baseline models that rely solely on regex-derived features or their combination with embeddings, uncovering truly risky code variants that largely align with known heuristic patterns. These results demonstrate HYDRA's capability to surface hidden, previously undetected risks, advancing software security validation and supporting proactive zero-day vulnerabilities discovery.

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

↑