Decomposition instead of self-composition for proving the absence of timing channels

Author:

Antonopoulos Timos1,Gazzillo Paul1,Hicks Michael2,Koskinen Eric1,Terauchi Tachio3,Wei Shiyi2

Affiliation:

1. Yale University, USA

2. University of Maryland, USA

3. JAIST, Japan

Abstract

We present a novel approach to proving the absence of timing channels. The idea is to partition the program's execution traces in such a way that each partition component is checked for timing attack resilience by a time complexity analysis and that per-component resilience implies the resilience of the whole program. We construct a partition by splitting the program traces at secret-independent branches. This ensures that any pair of traces with the same public input has a component containing both traces. Crucially, the per-component checks can be normal safety properties expressed in terms of a single execution. Our approach is thus in contrast to prior approaches, such as self-composition, that aim to reason about multiple ( k ≥ 2) executions at once. We formalize the above as an approach called quotient partitioning, generalized to any k -safety property, and prove it to be sound. A key feature of our approach is a demand-driven partitioning strategy that uses a regex-like notion called trails to identify sets of execution traces, particularly those influenced by tainted (or secret) data. We have applied our technique in a prototype implementation tool called Blazer, based on WALA, PPL, and the brics automaton library. We have proved timing-channel freedom of (or synthesized an attack specification for) 24 programs written in Java bytecode, including 6 classic examples from the literature and 6 examples extracted from the DARPA STAC challenge problems.

Funder

Japan Society for the Promotion of Science

Defense Advanced Research Projects Agency

National Science Foundation

mext

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Cited by 18 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. ZipChannel: Cache Side-Channel Vulnerabilities in Compression Algorithms;2024 54th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN);2024-06-24

2. Relational Synthesis of Recursive Programs via Constraint Annotated Tree Automata;Lecture Notes in Computer Science;2024

3. ZeroLeak: Automated Side-Channel Patching in Source Code Using LLMs;Lecture Notes in Computer Science;2024

4. DifFuzzAR: automatic repair of timing side-channel vulnerabilities via refactoring;Automated Software Engineering;2023-10-18

5. Towards Automated Detection of Single-Trace Side-Channel Vulnerabilities in Constant-Time Cryptographic Code;2023 IEEE 8th European Symposium on Security and Privacy (EuroS&P);2023-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3