Mimesis Aegis: a Mimicry Privacy Shield a System’S Approach to Data Privacy on Public Cloud

Total Page:16

File Type:pdf, Size:1020Kb

Mimesis Aegis: a Mimicry Privacy Shield a System’S Approach to Data Privacy on Public Cloud Mimesis Aegis: A Mimicry Privacy Shield A System’s Approach to Data Privacy on Public Cloud Billy Lau, Simon Chung, Chengyu Song, Yeongjin Jang, Wenke Lee, and Alexandra Boldyreva College of Computing, Georgia Institute of Technology, Atlanta, GA 30332 fbilly, pchung, csong84, yeongjin.jang, wenke, [email protected] Abstract transforming them to be fed to the underlying app, and reverse-transform the data from the app before display- We are now in the intersection of the cloud computing ing the plaintext data to the user. This technique allows age and mobile revolution. Increasing number of users M-Aegis to transparently integrate with most cloud ser- are storing and exchanging their data from their mo- vices without hindering usability and without the need bile devices to and through public cloud services such for reverse-engineering. We implemented a prototype of as those provided by Google, Facebook, Apple, and Mi- M-Aegis on Android and show that it can support a num- crosoft. Although users may want to have faith in cloud ber of popular cloud services, e.g. Gmail, Google Hang- providers to provide good security protection, the recent out, Facebook, WhatsApp, and Viber. Edward Snowden story is the latest reminder of the real- Our performance evaluation and user study show that ity: the confidentiality of any data in public clouds can users incur minimal overhead in adopting M-Aegis on be violated, and consequently, while the providers may Android: imperceptible encryption/decryption latency not be “doing evil”, we can not and should not trust them and very low and adjustable false positive rate when with data confidentiality. searching over encrypted data. To better protect the privacy of user data stored on the cloud, in this paper we propose a privacy-preserving sys- 1 Introduction tem called Mimesis Aegis (M-Aegis) that is suitable for mobile platform. M-Aegis presents a novel approach to As a result of the growth in cloud computing and mobile user data privacy by providing good isolation and pre- technology, today we witness a continuously increasing serving user experience through the creation of a concep- number of users who utilize mobile devices [2] to interact tual layer called Layer 7.5 (L-7.5), which is interposed with public cloud services (PCS) (e.g. Gmail, Outlook, between the application (Layer 7) and the user (Layer 8). and WhatsApp) as an essential part of their daily lives. This approach allows M-Aegis to implement a true end- Generally, while the user’s connectivity to the Internet is to-end encryption of user data with three goals in mind: improved, the problem of preserving data privacy in the 1) plaintext data is never visible to the (untrusted) client interaction with PCS is yet unsolved. In fact, news about app used to access the cloud service or any intermediary the US government’s alleged surveillance programs re- entities in the communication; 2) the original user expe- minds everybody about a very unsatisfactory status quo: rience with target apps is preserved; and 3) our technique while PCS are essentially part-of-life, the default way is generalizable to a large number of apps and resilient to of utilizing them exposes the users to privacy breaches, app updates, hence our solution is scalable. We argue because it implicitly requires the users to trust the PCS that while existing solutions may achieve a combination providers with the confidentiality of their data, and thus of these goals, none can achieve all three, and thus M- their privacy; but such trust truly is unjustified, if not Aegis presents a clear advantage from the point of view misplaced. Incidents that demonstrate the breach of this of three entities in a security ecosystem: the user, the trust are easy to come by: 1) PCS providers are bounded system, and the developer. by law to share their users’ data with surveillance agen- In order to preserve the exact application workflow cies [12], 2) it is the business model of the PCS providers and look-and-feel, M-Aegis utilizes L-7.5’s unique lay- to go through their users’ data and share it with third par- ering hierarchy to form a coating on top of existing ap- ties [10, 19, 22, 40], 3) operator errors [34] can result in plication GUIs to both intercept user plaintext before unintended data access, and 4) data servers can be com- 1 promised by attackers [47]. bile device users simply do not favor using mobile To alter this undesirable status quo, solutions should browsers [28] to access PCS. Therefore, we rule out be built based on an updated trust model of everyday conventional browser-extension/plugin-based solu- communication that better reflects the reality of threats tions. mentioned earlier. In particular, new solutions must first 2. For a solution to be adoptable, it must preserve user assume PCS providers to be untrusted. This implies that experience. We posit that users will not accept solu- all other entities that are controlled by the PCS providers, tions that require them to switch between different including apps that users installed to engage with the apps to perform their daily tasks. Therefore, sim- PCS, must also be assumed untrusted. ply porting solutions like PGP onto mobile platform Although there are a plethora of apps available today would not work, because besides forcing users to that comes in various combinations of look-and-feel and use a separate and custom app, and it is impossible features, we observed that for a large class of these apps to recreate the richness and unique user experience that provides text communication services (e.g. email or of all existing email apps offered by various PCS private/group messaging categories), users can still enjoy providers today. In the context of mobile devices, the same quality of service1 without needing to reveal PCS nowadays are competing for market share not the true content of their data to the PCS providers. PCS only by offering more reliable infrastructure to fa- providers are essentially message routers and can func- cilitate user communication, but also by offering a tion normally without needing to know the content of the better user experience [14, 57]. Ultimately, users messages being delivered, analogous to postman deliver- will choose apps that they feel most comfortable ing letters without needing to learn the actual content of with. To reduce interference with the user’s interac- the letters. tion with the app of their choice, security solutions Hence, in theory, applying end-to-end encryption must be retrofittable to existing apps. Solutions that (E2EE) without assuming trust in the PCS providers repackage/rewrite existing apps have this criteria. seems to solve the problem. However, in practice, the 3. For a solution to be sustainable, it must be easy to direct application of E2EE solutions onto the mobile maintain and scalable: the solution must be suffi- device environment is more challenging than originally ciently general-purpose, requiring minimal efforts thought. A good solution must present clear advantages to support new apps and withstand app updates. to the entire mobile security ecosystem, in particular ac- In the past, email was one of the very few means counting for these factors: the users’ ease-of-use, hence of communication and protecting it is relatively acceptability and adoptability; the developers’ efforts to straightforward because email protocols (e.g. POP maintain support, and the feasibility and deployability of and IMAP) are well defined and therefore custom solution on the mobile system. From this analysis, we privacy-preserving apps can be built to serve this formulate three key challenges that must be addressed need. However, with the plethora of PCS that are coherently: becoming indispensable in a user’s everyday life today, a good solution should also be able to in- 1. For a solution to be secure, it must be properly tegrate security features to apps without requiring isolated from untrusted entities. It is obvious the reverse engineering of the app logic and/or net- that E2EE cannot protect data confidentiality if the work protocols, which are largely undocumented plaintext or even the encryption key can be com- and possibly proprietary (e.g. Skype). promised by architectures that risk exposing these Mimesis Aegis (M-Aegis) values. Traditional solutions like PGP [13] and In this paper, we introduce , newer solutions like Gibberbot [5], TextSecure [11], a privacy-preserving system that “mimics” the look and and SafeSlinger [41] provide good isolation prop- feel of existing apps to preserve user experience and erty, but forces user to use custom apps, which workflow on mobile devices, without changing the un- can cause usability problems (refer to (2)). Solu- derlying OS or modifying/repackacing existing apps. M- tions that repackage/rewrite existing apps to intro- Aegis achieves the design goals by operating at a con- Layer 7.5 (L-7.5) duce additional security checks [65, 27] do not have ceptual layer we call that is positioned this property (further discussed in Sect. 2.3). So- above the existing application layer (OSI Layer 7 [8]), lutions in the form of browser plugins/extensions and interacts directly with the user (popularly labeled as also do not have this property (further discussed in Layer 8 [16, 4]). Sect. 2.2), and they generally do not fit into the mo- From a system’s perspective, L-7.5 is a transparent bile security landscape because besides the fact that window in an isolated process that interposes itself be- mobile browsers do not support extensions [7], mo- tween Layer 7 and 8. The interconnectivity between these layers is achieved using the accessibility frame- 1the apps’ functionality and user experience are preserved work, which is available as an essential feature on mod- 2 ern operating systems (OS).
Recommended publications
  • Biting Into Forbidden Fruit
    Biting into the forbidden fruit Lessons from trusting Javascript crypto Krzysztof Kotowicz, OWASP Appsec EU, June 2014 About me • Web security researcher • HTML5 • UI redressing • browser extensions • crypto • I was a Penetration Tester @ Cure53 • Information Security Engineer @ Google Disclaimer: “My opinions are mine. Not Google’s”. Disclaimer: All the vulns are fixed or have been publicly disclosed in the past. Introduction JS crypto history • Javascript Cryptography Considered Harmful http://matasano.com/articles/javascript- cryptography/ • Final post on Javascript crypto http://rdist.root.org/2010/11/29/final-post-on- javascript-crypto/ JS crypto history • Implicit trust in the server to deliver the code • SSL/TLS is needed anyway • Any XSS can circumvent the code • Poor library quality • Poor crypto support • No secure keystore • JS crypto is doomed to fail Doomed to fail? Multiple crypto primitives libraries, symmetric & asymmetric encryption, TLS implementation, a few OpenPGP implementations, and a lot of user applications built upon them. Plus custom crypto protocols. https://crypto.cat/ https://www.mailvelope.com/ http://openpgpjs.org/ JS crypto is a fact • Understand it • Look at the code • Find the vulnerabilities • Analyze them • Understand the limitations and workarounds • Answer the question: can it be safe? JS crypto vulns in the wild • Language issues • Caused by a flaw of the language • Web platform issues • Cased by the web • Other standard bugs • out of scope for this presentation Language issues Language issues matter
    [Show full text]
  • A History of End-To-End Encryption and the Death of PGP
    25/05/2020 A history of end-to-end encryption and the death of PGP Hey! I'm David, a security engineer at the Blockchain team of Facebook (https://facebook.com/), previously a security consultant for the Cryptography Services of NCC Group (https://www.nccgroup.com). I'm also the author of the Real World Cryptography book (https://www.manning.com/books/real-world- cryptography?a_aid=Realworldcrypto&a_bid=ad500e09). This is my blog about cryptography and security and other related topics that I Ûnd interesting. A history of end-to-end encryption and If you don't know where to start, you might want to check these popular the death of PGP articles: posted January 2020 - How did length extension attacks made it 1981 - RFC 788 - Simple Mail Transfer Protocol into SHA-2? (/article/417/how-did-length- extension-attacks-made-it-into-sha-2/) (https://tools.ietf.org/html/rfc788) (SMTP) is published, - Speed and Cryptography the standard for email is born. (/article/468/speed-and-cryptography/) - What is the BLS signature scheme? (/article/472/what-is-the-bls-signature- This is were everything starts, we now have an open peer-to-peer scheme/) protocol that everyone on the internet can use to communicate. - Zero'ing memory, compiler optimizations and memset_s (/article/419/zeroing-memory- compiler-optimizations-and-memset_s/) 1991 - The 9 Lives of Bleichenbacher's CAT: New Cache ATtacks on TLS Implementations The US government introduces the 1991 Senate Bill 266, (/article/461/the-9-lives-of-bleichenbachers- which attempts to allow "the Government to obtain the cat-new-cache-attacks-on-tls- plain text contents of voice, data, and other implementations/) - How to Backdoor Di¸e-Hellman: quick communications when appropriately authorized by law" explanation (/article/360/how-to-backdoor- from "providers of electronic communications services di¸e-hellman-quick-explanation/) and manufacturers of electronic communications - Tamarin Prover Introduction (/article/404/tamarin-prover-introduction/) service equipment".
    [Show full text]
  • Wsemail: a Retrospective on a System for Secure Internet Messaging Based on Web Services
    WSEmail: A Retrospective on a System for Secure Internet Messaging Based on Web Services Michael J. May Kevin D. Lux Kinneret Academic College University of Pennsylvania, Rowan University [email protected] [email protected] Carl A. Gunter University of Illinois Urbana-Champaign [email protected] Abstract 1 Introduction Web services are a mature technology nearing their Web services offer an opportunity to redesign a va- twentieth birthday. They have created the founda- riety of older systems to exploit the advantages of a tion for highly interoperable distributed systems to flexible, extensible, secure set of standards. In this communicate over the Internet using standardized work we revisit WSEmail, a system proposed over protocols (e.g. SOAP, JSON) and security mech- ten years ago to improve email by redesigning it as anisms (e.g. OAuth (IETF RFC 6749), XMLD- a family of web services. WSEmail offers an alterna- SIG [5]). Legacy systems and protocols must be tive vision of how instant messaging and email ser- reevaluated to see how they can benefit from mod- vices could have evolved, offering security, extensi- ern architectures, standards, and tools. As a case bility, and openness in a distributed environment in- study of such an analysis and redesign, we present stead of the hardened walled gardens that today's an expanded study of WSEmail [20], electronic mail rich messaging systems have become. WSEmail's ar- redesigned as a family of web services we first imple- chitecture, especially its automatic plug-in download mented and presented in 2005. feature allows for rich extensions without changing the base protocol or libraries.
    [Show full text]
  • How Secure Is Textsecure?
    How Secure is TextSecure? Tilman Frosch∗y, Christian Mainkay, Christoph Badery, Florian Bergsmay,Jorg¨ Schwenky, Thorsten Holzy ∗G DATA Advanced Analytics GmbH firstname.lastname @gdata.de f g yHorst Gortz¨ Institute for IT-Security Ruhr University Bochum firstname.lastname @rub.de f g Abstract—Instant Messaging has gained popularity by users without providing any kind of authentication. Today, many for both private and business communication as low-cost clients implement only client-to-server encryption via TLS, short message replacement on mobile devices. However, until although security mechanisms like Off the Record (OTR) recently, most mobile messaging apps did not protect confi- communication [3] or SCIMP [4] providing end-to-end con- dentiality or integrity of the messages. fidentiality and integrity are available. Press releases about mass surveillance performed by intelli- With the advent of smartphones, low-cost short-message gence services such as NSA and GCHQ motivated many people alternatives that use the data channel to communicate, to use alternative messaging solutions to preserve the security gained popularity. However, in the context of mobile ap- and privacy of their communication on the Internet. Initially plications, the assumption of classical instant messaging, fueled by Facebook’s acquisition of the hugely popular mobile for instance, that both parties are online at the time the messaging app WHATSAPP, alternatives claiming to provide conversation takes place, is no longer necessarily valid. secure communication experienced a significant increase of new Instead, the mobile context requires solutions that allow for users. asynchronous communication, where a party may be offline A messaging app that claims to provide secure instant for a prolonged time.
    [Show full text]
  • Is Bob Sending Mixed Signals?
    Is Bob Sending Mixed Signals? Michael Schliep Ian Kariniemi Nicholas Hopper University of Minnesota University of Minnesota University of Minnesota [email protected] [email protected] [email protected] ABSTRACT Demand for end-to-end secure messaging has been growing rapidly and companies have responded by releasing applications that imple- ment end-to-end secure messaging protocols. Signal and protocols based on Signal dominate the secure messaging applications. In this work we analyze conversational security properties provided by the Signal Android application against a variety of real world ad- versaries. We identify vulnerabilities that allow the Signal server to learn the contents of attachments, undetectably re-order and drop messages, and add and drop participants from group conversations. We then perform proof-of-concept attacks against the application to demonstrate the practicality of these vulnerabilities, and suggest mitigations that can detect our attacks. The main conclusion of our work is that we need to consider more than confidentiality and integrity of messages when designing future protocols. We also stress that protocols must protect against compromised servers and at a minimum implement a trust but verify model. 1 INTRODUCTION (a) Alice’s view of the conversa-(b) Bob’s view of the conversa- Recently many software developers and companies have been inte- tion. tion. grating end-to-end encrypted messaging protocols into their chat applications. Some applications implement a proprietary protocol, Figure 1: Speaker inconsistency in a conversation. such as Apple iMessage [1]; others, such as Cryptocat [7], imple- ment XMPP OMEMO [17]; but most implement the Signal protocol or a protocol based on Signal, including Open Whisper Systems’ caching.
    [Show full text]
  • Online Anonymity Islamic State and Surveillance
    online anonymity islamic state and surveillance Jamie Bartlett Alex Krasodomski-Jones March 2015 Open Access. Some rights reserved. As the publisher of this work, Demos wants to encourage the circulation of our work as widely as possible while retaining the copyright. We therefore have an open access policy which enables anyone to access our content online without charge. Anyone can download, save, perform or distribute this work in any format, including translation, without written permission. This is subject to the terms of the Demos licence found at the back of this publication. Its main conditions are: . Demos and the author(s) are credited . This summary and the address www.demos.co.uk are displayed . The text is not altered and is used in full . The work is not resold . A copy of the work or link to its use online is sent to Demos. You are welcome to ask for permission to use this work for purposes other than those covered by the licence. Demos gratefully acknowledges the work of Creative Commons in inspiring our approach to copyright. To find out more go to www.creativecommons.org Partners Credits Commissioned by? Published by Demos March 2015 © Demos. Some rights reserved. Third Floor Magdalen House 136 Tooley Street London SE1 2TU [email protected] www.demos.co.uk 2 INTRODUCTION This is a very short discussion paper about the way in which terrorist groups, and specifically Islamic State, use modern encryption systems to evade surveillance. It examines how the risks of online anonymity are weighed against its many social, personal and economic benefits.
    [Show full text]
  • Going Dark: Impact to Intelligence and Law Enforcement and Threat Mitigation
    GOING DARK: IMPACT TO INTELLIGENCE AND LAW ENFORCEMENT AND THREAT MITIGATION Bonnie Mitchell Krystle Kaul G. S. McNamara Michelle Tucker Jacqueline Hicks Colin Bliss Rhonda Ober Danell Castro Amber Wells Catalina Reguerin Cindy Green-Ortiz Ken Stavinoha ACKNOWLEDGEMENTS We would like to first thank the Office of the Director of National Intelligence (ODNI) for its generous funding and support for our study and learning journey to the DEFCON hacking conference. We are also very grateful to the Department of Homeland Security (DHS) for its support during the duration of the program. We could not have completed this study without the unwavering support and dedication of Ms. Bonnie Mitchell, ODNI Deputy National Intelligence Manager for the Western Hemisphere and the Homeland, our devoted Team Champion who steered us throughout this study and helped turn an idea into a product. We would like to acknowledge and thank each member of our public-private sector working group for their tireless efforts from around the U.S., which includes Krystle Kaul, G. S. McNamara, Michelle Tucker, Jacqueline Hicks, Colin Bliss, Rhonda Ober, Danell Castro, Amber Wells, Catalina Reguerin, Cindy Green- Ortiz and Ken Stavinoha. We are very thankful for all the unique insight we received from interviewees who contributed to this report by educating our group on the many aspects of ‘going dark,’ and we take full responsibility for any and all errors of fact or interpretation implied or explicit in this paper. Our interviewees include the Village sponsors at DEF CON, private sector industry experts and government officials. We are thankful for the interesting and diverse perspectives particularly from senior government officials and private sector experts.
    [Show full text]
  • Introduction to Computer Security
    CSCI-UA.9480: Introduction to Computer Security Spring 2019 Instructor: Nadim Kobeissi Office Hours: TBA, TBA – TBA. Email: [email protected] Office Number: Room TBA. Course Information: • Course number and section: CSCI-UA9480. • Course title: Introduction to Computer Security. • Course description: Technology increasingly permeates every aspect of our lives, including commu- nication, finance and health. The security of the computer systems that enable these services has become a critical issue. This course will cover basic principles of computer security and security engineering. It will introduce fundamental computer security concepts, principles, and techniques. It will also cover notions of real-world cryptography, the mathematical building blocks that underlie any digital security construction. This course will focus on security from an attacker’s perspective (threat modeling) and the defender’s perspective (building and deploying secure systems). Specific topics will include operating system security, network security, web security, applied cryptography, security economics and security psychology. Course projects will focus both on writing secure code and exploiting insecure code. • Prerequistes: CSCI-UA.0201 (Computer Systems Organization) and experience with computer sys- tems level programming languages (e.g. C, and C++ programming). Recommended prerequisite courses include CSCI-UA.0202 (Operating Systems), and CSCI-UA.0480-009 (Computer Networks). Experience with web development will also be helpful. • Class meeting days and times: Mondays and Wednesdays, 3:00pm – 4:30pm. Room TBA. • Course website: https://computersecurity.paris. Course Overview and Goals: Upon completion of this course, students will be able to: • Understand the basic principles of computer security. • Understand the basic principles of the cryptographic constructions underlying modern computer security.
    [Show full text]
  • Download Tor Browser Free Tor Browser V10.0.16 (X86 & X64) Free Download
    download tor browser free Tor Browser v10.0.16 (x86 & x64) Free Download. The Tor Browser is a web broswer that anonymizes your web traffic using the Tor network, making it easy to protect your identity online.A few caveats: Browsing the web over Tor is slower than the clearnet, and some major web services block. Tor Browser Overview : New Tor Browser 10.0.11 is the latest version of Tor Browser which is famous as one of the most widely used private browsers in the world. By using this one browser, you can surf the internet anonymously without the need for other supporting applications. You just need to run this latest Browser , and you can easily open all blocked sites even by your internet provider. Really a really cool browser isn’t it? No need for add ons, pluggins, or other applications to bypass sites blocked by your provider. The Latest Browser is also anonymous, so all your real identities will not be recorded on the internet. You can actually surf safely on the internet when using this private browser. In this Latest Tor Browser , there are several bugs that have been fixed and of course it is much more stable than the previous version. How do I use Tor? Tor is a free, open-source software that allows you to browse the internet anonymously. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents those sites from learning your physical location.
    [Show full text]
  • Cyber Warnings E-Magazine – January 2017 Edition Copyright © Cyber Defense Magazine, All Rights Reserved Worldwide
    1 Cyber Warnings E-Magazine – January 2017 Edition Copyright © Cyber Defense Magazine, All rights reserved worldwide CONTENTS CYBER WARNINGS Published monthly by Cyber Defense Magazine and distributed electronically via opt-in Email, HTML, PDF and Gearing up for RSA Conference 2017, What’s Hot in InfoSec? .. 3 Online Flipbook formats. 3 Top tips for companies moving to public cloud ........................ 5 PRESIDENT The Advantages of Hybrid Source and Binary Static Analysis for Stevin Miliefsky Security Vulnerability Detection .................................................8 [email protected] The 100-Day Cybersecurity Plan for a New Administration ...... 13 EDITOR Pierluigi Paganini, CEH Major Players Fall Victim to DDoS Attacks ............................... 16 [email protected] Untethered Power Sourcing Could Hitch Devices to Additional Security ................................................................................... 19 ADVERTISING Jessica Quinn The security’s challenges of an Internet of Things ................... 22 [email protected] Cyber Security Fears of Today and Tomorrow ......................... 26 KEY WRITERS AND CONTRIBUTORS AMAZON’S ECHO MAY BE SENDING ITS SOUND WAVES Dr. Konstantin Malkov INTO THE COURT ROOM AS OUR FIRST “SMART WITNESS” Bill Graham Kirsten Bay ................................................................................................ 28 Yevgeniya Davydov Anamika Kumari The CISO’s New Year’s Resolutions for 2017 .........................
    [Show full text]
  • The Crypto Cat Is out of the Bag: an Illustrative Inventory of Widely-Available Encryption Applications
    December 8, 2015 The Crypto Cat is Out of the Bag: An Illustrative Inventory of Widely-Available Encryption Applications When it comes to encryption, the genie is out of the bottle. But encryption isn’t magic. It’s math, and very well-known math at that. The basic principles behind modern end-to-end encryption of digital messages, where only the recipient of the message can decode it, are nearly four decades old.1 U.S. companies like Apple and Facebook, providers of the encrypted messaging services iMessage and WhatsApp, don’t have a monopoly on strong end-to-end encryption tools. Strong encryption tools are everywhere, and over a billion ordinary people around the world rely on them every day. There are countless applications that are freely available online, across the globe, with unbreakable end-to-end encryption. The vast majority of those applications are either “open source” software that anyone is free to use, review, copy or build on,2 and/or are offered by companies, organizations or developers outside of the United States. In fact, it’s so easy to create new end-to-end encryption apps, jihadists have been coding their very own secure messaging tools since at least 2007, tools with names like Mujahadeen Secrets and Security of the Mujahid.3 Another app that terrorists are claimed to have used, Telegram, is based in Berlin.4 1 The foundational work in this area began with Whitfield Diffie and Martin Hellman’s New Directions in Cryptography, IEEE Transactions in Information Theory (Nov. 6, 1976), available at http://www- ee.stanford.edu/~hellman/publications/24.pdf.
    [Show full text]
  • Upgrading HTTPS in Mid-Air: an Empirical Study of Strict Transport Security and Key Pinning
    Upgrading HTTPS in Mid-Air: An Empirical Study of Strict Transport Security and Key Pinning Michael Kranch Joseph Bonneau Princeton University Princeton University [email protected] [email protected] Abstract—We have conducted the first in-depth empirical other browser security features, namely the same-origin policy study of two important new web security features: strict transport and protections for HTTP cookies. This leads to a number of security (HSTS) and public-key pinning. Both have been added to deployment errors which enable an attacker to steal sensitive the web platform to harden HTTPS, the prevailing standard for data without compromising HTTPS itself. secure web browsing. While HSTS is further along, both features still have very limited deployment at a few large websites and a Beyond HTTPS stripping, there are growing concerns long tail of small, security-conscious sites. We find evidence that about weaknesses in the certificate authority (CA) system. many developers do not completely understand these features, The public discovery of commercial software to use compelled with a substantial portion using them in invalid or illogical ways. certificates [6], as well as high-profile compromises of several The majority of sites we observed trying to set an HSTS header did so with basic errors that significantly undermine the security trusted CAs, have spurred interest in defending against a this feature is meant to provide. We also identify several subtle new threat model in which the attacker may obtain a rogue but important new pitfalls in deploying these features in practice. certificate for a target domain signed by a trusted CA.
    [Show full text]