Best Practices for Privileged Access Management on Elastic Infrastructure

Total Page:16

File Type:pdf, Size:1020Kb

Best Practices for Privileged Access Management on Elastic Infrastructure Best Practices for Privileged Access Management on Elastic Infrastructure BY GRAVITATIONAL Abstract In this guide we go through the basics of SSH access management and discuss the best practices for managing access to modern, elastic infrastructure environments. Table of Contents Introduction 3 Access Management Components Background 3 SSH 3 SSH Public Key Authentication 3 OpenSSH Certificates 6 OpenSSH Certificate authentication 6 LDAP 8 Identity Provider 8 PAM Production Patterns and Anti-Patterns 9 Anti Pattern: Host based authentication 9 Anti Pattern: Trust on first use 10 Anti Pattern: Using password based authentication 11 Anti-Pattern: Shared private key 12 Anti Pattern: Using LDAP with password authentication 13 Anti-Pattern: unknown source of user identity 13 Production Pattern: Using LDAP to setup trusted user and CA keys 13 Production pattern: Identity providers 14 Production pattern: Second Factor Auth with Identity providers 14 Anti Pattern: Local or poorly managed second factor 15 Production Pattern: Short lived user OpenSSH certificates 15 Production Pattern: Host OpenSSH Certificates 16 Anti-pattern: Forever certificates 18 Production Pattern: Certificate authority rotation 18 Production pattern: Centralized discovery 19 Production pattern: Role based access control 19 Production pattern: Centralized audit logging 20 Production pattern: Anomaly Detection and Alerting 21 Production pattern: Rate limiting and user locking 21 Anti-pattern: Intercepting interactive commands 22 Production pattern: Session capture 22 Anti-Pattern: Non-segmented, publicly accessible network 22 Production Pattern: Bastion servers 23 Anti-pattern: Source IP based access 23 Anti Pattern: Weak SSH and TLS setups 24 © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 1 Production pattern: Idle timeouts 24 Production pattern: outbound reverse tunnels 24 Production pattern: Inter-org trust 25 Conclusion 27 © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 2 Introduction This guide addresses how to manage access to modern server fleets. Today, organizations are dealing with elastic infrastructure that includes thousands of servers with VMs that are launched and deleted every hour. In addition, the people that need to access the infrastructure may come and go in the organization and their roles may change while they are at the organization. This makes it difficult to implement a scalable system of Privileged Access Management (“PAM”) to the IT infrastructure. This guide does not attempt to be a complete overview of the PAM landscape and omits many topics such as Kerberos, SSSD and GSS-API. Instead, it focuses on patterns and anti-patterns that have we have seen implemented by system administrators building access management on top of OpenSSH systems, while trying to adopt to the new regulatory and scalability requirements. We adopted many of the SSH infrastructure patterns mentioned here while building ​Teleport​, a modern SSH server which “manages privileged access to elastic infrastructure, without getting in the way.” Background of Access Management Components Before we dive into the details of the PAM and SSH patterns and anti-patterns, let's cover key components that are used as building blocks of privileged access management and referenced throughout this guide. SSH SSH stands for Secure Shell - it's a cryptographic network protocol widely adopted in the ​ internet to access servers using remote logins. Access is done via SSH client that dials in to SSH server. SSH Public Key Authentication SSH keys are based on Public Key Cryptography. The public key is distributed openly, and ​ ​ anyone holding the public key can encrypt data. However, only the owner of private key can decrypt it. With this method, a user owns and never shares the SSH private key and SSH servers are set up to trust the user identity of the users who can prove that the trusted private keys. © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 3 In addition to encryption, private keys can be used to sign any message that can be verified by using only the public key. Public key signatures are used in SSH public key authentication. You’ll notice that it's not necessary to send the plaintext that was signed alongside the signature assuming both parties already know the plaintext that was pre-negotiated. Here are more detailed steps of public key authentication: © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 4 * Client sends SSH login username, public key corresponding to the public key and public key algorithm name. This is done to check if authentication method is supported by the server. * Client uses the private key to sign a message composed of a unique session id of the SSH connection and a public key and sends it as an authentication request. * Server looks up the public key in the `authorized_keys` file and verifies the signature based on the session id and public key of the client and, if the signature matches, accepts the authentication request. You can read more here. ​ ​ OpenSSH Certificates The OpenSSH certificate is special extension ​ ​ built by the OpenSSH team. OpenSSH certificate are built using public keys. The OpenSSH certificate authority is a special trusted party that holds its own public and private key pair. OpenSSH CA keys are not used to authenticate, but to sign SSH certificates. An OpenSSH certificate consists of a collection of fields signed by the certificate authority: * Nonce is a unique random string that is used to prevent signature collision attacks. * Public Key is public part of user or host key-pair that identifies a user or a host. * Type identifies user or host certificate. * Key ID identifies the user or a host in log messages. * Valid principals is a list of usernames or hostnames. © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 5 * Valid after and Valid before are timestamps that define starting time and expiration of the certificate. * Critical Options is a set of options requested by client that should be supported and turned on by the server. * Extensions is a set of optional SSH extensions that could be ignored by the server. * Signature key is a public key of OpenSSH certificate authority used to sign the certificate with its private key. OpenSSH Certificate authentication OpenSSH certificate authentication extends public-key based authentication and uses the same protocol messages: © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 6 * Client sends SSH login username, ssh certificate and public key algorithm name. This is done to check if authentication method is supported by the server. * Alice uses her private key to sign a message composed of a unique session id of the SSH connection and a certificate and sends it as an authentication request. * Server first checks that certificate is signed by the trusted CA by checking if public key of the certificate is in authorized_keys file. * Server then verifies the signature of the certificate sent by Alice to make sure the certificate was not tampered. * Server verifies that certificate is not expired and is not too early to use by checking expiration and starting dates against local server time. * If all checks above passed, server then can assume that this Alice's certificate and public keys are trusted and verifies the signature sent by Alice based on the session id and public key of Alice and, if the signature matches, accepts the authentication request. LDAP LDAP is a directory access protocol widely used in the enterprise server deployments. LDAP ​ servers provide information about user and group membership and sometimes are used to store users passwords and SSH public keys. Identity Provider Identity provider (IdP) is a system that manages centralized identity for all principals (users or computers). Modern identity providers are used to set up a SSO (single sign on) service for many computer systems ranging from office software to SSH computer systems. © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 7 Identity providers are widely used in the enterprise and getting more traction in smaller teams because they allow organizations to provide internal authentication service and different applications can offload the process of authentication to the centralized service. Examples of providers are Okta, Auth0, ADFS and there are many others. ​ ​ ​ ​ ​ ​ There are special protocols that allow applications to integrate between identity providers. In our experience, the most widely used one is SAML 2.0. However, OIDC is getting more traction, as ​ ​ ​ ​ it provides easier authentication flows designed for mobile applications. PAM Production Patterns and Anti-Patterns With those components as a background, we’ll now go through some best practices for PAM. “Patterns” are methods we have seen that are useful in production and sometimes necessary ​ to pass compliance audits. “Anti-patterns” are generally things you want to avoid in production ​ ​ as they can lead to problems at scale. While some of the methods listed here as anti-patterns could be a good solution for small scale server deployments, they will quickly fall apart with larger clusters and organizations. Sometimes an anti-pattern should work well in theory, however the practical implementation is usually problematic. © Gravitational, Inc. All Rights Reserved [email protected] | 855-867-2538 8 Anti Pattern: Host based authentication To be honest, we have never encountered any cases of host based authentication, however here is a warning just in case - avoid using it in any environment. With this authentication method, the client sends signature and public key signed by the host, not the user. The achilles heel of this approach is the behavior of a compromised host: * A compromised host can impersonate other hosts in the system, so servers have to add extra checks over insecure network that source address and hostname matches, which in many cases, is impossible. * Users on compromised hosts can impersonate almost any other user allowed to login from this host.
Recommended publications
  • No.Ntnu:Inspera:2546742.Pdf (10.61Mb)
    Krishna Shingala An alternative to the Public Key Krishna Shingala Infrastructure for the Internet of Things Master’s thesis in Communication Technology Supervisor: Danilo Gligoroski, Katina Kralevska, Torstein Heggebø Master’s thesis Master’s June 2019 An alternative to PKI for IoT PKI for to An alternative NTNU Engineering Communication Technology Communication Department of Information Security and Department of Information Faculty of Information Technology and Electrical Technology of Information Faculty Norwegian University of Science and Technology of Science University Norwegian An alternative to the Public Key Infras- tructure for the Internet of Things Krishna Shingala Submission date: June 2019 Responsible professor: Danilo Gligoroski, IIK, NTNU Supervisor: Danilo Gligoroski, IIK, NTNU Co-Supervisor: Katina Kralevska, IIK, NTNU Co-Supervisor: Torstein Heggebø, Nordic Semiconductor ASA Norwegian University of Science and Technology Department of Information Technology and Electrical Engineering Title: An alternative to the Public Key Infrastructure for the Internet of Things Student: Krishna Shingala Problem description: Internet of Things(IoT) enables participation of constrained devices on the Internet. Limited resources, bandwidth, and power on the devices have led to new protocols. Some examples of IoT driven and driving protocols are: – MQTT, CoAP that are application protocols for IoT; – 6LoWPAN enables efficient support of IPv6 on low power lossy networks; – CBOR enables concise data formatting; and – DTLS enables secure channel establishment over unreliable transport like the UDP. Security is one of the key factors for the success of IoT. TLS/DTLS secures the channel between the servers and the devices. Confidentiality is an important aspect of such a secure channel. Establishing the identity of an entity another.
    [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]
  • Best Practices for Privileged Access Management on Cloud-Native Infrastructure
    Best Practices for Privileged Access Management on Cloud-Native Infrastructure BY GRAVITATIONAL CONTENTS INTRODUCTION ......................................................................................................................................................................... 4 BACKGROUND OF ACCESS MANAGEMENT COMPONENTS ...................................................................................... 5 SSH ............................................................................................................................................................................................. 5 SSH Public Key Authentication ............................................................................................................................................ 5 OpenSSH Certificates ............................................................................................................................................................. 7 OpenSSH Certificate Authentication .................................................................................................................................. 7 LDAP .......................................................................................................................................................................................... 8 Identity Provider ...................................................................................................................................................................... 9 AUTHENTICATION AND AUTHORIZATION ...................................................................................................................
    [Show full text]
  • Challenges in Managing SSH Keys – and a Call for Solutions
    Challenges in Managing SSH Keys – and a Call for Solutions Tatu Ylonen University of Helsinki [email protected] Abstract In some cases a single key can access tens of thousands of servers, such as for keys originally installed for emergency SSH (Secure Shell) uses public keys for authenticating servers response, auditing, or patch management purposes. Some of and users. While SSH’s key management design was great these keys are very old. for grass-roots deployments, it is now causing significant Second, extensive monitoring of the usage of the keys has operational and security challenges in large computing envi- revealed that typically about 90% of the authorized keys are ronments. This paper summarizes progress in SSH key man- unused. That is, they are access credentials that were provi- agement so far, highlights outstanding problems, and presents sioned years ago, the need for which ceased to exist or the requirements for a long-term solution. Proposals are solicited person having the private key left, and the authorized key from the research community to address the issue; so far the was never deprovisioned. Thus, the access was not terminated industry has been unable to come up with an ideal solution. when the need for it ceased to exist. This signifies a failure of The problem is of high practical importance, as most of our identify and access management (IAM) practices. critical Internet infrastructure, cloud services, and open source software development is protected using these keys. In many organizations – even very security-conscious or- ganizations – there are many times more obsolete authorized keys than they have employees.
    [Show full text]
  • Maintaining Security and Trust in Large Scale Public Key Infrastructures
    Maintaining Security and Trust in Large Scale Public Key Infrastructures Vom Fachbereich Informatik der Technischen Universit¨atDarmstadt genehmigte Dissertation zur Erlangung des Grades Doktor-Ingenieur (Dr.-Ing.) von Dipl. Wirtsch.-Inform. Johannes Braun geboren in Herrenberg. Referenten: Prof. Dr. Johannes Buchmann Prof. Dr. Max M¨uhlh¨auser Tag der Einreichung: 16.03.2015 Tag der m¨undlichen Pr¨ufung: 30.04.2015 Hochschulkennziffer: D 17 Darmstadt 2015 List of Publications [B1] Johannes Braun. Ubiquitous support of multi path probing: Preventing man in the middle attacks on Internet communication. IEEE Conference on Com- munications and Network Security (CNS 2014) - Poster Session, pages 510{ 511, IEEE Computer Society, 2014. Cited on pages 52 and 173. [B2] Johannes Braun, Florian Volk, Jiska Classen, Johannes Buchmann, and Max M¨uhlh¨auser.CA trust management for the Web PKI. Journal of Computer Security, 22: 913{959, IOS Press, 2014. Cited on pages 9, 66, 89, and 104. [B3] Johannes Braun, Johannes Buchmann, Ciaran Mullan, and Alex Wiesmaier. Long term confidentiality: a survey. Designs, Codes and Cryptography, 71(3): 459{478, Springer, 2014. Cited on page 161. [B4] Johannes Braun and Gregor Rynkowski. The potential of an individ- ualized set of trusted CAs: Defending against CA failures in the Web PKI. International Conference on Social Computing (SocialCom) - PAS- SAT 2013, pages 600{605, IEEE Computer Society, 2013. Extended version: http://eprint.iacr.org/2013/275. Cited on pages 9, 32, and 57. [B5] Johannes Braun, Florian Volk, Johannes Buchmann, and Max M¨uhlh¨auser. Trust views for the Web PKI. Public Key Infrastructures, Services and Appli- cations - EuroPKI 2013, vol.
    [Show full text]
  • Perspectives: Improving SSH-Style Host Authentication with Multi-Path Probing
    Perspectives: Improving SSH-style Host Authentication with Multi-Path Probing Dan Wendlandt David G. Andersen Adrian Perrig Carnegie Mellon University Abstract Furthermore, a study by Reis et al. used client-side mea- surements to confirm that real-time snooping and modifi- The popularity of “Trust-on-first-use” (Tofu) authentica- cation of web traffic is a reality in today’s networks [20]. tion, used by SSH and HTTPS with self-signed certificates, In this paper, we examine a novel approach to authen- demonstrates significant demand for host authentication ticating a server’s public key. Traditional approaches to that is low-cost and simple to deploy. While Tofu-based server key authentication, such as a public-key infrastruc- applications are a clear improvement over completely inse- ture (PKI) [7, 5], rely on trusted entities (e.g., Verisign) cure protocols, they can leave users vulnerable to even that grant certificates based on the validation of real-world simple network attacks. Our system, PERSPECTIVES, identities. When done securely, such verification requires thwarts many of these attacks by using a collection of “no- significant (often manual) effort. While some network tary” hosts that observes a server’s public key via multiple hosts, primarily commercial websites, can afford to pay network vantage points (detecting localized attacks) and the high verification cost for these certificates, clients have keeps a record of the server’s key over time (recognizing no simple and effective means to authenticate connectivity short-lived attacks). Clients can download these records to most other hosts on the Internet. on-demand and compare them against an unauthenticated Because the high cost of creating and managing a host key, detecting many common attacks.
    [Show full text]
  • Automated Verification for Secure Messaging Protocols and Their
    Automated Verification for Secure Messaging Protocols and Their Implementations: A Symbolic and Computational Approach Nadim Kobeissi, Karthikeyan Bhargavan, Bruno Blanchet To cite this version: Nadim Kobeissi, Karthikeyan Bhargavan, Bruno Blanchet. Automated Verification for Secure Mes- saging Protocols and Their Implementations: A Symbolic and Computational Approach. 2nd IEEE European Symposium on Security and Privacy , Apr 2017, Paris, France. pp.435 - 450, 10.1109/Eu- roSP.2017.38. hal-01575923 HAL Id: hal-01575923 https://hal.inria.fr/hal-01575923 Submitted on 21 Aug 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Automated Verification for Secure Messaging Protocols and their Implementations: A Symbolic and Computational Approach Nadim Kobeissi Karthikeyan Bhargavan Bruno Blanchet INRIA Paris INRIA Paris INRIA Paris Abstract—Many popular web applications incorporate end-to- for application-specific messaging patterns and deployment end secure messaging protocols, which seek to ensure that constraints. Such custom protocols deserve close scrutiny, messages sent between users are kept confidential and authen- but their formal security analysis faces several challenges. ticated, even if the web application’s servers are broken into First, web applications often evolve incrementally in an or otherwise compelled into releasing all their data.
    [Show full text]
  • Public Key Pinning for TLS Using a Trust on First Use Model
    Public Key Pinning for TLS Using a Trust on First Use Model Gabor X Toth* Tjebbe Vlieg* *University of Amsterdam February 2013 Abstract Although the Public Key Infrastructure (PKI) using X.509 is meant to prevent the occurrence of man-in-the-middle attacks on TLS, there are still situations in which such attacks are possible due to the large number of Certification Authorities (CA) that has to be trusted. Recent incidents involving CA compromises, which lead to issuance of rogue certificates indicate the weakness of the PKI model. Recently various public key pinning protocols – such as DANE or TACK – have been proposed to thwart man-in-the-middle attacks on TLS connections. It will take a longer time, however, until any of these protocols reach wide deployment. We present an approach intended as an interim solution to bridge this gap and provide protection for connections to servers not yet using a pinning protocol. The presented method is based on public key pinning with a trust on first use model, and can be combined with existing notary approaches as well. Keywords: TLS, PKI, X.509, public key pinning, trust on first use 1 Introduction There are widely known problems with the Public Key Infrastructure using X.509 (PKIX) and its use in TLS certificate validation. Currently, users have to trust a large number of certificate authorities (CA), which are less and less trustworthy due to security breaches in their systems, leading to the issuance of rogue certificates [1,2]. Even if a CA is not compromised, it can still issue intermediate CA certificates to the wrong entities [3], or it can be forced to issue rogue certificates by a government trying to spy on its citizens.
    [Show full text]
  • Secure Transport Protocols
    Secure Transport Protocols Alessandro Barenghi Dipartimento di Elettronica, Informazione e Bioingegneria (DEI) Politecnico di Milano alessandro.barenghi - at - polimi.it G. Pelosi, A. Barenghi (DEI) Secure Transport Protocols 1 / 32 Practical cryptography Common Use scenarios After analyzing all the required cryptographic primitives (symmetric and asymmetric ciphers, hashes), we can tackle: 1 The TLS secure transport protocol (HTTPS and Secure Mail Transport) 2 The Secure SHell (SSH) protocol (secure interactive terminal access) 3 The Tor Onion Routing protocol (Transport anonymity) In all cases the bulk of the data is encrypted with an ephemeral key with a block cipher The ephemeral key is agreed via an asymmetric key cipher All protocols employ public key authentication mechanisms to provide authenticated connections G. Pelosi, A. Barenghi (DEI) Secure Transport Protocols 2 / 32 TLS - A brief history The SSL times The Secure Socket Layer (SSL) protocol was designed in 1995 by Tal ElGamal to provide transport security for HTTP over TCP. The first public version was SSL 2.0 TLS - Birth and evolution In 1999 the IETF standardized the first version of TLS, starting from SSL v3.0, and fixing some security issues which were persisting since SSL v2.0 (SSL and TLS are not interoperable) TLS was updated three times since then (v1.1, v1.2, v1.3) The most widespread version is v1.2, v1.3 was standardized less than 2 years ago, v1.1 e v1.0 are expected to be deprecated by 2020 TLS fino alla versione 1.2 consente il downgrade trasparente della connessione
    [Show full text]
  • Paper, We Provide a Broad Perspective of the for Enhancing the Certificate Infrastructure Used in Practice
    2013 IEEE Symposium on Security and Privacy SoK: SSL and HTTPS: Revisiting past challenges and evaluating certificate trust model enhancements Jeremy Clark and Paul C. van Oorschot School of Computer Science Carleton University, Canada {clark,paulv}@scs.carleton.ca Abstract—Internet users today depend daily on HTTPS for issues in the CA/Browser (CA/B) trust model leading to secure communication with sites they intend to visit. Over fragility (compromise of a single CA can, at least tem- the years, many attacks on HTTPS and the certificate trust porarily, undermine system-wide security) and lack of trust model it uses have been hypothesized, executed, and/or evolved. Meanwhile the number of browser-trusted (and thus, de facto, agility, poor support for certificate revocation, a reduction user-trusted) certificate authorities has proliferated, while the in CA diligence in certificate issuance, and user interface due diligence in baseline certificate issuance has declined. We challenges related to reliably signalling to end-users, in survey and categorize prominent security issues with HTTPS ways not ignored or spoofed, security indicators and site and provide a systematic treatment of the history and on-going authentication information. challenges, intending to provide context for future directions. We also provide a comparative evaluation of current proposals In this paper, we provide a broad perspective of the for enhancing the certificate infrastructure used in practice. SSL/TLS (henceforth TLS) mechanism, as employed with Keywords-SSL; certificates; browser trust model; usability. web browsers for securing HTTP traffic. We consider HTTPS, the underlying CA infrastructure, CA/B trust I. INTRODUCTORY REMARKS model, and proposed enhancements.
    [Show full text]
  • CSCI-UA.9480 Introduction to Computer Security
    CSCI-UA.9480 Introduction to Computer Security Session 1.5 Usable Security and Secure Messaging Prof. Nadim Kobeissi Usable Security: Then and Now 1.5a CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 2 “Humans are incapable of securely storing high-quality cryptographic keys, and they have unacceptable speed and accuracy when performing cryptographic operations.” – Kaufmann, Perlman and Speciner. CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 3 The last word on your identity: you. But this isn’t the case in computer security. ● Two-factor authentication? Attacker can manipulate a trusted party while you’re away. ● Trusted internal network? Attacker breaks into mail room employee’s email and sends a bugged PDF to the CEO. CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 4 We know humans are fallible. So we need security to be easy. ● If humans had only 1KB of resilient storage, we’d be fine! ● If secure systems aren’t easy, they either fail open, or they lead to forced compromises on behalf of the user. CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 5 Email encryption: PGP. ● “Pretty Good Privacy” (1990s.) ● Created for email encryption: ○ Asynchronous (no online handshake necessary.) ○ Non-repudiable (binding signatures.) CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 6 Did you know? PGP’s author, Phil Zimmermann, was criminally investigated in 1991 because PGP allegedly violated the Arms Export Control Act and was supposed to be classified as a munition. CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 7 Remember: Diffie-Hellman. a b ga gb ga mod p gb mod p Public values: g, p Private keys: a, b Public keys: ga, gb Shared secret: gab mod p CSCI-UA.9480: Introduction to Computer Security – Nadim Kobeissi 8 PGP works in a similar way (but with RSA.) Ask Bsk A B pk Apk pk Bpk c = RSAENC(Bpk, m) s = RSASIG(Ask, c) (true|false) = RSAVER(Apk, c) m = RSADEC(Bsk, c) RSA can be used for both public key encryption and for public key signatures.
    [Show full text]
  • SSL Virtual Clean Room Security Architecture 1 Problem Statement 2 Technology Overview
    WHITEPAPER SSL Virtual Clean Room Security Architecture 1 Problem Statement A local area network (LAN) is currently isolated from the public internet. Any access into this LAN is physical i.e. a user is to be physically located in the LAN site. It would be more convenient to be able to securely access various services on the LAN through trusted clients on the public internet. This document presents technologies that can be used to achieve this goal and outlines an end-to-end solution towards it. 2 Technology Overview 2.1 VPN A virtual private network (VPN) extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network [1]. A VPN is created by establishing a virtual point-to-point connection through the use of dedicated connections, virtual tunneling protocols, or traffic encryption. From a user perspective, the resources available within the private network can be accessed remotely [1]. Traditional VPNs are characterized by a point-to-point topology, and they do not tend to support or connect broadcast domains. Designers have developed VPN variants, such as Virtual Private LAN Service (VPLS), and layer-2 tunneling protocols, to overcome this limitation. Best Practices 1. Plan out a comprehensive network security policy. Factor in the following questions: a. What are the classes of users? b. What level of access is allowed to a class? c. Which devices are allowed to connect to the corporate network through a VPN? d.
    [Show full text]