arXiv:2604.18716cs.CRcs.LG2026-04

利用侧信道漏洞从可信执行环境窃取决策树模型

TrEEStealer: Stealing Decision Trees via Enclave Side Channels

论文配图:TrEEStealer: Stealing Decision Trees via Enclave Side Channels
图 1 · 摘自论文原文
  • 通过控制流信息与被动追踪结合,高效获取每轮查询的决策路径
  • 在AMD SEV和Intel SGX环境下均实现高精度模型提取,成功率超90%
  • 针对OpenCV、mlpack等库暴露漏洞,适用于安全敏感场景研究者

当前机器学习广泛应用于敏感、安全相关及高利润领域,模型提取攻击威胁以MLaaS API形式销售模型访问权的商业模式。此外,被盗模型可支持强大白盒攻击,导致隐私泄露和模型规避。本文聚焦广泛应用的决策树(DT),现有黑盒提取攻击或需大量查询、或依赖强假设、或依赖丰富API信息。为限制攻击于黑盒场景,厂商引入可信执行环境(TEE)以硬件隔离工作负载。本文提出TrEEStealer,一种高效且无需强假设的TEE保护下决策树提取攻击。该方法利用特定于TEE的侧信道,通过控制流信息(CFI)与被动信息追踪结合,最大化每轮查询的信息量。针对AMD SEV,采用SEV-Step框架与性能计数器;针对Intel SGX,复现最新至强6代CPU的分支历史寄存器(Branch-History-Register)提取方法。发现OpenCV、mlpack、emlearn三个主流库存在相应漏洞。实验表明,TrEEStealer在效率与提取保真度上均优于现有攻击,确立了决策树提取新基准,证实TEE无法防范控制流泄漏。

原文摘要 · Abstract (English)

Today, machine learning is widely applied in sensitive, security-related, and financially lucrative applications. Model extraction attacks undermine current business models where a model owner sells model access, e.g., via MLaaS APIs. Additionally, stolen models can enable powerful white-box attacks, facilitating privacy attacks on sensitive training data, and model evasion. In this paper, we focus on Decision Trees (DT), which are widely deployed in practice. Existing black-box extraction attacks for DTs are either query-intensive, make strong assumptions about the DT structure, or rely on rich API information. To limit attacks to the black-box setting, CPU vendors introduced Trusted Execution Environments (TEE) that use hardware-mechanisms to isolate workloads from external parties, e.g., MLaaS providers. We introduce TrEEStealer, a high-fidelity extraction attack for stealing TEE-protected DTs. TrEEStealer exploits TEE-specific side-channels to steal DTs efficiently and without strong assumptions about the API output or DT structure. The extraction efficacy stems from a novel algorithm that maximizes the information derived from each query by coupling Control-Flow Information (CFI) with passive information tracking. We use two primitives to acquire CFI: for AMD SEV, we follow previous work using the SEV-Step framework and performance counters. For Intel SGX, we reproduce prior findings on current Xeon 6 CPUs and construct a new primitive to efficiently extract the branch history of inference runs through the Branch-History-Register. We found corresponding vulnerabilities in three popular libraries: OpenCV, mlpack, and emlearn. We show that TrEEStealer achieves superior efficiency and extraction fidelity compared to prior attacks. Our work establishes a new state-of-the-art for DT extraction and confirms that TEEs fail to protect against control-flow leakage.

模型窃取侧信道攻击可信执行环境决策树

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。