Processing math: 9%
  • 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
高级检索

瞬态执行攻击综述

李扬, 马自强, 林璟锵, 孟令佳, 李冰雨, 苗莉, 高菲

李扬, 马自强, 林璟锵, 孟令佳, 李冰雨, 苗莉, 高菲. 瞬态执行攻击综述[J]. 计算机研究与发展. DOI: 10.7544/issn1000-1239.202440167
引用本文: 李扬, 马自强, 林璟锵, 孟令佳, 李冰雨, 苗莉, 高菲. 瞬态执行攻击综述[J]. 计算机研究与发展. DOI: 10.7544/issn1000-1239.202440167
Li Yang, Ma Ziqiang, Lin Jingqiang, Meng Lingjia, Li Bingyu, Miao Li, Gao Fei. Survey of Transient Execution Attacks[J]. Journal of Computer Research and Development. DOI: 10.7544/issn1000-1239.202440167
Citation: Li Yang, Ma Ziqiang, Lin Jingqiang, Meng Lingjia, Li Bingyu, Miao Li, Gao Fei. Survey of Transient Execution Attacks[J]. Journal of Computer Research and Development. DOI: 10.7544/issn1000-1239.202440167

瞬态执行攻击综述

基金项目: 宁夏自然科学基金项目(2021AAC03078);宁夏回族自治区重点研发计划项目(2021BEB04004,2021BEB04047,2022BDE03008);宁夏大学研究生科技创新基金项目(CXXM2023-20).
详细信息
    作者简介:

    李扬: 1999年生. 硕士研究生. CCF学生会员. 主要研究方向为计算机系统安全和信息安全

    马自强: 1990年生. 博士,副教授. CCF会员. 主要研究方向为计算机系统安全、区块链应用安全和网络流量识别

    林璟锵: 1978年生. 博士,教授. CCF会员. 主要研究方向为应用密码学、网络安全和系统安全

    孟令佳: 1996年生. 博士研究生. CCF学生会员. 主要研究方向为系统安全和密码应用安全

    李冰雨: 1990年生. 博士,副教授. CCF会员. 主要研究方向为密码应用安全、网络安全

    苗莉: 1986年生. 博士,副教授. CCF会员. 主要研究方向为网络空间安全、信息安全等

    高菲: 1995年生. 硕士研究生. CCF学生会员. 主要研究方向为计算机系统安全和信息安全

    通讯作者:

    马自强(maziqiang@nxu.edu.cn

  • 中图分类号: TP309

Survey of Transient Execution Attacks

Funds: This work was supported by the Natural Science Foundation of Ningxia Hui Autonomous Region of China (2021AAC03078), the Key Research and Development Program of Ningxia Hui Autonomous Region (2021BEB04004, 2021BEB04047, 2022BDE03008), and the Graduate Science and Technology Innovation Foundation of Ningxia University (CXXM2023-20).
More Information
    Author Bio:

    Li Yang: born in 1999. M.S. candidate. Student member of CCF. His main research interests include computer system security and information security

    Ma Ziqiang: born in 1990. PhD, associate professor. Member of CCF. His main research interests include Computer system security, blockchain application security, network traffic identification

    Lin Jingqiang: born in 1978. PhD, professor. Member of CCF. His main research interests include applied cryptography, network security and system security.(linjq@ustc.edu.cn

    Meng Lingjia: born in 1996. PhD candidate. Student member of CCF. His main research interests include system security and applied cryptography.(menglingjia@iie.ac.cn

    Li Bingyu: born in 1990. PhD, associate professor. Member of CCF. His main research interests include cryptographic application security, network security.(libingyu@buaa.edu.cn

    Miao Li: born in 1986. PhD, associate professor. Member of CCF. Her main research interests include cyberspace security, information security.(limiao_smile@nxu.edu.cn

    Gao Fei: born in 1995. M.S candidate. Student member of CCF. Her main research interests include system security and information security.(gaofei@stu.nxu.edu.cn

  • 摘要:

    瞬态执行攻击利用处理器优化措施绕过安全检查,进而通过隐蔽信道传输并窃取敏感信息. 其中,Meltdown和Spectre攻击尤为知名,波及包括Intel,ARM,AMD在内的主流商用处理器. 尽管处理器制造商已采取相应防御措施,但相关变种攻击仍不断被研究人员发现并公之于众. 为深化对瞬态执行攻击的理解并实施有效防御,对各种隐蔽信道下的瞬态执行攻击进行了剖析. 首先,提炼出了瞬态执行攻击的共同特征,并系统性构建了全新的瞬态执行攻击模型. 其次,总结了现有研究中涉及的各类隐蔽信道,将瞬态执行攻击归纳总结为3类:乱序执行驱动的熔断型攻击、错误分支预测驱动的幽灵型攻击以及错误数据预测驱动的数据采样型攻击,并梳理了各类型攻击的核心要点及关联性. 其中,首次对数据采样型攻击进行了系统性归纳和整理. 接着,从隐蔽信道利用、攻击适用场景和微架构通用性3个维度分析和评估了各攻击变种的能力. 最后,结合上述针对处理器微架构和隐蔽信道的深入分析与总结,展望了瞬态执行攻击研究的未来研究方向,以期为后续研究工作提供有力支撑.

    Abstract:

    Transient execution attacks (TEAs) exploit processor optimizations to bypass security checks and exfiltrate sensitive information through covert channels. Among them, Meltdown and Spectre attacks have become prominent, affecting mainstream commercial processors such as Intel, ARM, and AMD. Despite the defensive measures implemented by processor manufacturers, variants of these attacks continue to be discovered and disclosed by researchers. To improve the understanding of TEAs and deploy robust defenses, this paper comprehensively analyzes TEAs under various covert channels. Initially, the common characteristics of TEAs are extracted, and a novel model for TEAs is systematically constructed. Subsequently, we summarize the various types of covert channels involved in existing research, classify the TEAs into three types: Meltdown type attacks driven by out-of-order execution (OoOE), Spectre type attacks driven by branch misprediction, and microarchitecture data sampling (MDS) type attacks driven by data misprediction, and delineate the key aspects and relationships of each type of attack. Notably, this paper systematically compiles and categorizes MDS type attacks for the first time. Then, the capabilities of each attack variant were meticulously analyzed and evaluated from three dimensions: covert channel, attack applicable scenarios, and microarchitecture immunity status, which aids security researchers in developing new, more destructive attack types based on the deficiencies of the existing attack-related research. Finally, combined with the above-mentioned comprehensive and in-depth analysis and summary of processor microarchitecture and covert channels, this paper anticipates the future trajectory of TEAs research, hoping to provide strong support for subsequent research work.

  • 当前,移动互联、万物互联以及数字化转型所带动的海量数据流量致使人们对存储的需求呈现爆发式增长. 伴随海量数据所增长的储存和处理需求直接拉动云环境下外包数据存储市场高增. 然而,在人们享受云存储带来的便利的同时,数据安全性的问题随之而来. 为了防止云服务提供商和黑客未经授权访问用户的外包数据,用户可以将敏感和隐私数据进行加密再外包至云服务器. 然而,传统加密方法会改变数据的原始特征,云服务器无法对密文进行搜索和处理,严重影响外包数据的可用性. 为了解决上述问题,研究者们提出了可搜索加密技术——在保障用户安全方便地使用外包数据存储服务的同时,使云服务器端能够在不解密数据的前提下对密文进行搜索,从而保证了外包数据的机密性与可用性. 近年来,可搜索加密技术得到了广泛且深入的研究,但仍面临许多挑战.

    首先是动态更新方面. 现实场景中,企业及个人用户外包数据很少是一成不变的,经常需要频繁定期更新. 已有可搜索加密方案中利用前向索引构造的方案[1]支持直接文件更新,动态性较好,易于实际开发应用,但是前向索引结构泄露了和明文相关的信息,容易被敌手进行统计攻击,而且搜索效率不尽如人意. 倒排索引结构是实现关键字到文件映射关系的最佳方式,能够实现高效搜索[2],然而,倒排索引动态更新过程较为复杂,添加或删除文件时必须对索引中的所有条目进行线性扫描. 现有基于倒排索引的可搜索加密方案的动态更新过程大多需要额外更新结构进行辅助,这些更新结构通常过于复杂,导致更新效率非常低,并且只能允许有限的更新操作. 除此之外,已有的动态更新方法在更新过程中往往会向服务器泄露较多信息,例如关于更新关键字的关联信息等,即敌手可将更新的文件与之前的历史搜索结果建立联系,进而使方案无法抵抗文件注入攻击.

    其次,为了更好地提高用户的搜索体验,可搜索加密一个重要的研究方向是提高搜索语句表达性,例如支持多关键字布尔搜索[3]. 严格意义上的布尔搜索是指利用布尔逻辑运算符连接各个搜索关键字,然后由计算机进行相应逻辑运算,以找出所需信息的方法. 布尔搜索在所有搜索功能中使用面最广、使用频率最高. 但是,布尔搜索不仅需要云服务器进行关键字密文搜索,还需要对搜索结果进行布尔运算,过程中更容易由于节点崩溃或外部攻击而返回不正确的布尔搜索结果. 因此为了应对上述问题,亟需引入搜索结果验证机制来保证搜索结果的正确性. 一些可搜索加密方案通过数据认证技术,如MAC认证结构[4]、Merkle哈希树[5]和布隆滤波器[6]等,实现对搜索结果的验证. 然而上述验证方法仅能验证搜索语句表达性较差的搜索请求,甚至单一关键字搜索请求. 对于多关键词布尔搜索,目前的验证方法主要使用基于数据持有性证明技术中随机抽取的思想来实现[7],面临误差较大以及结果验证计算负载较大等缺陷,不能适应实际广泛的应用场景.

    最近几年,随着加密货币和去中心化应用的流行,区块链技术受到了各行业极大的关注. 区块链数据存储成为构建分布式存储平台的关键技术. 例如Bigchain DB[8]和Bluzelle[9],其通过共识协议确保数据存储的一致性和不可篡改性,为解决上述这些问题提供了可能. 近年来,很多方法将密码学加密技术与区块链结构相融合,一定程度上实现了链上数据的隐私保护[10-11]. 一些可搜索加密方案以智能合约代替传统的可信第三方来提供搜索公平性的保证[12-14]. 然而,上述方案中安全索引仍然部署于服务器端,而且受制于区块链固有的分叉问题导致方案的可用性受到了影响,并未发挥出区块链数据存储固有的防篡改和增量更新性等优势.

    本文针对上述问题展开研究,提出基于区块链索引的可验证布尔搜索加密方案VBSE-BI.方案将可搜索加密中的安全索引结构与区块链数据存储进行深度融合,限制服务器由于单点故障原因对索引结构进行破坏,实现索引的存储机密性、动态更新性以及搜索正确性. 同时方案在支持对多关键字布尔搜索的同时,保证了布尔搜索结果的不可伪造性. 本文主要工作如下:

    1)提出基于区块链存储结构的增量链式安全索引构造方法. 首先构建“关键字-文件”链式索引结构,将索引拆分为数据块的形式存储在区块链结构的交易信息中,利用指针进行链接,并引入同态加密机制代替标准加密方法来加密索引信息,在不解密索引的情况下实现高效搜索. 此方法以区块链的不可篡改性来提供搜索正确性和可靠性,并且避免了构建辅助更新索引结构导致的索引存储及更新开销大的问题.

    2)提出针对布尔搜索结果的完整性验证方法. 针对服务器端布尔运算完整性验证需求,给出VBSE-BI的搜索结果不可伪造性定义,基于双线性映射累加器和扩展欧几里德算法设计面向布尔搜索的完整性证明以及验证方法,并且,基于双线性q阶强Diffie-Hellman假设,对该方法的不可伪造性进行了严格的安全性证明.

    3)对VBSE-BI方案每个算法和协议进行详细构建,并从存储开销、计算开销以及通信开销3个维度对比分析方案性能;对VBSE-BI方案进行了编程实现,并通过对算法的性能测试来分析方案在实际应用中的性能表现. 性能分析结果显示,本方案降低了服务器端存储以及搜索开销的同时,降低了用户计算复杂度,满足实际云环境下资源受限本地设备的应用需求.

    近几年,学者们对可搜索加密方案的各方面问题进行了深入的研究. 针对可搜索加密的动态更新问题,2012年,Kamara等人[2]提出了基于正反双链表结构的动态可搜索加密方案,但是在更新文件的时候会造成较大信息泄露,无法抵抗文件注入攻击. 为了降低更新泄露,Hahn等人[15]中提出一种新的动态可搜索加密方案,主要思想是根据用户的搜索历史构造前向索引和倒排索引2个索引结构,云服务器不会得到除了搜索令牌之外的任何用户信息,但是该方案仅在文件数据庞大而关键字数目不多的场景下具有高的搜索效率.2016年,Bost[1]构造了一个满足向前安全性的动态可搜索加密方案,向前安全性保证了更新文件时敌手无法将其关键字信息与之前的搜索历史进行匹配.2018年,Zuo等人[16]基于二进制树和同态加密算法构建了2个动态可搜索加密方案,并支持范围查询,第1个方案拥有前向安全,第2个方案拥有前向安全和部分后向安全,但对加密文档的数量有限制.

    在搜索结果的可验证性方面,2013年,Chai等人[17]首先提出并研究了支持搜索结果验证可搜索加密问题. 2015年,Wang等人[18]提出了一种在混合云中支持容错性和可验证性的可搜索加密方案,通过基于字典的索引构建方法,生成模糊关键字字典,实现搜索结果的动态排序和可验证性. Kurosawa等人[19]利用RSA累加器生成搜索标签,从而实现搜索结果的验证并支持对文件的动态更新. 2015年,Ameri等人[20]利用布隆过滤器和多层级访问控制略构造了一种通用的多层级可验证关键字搜索方案. 2017年,Jiang等人[21]基于特殊倒排索引结构QSet、二进制矢量以及MAC函数设计了支持多关键字排序的可验证可搜索加密方案. 2018年,Wang等人[22]基于OXT的连接关键词检索方法,采用聚合器和采样检测技术提出了公开可验证的连接关键词检索方案. 已有的支持搜索结果验证的方案或多或少会牺牲搜索性能. 2020年,闫玺玺等人[23]提出了一种可验证属性基搜索加密方案,方案结合区块链技术解决半诚实且好奇的云服务器模型下返回搜索结果不正确的问题. 2021年,Najafi等人[24]针对实际应用场景中对多关键字可搜索加密的需求,提出多关键字动态可搜索加密及搜索结果完整性验证方法. 2024年,Xie等人[25]提出了一种新的可验证中文多关键字模糊排序可搜索加密方案,使用认证标签和概率陷门提高安全性、准确性和效率,解决了现有模糊关键词搜索方法的存储和计算资源消耗问题.

    基于上述研究现状可以看出,现有的支持验证的可搜索加密方法中,数据拥有者端通常需要存储庞大的辅助结构,导致本地存储负载较大,而且大多可验证算法包含复杂的通信与计算代价,在实际应用中具有局限性. 考虑到资源受限的移动设备数量急剧增加,用户端的结果验证代价应尽可能小,否则将没有实用价值. 因此,提高搜索语句的表达性并且降低用户验证代价是可验证可搜索加密中亟待解决的关键问题.

    VBSE-BI方案主要考虑2类实体:用户U和云服务器S.方案模型架构如图1所示. 用户U通过对本地文件集合进行信息提取来构建搜索索引,将索引利用密码学算法进行结构化加密,生成安全链式索引,并将链式索引拆分为交易值的形式存储于区块链索引中,根据对应的交易地址以及附加辅助验证元素生成以关键字为键的查找表,将查找表同样利用密码学算法进行结构化加密,生成密态查找表发送给云服务器S.区块链的增量存储特性使得索引能够满足文件的动态更新需求,即用户U可以随时添加或删除文件,并同时更新索引和查找表结构. 随后,用户发起生成布尔搜索请求,利用密码学工具将布尔表达式中的关键字信息进行加密,生成搜索令牌并发送给云服务器S.云服务器S在收到搜索令牌后,在密态查找表中定位到区块链索引中的搜索关键字对应的链式索引交易地址,进而在区块链安全索引中进行搜索并对搜索结果进行布尔运算. 随后,云服务器S将搜索结果以及对于布尔搜索结果正确性的证明返回给用户U. 用户U在收到搜索结果和相关的证明之后,在本地验证搜索结果的正确性,验证通过则可判定云服务器S正确执行了布尔搜索请求. 值得说明的是,区块链只负责存储链式索引结构,而真实的数据以加密的形式存储在云服务器S中.

    图  1  VBSE-BI 模型架构
    Figure  1.  VBSE-BI model architecture

    本节列出了论文中涉及的符号及其对应的含义,如表1所示.

    表  1  符号描述
    Table  1.  Symbols Description
    符号 含义
    1k 安全参数
    f 文件集合
    fwi 包含关键字wi的文件集合
    BC 区块链索引
    T 密态查找表
    ϕ(W) 关键字W布尔表达式
    Rϕ(W) 搜索结果
    L 泄露函数
    π 证据
    τ 搜索/更新令牌
    FGP 伪随机函数
    K1K2K3 伪随机函数FGP的密钥
    K 用户密钥
    Lw=(N1,,N#fw) BC中关键字w对应的虚拟链表
    addr(N) 节点NBC中的地址
    acc(fwi) fwi的双线性累加值
    I/U/D 交/并/差集
    flag 添加/删除标志
    下载: 导出CSV 
    | 显示表格

    定义1. VBSE-BI方案主要由5个多项式时间算法和协议组成,即KeyGen,Setup,Search,Verify,Update,具体描述如下:

    1)(K,PP)KeyGen(1k). 密钥生成算法,由用户U执行. 输入安全参数1k,输出密钥K和公共参数PP.

    2)(T,BC)Setup(K,f). 初始化算法,由用户U执行. 输入密钥K,文件集合f,输出区块链索引BC以及密态查找表T.

    3)(Rϕ(W),π;)Search(U(K,ϕ(W));S(T,BC)). 搜索协议,由用户U和云服务器S交互执行. 用于搜索文件. 用户输入密钥K、布尔表达式ϕ(W),云服务器S输入密态查找表T和区块链索引BC,输出布尔搜索结果Rϕ(W)以及正确性证明π.

    4)bVerify(K,Rϕ(W),π). 验证算法,由用户U执行. 输入密钥K、搜索结果Rϕ(W)以及证明π,输出输入1或者0表示接受或拒绝.

    5)(;(T,BC))Update(U(K,f);S(T,BC)). 更新协议,由用户U和云服务器S交互执行. 用户输入密钥K、更新文件f,云服务器输入密态查找表T和区块链索引BC,输出更新后的区块链索引BC以及密态查找表T.

    定义2. VBSE-BI正确性.VBSE-BI方案的正确性包括搜索正确性以及更新正确性:

    1)搜索正确性. 对于所有的安全参数k、所有的由KeyGen(1k)生成的K、所有的文件f以及所有由Setup(K,f)输出的(T, BC)和Update(U(K,f);S(T,BC))即任意顺序的更新操作,用户U与云服务器S交互执行的搜索协议Search(U(K,f);S(T,BC))总会得到正确的结果Rϕ(W). 即用户端的验证算法Verify(K,Rϕ(W),π)输出为1.

    2)更新正确性. 用户U利用更新协议Update(U(K,f);S(T,BC))与云服务器S交互添加或删除包含关键字信息的文件f时,协议执行后服务器端的更新的密态查找表T和区块链索引BC会正确添加或删除文件f的相关信息,且二者仍然保持一致性且完整性.

    在VBSE-BI方案的威胁模型中,假设云服务器为恶意敌手,即可能伪造搜索结果的布尔运算过程. 在这种威胁存在的情况下,VBSE-BI方案应该满足以下安全性定义:

    定义3. 动态IND-CKA2安全性. 设A为敌手,Sim为模拟器,L1L2L3分别为初始化、搜索、更新文件阶段的泄露函数. 定义如下2个实验:

    1)RealA(1k). 为敌手A和挑战者C之间的交互式实验,使用真实的方案算法. 在该实验中,挑战者C运行KeyGen(1k)生成密钥K和公共参数PP. 敌手A输出文件集合f给挑战者C,挑战者C运行初始化算法Setup(K,f),输出(T,BC)给敌手. 敌手A可以向挑战者发起多项式次自适应质询{ϕ(Wi),fi}1. 对于每次质询 \left\{ {\phi ({\mathcal{W}_i}),{f_i}} \right\} ,挑战者\mathcal{C}为敌手\mathcal{A}生成搜索令牌{\tau _{s,i}}. 或者更新令牌{\tau _{u,i}}. 由于\mathcal{A}是自适应敌手,所以其每次质询的结果都可以作为输入来产生下一次质询. 在所有q次质询结束后,敌手\mathcal{A}输出一个比特值b作为该实验的输出.

    2) Idea{l_{{\mathcal{A}},{\mathcal{S}}}}({1^k}) . 为敌手\mathcal{A}和模拟器\mathcal{S}im之间的交互式实验. 敌手\mathcal{A}输出索引结构\delta . 根据泄露函数{\mathcal{L}_1},模拟器\mathcal{S}im生成模拟的(\widetilde T,\widetilde {BC})并发送给敌手\mathcal{A}. 敌手\mathcal{A}可以向模拟器\mathcal{S}im发起多项式次自适应质询\{ \phi ({\mathcal{W}_i}), {\delta _{{f_i}}}\} _{1 \leqslant i \leqslant q}. 对于每次质询(\phi ({\mathcal{W}_i}),{\delta _{{f_i}}}),模拟器可以访问泄露函数{\mathcal{L}_2}{\mathcal{L}_3}其中之一,并返回给敌手对应的模拟搜索令牌{\tilde \tau _{\mathcal{S}}}. 最终,敌手\mathcal{A}返回一个比特值b作为该实验的输出.

    VBSE-BI方案满足动态IND-CKA2安全性,当且仅当对于所有满足概率多项式时间计算能力的敌手\mathcal{A},存在多项式时间计算能力的模拟器\mathcal{S}im,使得

    |Pr[Rea{l_{\mathcal{A}}}({1^k}) = 1] - Pr[Idea{l_{{\mathcal{A}},{\mathcal{S}}}}({1^k}) = 1]| \leqslant negl({1^k}) \text{,}

    其中negl({1^k})为以 {1^k} 为输入的可忽略函数.

    定义4. 不可伪造性. 设\mathcal{A}为一个有状态的敌手,\mathcal{C}为挑战者,{\mathcal{L}_1}{\mathcal{L}_2}{\mathcal{L}_3}分别为初始化、搜索、更新文件阶段的泄露函数. 考虑游戏 Forg{e_{\mathcal{A}}}({1^k}) 中,敌手\mathcal{A}输出文件集合f给挑战者\mathcal{C},挑战者\mathcal{C}运行初始化算法(T,BC) \leftarrow Setup{\text{(}}K,f{\text{)}},输出区块链索引BC以及密态查找表T给敌手. 敌手\mathcal{A}可以向挑战者发起多项式次自适应质询 {[\left\{ {\phi ({\mathcal{W}_i}),{f_i}} \right\}]_q} . 在所有q次质询结束后,敌手输出包含一组关键字的布尔表达式\phi (\mathcal{W})、一个针对该表达式的错误搜索结果 {\widetilde R_{\phi ({\mathcal{W}})}} 和针对这一错误结果的证明 \pi . 如果证明可以通过验证算法的验证,即 Verify(K,{\widetilde R_{\phi ({\mathcal{W}})}},\pi ) = 1 ,那么实验输出1,否则输出0.

    VBSE-BI方案满足不可伪造性,当且仅当对于所有满足多项式时间计算能力的敌手\mathcal{A},使得:Pr{\text{[}}Forg{e_{\mathcal{A}}}({1^k}) = 1] \leqslant negl({1^k}),其中negl({1^k})为以{1^k}为输入的可忽略函数.

    本节给出VBSE-BI方案的设计思路与具体构建方法. 首先通过构建基于区块链数据存储的增量安全索引结构来实现对密文的搜索以及高效更新,然后设计布尔搜索结果完整性验证方法来实现布尔搜索结果的完整性验证;最后根据设计思路完成方案中每个算法和协议的详细构建.

    VBSE-BI的主要搜索结构包含存储于区块链结构中的增量链式安全索引(简称区块链索引BC)以及存储于云服务器的密态查找表T. 令FGP为3个伪随机函数,用户U随机选择3个长度k 比特的比特串 {K_1} {K_2} {K_3} 作为伪随机函数FGP的密钥. 用户首先在文件集合f = ({f_1},{f_2}, … ,{f_{\# f}})中提取到关键字信息{\mathcal{W}} = ({w_1},{w_2}, … ,{w_{\# {\mathcal{W}}}}),构建以关键字为引导的进行组织的\# {\mathcal{W}}条虚拟链表({L_1},{L_2}, … ,{L_{\# {\mathcal{W}}}}),每个链表都由\# {f_w}个节点({N_1},{N_2}, … ,{N_{\# {f_w}}})构成,每个节点都存储一个唯一的“文件/关键字”对,所有链表共同构成链式索引结构. 随后,用户将链式索引结构以数据条目的形式上传到区块链中,每个节点存储在BC中的一条交易中. 为了能够将区块链索引中一条虚拟链表中的不同节点进行连接,在每个节点{N_i}内额外添加指针信息addr({N_{i - 1}}),指向链表内上一个节点{N_{i - 1}}的交易地址,从而实现整条链表的高效定位与查找. 定义节点{N_i}的结构为{N_i} = \langle {f_i},addr({N_{i - 1}}),flag\rangle ,其中{f_i}为文件的唯一标识, addr({N_{i - 1}})表示链表内上一个节点{N_{i - 1}}的交易地址,flag为增删标识位. 链表{L_w}中的所有节点都使用{P_{{K_3}}}(w)进行异或加密从而对索引的真实索引信息进行隐私保护,其中{K_3}为伪随机函数P的密钥. 除此之外,用户构建查找表T,包含了系统中的所有关键字信息,对于每个关键字w,查找表T中的对应元素以{F_{{K_1}}}(w)为键,以指向指向区块链索引中链表{L_w}的末节点地址addr\left( {{N_{\# {f_w}}}} \right)为值,其中{K_1}为伪随机函数F的密钥,addr\left( {{N_{\# {f_w}}}} \right)使用{G_{{K_2}}}(w)进行异或加密,其中{K_2}是伪随机函数G的密钥.

    搜索关键字{w_i} \in {\mathcal{W}}包含的文件时,服务器S使用{F_{{K_1}}}({w_i})作为键来在密态查找表T中定位到到密态地址,使用{G_{{K_2}}}({w_i})来解密得到{L_{{w_i}}}的末节点地址明文,并链接到区块链索引BC中的相关交易,最后使用{P_{{K_3}}}({w_i})来解密交易信息,获得文件标识和前一个节点的地址信息,进而在区块链索引BC中提取到链表 {L_w}_{_i} 中所有节点 \left( {{N_1},{N_2}, … ,{N_{\# {f_{{w_i}}}}}} \right) 的信息,得到针对关键字{w_i}的文件标识符集合{f_{{w_i}}}.

    图2为索引结构示意图. 为了更好地说明方案的索引结构间的关系和搜索过程,图2中索引结构均以明文形式阐述. 在区块链结构中,一定数量的新数据条目作为交易的形式封装到一个新的块中,块头包含当前链的最后一个块的哈希值、随机数、交易的Merkle哈希根以及时间戳等信息,块体包含了所有的交易信息,即存储索引BC. 例如,对于关键字{w_2},在查找表中键{w_2}对应的值为402,即指向了区块链中地址为402的交易. 地址为402的交易信息中存储了一个指向地址为101的交易的指针,地址为101的交易中存储的指针指向了地址0,然后结束遍历. 通过对关键字{w_2}的虚拟链表的遍历,所有包含关键字{w_2}的文件都可以被找到. 上述过程实现搜索正确性的思想是,由于区块链结构对网络中的所有对等点都是可审计的,一旦挖掘出一个块并达成一致意见,就不再在该块中进一步执行修改操作. 因此区块链索引凭借着安全不可篡改的特性, 能防止已经确认的交易记录被更改,能够保证每个得到有效性验证的区块数据和交易记录中的节点信息的完整性,因此其保证了索引存储以及搜索的正确性.

    图  2  BC 索引结构示意图
    Figure  2.  Schematic diagram of BC index structure

    为了搜索针对关键字集合{\mathcal{W}} = \{ {w_1},{w_2}, … ,{w_n}\} 的某个布尔表达式\phi (\mathcal{W}),服务器S需要通过查找表对每个关键字{w_i} \in \mathcal{W}在区块链中定位链表{L_{{w_i}}}的末节点{N_{\# {f_{{w_i}}}}}的地址addr\left( {{N_{\# {f_{{w_i}}}}}} \right),并分别在区块链索引中进行搜索,得到结果R{\text{ = }}\left( {{f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_{_{{\text{\# }}{\mathcal{W}}}}}}}} \right)后进行针对布尔表达式\phi (\mathcal{W})的运算. 根据类型不同,布尔运算正确性满足如下性质:

    1)交集. 如果I = \{ {f_1},{f_2}, … ,{f_m}\} {f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_n}}}正确交集,当且仅当下列2个条件成立:①子集条件. 作为集合的交集,集合I一定为每一个集合{f_{{w_i}}}的子集,即 \left( {I \subseteq {f_{{w_1}}}} \right) \cap … \cap \left( {I \subseteq {f_{{w_n}}}} \right) ;② 完备性条件. 集合I必须包含集合{f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_n}}}的所有共同关键字,即 \left( {{f_{{w_1}}} - I} \right) \cap … \cap \left( {{f_{{w_n}}} - I} \right) = {f_{{w_m}}} .

    2)并集. 直观上,U = \{ {f_1},{f_2}, … ,{f_m}\} {f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_m}}}正确并集,当且仅当下列2个条件成立:①成员条件. 作为集合的并集,集合U中的任何文件一定包含于某个集合{f_{{w_i}}},即\forall {f_k} \in U,\exists i \in \left\{ {1,2, … ,n} \right\}:{f_k} \in {f_{{w_n}}};②超集条件. 任何集合{f_{{w_i}}}一定是集合U的子集,即 \left( {U \supseteq {f_{{w_1}}}} \right) \wedge \left( {U \supseteq {f_{{w_2}}}} \right) \wedge … \wedge \left( {U \supseteq {f_{{w_n}}}} \right) .

    3)差集. 给定集合D和2个集合{f_{{w_i}}},{f_{{w_j}}}D{f_{{w_i}}},{f_{{w_j}}}正确差集当且仅当差集条件成立:集合D中的文件包含所有包含关键字{w_i}但不包含关键字{w_j}中的文件,即D = {f_{{w_i}}} - {f_{{w_j}}} \Leftrightarrow {f_{{w_i}}} - \left( {{f_{{w_i}}} - D} \right) = {f_{{w_i}}} \cap {f_{{w_j}}}. 如果{I_{{w_i} \wedge {w_j}}}为集合{f_{{w_i}}}{f_{{w_j}}}的交集,即{I_{{w_i} \wedge {w_j}}} = {f_{{w_i}}} \cap {f_{{w_j}}},则集合D{I_{{w_i} \wedge {w_j}}}的并集与集合{f_{{w_i}}}相等:D \cup {I_{{w_i} \wedge {w_j}}} = {f_{{w_i}}}. 因此,证明D = {f_{{w_i}}} - {f_{{w_j}}}等价于证明{f_{{w_i}}} = D \cup {I_{{w_i} \wedge {w_j}}},即证明{f_{{w_i}}}D{I_{{w_i} \wedge {w_j}}}的并集.

    本文设计融合双线性映射累加器和扩展欧几里德算法的集合运算正确性证明方法.

    具体来讲,为了证明并集搜索结果I的子集条件,对于所有w \in {\mathcal{W}},首先用户分别为{f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_n}}}计算累加值acc({f_{{w_i}}}),然后便可以为每一个集合{f_{{w_i}}}生成对应的子集包含证据(I,{{\mathcal{W}}_{ I,{f_{{w_i}}}}}). 用户利用acc({f_{{w_i}}})(I,{{\mathcal{W}}_{ I,{f_{{w_i}}}}})验证集合I和集合{S_i}之间的子集包含关系了. 除此之外,若集合I是完备的,当且仅当存在多项式{q_1}(s),{q_2}(s), … ,{q_n}(s),使得{q_1}(s){P_1}(s) + {q_2}(s){P_2}(s) + … + {q_n}(s){P_n}(s) = 1,其中

    {P_i}(s) = \prod\limits_{f \in {S_i} - I} {\left( {s + id(f)} \right)} .

    因此假设I并不是完备的集合,那么在多项式{P_1}(s),{P_2}(s), … ,{P_n}(s)中至少存在一个公因式. 在这种情况下,便不存在多项式{q_1}(s),{q_2}(s), … ,{q_n}(s)使得{q_1}(s){P_1}(s) + {q_2}(s){P_2}(s) + … + {q_n}(s){P_n}(s) = 1. 因此如果能找到符合要求的{q_1}(s),{q_2}(s), … ,{q_n}(s),那么就说明{P_1}(s),{P_2}(s), … ,{P_n}(s)中一定不存在公因式.

    为了证明并集搜索结果U的成员条件,需要为集合U中的每个文件{f_j}生成针对文件集合{f_{{w_i}}}的成员证据 {\mathcal{M}_{j,i}} . 验证时,验证成员条件通过验证下列等式是否成立: e\left( {{{\mathcal{M}}_{j,i}},{g^{{f_j}}}{g^s}} \right) = e\left( {acc\left( {{f_{{w_i}}}} \right),g} \right) . 需要注意的是,对于集合U中的每个文件{f_j},只有当对于每个集合{f_{{w_i}}}上述等式都不成立时,才表示元素{f_j}不属于任意集合{f_{{w_i}}},此时认为验证失败. 证明超集条件时,需要为{f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_n}}}构造超集证据:对于1 \leqslant i \leqslant n,计算

    {P_i} = \prod\limits_{f \in U - {f_{{w_i}}}} {(s + f)} \text{,}

    \mathcal{S} = {\{ {\mathcal{S}_i}\} _{1 \leqslant i \leqslant n}} = {\{ {g^{{P_i}}}\} _{1 \leqslant i \leqslant n}}为超集证据. 验证时,通过验证下列等式是否成立,验证

    e\left( {{{\mathcal{S}}_i},acc\left( {{f_{{w_i}}}} \right)} \right) = e({g^{\prod\limits_{k = 1}^d {(s + {f_k})} }},g) \text{,}

    其中{S_i}为超集证据S中元素. 如果所有的验证过程都通过,那么就可以认为U是正确的,即的确是由{f_{{w_1}}},{f_{{w_2}}}, … ,{f_{{w_n}}}通过并集运算得到的结果. 由于差集证明方法可规约为并集证明,因此不再过多赘述.

    用户U可以随时在方案中添加或删除包含{{\mathcal{W}}_f} = ({w_1},{w_2}, … ,{w_n})关键字的文件f. 对于{{\mathcal{W}}_f}中的任意关键字{w_i},首先用户U和服务器S交互获取密态查找表T中与{w_i}对应的链表{L_{{w_i}}}的末节点{N_{\# {f_{{w_i}}}}}在区块链索引BC中的交易地址addr{\text{(}}{N_{\# {f_{{w_i}}}}})以及相关累加值acc({f_{{w_i}}}),并且利用此地址addr({N_{\# {f_{{w_i}}}}})更新链表{L_{{w_i}}}——增加文件f对应的新的末节点N_{\# {f_{{w_i}}}}^{'}. 之后用户将N_{\# {f_{{w_i}}}}^{'}作为交易的形式更新到区块链索引BC中,得到N_{\# {f_{{w_i}}}}^{'}的交易地址addr(N_{\# {f_{{w_i}}}}^{'}). 除此之外,用户需要利用原有{f_{{w_i}}}对应的累加值acc({f_{{w_i}}})和更新的文件f计算新的累加值acc({f_{{w_i}}})'. 最后用户将addr(N_{\# {f_{{w_i}}}}^{'})以及累加值acc({f_{{w_i}}})'更新到查找表中{w_i}键对应的值中,至此完成安全索引结构的更新. 由于区块链结构为增量数据结构,且具有防篡改性,因此无法修改或删除已有交易值信息,针对上述情况,将添加和删除文件过程均利用添加节点至区块链来进行,通过在每个节点内区分标flag标志位的值来区分添加和删除操作,flag{\text{ = 1}}则表示f为增加的文件,flag{\text{ = 0}}则表示f为删除的文件. 上述动态更新过程中服务器S可以在无需对查找表进行解密的情况下,使用用户发送的更新令牌中的密文信息直接对密态查找表直接进行更新.

    F:{\{ 0,1\} ^k} \times {\{ 0,1\} ^*} \to {\{ 0,1\} ^k}G:{\{ 0,1\} ^k} \times {\{ 0,1\} ^*} \to {\{ 0,1\} ^*}P:{\{ 0,1\} ^k} \times {\{ 0,1\} ^*} \to {\{ 0,1\} ^k} 为3个固定长度伪随机函数, {\sum _{BC}}(Init,Put,Get) 为区块链数据存储结构,具体的算法及协议描述如下:

    (K,PP) \leftarrow KeyGen{\text{(}}{{\text{1}}^k}{\text{)}}:进行用户端密钥的生成. 主要步骤如下:

    1)随机选择3个长度为k比特的比特串{K_1},{K_2},{K_3}.

    2)选择双线性配对的参数 (p,G,{\mathcal{G}},e,g) .

    3)选择 s \in \mathbb{Z}_p^* 作为一个随机的秘密陷门.

    4)计算 (g,{g^s},{g^{{s^2}}}, … {g^{{s^q}}}) 作为公开参数.

    5)输出密钥K = ({K_1},{K_2},{K_3},s),并输出公开参数PP = (g,{g^s},{g^{{s^2}}}, … ,{g^{{s^q}}}).

    (T,BC) \leftarrow Setup{\text{(}}K,f{\text{)}}:用户U初始化索引结构. 主要步骤如下:

    1)初始化长度为\# {\mathcal{W}}的查找表T.

    2)调用 {\sum }_{BC}{}_{·}Init\text{(}k\text{)} 算法,输入安全参数k,初始化区块链索引BC.

    3)对于每个关键字w \in {\mathcal{W}}

    ① 构建一个由\# {f_w}个节点({N_1},{N_2} … ,{N_{\# {f_w}}})构成的链表L,节点的结构定义为

    {N_i} = \langle {f_i},addr({N_{i - 1}}),flag\rangle \oplus {P_{{K_2}}}(w)\text{,}

    其中{f_i}为文件标识,addr({N_{i - 1}})表示节点{N_{i - 1}}的交易地址,addr({N_1}) = \bot flag为增删标识位;

    ② 对于链表{L_w}的所有节点({N_1},{N_2}, … ,{N_{\# {f_w}}}),依次调用 {\sum }_{BC}{}_{·}Put\text{(}{N}_{i}\text{)} 算法,将节点{N_i}作为交易值封装进区块链索引BC的区块上并获取交易地址addr({N_i}),最终返回addr({N_{\# {f_w}}}).

    4)对于每个关键字w \in {\mathcal{W}}

    ① 计算 {f_w} 的累加值,即

    acc({f_w}) = {g^{\prod\limits_{f \in {f_w}} {\left( {s + id(f)} \right)} }} .

    ② 输出区块链索引BC和密态查找表T共同作为安全索引结构,即

    T\left[ {{F_{{K_1}}}(w)} \right] = \left\langle {{\theta _1}{\text{,}}{\theta _2}} \right\rangle = \left\langle {addr({N_{\# {f_w}}}) \oplus {G_{{K_3}}}(w),acc({f_w})} \right\rangle .

    ({R_{\phi ({\mathcal{W}})}},\pi ; \bot ) \leftarrow Search(U(K,\phi ({\mathcal{W}}));S(T,BC)) :用户U和云服务器S交互执行针对关键字集合\mathcal{W} = \{ {w_1}, … ,{w_n}\} 的布尔表达式\phi (\mathcal{W})的搜索过程,服务器针对搜索结果生成相应布尔运算证明. 主要步骤如下:

    1)用户U.

    ① 针对每个搜索关键字w_i \in \mathcal{W}:生成搜索令牌{\tau _i} = ({\tau _{i,1}},{\tau _{i,2}},{\tau _{i,3}}) = ({F_{{K_1}}}({w_i}),{G_{{K_2}}}({w_i}),{P_{{K_3}}}({w_i})).

    ② 发送搜索令牌{\tau _s} = (\phi (\mathcal{W}),{\{ {\tau _i}\} _{i \in \mathcal{W}}})给服务器S.

    2)服务器S.

    对于每个关键字{w_i} \in \mathcal{W},执行以下步骤:

    ① 使用{\tau _{i,1}}作为键检索密态查找表T中的值{\theta _1} \leftarrow T[{\tau _{i,1}}].

    ② 计算链表头节点在索引BC中的交易地址{\alpha _1} \leftarrow {\theta _1} \oplus {\tau _{i,2}}.

    ③ 在BC中获取地址addr({N_{\# {f_{{w_i}}}}})的交易值 t{x}_{1}\leftarrow {\sum }_{BC}{}_{·}Get\left(add{r}_{{N}_{\#{f}_{w}}}\right) .

    ④ 计算{a_1}||{a_2}||{a_3} \leftarrow t{x_1} \oplus {\tau _{i,3}}.

    ⑤ 如果{a_3} = 1,则更新 {R_{{w_i}}} \leftarrow {R_{{w_i}}} \cup \left\{ {{a_1}} \right\} ,如果{a_3} = 0,则更新 {R_{{w_i}}} \leftarrow {R_{{w_i}}}/\left\{ {{a_1}} \right\} .

    ⑥ 如果{a_2} \ne \bot ,则重复过程③④,继续查找BC中地址为{a_2}的交易值,直到{a_2} = \bot . 对于所有关键字 {w_i} \in \mathcal{W}搜索完毕后,得到搜索结果R = ( {R_{{w_1}}},{R_{{w_2}}}, … , {R_{{w_{_{\# {\mathcal{W}}}}}}} ).

    对于布尔表达式\phi (\mathcal{W}),云服务器S进行如下步骤完整集合运算的证明:

    1)交集证明.

    步骤1. 计算交集{R_I} = {R_{{w_1}}} \cap {R_{{w_2}}} \cap … \cap {R_{{w_n}}},其中{R_I} = \{ {f_1},{f_2}, … ,{f_m}\} .

    步骤2. 对于每个集合 {R_{{w_i}}} 1 \leqslant i \leqslant n,执行如下:

    ①计算多项式{P_i} = \prod\limits_{f \in {R_{{w_i}}} - {R_I}} {\left( {s + f} \right)} .

    ②计算集合{R_I}对于 {R_{{w_i}}} 的子集包含证据 {{\mathcal{I}}_{{R_I},{R_{{w_i}}}}} = {g^{{P_i}}} .

    ③计算子集证据{\mathcal{I}} = \{ {{\mathcal{I}}_i}\} = {\{ {{\mathcal{I}}_{I,{f_{{w_i}}}}}\} _{1 \leqslant i \leqslant n}}.

    ④使用公开参数(g,{g^s}, … ,{g^{{s^q}}})来计算{g^{{P_i}}}的值.

    ⑤给定\{ {P_1},{P_2}, … ,{P_n}\} ,使用扩展欧几里德算法找到多项式\{ {q_1},{q_2}, … ,{q_n}\} ,满足{q_1}{P_1} + {q_2}{P_2} + … + {q_n}{P_n} = 1. 整合{\mathcal{C}} = \{ {g^{{q_1}}},{g^{{q_2}}}, … ,{g^{{q_n}}}\} 为完备性证据.

    步骤3. 整合交集证据 {\pi _I} = \{ {\mathcal{I}},{\mathcal{C}}\} .

    2)并集证明.

    步骤1. 计算并集{R_U} = {R_{{w_1}}} \cup {R_{{w_2}}} \cup … \cup {R_{{w_n}}},其中{R_U} = \{ {f_1},{f_2}, … ,{f_m}\} .

    步骤2. 对于每个集合 {R_{{w_i}}} 1 \leqslant i \leqslant n,执行如下:

    ①对于{R_U}中每个文件{f_k},计算多项式

    {F_{k,i}} = \prod\limits_{f \in {R_{{w_i}}} - {f_k}} {(s + f)} .

    ②使用公开参数(g,{g^s}, … ,{g^{{s^q}}})计算{\mathcal{M}_{k,i}} = {g^{{F_{k,i}}}}.

    步骤3. 计算多项式{P_i} = \prod\limits_{f \in {R_U} - {R_i}} {(s + f)} .

    步骤4. 计算成员证据\mathcal{M}{ = }{\{ {\mathcal{M}_{i,j}}\} _{1 \leqslant i \leqslant n,1 \leqslant k \leqslant m}},超集证据\mathcal{S} = {\{ {\mathcal{S}_i}\} _{1 \leqslant i \leqslant n}} = {\{ {g^{{P_i}}}\} _{1 \leqslant i \leqslant n}}.

    步骤5. 整合并集证据 {\pi _U} = \{ {\mathcal{M}},{\mathcal{S}}\} .

    3)差集证明.

    设差集搜索令牌{\tau _s} = (\mathcal{D}({w_i},{w_j}),{\tau _i},{\tau _j}) ,计算差集{R_D} = {R_{{w_i}}} - {R_{{w_j}}},其中{R_D} = \{ {f_1},{f_2}, … ,{f_m}\} . 之后服务器按照如下方式计算证据 {\pi _D} = \{ {\mathcal{M}},{\mathcal{S}}\} 以完成证明:

    步骤1. 对于{R_D}中每个文件{f_k}1 \leqslant k \leqslant m

    ①计算多项式

    {F_1} = \prod\limits_{f \in {R_D} - {f_k}} {(f + s)} {F_{2,1}} = \prod\limits_{f \in {R_{{w_i}}} - {f_{_k}}} {(f + s)} ,以及{F_{2,2}} = \prod\limits_{f \in {R_{{w_j}}} - {f_{_k}}} {(f + s)} .

    ②使用公开参数(g,{g^s}, … ,{g^{{s^q}}})来计算

    {\mathcal{M}}= \{ {\mathcal{M}}_1,{\mathcal{M}}_2,{\mathcal{M}}_3\} \text{,}

    其中 {\mathcal{M}}_1=g^{F_1} {\mathcal{M}}_2=g^{F_{2,1}} {\mathcal{M}}_3=g^{F_{2,2}}.

    步骤2. 计算交集{I_{{w_i} \wedge {w_j}}} = {R_{{w_i}}} \cap {R_{{w_j}}}.

    步骤3. 计算 acc({I_{{w_i} \wedge {w_j}}}) = {g^{\prod\limits_{f \in {I_{{w_i} \wedge {w_j}}}} {(f + s)} }} .

    步骤4. 对于集合{R_D}{I_{{w_i} \wedge {w_j}}},计算

    {P_1} = \prod\limits_{f \in {R_{{w_i}}} - {R_D}} {(f + s)} \text{,}
    {P_2} = \prod\limits_{f \in {R_{{w_i}}} - {I_{{w_i} \wedge {w_j}}}} {(f + s)} \text{,}
    {P_3} = \prod\limits_{f \in {R_D}} {(f + s)} ,
    {P_4} = \prod\limits_{f \in {I_{{w_i} \wedge {w_j}}}} {(f + s)} .

    步骤5. 计算超集证据:

    \mathcal{S} = ({\mathcal{S}_1},{\mathcal{S}_2},{\mathcal{S}_3},{\mathcal{S}_4}) = ({g^{{P_1}}},{g^{{P_2}}},{g^{{P_3}}},{g^{{P_4}}}) .

    步骤6. 整合差集证据 {\pi _D} = \{ {\mathcal{M}},{\mathcal{S}}\} .

    随后,云服务器S将搜索结果集合 {R_{\phi ({\mathcal{W}})}} 和针对该集合的证明 \pi 返回给用户U.

    b \leftarrow Verify(K,{R_{\phi ({\mathcal{W}})}},\pi ) :用户U验证布尔搜索结果的完整性. 主要步骤如下:

    1)交集验证.

    步骤1. 对于{\tau _s}中的每个{\tau _i}1 \leqslant i \leqslant n,使用 {\theta _2}通过以下等式来验证子集条件:

    e( {{g^{\prod\limits_{k = 1}^m {(s + {f_k})} }},{\mathcal{S}_i}} ) = e\left( {{\theta _2},g} \right) \text{,}

    其中({f_1},{f_2}, … ,{f_m})为交集中的元素,{\mathcal{S}_i} = {g^{{P_i}}}为子集证据\mathcal{S}中元素.

    步骤2. 通过以下等式来验证完备性条件:

    \prod\limits_{i = 1}^m {e({\mathcal{S}_i},{\mathcal{C}_i})} = e(g,g)\text{,}

    其中{\mathcal{S}_i}{\text{ = }}{g^{{P_i}}}为子集证据\mathcal{S}中元素,{\mathcal{C}_i} = {g^{{q_i}}}为完备性证据\mathcal{C}中对应元素.

    步骤3. 如果上述验证过程都通过,则输出1代表验证成功;否则输出0代表验证失败.

    2)并集验证.

    步骤1. 对于每个文件{f_k} \in U1 \leqslant k \leqslant m,使用{\theta _2}通过以下等式来验证验证成员条件:

    e\left( {{\mathcal{M}_{k,i}},{g^{{f_k}}}{g^s}} \right) = e\left( {{\theta _2},g} \right)\text{,}

    其中{\mathcal{M}_{k,i}}{\text{ = }}{g^{{F_{k,i}}}}\mathcal{M}中的元素.

    步骤2. 对于每个集合{R_{{w_i}}},1 \leqslant i \leqslant n,通过以下等式来验证超集条件:

    e\left( {{{\mathcal{S}}_i},acc\left( {{f_{{w_i}}}} \right)} \right) = e({g^{\prod\limits_{k = 1}^d {(s + {f_k})} }},g) \text{,}

    其中{\mathcal{S}_i}为超集证据\mathcal{S}中元素.

    只有{R_U}中的存在文件对于任意集合{f_{{w_i}}}的成员条件均不成立时,认为验证失败.

    步骤3. 如果上述验证过程都通过,则输出1代表验证成功;否则输出0代表验证失败.

    3)差集验证.

    步骤1. 对于每个文件标识{f_k} \in {R_{{w_i}}},1 \leqslant k \leqslant m,通过以下等式来验证成员条件:

    \begin{split} e\left( {{{\mathcal{M}}_1},{g^{{f_k}}}{g^s}} \right) =\;& e\left( {acc\left( {{R_D}} \right),g} \right) \text{,} e\left( {{{\mathcal{M}}_2},{g^{{f_k}}}{g^s}} \right) = \\ &e\left( {acc({R_{{w_i}}}),g} \right) \text{,} e\left( {{{\mathcal{M}}_3},{g^{{f_k}}}{g^s}} \right) = \\ &e\left( {acc({R_{{w_j}}}),g} \right) \text{,} \end{split}

    其中({\mathcal{M}_1},{\mathcal{M}_2},{\mathcal{M}_3}) = ({g^{{F_1}}},{g^{{F_{2,1}}}},{g^{{F_{2,2}}}})为成员证据\mathcal{M}中的元素.

    步骤2. 对于集合R{I_{{w_i} \wedge {w_j}}},通过以下等式来验证超集条件:

    e\left( {{{\mathcal{S}}_1},{{\mathcal{S}}_3}} \right) = e({g^{\prod\limits_{k = 1}^d {(s + {f_k})} }},g) \text{,}
    e\left( {{{\mathcal{S}}_2},{{\mathcal{S}}_{\text{4}}}} \right) = e({g^{\prod\limits_{k = 1}^d {(s + {f_k})} }},g) \text{,}

    其中 ({\mathcal{S}_1},{\mathcal{S}_2},{\mathcal{S}_3},{\mathcal{S}_4}) = ({g^{{P_1}}},{g^{{P_2}}},{g^{{P_3}}},{g^{{P_4}}}) 为超集证据\mathcal{S}中元素.

    步骤3. 当步骤1中成员条件3个等式都不成立时,判定验证失败. 如果上述验证过程都通过,则输出1代表验证成功;否则输出0代表验证失败.

    ( \bot ;T';BC') \leftarrow Update{\text{(}}U(K,f);S(T);BC) :用于用户U添加或删除包含 {{\mathcal{W}}_f} = ({w_1},{w_2}, … ,{w_d}) 关键字的文件 f 时索引结构的更新. 主要步骤如下:

    用户U计算 ({F_{{k_F}}}({w_1}),{F_{{k_F}}}({w_2}), … ,{F_{{k_F}}}({w_d})) 发送至服务器S.

    服务器S对于每一个 t_u^j ,在查找表中获取 T{\text{[}}t_u^j{\text{]}} ,将 ({\theta _1},{\theta _2}, … ,{\theta _d}) 按序发送回用户U.

    1)用户U对于每一个 {\theta _i} ,执行以下步骤:

    步骤1. 计算 add{r_{{N_{\# {f_{{w_i}}} - 1}}}} = {\theta _i} \oplus {G_{{k_G}}}({w_i}) .

    步骤2. 如添加文件,计算

    {N_{\# {f_{{w_i}}}}} = \left\langle {f{\text{,}}add{r_{{N_{\# {f_{{w_i}}} - 1}}}},1} \right\rangle \oplus {P_{{K_P}}}({w_i}) \text{,}

    如删除文件,计算

    {N_{\# {f_{{w_i}}}}} = \left\langle {f{\text{,}}add{r_{{N_{\# {f_{{w_i}}} - 1}}}},0} \right\rangle \oplus {P_{{K_P}}}({w_i}).

    步骤3. 调用 {\sum }_{BC}{}_{·}Put\left({N}_{\#{f}_{{w}_{i}}}\right) ,将{N_{\# {f_{{w_i}}}}}作为交易值封装进区块链索引BC的区块上并获取交易地址 addr\left( {{N_{\# {f_{{w_i}}}}}} \right) .

    步骤4. 计算更新后{f_{{w_i}}}对应的相关累加值

    \tau _{u,i}^3 \leftarrow {\theta _2}^{s + f}.

    步骤5. 计算\tau _i^2 \leftarrow {G_{{K_G}}}({w_i}) \oplus addr\left( {{N_{\# {f_{{w_i}}}}}} \right).

    步骤6. 如果为添加操作,计算\tau _i^3 \leftarrow {\theta _2}^{s + f}.如果为删除操作,计算\tau _{u,i}^3 \leftarrow {\theta _2}^{1/\left( {s + f} \right)}.

    步骤7. 计算{\tau _i} = \left( {\tau _i^1,\tau _i^2,\tau _i^3} \right).

    步骤8. 对于所有{\theta _i}执行完步骤1~6后,将{\tau _u} = \left( {{\tau _1},{\tau _2}, … ,{\tau _d}} \right)作为更新令牌发送给服务器.

    2)服务器S对于每个\tau _i^{},执行以下步骤:

    步骤1. 获取({\theta _1},{\theta _2}) \leftarrow T[{\tau _{i,1}}].

    步骤2. 使用\tau _{u,i}^2{\theta _1}进行更新\theta _1^\prime \leftarrow \tau _{u,i}^1.

    步骤3. 使用\tau _{u,i}^3{\theta _2}进行更新\theta _2^\prime \leftarrow \tau _{u,i}^3.

    步骤4. 更新查找表T({\theta _1}^\prime ,{\theta _2}^\prime ) \leftarrow T[{\tau _{i,1}}].

    步骤5. 输出更新后的索引结构T\prime ;BC\prime .

    首先定义3个泄露函数{L_1}(T,I){{\mathcal{L}}_2}(f,\phi ({\mathcal{W}})){\mathcal{L}_3}(f)来描述初始化、搜索和更新文件执行期间向服务器泄露的信息. 接下来的定理表明,给定以上泄露函数的情况下,VBSE-BI方案在随机预言模型下满足动态自适应CKA安全性.

    定理1. 若F,G,P为伪随机函数,则VBSE-BI方案在随机预言模型下针对自适应选择关键字攻击是({\mathcal{L}_1},{\mathcal{L}_2},{\mathcal{L}_3})安全的,即满足动态IND-CKA2安全性.

    证明. 在Idea{l_{{\mathcal{A}},{\mathcal{S}}}}(k)中,通过{\mathcal{L}_1}的信息,模拟器可以确定可以获知查找表T的大小\# T、字典大小集合\# {\mathcal{W}}以及集合{[id(w)]_{w \in {\mathcal{W}}}}. 随后,它可以使用随机值来构建搜索结构,并输出作为模拟值(\widetilde T,\widetilde {BC}). 由于真实索引是使用伪随机函数F,G,P产生的,而模拟索引是由随机比特填充的,因此,如果函数F,G,P的伪随机性成立,则对于所有PPT敌手\mathcal{A},无法在多项式时间内区分真实索引和模拟索引.

    为了响应敌手的质询,模拟器需要使用{\mathcal{L}_2}{\mathcal{L}_3}来构建模拟搜索令牌和更新令牌,使其与真实令牌是无法区分的. 具体来说,泄露函数{{\mathcal{L}}_2}(\delta ,f,\phi ({\mathcal{W}}))向服务器泄露了所有关键字w \in \mathcal{W}的标识id(w),以及每个关键字标识id(w)和包含关键字w的文件标识之间的关联. 因为 {\tilde \tau _s} = ({\tilde \tau _1},{\tilde \tau _2}, … ,{\tilde \tau _n}) {\tilde \tau _i} = ( \gamma ( {id({w_i})} ) T\left[ {\gamma \left( {id({w_i})} \right)} \right] \oplus iT\left( {id({w_i})} \right),{K_{id({w_i})}} ) ,而 {\tilde \tau _s} = ({\tilde \tau _1},{\tilde \tau _2}, … ,{\tilde \tau _n}) {\tau _i} = ({F_{{K_1}}}({w_i}),{G_{{K_2}}}({w_i}), {P_{{K_3}}}({w_i})) ,根据函数F,G,P的伪随机性,对于所有概率多项式计算能力敌手A,不能区分搜索令牌和模拟搜索令牌{\tau _s}{\tilde \tau _s}. 同理,泄露函数{L_3}(f)泄露了更新协议中更新文件所包含的关键字的标识符集合. {\left[ {id(w)} \right]_{w \in {{\mathcal{W}}_f}}}. 以及关键字w是否是一个新的关键字{\left[ {apprs(w)} \right]_{w \in {{\mathcal{W}}_f}}},其中apprs(w)为一个1 b的标志位,值为1表示关键字w已经存在于索引中;值为0表示w是一个新关键字. 因此,基于函数F,G,P的伪随机性,敌手同样不能区分更新令牌{\tau _u}和模拟更新令牌.

    综上所述,对于所有PPT敌手\mathcal{A}来说,实验Rea{l_{\mathcal{A}}}(k)Idea{l_{{\mathcal{A}},{\mathcal{S}}}}(k)的输出是一致的,除了以可忽略的概率negl(k),即

    \left| {Pr\left[ {Rea{l_{\mathcal{A}}}(k) = 1} \right] - Pr\left[ {Idea{l_{{\mathcal{A}},{\mathcal{S}}}}(k) = 1} \right]} \right| \leqslant negl(k).

    因此,VBSE-BI方案在在随机预言模型下满足动态IND-CKA2安全性. 证毕.

    VBSE-BI方案的不可伪造性指对于所有概率多项式计算能力敌手\mathcal{A},针对伪造的布尔搜索结果,无法生成正确有效的证据.

    定理2. 如果双线性q-SDH假设成立,那么VBSE-BI方案满足不可伪造性.

    证明. 如果存在一个概率多项式计算能力敌手\mathcal{A}使得实验 Forg{e_{\mathcal{A}}}({1^k}) 的输出为1,那么就存在一个模拟器 Sim,有能力攻破双线性q-SDH假设. 证明主要针对交集布尔搜索场景的不可伪造性,并集以及差集证明方法与交集不可伪造性证明方法过程类似,不再赘述.

    假设\mathcal{A}在执行针对集合\mathcal{W}的搜索算法 {\text{Search}} 后,输出一个文件标识符集合 {\widetilde R_{\phi ({\mathcal{W}})}} \ne {R_{\phi ({\mathcal{W}})}} 和一个有效的证明\pi . 这意味着该证明 \pi 通过了验证算法{\text{Verify}}中的所有验证,即敌手\mathcal{A}成功的进行了伪造. 证明 \pi = \left\{ {\mathcal{S},\mathcal{C}} \right\} 中的伪造可以分为伪造 \mathcal{S} 和伪造 \mathcal{C} 这2种情况. 通过以下分析,我们能够得出,模拟器\mathcal{S}im能够通过伪造 \mathcal{S} 和伪造 \mathcal{C} 来攻破双线性q-SDH假设.

    给定模拟器\mathcal{S}im双线性q-SDH实例: (p,G,{\mathcal{G}},e,g) 以及一个(q + 1)元组(g,{g^s}, … ,{g^{{s^q}}}),模拟器\mathcal{S}im和敌手\mathcal{A}在实验 Ver{i_{\mathcal{A}}}({1^k}) 中交互.

    首先,由于模拟器\mathcal{S}im不知道给定实例中的s值,他需要对实验 Ver{i_{\mathcal{A}}}({1^k}) 进行修改,重新构造和s值相关的算法:

    1)KeyGen算法中,模拟器\mathcal{S}im在不知情s的情况下直接使用(g,{g^s},{g^{{s^2}}}, … ,{g^{{s^q}}})作为公开参数并发送给敌手\mathcal{A}.

    2)Setup算法中,模拟器\mathcal{S}im利用(g,{g^s},{g^{{s^2}}}, … ,{g^{{s^q}}})计算 acc({f_{{w_i}}}) = {g^{\prod\limits_{f \in {f_w}} {\left( {s + f} \right)} }} . 为了模拟更新令牌,模拟器\mathcal{S}im需要构造一个额外辅助结构\mathcal{N},为每个 acc({f_{{w_i}}}) 存储一个多项式 {n_w} = \prod\limits_{f \in {f_w}} {\left( {s + f} \right)} .

    3)Update协议中,模拟器\mathcal{S}im不能直接生成更新令牌{\tau _u},首先找到结构\mathcal{N}中与{\theta _{i,2}}相等的多项式{n_i},然后利用(g,{g^s},{g^{{s^2}}}, … ,{g^{{s^q}}})计算{g^{{n_i}(s + f)}},生成新的{\theta _2} = {g^{{n_i}(s + f)}}.

    模拟器\mathcal{S}im将和s值相关的数值通过上述方式计算,然而由于修改的实验中算法的输出和实验 Ver{i_{\mathcal{A}}}({1^k}) 算法的输出是不可区分的,所以在敌手\mathcal{A}的视角中,新计算的数值仍然有效. 那么如果敌手\mathcal{A}赢得了游戏,那么意味着敌手\mathcal{A}攻破了双线性q-SDH假设,即成功伪造了伪造子集证据 \mathcal{S} 或者成功伪造了完备性证据 \mathcal{C} .

    1)伪造子集证据 \mathcal{S} :敌手输出错误的搜索结果I' = \{ {f_1},{f_2}, … ,{f_m}\} 和伪造的子集证据{\mathcal{S}_i} = \stackrel{\frown}{g}^{{P_i}}. 令{S_i} = \{ {f_1}, {f_2}, … ,{f_q}\} 为包含关键字{w_i}的文件标识符集合,如果I' \not\subset {S_i},那么一定存在某个1 \leqslant j \leqslant m,使得{f_j} \notin {S_i}. 通过验证意味着

    e( {{g^{\prod\limits_{f \in I'} {(s + f)} }},{\mathcal{S}}} ) = e\left( {{g^{(s + {f_1})(s + {f_2}) … (s + {f_q})}},g} \right) \text{,}

    因为{f_j} \notin {S_i},因此(s + {f_j})并不能整除 (s + {f_1}) (s + {f_2}) … (s + {f_q}) . 所以存在一个次为q - 1的多项式Q(s)和一个常数c \ne 0,使得 (s + {f_1})(s + {f_2}) … (s + {f_q}) = Q(s)(s + {f_j}) + c . 因此

    e{( {g,\stackrel{\frown}{g}^{{P_i}}} )^{(s + {f_j})\prod\limits_{f \in I' - {f_j}} {(s + f)} }} = e{\left( {g,g} \right)^{Q(s)(s + {f_j}) + c}}

    经过变形后,最终可以得到

    e{\left( {g,g} \right)^{\frac{1}{{s + {f_j}}}}} = {\left( {e{{( {g,{\stackrel{\frown}{g}^{{P_i}}}} )}^{\prod\limits_{f \in I' - {f_j}} {(s + f)} }}e{{\left( {g,g} \right)}^{ - Q(s)}}} \right)^{1/c}} \text{,}

    这说明模拟器\mathcal{S}im可以借在多项式时间内解决双线性q-SDH问题的一个实例. 这违反了双线性q-SDH假设.

    2)伪造完备性证据 \mathcal{C} :这种情况下,敌手输出错误的交集搜索 {\widetilde R_{\phi ({\mathcal{W}})}} = \{ {f_1},{f_2}, … ,{f_m}\} 和一个完备性证据 \stackrel{\frown}{\cal C}. 因为 {\widetilde R_{\phi ({\mathcal{W}})}} R 的真子集,那么多项式{P_1},{P_2}, … ,{P_n}至少存在一个公因式. 令(s + f){P_1},{P_2}, … ,{P_n}的一个公因式,其中f \notin I'. 通过验证算法意味着 \prod\limits_{i = 1}^m {e( {\cal S},\stackrel{\frown}{\cal C} )} = e\left( {g,g} \right)成立. 通过计算{g^{{{P'}_i}}} = {({g^{{P_i}}})^{1/(s + f)}},将(s + f)从每个{P_i}中提取出来,即

    \begin{split} \prod\limits_{i = 1}^n {e\left( {{g^{{P_i}}},{g^{{q_i}}}} \right)} =\;& \prod\limits_{i = 1}^n {e( {{{( {{g^{{{P'}_i}}}} )}^{s + f}},{g^{{q_i}}}} )}= \\ &{\left( {\prod\limits_{i = 1}^n {e\left( {{g^{{{P'}_i}}},{g^{{q_i}}}} \right)} } \right)^{s + f}} =e(g,g) \end{split}

    因此模拟器\mathcal{S}im可以很容易的计算 e{\left( {g,g} \right)^{1/(s + f)}} = \prod\limits_{i = 1}^n {e\left( {{g^{{{P'}_i}}},{g^{{q_i}}}} \right)} ,从而找到双线性q-SDH问题的一个实例的解,这同样违反了双线性q-SDH假设.

    综上所述,如果敌手可以伪造出一个有效的证据,那么就存在一个模拟器\mathcal{S}im,可以攻破哈希函数{H_3}的抗碰撞性和双线性q-SDH假设的至少一个. 因此,对于所有概率多项式计算能力敌手\mathcal{A}来说,赢得实验 Ver{i_{\mathcal{A}}}({1^k}) 概率为:

    Pr{\text{[}}Forg{e_{\mathcal{A}}}({1^k}) = {\text{1}}] \leqslant negl({1^k}) \text{,}

    其中 negl({1^k}) 是一个以安全参数 {1^k} 为输入的可忽略函数. 因此VBSE-BI方案具有不可伪造性.

    本节主要分析提出VBSE-BI方案的性能,. 首先从理论层面对方案的各个阶段的性能进行综合对比评估,之后通过设计实验方案的原型系统,来对不同阶段的性能进行测试,得到实验结果.

    针对模型构建过程中的存储代价、计算代价以及通信代价3个维度分析方案性能. 设N表示关键字集合的大小,M为文件总个数,n为布尔搜索请求中包含的关键字个数,m为搜索结果中文件个数,d为更新文件包含的关键字个数. 方案的代价分析如表2所示.

    表  2  代价分析
    Table  2.  Cost Analysis
    复杂度类别 VBSE-BI方案 文献[23]方案
    用户端 服务器端 用户端 服务器端
    {\text{Sto}}{{\text{r}}_{{\text{Index}}}} {\mathcal{O}}(1) {\mathcal{O}}(N) {\mathcal{O}}(1) {\mathcal{O}}(NM){\text{ + }}{\mathcal{O}}(N){\text{ + }}{\mathcal{O}}(M)
    {\text{Com}}{{\text{p}}_{{\text{Search}}}} {\mathcal{O}}(n) {\mathcal{O}}(mn) {\mathcal{O}}(n) {\mathcal{O}}(n + mn)
    {\text{Com}}{{\text{p}}_{{\text{ProveI}}}} - {\mathcal{O}}(N{\log ^2}N\log \log N) - {\mathcal{O}}(N{\log ^2}N\log \log N)
    {\text{Com}}{{\text{p}}_{{\text{ProveU}}}} - {\mathcal{O}}(N\log N) - -
    {\text{Com}}{{\text{p}}_{{\text{ProveD}}}} - {\mathcal{O}}(N\log N) - -
    {\text{Com}}{{\text{m}}_{{\text{Search}}}} {\mathcal{O}}(n + m) {\mathcal{O}}(n + m) {\mathcal{O}}(n) {\mathcal{O}}(n\log n + m)
    {\text{Com}}{{\text{p}}_{{\text{Verify}}}} {\mathcal{O}}(n + m) - {\mathcal{O}}(n\log n + m) -
    {\text{Com}}{{\text{p}}_{{\text{Update}}}} {\mathcal{O}}(d) {\mathcal{O}}(d) {\mathcal{O}}(\log N + d) {\mathcal{O}}(d)
    {\text{Com}}{{\text{m}}_{{\text{Update}}}} {\mathcal{O}}(d) {\mathcal{O}}(d) {\mathcal{O}}(d) {\mathcal{O}}(d)
    注:{\text{Sto}}{{\text{r}}_{{\text{Index}}}}—存储空间复杂度;{\text{Com}}{{\text{p}}_{{\text{Search}}}}—搜索计算复杂度;{\text{Com}}{{\text{p}}_{{\text{ProveI}}}}—交集证明计算复杂度;{\text{Com}}{{\text{p}}_{{\text{ProveU}}}}—并集证明计算复杂度;{\text{Com}}{{\text{p}}_{{\text{ProveD}}}}—差集证明计算复杂度;{\text{Com}}{{\text{p}}_{{\text{Verify}}}}—验证计算复杂度;{\text{Com}}{{\text{m}}_{{\text{Search}}}}—搜索通信复杂度;{\text{Com}}{{\text{p}}_{{\text{Update}}}}—更新计算复杂度;{\text{Com}}{{\text{m}}_{{\text{Update}}}}—更新通信复杂度;-:无复杂度体现.
    下载: 导出CSV 
    | 显示表格

    存储代价主要考虑云服务器的安全索引存储代价,设T为长度为N的查找表,索引的空间复杂度为\mathcal{O}(N). 在计算代价方面,构建搜索令牌的计算代价与搜索关键字个数有关,时间复杂度为\mathcal{O}(n). 服务器对搜索令牌进行搜索操作时的计算复杂度为\mathcal{O}(mn),进行交集运算的渐近运行时间为\mathcal{O}(N{\log ^2}N\log \log N),并集和差集云服务器的渐近运行时间复杂度为\mathcal{O}(N\log N),用户端完成验证操作的渐近运行时间复杂度为\mathcal{O}(n) + \mathcal{O}(m). 搜索通信代价主要由搜索关键字个数以及搜索结果中文件个数决定. 当用户想要搜索n个关键字的布尔集合时,和服务器交互一次,发送搜索令牌的通信复杂度为\mathcal{O}(n),云服务器返回搜索结果的通信复杂度为\mathcal{O}(m),因此通信的数据规模为的通信复杂度为\mathcal{O}(n + m). 与同类型的文献[23]方案相比,本方案在支持更丰富的布尔查询语句的同时,降低了服务器端索引的存储代价以及搜索、验证以及更新的计算代价.

    本文对提出的方案进行了编程实现,然后通过对算法的性能测试来分析方案在实际应用中的表现. 方案部署一个远程服务器来模拟云服务器,处理器为Intel Core i7-2600 Quad-Core Processor 3.4 GHz,内存为8 GB;同时部署多台主机模拟用户端,每台主机模拟为一个和云服务器交互的用户. 此外,方案利用Ethereum仿真平台Ropsten Testnets模拟区块链存储平台,具体来说,利用Ethereum的web3 API包[26]来构建区块链索引,调用Metamask[27]创建本地钱包来实例化 {\sum }_{BC}{}_{·}Init\text{()} 算法,调用signTransaction函数实例化 {\sum }_{BC}{}_{·}Put\text{()} 算法来存储链式索引结构中的节点信息;调用sendRawTransaction函数接受已签名的交易同时输出交易的地址;搜索时,调用getTransaction函数来实例化 {\sum }_{BC}{}_{·}Get\text{()} 算法将交易的地址作为输入并输出关联的交易内容,然后读取数据字段以检索链式索引中的节点信息. 方案调用OpenSSL_SHA256-HMAC[28]算法实现伪随机函数FGP. 使用Enron邮件数据集[29]来进行性能的评估,从邮件集合中随机选择1 000个文件作为测试用的文件集.

    根据系统实现的功能,测试系统执行不同操作时的云服务器端和用户端的计算开销及通信开销,其中服务器计算开销主要测试的内容包括搜索时间、生成证明时间,用户的计算开销主要测试验证时间,通信开销主要测试云服务器返回搜索结果的数据量. 实验中每个数据均为实验重复50 次并取平均值后得到的结果.

    1)计算开销. 计算开销可以分为区块链索引搜索开销、服务器本地证明开销以及用户端本地验证开销,如图3所示. 当搜索关键字数量为(2,4,6,8,10)时,搜索区块链索引的时间开销与关键字个数大致呈线性关系(1.817~5.755 s). 证明过程耗时较搜索过程大,原因为包含较多指数运算和双线性配对运算,尽管关键字数量变化,时间开销相对稳定,维持在6.1~6.8 s之间,与理论分析一致. 由于这些计算的效率与所选用的曲线参数和配对算法有很大关系,通过多线程计算和预先计算,可以显著降低证明阶段的计算时间. 因此随着参数和算法的不断优化,其效率可以进一步得到提升. 此外,服务端的算法还可以进行一些实现方面的优化,从而可以大大降低证明阶段所花费的时间. 例如对集合证据使用多线程来计算,以及使用预先计算好的{P_i}{g^{{P_i}}}等. 用户计算开销主要测试在不同数目关键字情况下进行搜索时用户完成验证操作的时间,开销与关键字个数无关,维持在1.0~1.8 s之间. 验证过程中耗时最多的操作为双线性配对过程,与服务器端的搜索和证明时间相比,用户端计算开销为服务器端计算开销的9.98%~14.03%. 因此,VBSE-BI方案在用户端的计算开销相对较低,验证操作高效快速,极大地减少了用户端的计算负担. 这使得方案在实际应用中具有较好的用户体验,特别是在资源受限的移动设备上,表现尤为突出.

    图  3  计算开销与关键字数量之间的关系
    Figure  3.  The relationship between computational cost and the number of keywords

    2)通信开销. 通信开销主要包含搜索结果的数据量和额外证明的数据量. 图4表明了通信开销与搜索时布尔表达式中的关键字数量之间的关系. 当搜索时使用的关键字数量为(2,4,6,8,10)递增时,通信开销中搜索结果的数据量从758 B减少至201 B这是因为符合多个关键字布尔表达式的搜索结果减少,传输的数据量也相应减少. 证明数据量从502B增加至1 896 B,因为更多的关键字需要更多的证明数据来保证搜索结果的正确性和完整性,占总数据量的36.97%~76.54%. 因此,额外证明的数据量是影响通信开销的主要因素,与理论分析一致. 因此,对于频繁查询的关键字,预先生成并存储其证明数据,减少实时计算和传输的开销,可以显著减少VBSE-BI方案中的通信开销,提高整体性能. 特别是在处理较多关键字的搜索时,通过优化证明算法和减少冗余数据,可以有效地控制通信开销的增长,从而提高方案在实际应用中的效率和可扩展性.

    图  4  通信开销与关键字数量之间的关系
    Figure  4.  The relationship between communication cost and the number of keywords

    本文提出一种基于区块链索引的可验证布尔搜索加密方案. 设计基于区块链的索引构建算法和索引动态更新算法,并利用可证安全的对称加密和同态加密机制对索引进行加密,实现多关键字布尔搜索. 针对布尔搜索的完整性验证需求,给出布尔搜索结果不可伪造性定义,并提出基于双线性映射累加器和扩展欧几里德算法的布尔运算完整性验证算法. 安全性分析表明,本方案在随机预言模型下能够抵抗动态选择关键字攻击,并且在双线性阶强Diffie-Hellman 假设下满足不可伪造性. 性能分析表明,本方案有效地降低了搜索时的通信代价以及用户端计算复杂度. 本方案提升可搜索加密的可用性和确保用户享受的合法权益不受损害具有重要意义. 本文搜索协议在进行搜索结果证明时的计算代价具有提升空间,因此在未来的研究中重点关注此方面效率的提高. 除此之外,未来考虑使方案满足有隐私保护需求的更多密文搜索场景,例如基于兴趣的推荐服务以及云边协同隐私保护查询等.

    作者贡献声明:李宇溪负责模型设计,方案设计,算法设计,方案分析,论文撰写及修改;陈晶晶负责安全性分析,实验环境部署,论文撰写及修改;周福才负责模型设计,技术路线可行性分析;徐剑负责理论基础,整体思路确定;纪东负责实验分析,论文修改.

  • 图  1   微架构概念图

    Figure  1.   Microarchitecture concept diagram

    图  2   乱序执行

    Figure  2.   Out of order execution

    图  3   预测执行

    Figure  3.   Speculative execution

    图  4   Cache架构

    Figure  4.   Cache architecture

    图  5   瞬态执行攻击抽象模型

    Figure  5.   Transient execution attack abstract model

    图  6   2类Gadget模型

    Figure  6.   Two types of Gadget models

    图  7   竞争模型

    Figure  7.   Competition model

    图  8   缓存隐蔽信道抽象模型

    Figure  8.   Cache covert channel abstract model

    图  9   时序模型

    Figure  9.   Temporal sequence model

    图  10   缓存争用模型与数据重用模型

    Figure  10.   Cache contention model and data reuse model

    图  11   Evict+Time隐蔽信道基本步骤

    Figure  11.   Basic steps of Evict+Time covert channel

    图  12   Prime+Probe隐蔽信道基本步骤

    Figure  12.   Basic steps of Prime+Probe covert channel

    图  13   Evict+Reload隐蔽信道基本步骤

    Figure  13.   Basic steps of Evict+Reload covert channel

    图  14   Flush+Reload隐蔽信道基本步骤

    Figure  14.   Basic steps of Flush+Reload covert channel

    图  15   Flush+Flush隐蔽信道基本步骤

    Figure  15.   Basic steps of Flush+Flush covert channel

    图  16   乱序执行驱动的熔断型攻击分阶段比较

    Figure  16.   Phased comparison of meltdown type attacks driven by out-of-order execution

    图  17   分支预测机构硬件组成图例

    Figure  17.   Branch prediction mechanism hardware composition legend

    图  18   Spectre V2攻击PoC图示

    Figure  18.   Specter V2 attack PoC diagram

    图  19   SgxPectre攻击PoC图示

    Figure  19.   SgxPectre attack PoC diagram

    图  20   Spectre RSB PoC图示

    Figure  20.   Specter RSB attack PoC diagram

    图  21   错误分支预测执行驱动的幽灵型攻击分阶段比较

    Figure  21.   Phased comparison of spectre-type attacks driven by incorrect branch prediction execution

    图  22   错误数据预测驱动的数据采样型攻击分阶段比较

    Figure  22.   Phased comparison of data sampling attacks driven by incorrect data prediction

    图  23   Intel处理器免疫攻击总结

    Figure  23.   Intel processor immune attack summary

    表  1   隐蔽信道应用情况统计

    Table  1   Covert Channel Application Statistics

    相关工作 信道名称* 利用组件 攻击目标** 相关工作 信道名称* 利用组件 攻击目标
    Osvik等人[10] E+T L1D OpenSSL AES Yarom等人[8] F+R LLC GnuPG RSA
    Wampler等人[58] E+T LLC 内核隔离 Van等人[92] F+R LLC ECDSA
    Hund等人[95] E+T LLC 内核隔离 Benger等人[93] F+R LLC ECDSA
    Osvik等人[1] P+P L1D OpenSSL AES Allan等人[102] F+R LLC OpenSSL AES
    Percival等人[94] P+P L1D OpenSSL RSA Zhang等人[103] F+R LLC 用户活动
    Liu等人[13] P+P LLC GnuPG ElGamal Irazoqui等人[104] F+R LLC TLS/DTLS
    Neve等人[96] P+P L1I AES Irazoqui等人[105] F+R LLC GnuPG ElGamal/OpenSSL AES
    Aciiçmez等人[97] P+P L1I OpenSSL RSA Gruss等人[106] F+R LLC 键盘输入数据
    Kayaalp等人[98] P+P LLC AES Lipp等人[15] E+R LLC AES
    Brasser等人[99] P+P LLC RSA Yan等人[54] E+R LLC GnuPG RSA
    Schwarz等人[100] P+P LLC RSA Gruss等人[14] F+F LLC AES
    Gullasch等人[11] F+R LLC OpenSSL AES Disselkoen等人[16] P+A▲ LLC OpenSSL AES
    Irazoqui等人[101] F+R LLC GnuPG RSA Schwarz等人[21] AVX信道 AVX单元 \
    Briongos等人[12] R+R▲ LLC OpenSSL AES/RSA Fustos等人[5] 除法器信道 浮点运算单元 浏览器数据
    Jin等人[45] EFLAGS 寄存器 \ Qiu等人[6] PMU信道 性能监视单元 SGX
    Bhattacharyya等人[4] 端口争用 执行端口 OpenSSH Meulemeester等人[7] 电磁信道 (外部设备) \
    *“▲”代表已有相关研究,但尚未应用在TEA中 **“\”代表该研究尚停留在PoC阶段,实验暂未提及在实际中的应用.
    下载: 导出CSV

    表  2   隐蔽信道特点总结与对比

    Table  2   Summary and Comparison of Covert Channel Characteristics

    信道类型 信道* 粒度** 信道特性***
    缓存争用型E+TS--
    P+PS--
    E+RS--
    数据重用型F+RL--
    F+FL--
    非缓存型端口B---
    除法器B--
    AVXB---
    寄存器B---
    PMUV/B-----
    电磁V需要外接测量设备-
    *用信道名首字母做记号,例如,Prime+Probe记为“P+P”,Flush+Reload记为“F+R”后同.
    **缓存集粒度记为“S”,缓存行粒度记为“L”,比特粒度记为“B”,直接可得值记为“V”.
    ***①滥用clflush指令;②滥用计时器;③短时大量缓存换出;④借助除法器;⑤时间测量.
    下载: 导出CSV

    表  3   结合攻击模型的瞬态执行攻击相关研究总结

    Table  3   Summary of Related Research on TEAs Combined with Attack Models

    相关工作 Gadget形式 SEW拓展方式* 信道名称
    Meltdown[1] 显式 F+R
    Spectre V1[2] 显式 Ⅰ/Ⅱ F+R
    Spectre V2[2] 显式 Ⅰ/Ⅱ F+R
    Foreshadow[17] 显式 F+R
    Crosstalk[19] 显式 Ⅰ/Ⅱ F+R
    Foreshadow-NG[20] 显式 F+R
    NetSpectre-Cache[21] 显式 F+R
    LazyFP[22] 显式 F+R
    Downfall[23] 显式 F+R
    RIDL[35] 显式 F+R
    ZombieLoad[36] 显式 F+R
    Fallout[37] 显式 F+R
    Medusa[38] 显式 F+R
    SGAxe[40] 显式 Ⅰ/Ⅱ F+R
    CacheOut[43] 显式 F+R
    LVI[44] 显式 F+R
    SgxPectre[60] 显式 Ⅰ/Ⅱ F+R
    ret2spec[62] 显式 Ⅰ/Ⅱ F+R
    RetBleed[64] 显式 Ⅰ/Ⅱ F+R/P+P
    Spectre RSB[67] 显式 F+R
    Spectre V3r/z[72] 显式 F+R
    Spectre V3a[77] 显式 F+R
    Spectre BHI[84] 显式 Ⅰ/Ⅱ F+R/E+R
    BHI-native[85] 显式 Ⅰ/Ⅱ F+R/E+R
    Spectre V4[91] 显式 F+R
    SMoTherSpectre[4] 隐式 \ 执行端口
    SpectreRewind[5] 隐式 \ 除法器
    NetSpectre-AVX[21] 隐式 \ AVX
    EFLAGS attack[45] 隐式 \ 寄存器
    PMU-Spill[6] 显/隐式 \ PMU
    SpectrEM[7] 显/隐式 \ 电磁信息
    *使用非缓存型隐蔽信道的TEAs在瞬态执行时即立刻还原密钥,因此本文不讨论其窗口拓展方式.
    下载: 导出CSV

    表  4   隐蔽信道适用场景研究总结

    Table  4   Summary of Research on Covert Channel Applicable Scenarios

    信道名称 物理核 操作系统 内存隔离
    同核心 跨核心 同进程 跨进程 SMT 内核 跨VM TEE
    Evict+Time[10] - - - - -
    Prime+Probe[13] - - - -
    Evict+Reload[15] - - - -
    Flush+Reload[8] - - -
    Flush+Flush[14] - - - -
    端口争用[4] - - - -
    除法器[5] - - -
    AVX[21] - - - -
    EFALGS[45] - - - -
    PMU[6] - - -
    电磁信息[7] - -
    “-”表示原文献中未明确指出该攻击场景.
    下载: 导出CSV

    表  5   瞬态执行攻击适用场景总结

    Table  5   Summary of Applicable Scenarios for TEAs

    攻击名称 物理核 操作系统 内存隔离 攻击名称 物理核 操作系统 内存隔离
    同核心 跨核心 同进程 跨进程 SMT 内核 跨VM TEE 同核心 跨核心 同进程 跨进程 SMT 内核 跨VM TEE
    Meltdown[1] - - - - VRS[42] - -
    LazyFP[22] - - - - Foreshadow[17] - - - -
    Spectre V1[2] - - - - Foreshadow-OS[20] - - - -
    Spectre V1.1[82] - - - - Foreshadow-VMM[20] - - -
    Spectre V1.2[83] - - - - RIDL[35] -
    Spectre V2[2] - - - - ZombieLoad[36] -
    Spectre V3a[77] - - - - Fallout[37] -
    Spectre V4[91] - - - - Medusa[38] -
    Spectre RSB[67] - - - LVI[44] -
    ret2spec[62] - - - CacheOut[43] -
    Snoopy[25] SGAxe[40] -
    RIDL-TAA[41] - - CrossTalk[19]
    SMoTherSpectre[4] - - - Downfall[23] -
    EFLAGS attack[45] - - - - NetSpectre-cache[21] - - - - -
    SpectreRewind[5] - - - NetSpectre-AVX[21] - - - - -
    PMU-Spill[6] - - - SpectrEM[7] - - -
    “-”表示原文献中未明确指出该攻击场景.
    下载: 导出CSV
  • [1]

    Lipp M, Schwarz M, Gruss D, et al. Meltdown: Reading kernel memory from user space[C]//Proc of the 27th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2018: 18−33

    [2]

    Kocher P, Horn J, Fogh A, et al. Spectre attacks: Exploiting speculative execution[C]//Proc of the 2019 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2019: 1−19

    [3]

    Szefer J. Survey of microarchitectural side and covert channels, attacks, and defenses[J]. Journal of Hardware and Systems Security, 2019, 3(3): 219−234 doi: 10.1007/s41635-018-0046-1

    [4]

    Bhattacharyya A, Sandulescu A, Neugschwandtner M, et al. Smotherspectre: Exploiting speculative execution through port contention[C]//Proc of the 2019 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2019: 785−800

    [5]

    Fustos J, Bechtel M, Yun H. Spectrerewind: Leaking secrets to past instructions[C]//Proc of the 4th ACM Workshop on Attacks and Solutions in Hardware Security. New York: ACM, 2020: 117−126

    [6]

    Qiu Pengfei, Gao Qiang, Liu Chang, et al. Pmu-spill: A new side channel for transient execution attacks[J]. IEEE Transactions on Circuits and Systems I: Regular Papers, 2023, 70(12): 5048−5059 doi: 10.1109/TCSI.2023.3298913

    [7]

    De Meulemeester J, Purnal A, Wouters L, et al. SpectrEM: Exploiting Electromagnetic emanations during transient execution[C]//Proc of the 32nd USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2023: 6293−6310

    [8]

    Yarom Y, Falkner K. Flush+ Reload: A high resolution, low noise, L3 cache side-channel attack[C]//Proc of the 23rd USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2014: 719−732

    [9]

    Ristenpart T, Tromer E, Shacham H, et al. Hey, you, get off of my cloud: Exploring information leakage in third party compute clouds[C]//Proc of the 16th ACM Conf on Computer and Communications Security. New York: ACM, 2009: 199−212

    [10]

    Osvik D A, Shamir A, Tromer E. Cache attacks and countermeasures: The case of AES[C]//Proc of the 2006 The Cryptographers’ Track at the RSA Conf on Topics in Cryptology. Berlin: Springer, 2006: 1−20

    [11]

    Gullasch D, Bangerter E, Krenn S. Cache games bringing access based cache attacks on AES to practice[C]//Proc of the 2011 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2011: 490−505

    [12]

    Briongos S, Malagón P, Moya J M, et al. Reload+ refresh: Abusing cache replacement policies to perform stealthy cache attacks[C]//Proc of the 29th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2020: 1967−1984

    [13]

    Liu Fangfei, Yarom Y, Ge Qian, et al. Last-level cache side-channel attacks are practical[C]//Proc of the 2015 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2015: 605−622

    [14]

    Gruss D, Maurice C, Wagner K, et al. Flush+ Flush: A fast and stealthy cache attack[C]//Proc of the 13th Int Conf on Detection of Intrusions and Malware, and Vulnerability Assessment. Berlin: Springer, 2016: 279−299

    [15]

    Lipp M, Gruss D, Spreitzer R, et al. ARMageddon: Cache attacks on mobile devices[C]//Proc of the 25th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2016: 549−564

    [16]

    Disselkoen C, Kohlbrenner D, Porter L, et al. Prime + abort: A timer-free high-precision l3 cache attack using intel TSX[C]//Proc of the 26th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2017: 51−67

    [17]

    Van Bulck J, Minkin M, Weisse O, et al. Foreshadow: Extracting the keys to the Intel SGX kingdom with transient out-of-order execution[C]//Proc of the 27th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2018: 991−1008

    [18]

    Mukhtar M A, Bhatti M K, Gogniat G. Architectures for security: A comparative analysis of hardware security features in Intel SGX and ARM TrustZone[C]//Proc of the 2nd Int Conf on Communication, Computing and Digital systems. Piscataway, NJ: IEEE, 2019: 299−304

    [19]

    Ragab H, Milburn A, Razavi K, et al. Crosstalk: Speculative data leaks across cores are real[C]//Proc of the 2021 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2021: 1852−1867

    [20]

    Weisse O, Van Bulck J, Minkin M, et al. Foreshadow-NG: Breaking the virtual memory abstraction with transient out-of-order execution [EB/OL]. 2018 [2023-11-29]. https://lirias.kuleuven.be/2089352

    [21]

    Schwarz M, Schwarzl M, Lipp M, et al. Netspectre: Read arbitrary memory over network[C]//Proc of the 24th European Symp on Research in Computer Security. Berlin: Springer, 2019: 279−299

    [22]

    Stecklina J, Prescher T. Lazyfp: Leaking fpu register state using microarchitectural side-channels[J]. arXiv preprint, arXiv: 1806.07480, 2018

    [23]

    Moghimi D. Downfall: Exploiting speculative data gathering[C]//Proc of the 32nd USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2023: 7179−7193

    [24]

    Intel. Snoop assisted L1D sampling advisory [EB/OL]. (2021-05-11) [2023-11-29]. https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00330.html

    [25]

    Intel. Snoop-assisted L1 data sampling [EB/OL]. (2020-3-10) [2023-11-29]. https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/snoop-assisted-l1-data-sampling.html

    [26] 苗新亮,蒋烈辉,常瑞. 访问驱动下的Cache侧信道攻击研究综述[J]. 计算机研究与发展,2020,57(4):824−835

    Miao Xinliang, Jiang Liehui, Chang Rui. Survey of access-driven cache-based side channel attack[J]. Journal of Computer Research and Development, 2020, 57(4): 824−835 (in Chinese)

    [27] 张伟娟,白璐,凌雨卿,等. 缓存侧信道攻击与防御[J]. 计算机研究与发展,2023,60(1):206−222

    Zhang Weijuan, Bai Lu, Ling Yuqing, et al. Cache side-channel attacks and defenses[J]. Journal of Computer Research and Development, 2023, 60(1): 206−222(in Chinese)

    [28] 吴晓慧,贺也平,马恒太,等. 微架构瞬态执行攻击与防御方法[J]. 软件学报,2020,31(2):544−563

    Wu XiaoHui, He Yeping, Ma Hengtai, et al. Microarchitectural transient execution attacks and defense methods[J]. Journal of Software, 2020, 31(2): 544−563(in Chinese)

    [29] 李晔,李沛南,赵路坦,等. 瞬态执行漏洞攻击及防御综述[J]. 高技术通讯,2020,30(8):774−782

    Li Ye, Li Peinan, Zhao Lutan, et al. Overview of transient execution vulnerability attacks and defenses[J]. High Technology Communications, 2020, 30(8): 774−782 (in Chinese)

    [30]

    Canella C, Van Bulck J, Schwarz M, et al. A systematic evaluation of transient execution attacks and defenses[C]//Proc of the 28th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2019: 249−266

    [31]

    Ragab H, Barberis E, Bos H, et al. Rage against the machine clear: A systematic analysis of machine clears and their implications for transient execution attacks[C]//Proc of the 30th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2021: 1451−1468

    [32]

    Xiong Wenjie, Szefer J. Survey of transient execution attacks and their mitigations[J]. ACM Computing Surveys, 2021, 54(3): 1−36

    [33]

    Fiolhais L, Sousa L. Transient execution attacks: A computer architect perspective[J]. ACM Computing Surveys, 2023, 56(3): 1−38

    [34]

    Intel Cor. Intel 64 and IA−32 architectures optimization reference manual volume 1[EB/OL]. (2023-09-05) [2023-11-09]. https://www.intel.com/content/www/us/en/content-details/814198/intel-64-and-ia-32-architectures-optimization-reference-manual-volume-1.html

    [35]

    Van Schaik S, Milburn A, Österlund S, et al. RIDL: Rogue in-flight data load[C]//Proc of the 2019 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2019: 88−105

    [36]

    Schwarz M, Lipp M, Moghimi D, et al. ZombieLoad: Cross-privilege-boundary data sampling[C]//Proc of the 2019 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2019: 753−768

    [37]

    Canella C, Genkin D, Giner L, et al. Fallout: Leaking data on meltdown-resistant CPUs[C]//Proc of the 2019 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2019: 769−784

    [38]

    Moghimi D, Lipp M, Sunar B, et al. Medusa: Microarchitectural data leakage via automated attack synthesis[C]//Proc of the 29th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2020: 1427−1444

    [39]

    Borrello P, Kogler A, Schwarzl M, et al. ÆPIC leak: Architecturally leaking uninitialized data from the microarchitecture[C]//Proc of the 31st USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2022: 3917−3934

    [40]

    Van Schaik S, Kwong A, Genkin D, et al. SGAxe: How SGX fails in practice [EB/OL]. 2020[2024-01-01]. https://sgaxe.com/files/SGAxe.pdf

    [41]

    VUSec Group. Addendum 1 to RIDL: Rogue In-flight data load, RIDL variant as the TSX asynchronous abort [EB/OL]. (2019-11-12)[2024-01-01]. https://mdsattacks.com/files/ridl-addendum.pdf

    [42]

    VUSec Group. Addendum 2 to RIDL: Rogue in-flight data load, vector register sampling [EB/OL]. (2020-01-27)[2023-12-28]. https://mdsattacks.com/files/ridl-addendum2.pdf

    [43]

    Van Schaik S, Minkin M, Kwong A, et al. CacheOut: Leaking data on Intel CPUs via cache evictions[C]//Proc of the 2021 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2021: 339−354

    [44]

    Van Bulck J, Moghimi D, Schwarz M, et al. LVI: Hijacking transient execution through microarchitectural load value injection[C]//Proc of the 2020 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2020: 54−72

    [45]

    Jin Yu, Qiu Pengfei, Wang Chunlu, et al. Timing the transient execution: A new side-channel attack on Intel CPUs [J]. arXiv preprint, arXiv: 2304.10877, 2023

    [46]

    Šilc J, Robic B, Ungerer T. Processor Architecture: From Dataflow to Superscalar and Beyond; with 34 Tables [M]. Berlin: Springer, 1999

    [47]

    Shen J P, Lipasti M H. Modern Processor Design: Fundamentals of Superscalar Processors[M]. Long Grove, Illinois: Waveland Press, 2013

    [48]

    Tomasulo R M. An efficient algorithm for exploiting multiple arithmetic units[J]. IBM Journal of Research and Development, 1967, 11(1): 25−33 doi: 10.1147/rd.111.0025

    [49]

    González J, González A. Speculative execution via address prediction and data prefetching[C]//Proc of the 11th Int Conf on Supercomputing. New York: ACM, 1997: 196−203

    [50]

    Denning P J. The working set model for program behavior[J]. Communications of the ACM, 1968, 11(5): 323−333 doi: 10.1145/363095.363141

    [51]

    Nagarajan V. A Primer on Memory Consistency and Cache Coherence[M]. Berlin: Springer Nature, 2022

    [52]

    Papamarcos M S, Patel J H. A low-overhead coherence solution for multiprocessors with private cache memories[C]//Proc of the 11th Annual Int Symp on Computer Architecture. New York: ACM, 1984: 348−354

    [53]

    Zahran M, Albayraktaroglu K, Franklin M. Non-inclusion property in multi-level caches revisited[J]. International Journal of Computers and Their Applications, 2007, 14(2): 99−108

    [54]

    Yan Mengjia, Sprabery R, Gopireddy B, et al. Attack directories, not caches: Side channel attacks in a non-inclusive world[C]//Proc of the 2019 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2019: 888−904

    [55]

    Guo Shengjia, Chen Yueqi, Li Peng, et al. SpecuSym: Speculative symbolic execution for cache timing leak detection[C]//Proc of the 42nd ACM/IEEE Int Conf on Software Engineering. Piscataway, NJ: IEEE, 2020: 1235−1247

    [56]

    Oleksenko O, Trach B, Silberstein M, et al. SpecFuzz: Bringing spectre-type vulnerabilities to the surface[C]//Proc of the 29th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2020: 1481−1498

    [57]

    Qi Zhenxiao, Feng Qian, Cheng Yueqiang, et al. SpecTaint: Speculative Taint analysis for discovering Spectre gadgets[C] //Proc of the 2021 Symp on Network and Distributed System Security. Piscataway, NJ: IEEE, 2021: 841−855

    [58]

    Wampler J, Martiny I, Wustrow E. ExSpectre: Hiding malware in speculative execution[C]//Proc of the 2019 Symp on Network and Distributed System Security. Piscataway, NJ: IEEE, 2019: 316−330

    [59]

    Tobah Y, Kwong A, Kang I, et al. SpecHammer: Combining spectre and Rowhammer for new speculative attacks[C] //Proc of the 2022 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2022: 681−698

    [60]

    Chen Guoxing, Chen Sanchuan, Xiao Yuan, et al. Sgxpectre: Stealing intel secrets from sgx enclaves via speculative execution[C]//Proc of the 2019 IEEE European Symp on Security and Privacy. Piscataway, NJ: IEEE, 2019: 142−157

    [61]

    Trujillo D, Wikner J, Razavi K. INCEPTION: Exposing new attack surfaces with training in transient execution[C]//Proc of the 32nd USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2023: 7303−7320

    [62]

    Maisuradze G, Rossow C. ret2spec: Speculative execution using return stack buffers[C]//Proc of the 2018 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2018: 2109−2122

    [63]

    Maisuradze G, Backes M, Rossow C. Dachshund: Digging for and securing against (non-) blinded constants in JIT code[C]//Proc of the 2017 Symp on Network and Distributed System Security. Piscataway, NJ: IEEE, 2017: 200−215

    [64]

    Wikner J, Razavi K. RETBLEED: Arbitrary speculative code execution with return instructions[C]//Proc of the 31st USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2022: 3825−3842

    [65]

    COMSEC Computer Security Group. Retbleed: Arbitrary speculative code execution with return instructions[EB/OL]. 2022[2023-12-30]. https://comsec.ethz.ch/research/microarch/retbleed

    [66]

    Chowdhuryy M H I, Yao Fan. Leaking secrets through modern branch predictors in the speculative world[J]. IEEE Transactions on Computers, 2021, 71(9): 2059−2072

    [67]

    Koruyeh E M, Khasawneh K N, Song C, et al. Spectre returns! Speculation attacks using the return stack buffer[C/OL] //Proc of the 12th USENIX Conf on Offensive Technologies. Berkeley, CA: USENIX Association, 2018[2024-02-13]. https://www.usenix.org/system/files/conference/woot18/woot18-paper-koruyeh.pdf

    [68]

    Bhattacharyya A, Sánchez A, Koruyeh E M, et al. SpecROP: Speculative exploitation of ROP chains[C]//Proc of the 23rd Int Symp on Research in Attacks, Intrusions and Defenses. Berkeley, CA: USENIX Association, 2020: 1−16

    [69]

    Bernstein D J. Cache-timing attacks on AES [EB/OL]. 2005[2023-12-29]. https://mimoza.marmara.edu.tr/~msakalli/cse466_09/cache timing-20050414.pdf

    [70]

    Intel Cor. Intel architecture instruction set extensions programming reference [EB/OL]. 2023[2023-11-25]. https://cdrdv2.intel.com/v1/dl/getContent/671368

    [71]

    Hammarlund P, Martinez A J, Bajwa A A, et al. Haswell: The fourth-generation intel core processor[J]. IEEE Micro, 2014, 34(2): 6−20 doi: 10.1109/MM.2014.10

    [72]

    Baidu Security. Meltdown V3c &V3r [EB/OL]. (2018-03-07) [2023-11-25]. https://anquan.baidu.com/article/143

    [73]

    Müller L. Kpti a mitigation method against meltdown[C/OL] //Proc of the 4th Wiesbaden Workshop on Advanced Microkernel Operating Systems. 2018[2024-02-13]. https://www.cs.hs-rm.de/~kaiser/events/wamos2018/wamos18-proceedings.pdf#page=43

    [74]

    State Key Laboratory of Computer Architecture. Meltdown V3z and it mitigation [EB/OL]. (2019-03-26) [2023-11-25]. http://www.carch.ac.cn/hzjl/xshd/201906/t20190628_497154.html

    [75]

    Intel. Speculative behavior of swapgs and segment registers [EB/OL]. (2019-08-06)[2023-12-21]. https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/speculative-behavior-swapgs-and-segment-registers.html

    [76]

    Luțaș A, Luțaș D. Bypassing KPTI using the speculative behavior of the SWAPGS instruction [EB/OL]. 2019[2023-12-25]. https://i.blackhat.com/eu-19/Thursday/eu-19-Lutas-Bypassing-KPTI-Using-The-Speculative-Behavior-Of-The-SWAPGS-Instruction-wp.pdf

    [77]

    The MITRE Corporation. CVE−2018−3640: Spectre variant V3a [EB/OL]. (2020-06-05)[2023-12-25]. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3640

    [78]

    Zheng Wei, Wu Ying, Wu Xiaoxue, et al. A survey of Intel SGX and its applications[J]. Frontiers of Computer Science, 2021, 15(1): 1−15

    [79]

    Smith J E. A study of branch prediction strategies[C]//Proc of the 25th Annual Int Symp on Computer architecture. New York: ACM, 1998: 202−215

    [80]

    O’Keeffe D, Muthukumaran D, Aublin P L, et al. Spectre attack against SGX enclave [EB/OL]. 2018[2023-12-25]. https://github.com/lsds/spectre-attack-sgx

    [81]

    Kim Y, Daly R, Kim J, et al. Flipping bits in memory without accessing them: An experimental study of DRAM disturbance errors[J]. ACM SIGARCH Computer Architecture News, 2014, 42(3): 361−372 doi: 10.1145/2678373.2665726

    [82]

    Kiriansky V, Waldspurger C. Speculative buffer overflows: Attacks and defenses[J]. arXiv preprint, arXiv: 1807.03757, 2018

    [83]

    Sternberger M. Spectre-ng: An avalanche of attacks[C/OL] //Proc of the 4th Wiesbaden Workshop on Advanced Microkernel Operating Systems. 2018[2024-02-23]. https://www.cs.hs-rm.de/~kaiser/events/wamos2018/wamos18-proceedings.pdf#page=23

    [84]

    Barberis E, Frigo P, Muench M, et al. Branch history injection: On the effectiveness of hardware mitigations against cross-privilege Spectre-v2 attacks[C] //Proc of the 31st USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2022: 971−988

    [85]

    Wiebing S, de Faveri Tron A, Bos H, et al. InSpectre Gadget: Inspecting the residual attack surface of cross-privilege Spectre v2[C/OL]//Proc of the 33rd USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2024[2024-07-25]. https://download.vusec.net/papers/inspectre_sec24.pdf

    [86]

    Bletsch T, Jiang X, Freeh V W, et al. Jump-oriented programming: A new class of code-reuse attack[C]//Proc of the 6th ACM Symp on Information, Computer and Communications Security. New York: ACM, 2011: 30−40

    [87]

    Shacham H. The geometry of innocent flesh on the bone: Return-into-libc without function calls on the x86[C]//Proc of the 14th ACM Conf on Computer and Communications Security. New York: ACM, 2007: 552−561

    [88]

    AMD Cor. Software techniques for managing speculation on AMD processors, revision 5.09. 23 [EB/OL]. (2023-05-09)[2024-01-16]. https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/tuning-guides/software-techniques-for-managing-speculation.pdf

    [89]

    INTEL. Speculative execution side channel mitigations [EB/OL]. (2021-05-26) [2024-01-16]. https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/speculative-execution-side-channel-mitigations.html

    [90]

    Huang A S, Slavenburg G, Shen J P. Speculative disambiguation: A compilation technique for dynamic memory disambiguation[J]. ACM SIGARCH Computer Architecture News, 1994, 22(2): 200−210 doi: 10.1145/192007.192012

    [91]

    Intel. Speculative store bypass [EB/OL]. (2018-5-21)[2023-12-30]. https://www.intel.cn/content/www/cn/zh/developer/articles/technical/software-security-guidance/advisory-guidance/speculative-store-bypass.html

    [92]

    Van de Pol J, Smart N P, Yarom Y. Just a little bit more[C]//Proc of the 2015 Cryptographers’ Track at the RSA Conf on Topics in Cryptology. Berlin: Springer, 2015: 3−21

    [93]

    Benger N, Van de Pol J, Smart N P, et al. “Ooh Aah. Just a Little Bit”: A small amount of side channel can go a long way[C]//Proc of the 16th Int Workshop on Cryptographic Hardware and Embedded Systems. Berlin: Springer, 2014: 75−92

    [94]

    Percival C. Cache missing for fun and profit [EB/OL]. 2005[2023-12-29]. https://css.csail.mit.edu/6.858/2014/readings/ht-cache.pdf

    [95]

    Hund R, Willems C, Holz T. Practical timing side channel attacks against kernel space ASLR[C]//Proc of the 2013 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2013: 191−205

    [96]

    Neve M, Seifert J P. Advances on access-driven cache attacks on AES[C]//Proc of the 13th Int Workshop on Selected Areas in Cryptography. Berlin: Springer, 2007: 147−162

    [97]

    Aciiçmez O. Yet another microarchitectural attack: Exploiting I-cache[C]//Proc of the 2007 ACM Workshop on Computer Security Architecture. New York: ACM, 2007: 11−18

    [98]

    Kayaalp M, Abu-Ghazaleh N, Ponomarev D, et al. A high-resolution side-channel attack on last-level cache[C] //Proc of the 53rd Annual Design Automation Conf. New York: ACM, 2016[2024-02-16]. https://doi.org/10.1145/2897937.2897962

    [99]

    Brasser F, Müller U, Dmitrienko A, et al. Software grand exposure: SGX cache attacks are practical[C]//Proc of the 11th USENIX Conf on Offensive Technologies. Berkeley, CA: USENIX Association, 2017: 11−11

    [100]

    Schwarz M, Weiser S, Gruss D, et al. Malware guard extension: Using SGX to conceal cache attacks[C]//Proc of the 14th Int Conf on Detection of Intrusions and Malware, and Vulnerability Assessment. Berlin: Springer, 2017: 3−24

    [101]

    Irazoqui G, Inci M S, Eisenbarth T, et al. Wait a minute! A fast, Cross-VM attack on AES[C]//Proc of the 17th Int Symp on Research in Attacks, Intrusions and Defenses. Berkeley, CA: USENIX Association, 2014: 299−319

    [102]

    Allan T, Brumley B B, Falkner K, et al. Amplifying side channels through performance degradation[C]//Proc of the 32nd Annual Conf on Computer Security Applications. New York: ACM, 2016: 422−435

    [103]

    Zhang Yinqian, Juels A, Reiter M K, et al. Cross-tenant side-channel attacks in PaaS clouds[C]//Proc of the 2014 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2014: 990−1003

    [104]

    Irazoqui G, Inci M S, Eisenbarth T, et al. Lucky 13 strikes back[C]//Proc of the 10th ACM Symp on Information, Computer and Communications Security. New York: ACM, 2015: 85−96

    [105]

    Irazoqui G, Eisenbarth T, Sunar B. Cross processor cache attacks[C]//Proc of the 11th ACM on Asia Conf on Computer and Communications Security. New York: ACM, 2016: 353−364

    [106]

    Gruss D, Spreitzer R, Mangard S. Cache template attacks: Automating attacks on inclusive last-level caches[C]//Proc of the 24th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2015: 897−912

    [107]

    Depoix J, Altmeyer P. Detecting spectre attacks by identifying cache side-channel attacks using machine learning [C/OL] //Proc of the 4th Wiesbaden Workshop on Advanced Microkernel Operating Systems. 2018[2024-01-23]. https://www.betriebssysteme.org/wp-content/uploads/2018/10/WAMOS_2018_paper_12.pdf

    [108]

    Ahmad B A. Real time detection of spectre and meltdown attacks using machine learning [J]. arXiv preprint, arXiv: 2006.01442, 2020

    [109]

    Panda B. Fooling the sense of cross-core last-level cache eviction based attacker by prefetching common sense[C]//Proc of the 28th Int Conf on Parallel Architectures and Compilation Techniques. New York: ACM, 2019: 138−150

    [110]

    Almeida J B, Barbosa M, Barthe G, et al. Verifying constant-time implementations[C]//Proc of the 25th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2016, 16: 53−70

    [111]

    Lee S, Shih M W, Gera P, et al. Inferring fine-grained control flow inside SGX enclaves with branch shadowing[C]//Proc of the 26th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2017: 557−574

    [112]

    Van Bulck J, Piessens F, Strackx R. SGX-Step: A practical attack framework for precise enclave execution control[C] //Proc of the 2nd Workshop on System Software for Trusted Execution. New York: ACM, 2017[2024-02-14]. https://doi.org/10.1145/3152701.3152706

    [113]

    Intel Cor. Intel Feature documentation: Indirect branch restricted speculation [EB/OL]. (2018-01-03)[2024-01-15]. https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/indirect-branch-restricted-speculation.html

    [114]

    Intel Cor. Intel Feature documentation: Single thread indirect branch predictors [EB/OL]. (2018-01-03)[2024-01-15]. https://www.intel.cn/content/www/cn/zh/developer/articles/technical/software-security-guidance/technical-documentation/single-thread-indirect-branch-predictors.html

    [115]

    Intel Cor. Intel Feature documentation: Indirect branch predictor barrier [EB/OL]. (2018-01-03)[2024-01-15]. https://www.intel.cn/content/www/cn/zh/developer/articles/technical/software-security-guidance/technical-documentation/indirect-branch-predictor-barrier.html

    [116]

    Weber D, Thomas F, Gerlach L, et al. Indirect meltdown: Building novel side-channel attacks from transient-execution attacks[C] //Proc of the 28th European Symp on Research in Computer Security. Berlin: Springer Nature, 2023: 22−42

    [117]

    Gruss D, Lipp M, Schwarz M, et al. Kaslr is dead: Long live kaslr[C]//Proc of the 9th Int Symp on Engineering Secure Software and Systems, Berlin: Springer, 2017: 161−176

    [118]

    LWN Net. Jonathan corbet: A page-table isolation update [EB/OL] (2018-04-25)[2024-02-21]. https://lwn.net/Articles/752621/

    [119]

    Hertogh M, Wiesinger M, Osterlund S, et al. Quarantine: Mitigating transient execution attacks with physical domain isolation[C]//Proc of the 26th Int Symp on Research in Attacks, Intrusions and Defenses. New York: ACM, 2023: 207−221

    [120]

    Zeller A, Gopinath R, Böhme M, et al. The fuzzing book [EB/OL]. 2019[2024-02-15]. https://publications.cispa.saarland/3120/1/index.html

    [121]

    Hur J, Song S, Kim S, et al. SpecDoctor: Differential fuzz testing to find transient execution vulnerabilities[C]//Proc of the 2022 ACM SIGSAC Conf on Computer and Communications Security. New York: ACM, 2022: 1473−1487

    [122]

    Guarnieri M, Köpf B, Morales J F, et al. Spectector: Principled detection of speculative information flows[C]//Proc of the 2020 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2020: 1−19

    [123]

    Oleksenko O, Guarnieri M, Köpf B, et al. Hide and seek with spectres: Efficient discovery of speculative information leaks with random testing[C]//Proc of the 2023 IEEE Symp on Security and Privacy. Piscataway, NJ: IEEE, 2023: 1737−1752

    [124]

    Wang Guanhua, Chattopadhyay S, Gotovchits I, et al. oo7: Low-overhead defense against spectre attacks via program analysis[J]. IEEE Transactions on Software Engineering, 2019, 47(11): 2504−2519

    [125]

    Johannesmeyer B, Koschel J, Razavi K, et al. Kasper: Scanning for generalized transient execution gadgets in the Linux kernel [C/OL] //Proc of the 2022 Network and Distributed System Security Symp. Piscataway, NJ: IEEE, 2022 [2024-02-16]. https://www.ndss-symposium.org/ndss-paper/auto-draft-247

    [126]

    Chen Yun, Hajiabadi A, Carlson T E. GADGETSPINNER: A new transient execution primitive using the loop stream detector[C]//Proc of the 2024 IEEE Int Symp on High-Performance Computer Architecture. Piscataway, NJ: IEEE, 2024: 15−30

    [127]

    Pinto S, Santos N. Demystifying arm trustzone: A comprehensive survey[J]. ACM Computing Surveys, 2019, 51(6): 1−36

    [128]

    AMD Cor. AMD secure encrypted virtualization (SEV) [EB/OL]. 2023[2024-01-25]. https://www.amd.com/zh-cn/developer/sev.html

    [129]

    RISC-V International. The RISC-V instruction set manual [EB/OL]. (2017-05-07)[2024-01-25]. https://riscv.org/wp-content/uploads/2017/05/riscv-privileged-v1.10.pdf

    [130]

    Hetterich L, Schwarz M. Branch different-spectre attacks on Apple silicon[C]//Proc of the 2022 Int Conf on Detection of Intrusions and Malware, and Vulnerability Assessment. Berlin: Springer, 2022: 116−135

    [131]

    Wu Minjun, McCamant S, Yew P C, et al. PREDATOR: A cache side-channel attack detector based on precise event monitoring[C]//Proc of the 2022 IEEE Int Symp on Secure and Private Execution Environment Design. Piscataway, NJ: IEEE, 2022: 25−36

    [132]

    Townley D, Arıkan K, Liu Y D, et al. Composable cachelets: Protecting enclaves from cache side-channel Attacks[C]//Proc of the 31st USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2022: 2839−2856

    [133]

    Yan Hui, Cui Chaoyuan. CacheHawkeye: Detecting cache side channel attacks based on memory events[J]. Future Internet, 2022, 14(1): 24−36 doi: 10.3390/fi14010024

    [134]

    Luo Mulong, Xiong Wenjie, Lee G, et al. Autocat: Reinforcement learning for automated exploration of cache-timing attacks[C] //Proc of the 2023 IEEE Int Symp on High-Performance Computer Architecture. Piscataway, NJ: IEEE, 2023: 317−332

    [135]

    Evers M, Barnes L, Clark M. The AMD next-generation “Zen 3” core[J]. IEEE Micro, 2022, 42(3): 7−12 doi: 10.1109/MM.2022.3152788

    [136]

    Purnal A, Turan F, Verbauwhede I. Double trouble: Combined heterogeneous attacks on non-inclusive cache hierarchies[C] //Proc of the 31st USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2022: 3647−3664

    [137]

    Popescu M C, Balas V E, Perescu-Popescu L, et al. Multilayer perceptron and neural networks[J]. WSEAS Transactions on Circuits and Systems, 2009, 8(7): 579−588

    [138]

    Sönmez B, Sarıkaya A A, Bahtiyar Ş. Machine learning based side channel selection for time-driven cache attacks on AES[C] //Proc of the 4th Int Conf on Computer Science and Engineering. New York: ACM, 2019[2024-02-17]. https://doi.org/10.1109/UBMK.2019.8907211

    [139]

    Ding Ruyi, Zhang Ziyue, Zhang Xiang, et al. A cross-platform cache timing attack framework via deep learning[C]//Proc of the 2022 Design, Automation & Test in Europe Conf & Exhibition. Piscataway, NJ: IEEE, 2022: 676−681

    [140]

    Tol M C, Gulmezoglu B, Yurtseven K, et al. FastSpec: Scalable generation and detection of spectre gadgets using neural embeddings[C]//Proc of the 2021 IEEE European Symp on Security and Privacy. Piscataway, NJ: IEEE, 2021: 616−632

    [141]

    Zhang Quanjun, Fang Chunrong, Yu Bowen, et al. Pre-trained model-based automated software vulnerability repair: How far are we?[J]. IEEE Transactions on Dependable and Secure Computing, 2024, 21(4): 2507−2525 doi: 10.1109/TDSC.2023.3308897

    [142]

    Fustos J, Farshchi F, Yun H. Spectreguard: An efficient data-centric defense mechanism against spectre attacks [C/OL] //Proc of the 56th Annual Design Automation Conf. New York: ACM, 2019[2024-02-11]. https://dl.acm.org/doi/pdf/10.1145/3316781.3317914

    [143]

    Loughlin K, Neal I, Ma Jiacheng, et al. DOLMA: Securing speculation with the principle of transient Non-Observability[C]//Proc of the 30th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2021: 1397−1414

    [144]

    Werner M, Unterluggauer T, Giner L, et al. ScatterCache: Thwarting cache attacks via cache set randomization[C]//Proc of the 28th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2019: 675−692

    [145]

    Bandara S, Kinsy M A. Adaptive caches as a defense mechanism against cache side-channel attacks[C]//Proc of the 3rd ACM Workshop on Attacks and Solutions in Hardware Security Workshop. New York: ACM, 2019: 55−64

    [146]

    García C P, Brumley B B. Constant-time callees with variable-time callers[C]//Proc of the 26th USENIX Conf on Security Symp. Berkeley, CA: USENIX Association, 2017: 83−98

    [147]

    Qiu Pengfei, Gao Qiang, Wang Dongsheng, et al. PMU-Leaker: Performance monitor unit-based realization of cache side-channel attacks[C]//Proc of the 28th Asia and South Pacific Design Automation Conf. 2023: 664−669

图(23)  /  表(5)
计量
  • 文章访问数:  138
  • HTML全文浏览量:  86
  • PDF下载量:  52
  • 被引次数: 0
出版历程
  • 收稿日期:  2024-03-11
  • 修回日期:  2024-09-18
  • 录用日期:  2024-10-14
  • 网络出版日期:  2024-10-20

目录

/

返回文章
返回