打包器识别工具的语义验证:特征化、修复与下游影响
Semantic Validation of Packer Identification Tools: Characterization, Repair, and Downstream Impact
AI总结:
本文提出一个语义验证框架,通过解包器作为可执行语义契约,检测、定位和修复打包器识别工具中的语义错误,实验表明修复后识别覆盖率提升高达58.6%,下游恶意软件分类性能平均提升超过13.6%。
摘要:
打包器识别工具是恶意软件分析的关键基础,直接影响解包、行为分析、恶意软件分类和威胁归因。然而,它们的语义正确性很少得到验证。在实践中,工具可能返回一个看似合理但语义错误的打包器标签,导致解包失败和下游分析不可靠。本文提出了一个用于测试和修复打包器识别工具的语义验证框架。我们的核心思想是使用解包器作为可执行的语义契约。如果工具预测了一个打包器家族,相应的解包器应该恢复可分析的程序内容。这实现了自动测试预言,无需手动标注的真实数据。基于这一思想,我们开发了一个系统化的流水线,用于检测、定位和修复现有打包器识别工具中的语义错误。然后,我们对十一个开源打包器识别工具和六个专有的VirusTotal工具进行了首次大规模语义错误实证研究。我们的结果表明,语义错误普遍且反复出现,主要由于不完整的签名和不稳定的启发式逻辑。修复后,打包器识别覆盖率提高了高达58.6%,下游恶意软件分类性能平均提高了超过13.6%。这些发现表明,打包器识别工具的语义验证对于构建可信的恶意软件分析流水线至关重要。
英文摘要:
Packer identification tools are essential to malware analysis, yet their semantic correctness remains largely unverified. Incorrect packer labels can trigger inappropriate unpacking and degrade downstream malware classification. This paper presents a framework for systematically exposing, characterizing, and repairing semantic errors in packer identification tools. Our key insight is to leverage unpackers as executable semantic contracts, enabling automated validation of packer predictions without requiring manually labeled packer ground truth. We develop a pipeline that normalizes heterogeneous tool outputs, localizes faulty decision logic, and repairs identification errors through complementary signatures, heuristic rules, and static unpacker-derived detection predicates. Our empirical evaluation reveals widespread identification failures, with an average packer family identification recall of only 44.8% and an average packedness detection recall of only 63.6%. The proposed two-stage repairs achieve an approximately 100.2% relative improvement in average packer family identification recall, while increasing packedness detection recall to 99.0%-99.5%. We further demonstrate that semantic errors can propagate through unpacking failures and adversely affect downstream malware classification. Correcting these errors improves average classification precision by 13.6 percentage points.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。