Danske Edisec® System Description of the Encryption Solution

Total Page:16

File Type:pdf, Size:1020Kb

Danske Edisec® System Description of the Encryption Solution Page 1 of 22 Danske EDIsec® System Description of the Encryption Solution EDIsec ® is a registered trademark by Systematic Software Engineering A/S, Frichsparken, Søren Frichs Vej 38 K, DK-8230 Åbyhøj, Denmark. Copyright © 1999 by Systematic Software Engineering A/S and Danske Bank A/S. It shall not be copied, reproduced, disclosed or otherwise made available to third party without previous written consent from the copyright holder. SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 2 of 22 Table of Contents 1 PURPOSE ................................................................................. 3 2 INTRODUCTION .................................................................... 4 2.1 OUTLINE OF THE ASSIGNMENT .....................................................4 2.2 OUTLINE OF THE SOLUTION..........................................................5 2.3 STRUCTURE OF THE DOCUMENT...................................................7 3 DEFINITIONS AND REFERENCES ...................................... 8 3.1 ABBREVIATIONS AND DEFINITIONS...............................................8 3.2 BIBLIOGRAPHY.............................................................................9 3.3 REFERENCES.................................................................................9 3.4 CRYPTOGRAPHIC TERMS............................................................10 3.4.1 Fundamental Security Services .......................................... 11 3.4.2 Symmetrical System ............................................................ 11 3.4.3 Asymmetrical System........................................................... 12 3.4.4 Hybrid................................................................................ 12 4 OVERALL DESCRIPTION................................................... 13 4.1 FUNCTIONAL REQUIREMENTS.....................................................13 4.2 ALGORITHMS AND STANDARDS..................................................14 4.2.1 Choice of Systems .............................................................. 14 4.2.2 Consequences of the Choice of Systems ............................. 15 4.3 DATA FORMATS.........................................................................16 4.4 HANDLING OF KEYS ...................................................................17 4.4.1 Generation of an RSA Key Pair ......................................... 17 4.4.2 Storage of Keys.................................................................. 18 4.5 HANDLING OF SIGNATURES AND ENCRYPTION IN EDIFACT........19 4.6 USE OF FUNCTIONS IN THE API...................................................20 4.7 LIMITATIONS.............................................................................21 SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 3 of 22 1 Purpose This document provides the system description of the encryption solution for Danske Bank (DB). The purpose of the document is to describe the functional requirements of the solution. This system description should be read by the developers and security personnel. It is assumed that the readers have a certain level of knowledge about EDIFACT and encryption in order to be able to assess all aspects in the system description. Such knowledge is not required, however, to gain a basic understanding of the overall solution. SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 4 of 22 2 Introduction This document provides the system description of the elements of the encryption solution for DB which are provided by Systematic Software Engineering (hereafter referred to as the encryption solution). The encryption solution is integrated with DB’s own in-house system. This chapter outlines the assignment commissioned by DB and the solution delivered by Systematic to DB. Section 2.3 in this chapter explains how the rest of this document is structured. 2.1 Outline of the Assignment DB’s requirement is for a system that enables the exchange of Electronic Data Interchange (EDI) messages with its major business customers. All interchanges must be secure; the following security functions must be included in the solution (the terms are described in section 3.4): · authentication · secrecy · integrity · non-repudiation · protection against replay from the customer to DB It is essential for DB that the system is simple to use, flexible and scaleable. The solution must consist of two encryption modules; a customer module for integration with the customer’s own computer systems, and a DB module for integration with DB’s computer systems. The customer module must include the following overall functionality: · The ability to run on a number of different platforms and must therefore be flexible and as far as possible operating system independent · The module must include cryptographic functions for encryption and digital signatures SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 5 of 22 · The module must not be dependent on the platform’s file system and must be accessed through an API, where data and encryption keys are given as parameters · The module must be able to handle digital signatures from multiple users. The DB module must have the following overall functionality: · The ability to run within DB’s MVS environment · The module must include cryptographic functions for encryption and digital signatures · The module must not be dependent on the platform’s file system and must be accessed through an API, where data and encryption keys are given as parameters · There is no requirement to handle digital signatures from multiple users but the system must be able to return receipts for signed interchanges that are received. In both cases it is not the responsibility of the encryption module to handle the transmission of data between DB and DB’s customers. Once the data has been encrypted and signed by the module, the sender’s own system is responsible for the sending of the data. Likewise, the receiver’s system will receive the data and call the encryption module for decryption of the interchange and validation of the signature. There is no requirement for the encryption module to access a database. 2.2 Outline of the Solution The Systematic solution is based on the EDIFACT standard. All data exchanged between DB and its customers will be in the EDIFACT format. The cryptographic software supplied by Cryptomathic A/S is used to add the encryption and digital signatures to the interchanges. Cryptomathic’s software is used extensively within many existing systems worldwide and is therefore thoroughly proven. Because the difference between the two encryption modules for DB and DB’s customers is very minor, only one module has been developed that incorporates all of the functionality required for both modules. All users will receive the same module. It is the configuration of each installation that will differ as it will be possible to opt out certain functionality as appropriate. SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 6 of 22 The system in which the encryption module has been integrated will be referred to as the “in-house system” throughout this document. Where clarification is needed, the systems will be referred to as “DB’s in-house system” and “DB’s customers’ in-house system”, respectively. Figure 1 describes the components and the data flow. Key Key database = SSE delivery database 1 8 Sender's 2 10 Receiver's in-house Encryption- Encryption in-house module module system 3 9 system 4 7 Network Comms (e.g. VANS) Comms module 5 6 module Figure 1: Components and data flow of the encryption solution 1 – 2: The sender’s in-house system supplies the data to be sent to the encryption module. This includes the identification of the receiver and the keys to be used for encryption/signature. The encryption module constructs an EDIFACT interchange containing the data received, signed and encrypted by the keys. Input to the encryption data may be binary data, but it will be handled differently depending on whether it is in EDIFACT or other format. 3 – 7: Once encrypted and signed, the EDIFACT interchange is returned to the in-house system and queued for sending. The encryption solution is independent of the chosen transmission method. 8 – 10: The receiver’s system receives the encrypted, signed EDIFACT interchange. This is passed to the encryption module along with the keys in order to decrypt the interchange and validate the signature. The encryption module then returns the interchange, now back in its original format, to the receiver’s system. When the receiver has validated the signature of the interchange, the encryption module can generate a receipt, which is returned to the sender and validated by the sender’s encryption module. The receipt will follow the same flow as in Figure 1, but in the opposite direction. SSE/98314/SRS/001 Updated 24-02-1999 Revision:: 1.1 ID: Systemdescription_UK Page 7 of 22 DB’s requirements for secure communications are met as follows: · Authentication based on digital signatures applied to the interchanges · Secrecy based on the encryption of the interchanges · Integrity based on digital signatures applied the interchanges · Non-repudiation is mainly implemented in this solution by the users of the encryption module. The encryption module only support non- repudiation through digital signatures on the interchanges · Security against replay from the customer to DB is handled in this solution by DB’s
Recommended publications
  • Encryption Procedure
    Encrypting Software for Transmission to NIST 1. Scope NIST requires that all software submitted by the participants be signed and encrypted. Signing is done with the participant’s private key, and encrypting is done with the NIST project public key, which is published at http://www.nist.gov/itl/iad/ig/encrypt.cfm. NIST will validate all submitted materials using the participant’s public key, and the authenticity of that key will be verified using the key fingerprint. This fingerprint must be submitted to NIST as part of the signed participant agreement. By encrypting the submissions, we ensure privacy; by signing the submission, we ensure authenticity (the software actually belongs to the submitter). NIST will not take ownership of any submissions that are not signed and encrypted. All cryptographic operations (signing and encrypting) shall be performed with software that implements the OpenPGP standard, as described in Internet RFC 4880. The freely available Gnu Privacy Guard (GPG) software, available at www.gnupg.org, is one such implementation. 2. Submission of software to NIST NIST requires that all software submitted by the participants be signed and encrypted. Two keys pairs are needed: • Signing is done with the software provider's private key, and • Encryption is done with the NIST project public key, which is available at http://www.nist.gov/itl/iad/ig/encrypt.cfm 2.1. Project Specific Parameters The values for the project specific parameters (ProjectName, ProjectPublicKey, and ProjectEmail) mentioned in this document are found at http://www.nist.gov/itl/iad/ig/encrypt.cfm 1 2.2. Creating participant cryptographic key pair The steps below show how to create a public/private key pair and fingerprint using the GPG software.
    [Show full text]
  • Adding Public Key Security to SSH
    Adding Public Key Security to SSH A Thesis Submitted to the Faculty in partial fulfillment of the requirements for the degree of Master of Science in Computer Science by Yasir Ali DARTMOUTH COLLEGE Hanover, New Hampshire Feb, 20th, 2003 Examining Committee: ____________________________ Sean Smith (chair) ____________________________ Edward Feustel ____________________________ Christopher Hawblitzel !!!!!!!!!____________________________ !!!!!!!!!Carol Folt !!!!!!!!! Dean of Graduate Studies 1 2 Abstract SSH, the Secure Shell, is a popular software-based approach to network security. It is a protocol that allows user to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides authentication and encrypted communications over unsecured channels. However, SSH protocol has an inherent security flaw. It is vulnerable to the “man-in-the- middle Attack”, when a user establishes his first SSH connection from a particular client to a remote machine. My thesis entails designing, evaluating and prototyping a public key infrastructure which can be used with the SSH2 protocol, in an academic setting, thus eliminating this vulnerability due to the man in the middle attack. The approach presented is different from the one that is based on the deployment of a Certificate Authority. My scheme does not necessarily require third party verification using a Certificate Authority; it is decentralized in nature and is relatively easy to set up. Keywords used: SSH, PKI, digital certificates, Certificate Authority, certification path, LDAP servers, Certificate Revocation List, X509v3 Certificate, OpenSSL, mutual authentication, and tunneled authentication. 3 Acknowledgments I want to thank Professor Sean Smith for his guidance, assistance and unremitting support over the last two years.
    [Show full text]
  • PGP Command Line User Guide
    PGP Command Line User Guide Last updated: July 2020 Copyright statement Broadcom, the pulse logo, Connecting everything, and Symantec are among the trademarks of Broadcom. Copyright © 2020 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. For more information, please visit www.broadcom.com. Broadcom reserves the right to make changes without further notice to any products or data herein to improve reliability, function, or design. Information furnished by Broadcom is believed to be accurate and reliable. However, Broadcom does not assume any liability arising out of the application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others. Contents About PGP Command Line 1 Important Concepts 1 Technical Support 2 Installing 5 Install Location 5 Installing on AIX 6 Installing on AIX 6 Changing the Home Directory on AIX 7 Uninstalling on AIX 7 Installing on HP-UX 8 Installing on HP-UX 8 Changing the Home Directory on HP-UX 9 Installing to a Non-Default Directory on HP-UX 9 Uninstalling on HP-UX 9 Installing on macOS 10 Installing on macOS 10 Changing the Home Directory on macOS 10 Uninstalling on macOS 11 Installing on Red Hat Enterprise Linux, SLES, or Fedora Core 11 Installing on Red Hat Enterprise Linux or Fedora Core 11 Changing the Home Directory on Linux or Fedora Core 12 Uninstalling on Linux or Fedora Core 12 Installing on Oracle Solaris 13 Installing on Oracle
    [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]
  • Detecting and Preventing Active Attacks Against Autocrypt Release 0.10.0
    Detecting and preventing active attacks against Autocrypt Release 0.10.0 NEXTLEAP researchers Jan 09, 2020 Contents 1 Introduction2 1.1 Attack model and terminology............................2 1.2 Problems of current key-verification techniques...................3 1.3 Integrating key verification with general workflows.................3 1.4 Supplementary key consistency through ClaimChains................4 1.5 Detecting inconsistencies through Gossip and DKIM................5 2 Securing communications against network adversaries6 2.1 Setup Contact protocol................................7 2.2 Verified Group protocol................................ 12 2.3 History-verification protocol............................. 17 2.4 Verifying keys through onion-queries......................... 20 3 Key consistency with ClaimChains 23 3.1 High level overview of the ClaimChain design.................... 23 3.2 Use and architecture................................. 24 3.3 Evaluating ClaimChains to guide verification.................... 26 4 Using Autocrypt key gossip to guide key verification 28 4.1 Attack Scenarios................................... 28 4.2 Probability of detecting an attack through out of band verification......... 29 5 Using DKIM signature checks to guide key verification 32 5.1 DKIM Signatures on Autocrypt Headers....................... 32 5.2 Device loss and MITM attacks............................ 33 5.3 Open Questions.................................... 34 1 1 Introduction This document considers how to secure Autocrypt1-capable mail apps against active network at- tackers. Autocrypt aims to achieve convenient end-to-end encryption of e-mail. The Level 1 Autocrypt specification offers users opt-in e-mail encryption, but only considers passive adver- saries. Active network adversaries, who could, for example, tamper with the Autocrypt header during e-mail message transport, are not considered in the Level 1 specification. Yet, such active attackers might undermine the security of Autocrypt.
    [Show full text]
  • Easy Encryption for Email, Photo, and Other Cloud Services John Seunghyun Koh
    Easy Encryption for Email, Photo, and Other Cloud Services John Seunghyun Koh Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy under the Executive Committee of the Graduate School of Arts and Sciences COLUMBIA UNIVERSITY 2021 © 2021 John Seunghyun Koh All Rights Reserved Abstract Easy Encryption for Email, Photo, and Other Cloud Services John Seunghyun Koh Modern users carry mobile devices with them at nearly all times, and this likely has contribut- ed to the rapid growth of private user data—such as emails, photos, and more—stored online in the cloud. Unfortunately, the security of many cloud services for user data is lacking, and the vast amount of user data stored in the cloud is an attractive target for adversaries. Even a single compro- mise of a user’s account yields all its data to attackers. A breach of an unencrypted email account gives the attacker full access to years, even decades, of emails. Ideally, users would encrypt their data to prevent this. However, encrypting data at rest has long been considered too difficult for users, even technical ones, mainly due to the confusing nature of managing cryptographic keys. My thesis is that strong security can be made easy to use through client-side encryption using self-generated per-device cryptographic keys, such that user data in cloud services is well pro- tected, encryption is transparent and largely unnoticeable to users even on multiple devices, and encryption can be used with existing services without any server-side modifications. This dis- sertation introduces a new paradigm for usable cryptographic key management, Per-Device Keys (PDK), and explores how self-generated keys unique to every device can enable new client-side encryption schemes that are compatible with existing online services yet are transparent to users.
    [Show full text]
  • Can Unicorns Help Users Compare Crypto Key Fingerprints?
    Can Unicorns Help Users Compare Crypto Key Fingerprints? Joshua Tan, Lujo Bauer, Joseph Bonneau†, Lorrie Faith Cranor, Jeremy Thomas, Blase Ur∗ Carnegie Mellon University, {jstan, lbauer, lorrie, thomasjm}@cmu.edu † Stanford University, [email protected] * University of Chicago, [email protected] ABSTRACT key. To learn Bob’s key, Alice would typically look it up Many authentication schemes ask users to manually compare on a web site (e.g., a public key server) that publishes such compact representations of cryptographic keys, known as fin- information. Unfortunately, an attacker seeking to intercept gerprints. If the fingerprints do not match, that may signal a Alice’s communications to Bob might try to add his own key man-in-the-middle attack. An adversary performing an attack to the key server under Bob’s name. When trying to find may use a fingerprint that is similar to the target fingerprint, but Bob’s public key, Alice would then unwittingly download the not an exact match, to try to fool inattentive users. Fingerprint attacker’s key. Any messages she composed for Bob would representations should thus be both usable and secure. then be readable by the attacker, and not by Bob. We tested the usability and security of eight fingerprint repre- A more reliable method would be for Bob to deliver his public sentations under different configurations. In a 661-participant key to Alice in person. Because public keys are long strings between-subjects experiment, participants compared finger- of arbitrary bits, this approach is unfortunately unwieldy and prints under realistic conditions and were subjected to a sim- impractical.
    [Show full text]
  • The Enigmail Handbook V1.0.0
    EnigMail openpgp email security for mozilla applications The Handbook by Daniele Raffo with Robert J. Hansen and Patrick Brunschwig v 1.0.0 and earlier 1. Table of Contents 2. Introduction..................................................................................5 3. Acknowledgements.....................................................................8 4. The Enigmail team.......................................................................9 5. Getting started...........................................................................10 5.1. Installing GnuPG.....................................................................................10 5.1.1. Installing GnuPG on Microsoft Windows..........................................10 5.1.2. Installing GnuPG on Macintosh OS X..............................................10 5.1.3. Installing GnuPG on Linux / UNIX....................................................11 5.2. Installing Thunderbird / SeaMonkey........................................................11 5.3. Installing Enigmail....................................................................................12 5.3.1. Installing Enigmail on Thunderbird...................................................12 5.3.2. Installing Enigmail on SeaMonkey...................................................12 5.3.3. Installing a locale for Enigmail..........................................................13 6. Quick start..................................................................................14 6.1. The Setup Wizard....................................................................................15
    [Show full text]
  • PGP Desktop Security for Windows 95, Windows 98, and Windows NT
    PGP Desktop Security for Windows 95, Windows 98, and Windows NT User’s Guide Version 6.5 Int. Copyright © 1990-1999 Network Associates, Inc. and its Affiliated Companies. All Rights Reserved. PGP*, Version 6.5.1 Int. 9-9-99. Printed in the EC. PGP, Pretty Good, and Pretty Good Privacy are registered trademarks of Network Associates, Inc. and/or its Affiliated Companies in the US and other countries. All other registered and unregistered trademarks in this document are the sole property of their respective owners. Portions of this software may use public key algorithms described in U.S. Patent numbers 4,200,770, 4,218,582, 4,405,829, and 4,424,414, licensed exclusively by Public Key Partners; the IDEA(tm) cryptographic cipher described in U.S. patent number 5,214,703, licensed from Ascom Tech AG; and the Northern Telecom Ltd., CAST Encryption Algorithm, licensed from Northern Telecom, Ltd. IDEA is a trademark of Ascom Tech AG. Network Associates Inc. may have patents and/or pending patent applications covering subject matter in this software or its documentation; the furnishing of this software or documentation does not give you any license to these patents. The compression code in PGP is by Mark Adler and Jean-Loup Gailly, used with permission from the free Info-ZIP implementation. LDAP software provided courtesy University of Michigan at Ann Arbor, Copyright © 1992-1996 Regents of the University of Michigan. All rights reserved. This product includes software developed by the Apache Group for use in the Apache HTTP server project (http://www.apache.org/).
    [Show full text]
  • This Document Includes Text Contributed by Nikos Mavrogiannopoulos, Simon Josefsson, Daiki Ueno, Carolin Latze, Alfredo Pironti, Ted Zlatanov and Andrew Mcdonald
    This document includes text contributed by Nikos Mavrogiannopoulos, Simon Josefsson, Daiki Ueno, Carolin Latze, Alfredo Pironti, Ted Zlatanov and Andrew McDonald. Several corrections are due to Patrick Pelletier and Andreas Metzler. ISBN 978-1-326-00266-4 Copyright © 2001-2015 Free Software Foundation, Inc. Copyright © 2001-2019 Nikos Mavrogiannopoulos Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". Contents Preface xiii 1. Introduction to GnuTLS1 1.1. Downloading and installing.............................1 1.2. Installing for a software distribution........................2 1.3. Overview.......................................3 2. Introduction to TLS and DTLS5 2.1. TLS Layers......................................5 2.2. The Transport Layer.................................5 2.3. The TLS record protocol...............................6 2.3.1. Encryption algorithms used in the record layer..............6 2.3.2. Compression algorithms and the record layer...............8 2.3.3. On record padding..............................8 2.4. The TLS alert protocol...............................9 2.5. The TLS handshake protocol............................ 10 2.5.1. TLS ciphersuites............................... 11 2.5.2. Authentication................................ 11 2.5.3. Client authentication............................. 11 2.5.4. Resuming sessions.............................. 12 2.6. TLS extensions.................................... 12 2.6.1. Maximum fragment length negotiation................... 12 2.6.2. Server name indication............................ 12 2.6.3. Session tickets................................ 13 2.6.4. HeartBeat................................... 13 2.6.5. Safe renegotiation.............................
    [Show full text]
  • TLS-Survey.Pdf
    N S B-B T T R A I Tom Ritter — [email protected] iSEC Partners, Inc 123 Mission Street, Suite 1020 San Francisco, CA 94105 https://www.isecpartners.com March 15, 2012 Abstract Improvements to Browser Security, TLS, and Public Key Infrastructure have been appearing at an astonishing rate in the past few years. Standards are proposed in the IETF in Web Security, Public Key Infrastructure, TLS, and DNS Working Groups and similarly in the W3C Working Groups. Proposals for replacing Certificate Authorities, or improving them, are presented alternately on any one of two dozen mailing lists, at conferences on opposite sides of the globe, and in standards bodies. This paper first presents a survey of improvements being made to Browsers, HTTP, and Javascript, noting what will be effective and what won’t. Methods for leveraging DNSSEC for improved authentication for different protocols are covered and improvements to TLS are presented covering protocol revisions, extensions, and techniques for using it to improve identity management. Finally a survey of all the proposals about replacing or improving CAs is done, and the commonalities and core concepts of them are drawn out and presented. This paper is likely to undergo editorial and content improvements. The most recent version will be available at http://ritter.vg/p/2012-TLS-Survey.pdf. 1 I are covered. When speaking with individuals participating through- out this ecosystem - administrators of web sites, the 2 B S engineers behind browsers, researchers testing, break- ing, and deploying protocol enhancements - a common In the last several years we’ve seen an explosion of web- phrase has been heard when speaking of the past few based vulnerabilities being exploited: the most common years: ”Things are moving really fast.” While it may seem four being cross site scripting, SQL injection, cross-site that there is tremendous inertia of web servers not up- request forgery, and clickjacking.
    [Show full text]
  • Pretty Good Chat
    Pretty Good Chat Alex Grinman Philippe Schiff Jonathan Stoller [email protected] [email protected] [email protected] 1 Abstract We present "Pretty Good Chat" (PGC), an iOS messaging app that lets users communicate securely without requiring any trust in the server and with an increased level of identity privacy, while still maintaining simple usability. The PGC app uses asymmetric key encyption, and provides a very simple interface for users to exchange public keys in the app using QR codes. We also provide a brief analysis of T elegram and T extSecure, two of the most popular "secure" messaging apps, and a description of future work. 2 Motivation Over the past few years, chat apps have exploded in popularity on the mobile platform. Recently, due to frequently recurring news stories about data leaks and hacks, some companies have created what they claim to be "secure" messaging apps. By the very nature of an internet messaging sys- tem, all chat messages must pass through some central server that all chat clients must subscribe to. However, herein lies the problem. The messaging server is a mysterious black box, whose se- curity properties are difficult to ascertain. In fact, in the current landscape of mobile apps, most backends are hosted on third-party services such as Amazon’s AWS, Heroku, Redhat’s OpenShift, or some other Virtual Private Server (VPS). Hence, the server resides in an unknown location that is assumed to always be trusted by app developers. In addition to trusting all the employees that work for the app company, users must also implicitly trust the services that the app is in contact with to not abuse their promise of security.
    [Show full text]