paper-with-me

Papers

Securing Optimized Code Against Power Side Channels

2022-07-06 · Rodothea Myrsini Tsoupidi, Roberto Castañeda Lozano, Elena Troubitsyna, Panagiotis Papadimitratos

Side-channel attacks impose a serious threat to cryptographic algorithms, including widely employed ones, such as AES and RSA. These attacks take advantage of the algorithm implementation in hardware or software to extract secret information via side channels. Software masking is a mitigation approach against power side-channel attacks aiming at hiding the secret-revealing dependencies from the power footprint of a vulnerable implementation. However, this type of software mitigation often depends on general-purpose compilers, which do not preserve non-functional properties. Moreover, microarchitectural features, such as the memory bus and register reuse, may also leak secret information. These abstractions are not visible at the high-level implementation of the program. Instead, they are decided at compile time. To remedy these problems, security engineers often sacrifice code efficiency by turning off compiler optimization and/or performing local, post-compilation transformations. This paper proposes Secure by Construction Code Generation (SecCG), a constraint-based compiler approach that generates optimized yet secure against power side channels code. SecCG controls the quality of the mitigated program by efficiently searching the best possible low-level implementation according to a processor cost model. In our experiments with twelve masked cryptographic functions up to 100 lines of code on Mips32 and ARM Thumb, SecCG speeds up the generated code from 75% to 8 times compared to non-optimized secure code with an overhead of up to 7% compared to non-secure optimized code at the expense of a high compilation cost. In summary, this paper proposes a formal model to generate power side channel free low-level code.

📄 PDF Abstract BibTeX arXiv:2207.02614

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCompiler Optimization

Similar Papers 제목 키워드 기반

ASCENT: Amplifying Power Side-Channel Resilience via Learning & Monte-Carlo Tree Search

2024-06-27 · Jitendra Bhandari, Animesh Basak Chowdhury, Mohammed Nabeel, Ozgur Sinanoglu 외

Power side-channel (PSC) analysis is pivotal for securing cryptographic hardware. Prior art focused on securing gate-level netlists obtained as-is from chip design automation, neglecting all the complexities and potentia…

Efficient Exploration

Securing Mobile Multiuser Transmissions with UAVs in the Presence of Multiple Eavesdroppers

2020-09-08 · Aly Sabri Abdalla, Vuk Marojevic

This paper discusses the problem of securing the transmissions of multiple ground users against eavesdropping attacks. We propose and optimize the deployment of a single unmanned aerial vehicle (UAV), which serves as an …

Position

Securing Federated Learning against Backdoor Threats with Foundation Model Integration

2024-10-23 · Xiaohuan Bi, Xi Li

Federated Learning (FL) enables decentralized model training while preserving privacy. Recently, the integration of Foundation Models (FMs) into FL has enhanced performance but introduced a novel backdoor attack mechanis…

Backdoor AttackFederated Learning

Importing Phantoms: Measuring LLM Package Hallucination Vulnerabilities

2025-01-31 · Arjun Krishna, Erick Galinkin, Leon Derczynski, Jeffrey Martin

Large Language Models (LLMs) have become an essential tool in the programmer's toolkit, but their tendency to hallucinate code can be used by malicious actors to introduce vulnerabilities to broad swathes of the software…

Code GenerationHallucinationHumanEvalLanguage Modeling+2

Targeted Hardening of Electric Distribution System for Enhanced Resilience against Earthquakes

2021-10-29 · Mahan Fakouri Fard, Mostafa Sahraei-Ardakani, Ge Ou, Mingxi Liu

Securing the power system from catastrophic natural disasters is a rising problem in power system operation and planning. This paper particularly considers earthquake and aims to evaluate and improve the resilience of po…