计算机科学 > 密码学与安全
[提交于 2019年7月4日]
标题:Uncovering Information Flow Policy Violations in C Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Programmers of cryptographic applications written in C need to avoid common mistakes such as sending private data over public channels, modifying trusted data with untrusted functions, or improperly ordering protocol steps. These secrecy, integrity, and sequencing policies can be cumbersome to check with existing general-purpose tools. We have developed a novel means of specifying and uncovering violations of these policies that allows for a much lighter-weight approach than previous tools. We embed the policy annotations in C's type system via a source-to-source translation and leverage existing C compilers to check for policy violations, achieving high performance and scalability. We show through case studies of recent cryptographic libraries and applications that our work is able to express detailed policies for large bodies of C code and can find subtle policy violations. To gain formal understanding of our policy annotations, we show formal connections between the policy annotations and an information flow type system and prove a noninterference guarantee.
提交历史
来自:Darion Cassel[v1] 2019年7月4日 星期四 00:00:00 UTC