挖掘YARA生态系统:从临时共享到数据驱动的威胁情报 Mining the YARA Ecosystem: From Ad-Hoc Sharing to Data-Driven Threat Intelligence 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-03-15
👁️ 预览文献
💡 AI 中文简介
这项研究大规模分析了1853个GitHub仓库中的840万条YARA规则,发现整个生态高度集中(10位作者贡献了80%的规则采用),且更新严重滞后(中位不活跃时间782天,技术滞后4.2年)。虽然静态质量得分很高(平均99.4分),但实际检测时误报多、召回率低,且规则严重偏向勒索软件等旧威胁,对新型攻击(如加载器、窃密软件)覆盖不足。研究指出公共仓库更像是原始数据堆,而非精心维护的威胁情报源,呼吁从随意收集转向严格的规则工程。
领域网络安全 / 恶意软件检测与威胁情报
适合谁读需要一定专业背景(网络安全、恶意软件分析或DevSecOps从业者)
核心贡献首次大规模实证揭示了YARA生态系统的结构性缺陷:高度中心化、更新停滞、静态质量与动态效果严重脱节;提出“双重惩罚”概念,并发布数据集与流水线以推动数据驱动的规则治理。
关键数据分析840万条规则、1853个仓库;10位作者驱动80%规则采用;中位不活跃782天,技术滞后4.2年;静态质量均分99.4/100,但动态测试误报多、召回低;覆盖偏向勒索软件,加载器/窃密软件严重不足。
推荐理由如果你用YARA做检测,这本书告诉你:规则多不等于安全,小心那些年久失修的“僵尸规则”让你误报缠身。
关键词["YARA", "威胁情报", "恶意软件检测", "供应链安全", "规则挖掘", "检测即代码"]

原文摘要

查看英文原文摘要

YARA has established itself as the de facto standard for "Detection as Code," enabling analysts and DevSecOps practitioners to define signatures for malware identification across the software supply chain. Despite its pervasive use, the open-source YARA ecosystem remains characterized by ad-hoc sharing and opaque quality. Practitioners currently rely on public repositories without empirical evidence regarding the ecosystem's structural characteristics, maintenance and diffusion dynamics, or operational reliability. We conducted a large-scale mixed-method study of 8.4 million rules mined from 1,853 GitHub repositories. Our pipeline integrates repository mining to map supply chain dynamics, static analysis to assess syntactic quality, and dynamic benchmarking against 4,026 malware and 2,000 goodware samples to measure operational effectiveness. We reveal a highly centralized structure where 10 authors drive 80% of rule adoption. The ecosystem functions as a "static supply chain": repositories show a median inactivity of 782 days and a median technical lag of 4.2 years. While static quality scores appear high (mean = 99.4/100), operational benchmarking uncovers significant noise (false positives) and low recall. Furthermore, coverage is heavily biased toward legacy threats (Ransomware), leaving modern initial access vectors (Loaders, Stealers) severely underrepresented. These findings expose a systemic "double penalty": defenders incur high performance overhead for decayed intelligence. We argue that public repositories function as raw data dumps rather than curated feeds, necessitating a paradigm shift from ad-hoc collection to rigorous rule engineering. We release our dataset and pipeline to support future data-driven curation tools.