Phd Thesis, ETH Z¨Urich, 1997

Total Page:16

File Type:pdf, Size:1020Kb

Phd Thesis, ETH Z¨Urich, 1997 Guessing human-chosen secrets Joseph Bonneau University of Cambridge Churchill College May 2012 This dissertation is submitted for the degree of Doctor of Philosophy Declaration This dissertation is the result of my own work and includes nothing which is the outcome of work done in collaboration except where specifically indicated in the text. No parts of this dissertation have been submitted for any other qualification. This dissertation does not exceed the regulation length of 60; 000 words, including tables and footnotes. To Fletcher, for teaching me the value of hard work. I'm glad you're back. |Joseph Bonneau, May 2012 Acknowledgements I am grateful to my supervisor Ross Anderson for help every step of the way, from answering my emails when I was a foreign undergraduate to pushing me to finally finish the dissertation. He imparted countless research and life skills along the way, in addition to helping me learn to write in English all over again. I was also fortunate to be surrounded in Cambridge by a core group of \security people" under Ross' leadership willing to ask the sceptical questions needed to understand the field. In particular, I've benefited from the mentorship of Frank Stajano and Markus Kuhn, the other leaders of the group, as well as informal mentorship from Richard Clayton, Bruce Christianson, Mike Bond, George Danezis, Claudia Diaz, Robert Watson and Steven Murdoch amongst many others. I thank Arvind Narayanan for his support and mentorship from afar. I am most appreciative of the personal mentorship extended to me by Saar Drimer through my years in the lab, which always pushed me to be more honest about my own work. I am grateful to all of my collaborators, particularly my fellow students Andrew Lewis, S¨oren Preibusch, Jonathan Anderson, Rubin Xu and Ekaterina Shutova. I was also fortunate to be able to collaborate remotely with Cormac Herley and Paul van Oorschot, senior researchers who always treated me as an equal. I owe special thanks to Hyoungshick Kim, thanks to whose patience and positivity I spent thousands of hours peacefully sharing a small office. My research on passwords would not have been possible without the gracious cooperation and support of many people at Yahoo!, in particular Richard Clayton for helping to make the collaboration happen, Henry Watts, my mentor, Elizabeth Zwicky who provided extensive help collecting and analysing data, as well as Ram Marti, Clarence Chung, and Christopher Harris who helped set up data collection experiments. My research on PINs depended on many people's help, including Alastair Beresford for assistance with survey design, Daniel Amitay for sharing data, and Bernardo B´atiz-Lazofor comments about ATM history. I never would have made it to Cambridge without many excellent teachers along the way. From Stanford, I thank Ilya Mironov, Dan Boneh, and John Mitchell for inspiring me to pursue computer security research as an undergraduate. I thank Robert Plummer for his 4 mentorship, for inspiring me to love teaching and encouraging me to study at Cambridge. From earlier on, I thank all of the teachers who showed me how to learn: Mike Kelemen, Steve Hettleman, David Goldsmith, David Goldman, Michael Collins, and David Nelson. My research depended on a large suite of free software. I am indebted to the entire free soft- ware movement, in particular the developers of the GNU, Linux, Ubuntu, GNOME, Mozilla, TEX/LATEX, Python, matplotlib, SciPy, NumPy, and R projects. My time in Cambridge was supported financially by the Gates Cambridge Trust. I am par- ticularly grateful to Gordon Johnson and James Smith for personal help and encouragement, as well as all the officers of the Gates Scholars' Council during my time as president. I thank all of my friends in Cambridge for helping me adjust to life in a new country and the frustrations of life as a graduate student. I'll particularly remember my housemates Andrew Marin, Niraj Lal and Matt Warner, as well as Andra Adams, Marianne Bauer, Lindsay Chura, Justine Drennan, Molly Fox, Talia Gershon, Simone Haysom, Julia Fan Li, Stella Nordhagen, Adeline Oka, Sri Raj, Megan Sim, Jessica Shang, Brian Spatocco, Elsa Trevi~no,and Cleo Tung for close friendships, all of which turned a day around for me at some point during my time in Cambridge. Thanks to modern technology I also received considerable support from friends overseas which kept my spirits up throughout my time in England. I thank my friends Alexandra Bowe, Dave Emme, Alissa Chow and Brent Newhouse for being there when I wanted to talk to a familiar voice, as well as the entire Smitty league of Keegan Dresow, Will Helvestine, Tyler Jank, Jon Levine, Bobby Simon and Steve Zabielskis for listening to my rants and giving me a reason to laugh just about every day. Above all I am grateful for support from my family, who may be few in number and small in stature but have remained a big presence in my life through it all: my cousins Selim and Sinan, uncle Turhan and aunt Phyllis for welcoming me in Turkey after my years-delayed trip, my aunt Amy for chocolate and weekly trivia questions, my grandmother Anne for making sure I keep warm, my grandmother Margaret for teaching me to love words, my siblings Buzzy and Alissa for making sure I can laugh at myself, and my mother and father for giving me so much and teaching me to always appreciate it. I love you all. Guessing human-chosen secrets Joseph Bonneau Summary Authenticating humans to computers remains a notable weak point in computer security despite decades of effort. Although the security research community has explored dozens of proposals for replacing or strengthening passwords, they appear likely to remain entrenched as the standard mechanism of human-computer authentication on the Internet for years to come. Even in the optimistic scenario of eliminating passwords from most of today's authentication protocols using trusted hardware devices or trusted servers to perform federated authenti- cation, passwords will persist as a means of \last-mile" authentication between humans and these trusted single sign-on deputies. This dissertation studies the difficulty of guessing human-chosen secrets, introducing a sound mathematical framework modeling human choice as a skewed probability distribution. We introduce a new metric, α-guesswork, which can accurately model the resistance of a distribu- tion against all possible guessing attacks. We also study the statistical challenges of estimating this metric using empirical data sets which can be modeled as a large random sample from the underlying probability distribution. This framework is then used to evaluate several representative data sets from the most im- portant categories of human-chosen secrets to provide reliable estimates of security against guessing attacks. This includes collecting the largest-ever corpus of user-chosen passwords, with nearly 70 million, the largest list of human names ever assembled for research, the largest data sets of real answers to personal knowledge questions and the first data published about human choice of banking PINs. This data provides reliable numbers for designing security systems and highlights universal limitations of human-chosen secrets. Contents 1 Introduction 11 1.1 Model of authentication and guessing attacks 12 1.2 Outline of this dissertation 14 1.3 Prerequisites 15 1.4 Mathematical notation 16 1.5 Previous publications and collaboration 17 1.6 Statement on research ethics 18 2 Background 19 2.1 History 19 2.2 Practical aspects of password authentication 21 2.3 Improvements to passwords 26 2.4 Password cracking 34 2.5 Evaluating guessing difficulty 36 3 Metrics for guessing difficulty 43 3.1 Traditional metrics 43 3.2 Partial guessing metrics 46 3.3 Relationship between metrics 52 3.4 Application in practical security evaluation 56 4 Guessing difficulty of PINs 57 4.1 Human choice of other 4-digit sequences 57 4.2 Surveying banking PIN choices 63 4.3 Approximating banking PIN strength 65 4.4 Security implications 67 5 Estimation using sampled data 68 5.1 Naive estimation 68 5.2 Known negative results 70 5.3 Sampling error for frequent events 71 5.4 Good-Turing estimation of probabilities 72 5.5 The region of stability for aggregate metrics 75 5.6 Parametric extension of our approximations 79 6 Guessing difficulty of passwords 82 6.1 Anonymised data collection 82 6.2 Analysis of Yahoo! data 86 6.3 Comparison with other password data sets 90 6.4 Comparison with natural language patterns 93 7 Guessing difficulty of personal knowledge questions 94 7.1 Sources of data 95 7.2 Analysis of answers 97 7.3 Security implications 101 8 Sub-optimal guessing attacks 103 8.1 Divergence metrics 103 8.2 Applications 106 9 Individual-item strength metrics 112 9.1 Strength metrics 113 9.2 Estimation from a sample 115 9.3 Application to individual passwords 116 9.4 Application to small data sets 118 10 Conclusions and perspectives 120 Bibliography 147 A Glossary of symbols 148 B Additional proofs of theorems 151 B.1 Lower bound on G1 for mixture distributions 151 B.2 Bounds between G~α andµ ~α 151 B.3 Non-comparability of λ~β with G~1 and H1 153 B.4 Non-additivity of partial guessing metrics 154 B.5 Expected value of index strength metric SI(x) for a uniform distribution 156 C PIN survey detail 157 D List of password data sets 160 E Sources of census data 163 Computers are useless. They can only give you answers. |Pablo Picasso, 1968 Chapter 1 Introduction Secret knowledge stored in human memory remains the most widely deployed means of human- computer authentication.
Recommended publications
  • Curriculum Vitae – Ross Anderson
    Curriculum Vitae – Ross Anderson I am Professor of Security Engineering at Cambridge University, and a Fellow of Churchill College. Security Engineering is about building systems to remain depend- able in the face of malice, error or mischance. As a discipline, it focuses on the tools, processes and methods needed to design, implement and test complete systems, and to adapt existing systems as their environment evolves. My mission has been building security engineering into a discipline. Twenty-five years ago, some parts of it – cryptography, protocols and operating system security – had well-developed theory, but the experts mostly didn’t talk to each other. Other aspects, such as software security, were a practitioners’ art, while yet other aspects such as hardware security were just black magic. Since 1992 I’ve started research programs in neglected areas, ranging from hard- ware security through API security and signal processing to security economics. I’ve worked on applications from payments through online medical records to curfew tags, and documented their failure modes so that engineers can learn from them. I wrote the standard textbook, ‘Security Engineering – A Guide to Building Dependable Dis- tributed Systems’ of which the first edition came out in 2001 [88] and the second in 2008 [157]; I’m working on the third which should ship in 2020 (most of the chapters are already online on my website). Along the way I’ve contributed to the design of a number of widely-deployed systems, from the STS specification for prepayment utility meters (with 60 million installed) to the HomePlug standard for power-line communi- cations (widely used to extend wifi).
    [Show full text]
  • No Right to Remain Silent: Isolating Malicious Mixes Hemi Leibowitz, Bar-Ilan University, IL; Ania M
    No Right to Remain Silent: Isolating Malicious Mixes Hemi Leibowitz, Bar-Ilan University, IL; Ania M. Piotrowska and George Danezis, University College London, UK; Amir Herzberg, University of Connecticut, US https://www.usenix.org/conference/usenixsecurity19/presentation/leibowitz This paper is included in the Proceedings of the 28th USENIX Security Symposium. August 14–16, 2019 • Santa Clara, CA, USA 978-1-939133-06-9 Open access to the Proceedings of the 28th USENIX Security Symposium is sponsored by USENIX. No Right to Remain Silent: Isolating Malicious Mixes Hemi Leibowitz Ania M. Piotrowska George Danezis Bar-Ilan University, Israel University College London, UK University College London, UK Amir Herzberg University of Connecticut, US Abstract network is an example of anonymity systems that protect the meta-data. Tor is currently the most popular system offering Mix networks are a key technology to achieve network anonymity, attracting almost 2 million users daily. However, anonymity and private messaging, voting and database as research has shown [47, 40, 42, 41], Tor offers limited lookups. However, simple mix network designs are vulner- security guarantees against traffic analysis. able to malicious mixes, which may drop or delay packets The need for strong anonymity systems resulted in re- to facilitate traffic analysis attacks. Mix networks with prov- newed interest in onion mixnets [12]. In an onion mixnet, able robustness address this drawback through complex and sender encrypts a message multiple times, using the public expensive proofs of correct shuffling but come at a great cost keys of the destination and of multiple mixes. Onion mixnets and make limiting or unrealistic systems assumptions.
    [Show full text]
  • Better Anonymous Communications
    Better Anonymous Communications George Danezis University of Cambridge Computer Laboratory Queens' College January 2004 This dissertation is submitted for the degree of Doctor of Philosophy Declaration This dissertation is the result of my own work and includes nothing which is the outcome of work done in collaboration except where speci¯cally indi- cated in the text and summarised in section 1.3. This dissertation does not exceed the regulation length of 600001 words, including tables and footnotes. 1using detex thesis.tex | wc Acknowledgements \No man is an island, entire of itself; every man is a piece of the continent, a part of the main." Meditation 17, Devotions Upon Emergent Occasions | John Donne I am deeply indebted to my supervisor and teacher Ross Anderson, for al- lowing me to join his research group, and helping me at key points during the last three years. I hope this document shows that his trust in me was justi¯ed. I am also grateful to Robin Walker, my director of studies, for his support during the last six years and for giving me the opportunity to study in Cambridge. These years of research would have been considerably less productive without the local scienti¯c community, my colleagues in the computer secu- rity group of the Computer Laboratory, but also my colleagues from around the world. I would like to specially thank my co-authors, Richard Clayton, Markus Kuhn, Andrei Serjantov, Roger Dingledine, Nick Mathewson and Len Sassaman. This research would not have been possible without my parents. At every stage of my academic life they acted as role models, provided moral and ¯nancial support.
    [Show full text]
  • Design and Analysis Methods for Privacy Technologies
    Arenberg Doctoral School of Science, Engineering & Technology Faculty of Engineering Department of Electrical Engineering (ESAT) Design and analysis methods for privacy technologies Carmela Troncoso Dissertation presented in partial fulfillment of the requirements for the degree of Doctor in Electrical Engineering April 2011 Design and analysis methods for privacy technologies Carmela Troncoso Jury: Prof. Dr. Ir. Ann Haegemans, chairman Prof. Dr. Ir. Adhemar Bultheel, acting chairman Prof. Dr. Ir. Bart Preneel, promotor Dissertation presented in partial Prof. Dr. Ir. Claudia Diaz, promotor fulfillment of the requirements for Prof. Dr. Ir. Geert Deconinck the degree of Doctor Prof. Dr. Ir. Frank Piessens in Electrical Engineering Prof. Dr. Nikita Borisov (University of Illinois at Urbana-Champaign) Dr. George Danezis (Microsoft Research Cambridge) April 2011 © Katholieke Universiteit Leuven – Faculty of Engineering Arenbergkasteel, B-3001 Leuven-Heverlee, Belgium Alle rechten voorbehouden. Niets uit deze uitgave mag worden vermenigvuldigd en/of openbaar gemaakt worden door middel van druk, fotocopie, microfilm, elektronisch of op welke andere wijze ook zonder voorafgaande schriftelijke toestemming van de uitgever. All rights reserved. No part of the publication may be reproduced in any form by print, photoprint, microfilm or any other means without written permission from the publisher. Legal depot number D/2011/7515/52 ISBN number 978-94-6018-350-8 Acknowledgements People have always told me that writing a thesis is a solo journey. Now I am at the end of the road and when I look back there were hard moments, but I have felt everything but alone in this quest. First of all I want to thank my advisors Bart Preneel and Claudia Diaz, who believed in me from the first day and let me know they trusted me every day of my PhD.
    [Show full text]
  • Prof. George Danezis, B.A. (Hons), M.A. (Cantab), Ph.D., FBCS
    Prof. George Danezis, B.A. (Hons), M.A. (Cantab), Ph.D., FBCS Contact Information University College London, Voice: { Twitter: @gdanezis Dept. of Computer Science, E-Mail: [email protected] LinkedIn: gdanezis London WC1E 6BT, U.K. Web: http://danez.is Skype: george danezis Research Interests Computer security, privacy technologies, traffic analysis, peer-to-peer networking & distributed ledgers, inference and probabilistic modelling, applied cryptography, smart grids and transportation security. Employment Dept. of Computer Science, University College London, UK Oct. 2016 { present Professor of Security and Privacy Engineering Oct. 2016 { Nov. 2020 Turing Institute Faculty Fellow Oct. 2013 { Oct. 2016 Reader in Security and Privacy Engineering Full-time research in security and privacy, teaching duties and holding grants funding 8 doctoral and 2 post-doctoral researchers. Facebook & Novi, London, UK Feb. 2019 { Jul. 2021 Research Scientist Chainspace.io, London, UK Sept. 2018 { Feb. 2019 Co-founder & Head of Research Co-founded the blockchain start-up and acted as Head of Research. Successful exit, with the team moving to Facebook. Microsoft Research, Cambridge, UK Sept. 2009 { Sept. 2013 Researcher Sept. 2007 { Aug. 2009 Post-doctoral researcher Researcher in security and privacy, under Andy Gordon, Byron Cook, Luca Cardelli and Tuomas Aura: full time research; managing post-doctoral researchers and interns; and privacy lead for the lab. ESAT, Katholieke Universiteit Leuven, Belgium Oct. 2005 { Sept. 2007 Post-doctoral visiting fellow Post-doctoral fellowship funded by the Flemish research council (FWO) and the Katholieke Universiteit Leuven, at the COSIC group headed by Prof. Bart Preneel. Computer Laboratory, University of Cambridge, UK June 2004 { Oct.
    [Show full text]
  • Security Engineering: a Guide to Building Dependable Distributed Systems, Second Edition Published by Wiley Publishing, Inc
    Security Engineering A Guide to Building Dependable Distributed Systems Second Edition Ross J. Anderson Wiley Publishing, Inc. Security Engineering: A Guide to Building Dependable Distributed Systems, Second Edition Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 Copyright © 2008 by Ross J. Anderson. All Rights Reserved. Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-06852-6 Manufactured in the United States of America 10987654321 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation.
    [Show full text]
  • Infrastructure-Based Anonymous Communication Protocols in Future Internet Architectures
    Infrastructure-based Anonymous Communication Protocols in Future Internet Architectures Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Electrical and Computer Engineering Chen Chen B.S., Department of Automation, Tsinghua University M.S., Electrical and Computer Engineering, Carnegie Mellon University Carnegie Mellon University Pittsburgh, PA August 2018 c 2018 Chen Chen. All rights reserved. iii Acknowledgments I would like to thank every person who helped me throughout my Ph.D. journey. First and foremost, I would like to express my deepest gratefulness to my dearest advisor, Dr. Adrian Perrig, for his mentoring, insights, and inspiration. His dedication and enthusiasm for research always motivate me to dive into new research areas and face new challenges. His guidance on both my academic and everyday life navigates me through difficult times. His insights and constructive criticism inspire me to conquer doubts and live up to my full potential. I would also like to thank my thesis committee members for all their assistance and insightful feedback: Dr. Lujo Bauer, Dr. George Danezis, Dr. Vyas Sekar. I’m also deeply indebted to all my collaborators: Daniele E. Asoni, Dr. Fan Bai, Dr. David Barrera, Dr Hsu-Chun Hsiao, Dr. Petros Maniatis, Dr. Steve Matsumoto, Dr. Himanshu Raj, Dr. Stefan Saroiu, Dr. Ahren Studer, Dr. Carmela Troncoso, Dr. Amit Vasudevan, Dr. Alec Wolman, Dr. James Zeng. I’m extremely fortunate to have worked with so many talented and hardworking researchers. I’m particularly grateful to Dr. Stefan Saroiu, my mentor at Microsoft research, who taught me about essential skills on critical thinking, which greatly benefits my journey.
    [Show full text]
  • Trustworthy and Scalable Anonymous Communication
    c 2012 Prateek Mittal TRUSTWORTHY AND SCALABLE ANONYMOUS COMMUNICATION BY PRATEEK MITTAL DISSERTATION Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Electrical and Computer Engineering in the Graduate College of the University of Illinois at Urbana-Champaign, 2012 Urbana, Illinois Doctoral Committee: Assistant Professor Nikita Borisov, Chair Assistant Professor Matthew Caesar Dr. George Danezis, Microsoft Research Adjunct Professor P. R. Kumar Professor Nitin Vaidya ABSTRACT The architectures of deployed anonymity systems such as that of the Tor net- work suffer from the problems of (a) limited scalability, (b) reliance on a few central points of trust, and (c) trust issues due to Sybil attack. In this thesis, we investigate the design of novel approaches to anonymous communication that are scalable, decentralized, and Sybil-resilient. First, we begin by investigating security vulnerabilites in existing P2P anonymity systems, and find fundamental limitations in their designs. Sec- ond, we propose novel protocols for P2P anonymous communication that can successfully overcome these limitations. Third, we describe a protocol for detecting malicious Sybil identities using information about social network trust relationships. Fourth, we present protection mechanisms for DHTs that also leverage social network trust relationships to defend against the Sybil attack while preserving the privacy of social contacts and providing a basis for pseudonymous communication. Finally, we describe a protocol for trust- worthy and scalable anonymous communication that can directly leverage users’ trusted social contacts. We evaluate the effectiveness of our proto- cols using theoretical analysis, simulations, implementations and a Facebook application. ii To my family iii ACKNOWLEDGMENTS This dissertation would not have been possible without the help of my advisor Nikita Borisov.
    [Show full text]