Timing Side-Channel Mitigation via Automated Program Repair


연구 분야: Verification



학회: ACM Transactions on Software Engineering and Methodology, Volume 33, Issue 8


초록

Side-channel vulnerability detection has gained prominence recently due to Spectre and Meltdown attacks. Techniques for side-channel detection range from fuzz testing to program analysis and program composition. Existing side-channel mitigation techniques repair the vulnerability at the IR/binary level or use runtime monitoring solutions. In both cases, the source code itself is not modified, can evolve while keeping the vulnerability, and the developer would get no feedback on how to develop secure applications in the first place. Thus, these solutions do not help the developer understand the side-channel risks in her code and do not provide guidance to avoid code patterns with side-channel risks. In this article, we present Pendulum, the first approach for automatically locating and repairing side-channel vulnerabilities in the source code, specifically for timing side channels. Our approach uses a quantitative estimation of found vulnerabilities to guide the fix localization, which goes hand-in-hand with a pattern-guided repair. Our evaluation shows that Pendulum can repair a large number of side-channel vulnerabilities in real-world applications. Overall, our approach integrates vulnerability detection, quantization, localization, and repair into one unified process. This also enhances the possibility of our side-channel mitigation approach being adopted into programmingenvironments.


Author Profile
Abhik Roychoudhury

National University of Singapore Singapore Singapore

Singapore
Author Profile
Yannic Noller

Ruhr University Bochum Bochum Germany

Germany
Author Profile
Haifeng Ruan

National University of Singapore Singapore Singapore

Singapore

📄 논문 정보

발행 연도 2024년
인용수 2
출판 국가 Germany, Singapore, Andorra, Austria
사이트 ACM
좋아요 수 0

연관 논문 목록 (52건)