Towards secure integration of cryptographic software
Authors:
Open Access
- 21 October 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-13
Abstract
While cryptography is now readily available to everyone and can, provably, protect private information from attackers, we still frequently hear about major data leakages, many of which are due to improper use of cryptographic mechanisms. The problem is that many application developers are not cryptographic experts. Even though high-quality cryptographic APIs are widely available, programmers often select the wrong algorithms or misuse APIs due to a lack of understanding. Such issues arise with both simple operations such as encryption as well as with complex secure communication protocols such as SSL. In this paper, we provide a long-term solution that helps application developers integrate cryptographic components correctly and securely by bridging the gap between cryptographers and application developers. Our solution consists of a software product line (with an underlying feature model) that automatically identifies the correct cryptographic algorithms to use, based on the developer's answers to high-level questions in non-expert terminology. Each feature (i.e., cryptographic algorithm) maps into corresponding Java code and a usage protocol describing API restrictions. By composing the user's selected features, we automatically synthesize a secure code blueprint and a usage protocol that corresponds to the selected usage scenario. Since the developer may change the application code over time, we use the usage protocols to statically analyze the program and ensure that the correct use of the API is not violated over time.Keywords
Funding Information
- Bundesministerium für Forschung, Technologie und Raumfahrt (EC SPRIDE)
- Hessisches Ministerium für Wissenschaft und Kunst (CASED)
- Deutsche Forschungsgemeinschaft (Project E1 within CRC 1119)
This publication has 32 references indexed in Scilit:
- In defense of soundinessCommunications of the ACM, 2015
- FeatureIDE: An extensible framework for feature-oriented software developmentScience of Computer Programming, 2014
- Software Product Lines2013
- An Overview of Feature-Oriented Software Development.The Journal of Object Technology, 2009
- Modular typestate checking of aliased objectsACM SIGPLAN Notices, 2007
- A Staged Static Program Analysis to Improve the Performance of Runtime Monitoring2007
- Protocol Composition Logic (PCL)Electronic Notes in Theoretical Computer Science, 2007
- A Tutorial on Feature Oriented Programming and the AHEAD Tool Suite2006
- Making a Faster Cryptanalytic Time-Memory Trade-Off2003
- Toward principles for the design of ontologies used for knowledge sharing?International Journal of Human-Computer Studies, 1995