Certified password quality: A case study using Coq and linux pluggable authentication modules

4Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We propose the use of modern proof assistants to specify, implement, and verify password quality checkers. We use the proof assistant Coq, focusing on Linux PAM, a widely-used implementation of pluggable authentication modules for Linux. We show how password quality policies can be expressed in Coq and how to use Coq’s code extraction features to automatically encode these policies as PAM modules that can readily be used by any Linux system. We implemented the default password quality policy shared by two widely-used PAM modules: pam_cracklib and pam_pwquality. We then compared our implementation with the original modules by running them against a random sample of 100,000 leaked passwords obtained from a publicly available database. In doing this, we demonstrated a potentially serious bug in the original modules. The bug was reported to the maintainers of Linux PAM and is now fixed.

Cite

CITATION STYLE

APA

Ferreira, J. F., Johnson, S. A., Mendes, A., & Brooke, P. J. (2017). Certified password quality: A case study using Coq and linux pluggable authentication modules. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10510 LNCS, pp. 407–421). Springer Verlag. https://doi.org/10.1007/978-3-319-66845-1_27

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free