Authentication

Total Page:16

File Type:pdf, Size:1020Kb

Authentication Authentication • Readings – Chapters 9, 10 – Sections 11.1-11.3 1 Authentication: Who and How • User (human) can be authenticated – logging into a workstation – using resources of a system – issues: humans find it difficult to remember arbitrary strings • Computer can be authenticated – computer providing one function wants to authenticate another computer providing a different function – issues: computers need to store any authentication information someplace • How is authentication done – password based – address based – cryptographic algorithms based – combinations of the above 2 Address-based Authentication • A machine keeps a list of network addresses of equivalent machines – unix keeps this information in /etc/hosts.equiv • A machine keeps a list of remote users allowed to access an account on the local machine – unix has a file .rhosts (in the home directory) that a user can set. Suppose .rhosts in your home directory had a line: gryphon.csi.cam.ac.uk bob Then bob from gryphon could rlogin without a password • These are becoming legacy approaches as they are not very secure 3 Password-based Authentication • User authenticates by entering a password -- this is checked against the server’s database – Pros: • Supported by almost every system • Users familiar with the process – Cons: • Good password management is crucial • Storing passwords securely can be a problem 4 ASCII Characters and Printing Bytes • ASCII is a 7 bit character set (0-127) – fits into a byte, remaining bit could be set to 0 or used as a parity bit – 95 printable characters, 33 non-printing • Some printable encodings – quotable-printable encoding • printable characters as is • non printable characters represented as =hex1hex2 – base64 encoding (used in Privacy Enhanced Mail) • use character set of 26 = 64 (A-Z, a-z, 0-9, +, /) • = is used as a special suffice for termination condition • 3 bytes are converted into 4 sets of 6 bit characters • the 6 bit value of each set indexes into the character set • note that 3 bytes encoded as 4 bytes • result (due to termination rules) is output that is a multiple of 4 bytes 5 Unix Password System • User-entered passwords are • The hash algorithm varies. In converted into bit strings. early systems, the bit-string • A salt (set by the system during for the password is treated user account creation and as a key for (a variant of) stored in the account database) DES. The salt is used to is also used as input. indicate which DES variant • A hash / ciphertext of the to use (a salt all of its bits 0 password (using only 64 bits of results in DES being result) and a 12 bit salt are selected). computed, the value encoded in • In modern systems, the hash printable ASCII characters, and is either based on the hash stored in the account database. function MD5, or on the – ellen1 (user name) Blowfish block cipher. – ri (salt) • crypt(3) – ri79KNd7V6.Sk (encrypted password) 6 Example: Salt + Hashing User id Salt value Password hash Bob 5b7 h(5b7 || passwordBob) Alice f3c h(f3c || passwordAlice) Trudy 33a h(33a || passwordTrudy) • The hash function encodes the output into a printable string of characters • Salt is mainly used for against dictionary attacks: – Note: the salt value is in the open; without salt, someone could simply hash a dictionary and compare against all hashed entries – Salt starts with $digit$ indicate the cryptographic algorithm used to compute password 7 Features of Unix Passwords • The user must know the password to authenticate himself/herself • Transmitting password for remote authentication – That creates problems for remote authentication---the password must be sent over the network connection. This requires extraneous methods to protect the connection. • Dictionary attacks – If the hashed password and salt are obtained (say, by compromising the user database), it is possible to perform dictionary attacks to recover the password. 8 Dictionary Attacks • A word list is compiled • Dictionary entries (often in several languages), as well as common proper names, are included in such lists. • Often the list is expanded to include some simple variations, such as “b1rd” or “hell0”. • Online and offline dictionary attacks – Online dictionary attack: try to login with each password in the dictionary. 9 Offline Dictionary Attacks • Offline dictionary attack: All the entries of the word list are hashed, and the result is stored in a database. – Note that each word must be hashed with each possible salt value. – When the account database is compromised, the attacker can compare with the pre-computed data to break simple passwords in a very short time. – The use of salt can increase the pre-computation/storage requirements of attacks. But powerful time-memory trade-off algorithms are available to handle even large salt spaces, such as 64-bit salts. • Brute-force attack: For relatively short passwords, all possible variations can be pre-computed and storage, using the same time-memory trade-off strategies. 10 Mitigation Strategies • Force users to choose good passwords – Specify need to include lower and upper-case alphabet characters, digits and non-alphanumeric keys. – Checking them against dictionary attacks • Make users change passwords often • Use salted passwords – note that the salt does not solve the problem of poor password choices, only makes attacks against reasonably good passwords more costly). 11 Eavesdropping and Server Database Reading • Remote authentication – Need to protect both communication channel and server database • Communication channel – Authentication information is transmitted • Server database – Authentication information is stored • Can we protect both if we are using – Password-based authentication – Cryptographic algorithm based authentication 12 Passwords: Protecting against Database Disclosure but not Eavesdropping Alice Bob stores Alice, fiddlesticks hash of Alice’s password Server Bob would hash the password provided by Alice and compare it with stored value 13 Secret Key: Protecting against Eavesdropping but not Database Disclosure Alice Bob Alice stores nonce R Alice’s Secret X = F(R, Secret) Server Bob can compare X with what it can compute - note that eavesdropping does not disclose (much) information. 14 Public/Private Key: Protecting against Eavesdropping and Database Disclosure Alice Alice Bob uses knows private nonce R Alice’s key Public KS Key X = sign[R]KS KP Server Bob can verify [X]KP using Alice’s public key. Note: it is difficult to protect against both situations without using public / private keys, but Lamport’s hash is a fairly good algorithm. 15 Challenge and Response: hash value kept secret • Some systems enable secure remote authentication via passwords by the following method – The system generates a random challenge R – The user returns a function F(R, H), where H is the hash of his/her password – The user has previously entered the password in the remote system, which computes the hash H from it and stores this hash. – The system is thus able to compute F(R, H). • Note that the hash is playing the role of a shared secret and must be kept secret by the system 16 Negative Features of such Challenge-Response Authentication • Compromise of the account database of hashed password enable remote authentication without having to guess the password – Since the server only knows the hash, not the password, the mechanism must use the hash directly • Vulnerable to offline dictionary and brute-force attacks on the password by eavesdropping on the transmitted values F(R, H). – Note that R is sent in the clear, so the adversary does not even need to compromise the account database to capture values and mount an offline attack. 17 Challenge-Response: Strong Mutual Authentication with Shared Secret K Bob Alice rA K(rA) rB K(rB) What is the flaw if Trudy impersonates Alice? Hint: suppose two channels are opened from Trudy (Alice) to Bob 18 Challenge-Response: Strong Mutual Authentication with Hash Function Bob Alice rA MD(rA,K) rB MD(rB,K) What are the advantages over secret key cryptographic algorithms? 19 Same Simple Mutual Authentication (flawed) Bob Alice idA, rA MD(rA,K), idB, rB MD(rB,K) Flaw is that a reflection attack is possible 20 Attack 2 on the Simple Mutual Authentication Protocol • Reflection Attack: Trudy impersonating Bob • Original session • Second session 1. A -> B: rA 2. Trudy intercepts 3.T -> A: rA 4. A -> T: MD(rA, K), rD 5.T -> A: MD(rA, K), rB 6. A -> T: MD(rB’ K) Note that we have previously discussed the case where Trudy impersonates Alice termed Attack 1 for this flawed protocol. 21 Result of Attack 2 • Alice believes that she is in a secure session with Bob, but Bob is not involved and is not aware that there is a session. • Alice is in a session with Trudy 22 Ways to Fix Mutual Authentication Problems • Initiator should prove its identity first (Alice) • Use different keys to authenticate Alice and Bob • Derive the key for authenticating Bob from Alice’s key • Insist that challenges look different from initiator and responder 23 Same Simple Mutual Authentication (immune to reflection attack) Bob Alice idA idB, rB MD(rB, K), rA MD(rA, K) Initiator proves identity first. Show that a reflection attack does not work whether Trudy impersonates Alice or Bob. 24 Session Keys • Session keys should be used for securing channels, with long-term key only for authentication – Reduces amount of information encrypted under the same key; makes cryptanalysis difficult – Prevents replay attacks • Known-key attack: – Long-term keys derivable from session transcript + session key (BAD!) 25 More on Session Keys • Leak of a session-key should NOT enable discovery of further session keys – Otherwise as bad as leaking the long-term key • Forward secrecy: – Previous session keys undiscoverable after compromise of a session key – Previous session keys undiscoverable after compromise of a long-term key • This last level of security requires techniques from public key cryptography 26 Reading Assignment • Sections 11.4, 11.5, 13.1 - 13.7 • Paper 10 27.
Recommended publications
  • Topic 3: One-Time Pad and Perfect Secrecy
    Cryptography CS 555 Topic 3: One-time Pad and Perfect Secrecy CS555 Spring 2012/Topic 3 1 Outline and Readings • Outline • One-time pad • Perfect secrecy • Limitation of perfect secrecy • Usages of one-time pad • Readings: • Katz and Lindell: Chapter 2 CS555 Spring 2012/Topic 3 2 One-Time Pad • Fix the vulnerability of the Vigenere cipher by using very long keys • Key is a random string that is at least as long as the plaintext • Encryption is similar to shift cipher • Invented by Vernam in the 1920s CS555 Spring 2012/Topic 3 3 One-Time Pad Let Zm ={0,1,…,m-1} be the alphabet. Plaintext space = Ciphtertext space = Key space = n (Zm) The key is chosen uniformly randomly Plaintext X = (x1 x2 … xn) Key K = (k1 k2 … kn) Ciphertext Y = (y1 y2 … yn) ek(X) = (x1+k1 x2+k2 … xn+kn) mod m dk(Y) = (y1-k1 y2-k2 … yn-kn) mod m CS555 Spring 2012/Topic 3 4 The Binary Version of One-Time Pad Plaintext space = Ciphtertext space = Keyspace = {0,1}n Key is chosen randomly For example: • Plaintext is 11011011 • Key is 01101001 • Then ciphertext is 10110010 CS555 Spring 2012/Topic 3 5 Bit Operators • Bit AND 0 0 = 0 0 1 = 0 1 0 = 0 1 1 = 1 • Bit OR 0 0 = 0 0 1 = 1 1 0 = 1 1 1 = 1 • Addition mod 2 (also known as Bit XOR) 0 0 = 0 0 1 = 1 1 0 = 1 1 1 = 0 • Can we use operators other than Bit XOR for binary version of One-Time Pad? CS555 Spring 2012/Topic 3 6 How Good is One-Time Pad? • Intuitively, it is secure … – The key is random, so the ciphertext is completely random • How to formalize the confidentiality requirement? – Want to say “certain thing” is not learnable by the adversary (who sees the ciphertext).
    [Show full text]
  • Applications of SKREM-Like Symmetric Key Ciphers
    Applications of SKREM-like symmetric key ciphers Mircea-Adrian Digulescu1;2 February 2021 1Individual Researcher, Worldwide 2Formerly: Department of Computer Science, Faculty of Mathematics and Computer Science, University of Bucharest, Romania [email protected], [email protected], [email protected] Abstract In a prior paper we introduced a new symmetric key encryption scheme called Short Key Random Encryption Machine (SKREM), for which we claimed excellent security guarantees. In this paper we present and briey discuss some of its applications outside conventional data encryption. These are Secure Coin Flipping, Cryptographic Hashing, Zero-Leaked-Knowledge Authentication and Autho- rization and a Digital Signature scheme which can be employed on a block-chain. We also briey recap SKREM-like ciphers and the assumptions on which their security are based. The above appli- cations are novel because they do not involve public key cryptography. Furthermore, the security of SKREM-like ciphers is not based on hardness of some algebraic operations, thus not opening them up to specic quantum computing attacks. Keywords: Symmetric Key Encryption, Provable Security, One Time Pad, Zero Knowledge, Cryptographic Commit Protocol, Secure Coin Flipping, Authentication, Authorization, Cryptographic Hash, Digital Signature, Chaos Machine 1 Introduction So far, most encryption schemes able to serve Secure Coin Flipping, Zero-Knowledge Authentication and Digital Signatures, have relied on public key cryptography, which in turn relies on the hardness of prime factorization or some algebraic operation in general. Prime Factorization, in turn, has been shown to be vulnerable to attacks by a quantum computer (see [1]). In [2] we introduced a novel symmetric key encryption scheme, which does not rely on hardness of algebraic operations for its security guarantees.
    [Show full text]
  • NIST SP 800-56: Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography (Superseded)
    ARCHIVED PUBLICATION The attached publication, NIST Special Publication 800-56 (dated July 2005), has been superseded and is provided here only for historical purposes. For the most current revision of this publication, see: http://csrc.nist.gov/publications/PubsSPs.html#800-56A. NIST Special Publication 800-56 Recommendation for Pair-Wise July 2005 Key Establishment Schemes Using Discrete Logarithm Cryptography Elaine Barker, Don Johnson, and Miles Smid C O M P U T E R S E C U R I T Y NIST SP 800-56: Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography DRAFT July 2005 DRAFT Abstract This Recommendation specifies key establishment schemes using discrete logarithm cryptography, based on standards developed by the Accredited Standards Committee (ASC) X9, Inc.: ANS X9.42 (Agreement of Symmetric Keys Using Discrete Logarithm Cryptography) and ANS X9.63 (Key Agreement and Key Transport Using Elliptic Curve Cryptography). Worked examples are provided in Appendix D. KEY WORDS: assurances; Diffie-Hellman; elliptic curve cryptography; finite field cryptography; key agreement; key confirmation; key derivation; key establishment; key management; MQV. 2 NIST SP 800-56: Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography DRAFT July 2005 DRAFT Acknowledgements The National Institute of Standards and Technology (NIST) gratefully acknowledges and appreciates contributions by Rich Davis, Mike Hopper and Laurie Law from the National Security Agency concerning the many security
    [Show full text]
  • Public Key Infrastructure (PKI)
    Public Key Infrastructure Public Key Infrastructure (PKI) Neil F. Johnson [email protected] http://ise.gmu.edu/~csis Assumptions • Understanding of – Fundamentals of Public Key Cryptosystems – Hash codes for message digests and integrity check – Digital Signatures Copyright 1999, Neil F. Johnson 1 Public Key Infrastructure Overview • Public Key Cryptosystems – Quick review – Cryptography – Digital Signatures – Key Management Issues • Certificates – Certificates Information – Certificate Authority – Track Issuing a Certificate • Putting it all together – PKI applications – Pretty Good Privacy (PGP) – Privacy Enhanced Mail (PEM) Public Key Cryptosystems – Quick Review • Key distribution problem of secret key systems – You must share the secret key with another party before you can initiate communication – If you want to communicate with n parties, you require n different keys • Public Key cryptosystems solve the key distribution problem in secret key systems (provided a reliable channel for communication of public keys can be implemented) • Security is based on the unfeasibility of computing B’s private key given the knowledge of – B’s public key, – chosen plaintext, and – maybe chosen ciphertext Copyright 1999, Neil F. Johnson 2 Public Key Infrastructure Key Distribution (n)(n-1) 2 Bob Bob Alice 1 Alice 2 Chris Chris 7 5 8 9 Ellie 3 Ellie 6 David 4 David Secret Key Distribution Directory of Public Keys (certificates) Public Key Cryptosystem INSECURE CHANNEL Plaintext Ciphertext Plaintext Encryption Decryption Algorithm Algorithm Bob’s PUBLIC
    [Show full text]
  • Introduction, Overview, One Time Pad
    University of Illinois, Urbana Champaign LECTURE CS 598DK Special Topics in Cryptography Instructor: Dakshita Khurana Scribe: Joshua Reynolds, Amit Agarwal Date: August 28, 2019 1 Introduction, Overview, One Time Pad 1.1 Introduction This introductory lecture introduces some fundamental goals of cryptography and defines the basic requirement for a useful private key (symmetric) encryption scheme. A basic problem in Cryptography is that of encryption. The encryption problem is that two parties wish to communicate a message without an eavesdropper being able to learn their secret, or even any information about that secret. This problem can be solved with private key (symmetric) encryption under the assumption that both parties already have a shared secret key. This problem can also be solved with public key (asymmetric) key encryption under various other assumptions. These primitives are among the building blocks of more complicated cryptography sys- tems and a useful medium to explore the assumptions made in cryptographic systems. Encryption, in particular, is important because it allows us to communicate secrets safely through an untrusted medium like the Internet. Focusing first on private key encryption, we define the property of correctness. The second necessary property of encryption is security and is covered in part 2 of these lecture notes. 1.2 Notation This set of scribe notes will use the following notation and definitions: • A set will be denoted by a capital letter { M is the set of all possible messages { K is the set of all possible keys { C is the set of all possible ciphertexts • Set subtraction will use the /operator and jSj means the cardinality of set S • An item from a set will be denoted by a lower case letter { m is a message in plaintext (not encrypted) { ct is a ciphertext (encrypted message) { sk is a secret key used as an input in symmetric encryption and decryption • A statistical method of sampling from a set will be denoted with an arrow combined with a description of how the selection is done.
    [Show full text]
  • Solutions Problem 1. the Ipsec Architecture Documents States That
    Homework 5 - Solutions Problem 1. The IPSec architecture documents states that when two transport mode SA are bundled to allow both AH and ESP protocols on the same end-to-end flow, only one ordering of security protocols seems appropriate: performing the ESP protocol before performing the AH protocol. Why is this approach recommended rather than authentication before encryption? Solution This order of processing facilitates rapid detection and rejection of replayed or bogus packets by the receiver, prior to decrypting the packet, hence potentially reducing the impact of denial of service attacks. It also allows for the possibility of parallel processing of packets at the receiver, i.e., decryption can take place in parallel with authentication. Problem 2. Consider the following threats to web security and describe how each is countered by a particular feature of IPSec. a. Brute force cryptoanalitic attack. An exhaustive search of the key space for a conventional encryption algorithm. b. Known plaintext dictionary. Many messages will have predictable plaintext such as HTTP DET command. An attacker can construct a dictionary containing every possible encryption of the known plaintext message. When an encrypted message is intercepted, the attacker takes the portion containing the encrypted known plaintext and looks up the ciphertext in the dictionary. The ciphertext should match against an entry that was encrypted with the same secret key. This attack is especially effective against small key sizes (e.g. 40-bit keys). c. Replay attack. Earlier SSL handshake messages are replayed. d. Man in the middle. An attacker interposes during key exchange, acting as the client to the server and a server to the client.
    [Show full text]
  • Analysing and Patching SPEKE in ISO/IEC
    1 Analysing and Patching SPEKE in ISO/IEC Feng Hao, Roberto Metere, Siamak F. Shahandashti and Changyu Dong Abstract—Simple Password Exponential Key Exchange reported. Over the years, SPEKE has been used in several (SPEKE) is a well-known Password Authenticated Key Ex- commercial applications: for example, the secure messaging change (PAKE) protocol that has been used in Blackberry on Blackberry phones [11] and Entrust’s TruePass end-to- phones for secure messaging and Entrust’s TruePass end-to- end web products. It has also been included into international end web products [16]. SPEKE has also been included into standards such as ISO/IEC 11770-4 and IEEE P1363.2. In the international standards such as IEEE P1363.2 [22] and this paper, we analyse the SPEKE protocol as specified in the ISO/IEC 11770-4 [24]. ISO/IEC and IEEE standards. We identify that the protocol is Given the wide usage of SPEKE in practical applications vulnerable to two new attacks: an impersonation attack that and its inclusion in standards, we believe a thorough allows an attacker to impersonate a user without knowing the password by launching two parallel sessions with the victim, analysis of SPEKE is both necessary and important. In and a key-malleability attack that allows a man-in-the-middle this paper, we revisit SPEKE and its variants specified in (MITM) to manipulate the session key without being detected the original paper [25], the IEEE 1363.2 [22] and ISO/IEC by the end users. Both attacks have been acknowledged by 11770-4 [23] standards.
    [Show full text]
  • Why Passwords Stink White Paper | Why Passwords Stink
    WHITE PAPER WHY PASSWORDS STINK WHITE PAPER | WHY PASSWORDS STINK 01 INTRODUCTION 02 PASSWORDS ARE FUNDAMENTALLY INSECURE 03 THE PROBLEM WITH PASSWORDS IS THAT THEY CONTENTS ARE “SHARED SECRETS” 04 CURRENT ALTERNATIVES AREN’T THE ANSWER 05 A SOLUTION TO THE PASSWORD ISSUE 06 INTRODUCING BEYOND IDENTITY 07 CONCLUSION 02 WHITE PAPER | WHY PASSWORDS STINK There are hundreds of billions of passwords in the world today, with more being created every day. In fact, the average business user maintains an astounding average of 191 passwords.1 Unfortunately, these passwords represent a fundamentally weak link in most organizations because INTRODUCTION they will always be insecure. This white paper examines why that is, investigates some alternative solutions, and introduces a new method of authentication using asymmetric keys and certificates to eliminate passwords altogether. 01 1 https://www.securitymagazine.com/articles/88475-average-business-user-has-191-passwords 03 WHITE PAPER | WHY PASSWORDS STINK Let’s face it: Passwords stink! For employees and customers, they cause friction and frustration when logging in – Who can remember the 16-character combination of letters, symbols, and digits that are indicative of strong passwords, much less come up with them in the first place? When PASSWORDS ARE a password gets lost or stolen (and they invariably do), it places a burden on the help desk. In fact, 20-50% of help FUNDAMENTALLY desk calls are for password resets, with the average call costing the organization $70.2 INSECURE For CISOs, passwords represent corporate assets that can be targeted by bad actors. And that’s a problem because they often transit networks in the clear, are stored in databases that can be and often are hacked, are shared 02 among colleagues, and are reused across multiple apps – making them easy targets for malware, phishing attacks, and other credential-stealing schemes.
    [Show full text]
  • TCP/IP Network Security
    An Intro to Network Crypto Jim Binkley- [email protected] 1 Crypto outline ◆ overview ◆ symmetric crypto (DES ... encryption) ◆ hash/MAC/message digest algorithms ◆ asymmetric crypto (public key technology) ◆ DH - how to start a secure connection ◆ KDC - a little bit on shared secret servers ◆ signatures - authentication with asymmetric keys ◆ certificates - signed public keys ◆ a little bit on authentication 2 overview ◆ there are MANY crypto algorithms and MANY academic network secure protocols ◆ how they are used in network protocols is another matter ◆ traditional IETF RFC said under security considerations (at end of doc) – “not considered here” (another F. Flub) ◆ new IETF POV: must consider here 3 symmetric encryption ◆ both sides know OUT OF BAND shared secret (password, bit string) ◆ encrypt(key, plaintext) -> cybercrud(encrypted) ◆ decrypt(key, cybercrud) -> plaintext ◆ encode/decode use same key (symmetric) – shared secret on both sides ◆ algorithms include: DES, 3DES, IDEA(128), BLOWFISH, SKIPJACK, new AES ◆ ssh uses 128 bit keyed IDEA ◆ DES key 56 bits - 0xdeadbeefdeadbeef 4 DES-CBC ◆ Cipher Block Chaining Mode ◆ DES processes one 64 bit block of data at a time (key is 64 bits (8 bits not important)) ◆ CBC is used so that e.g., two 64 bit blocks in a row that are the same, do NOT produce two 64 encrypted blocks that are the same ◆ C(n) = Ek [C(n-1) xor Plaintext(n)] ◆ requires known IV or initialization vector 5 pros/cons ◆ pros – faster than asymmetric ◆ cons – shared secrets do not scale in general to many users » more people
    [Show full text]
  • Walking the Bifrost: an Operator's Guide to Heimdal & Kerberos on Macos
    Walking the Bifrost: An Operator's Guide to Heimdal & Kerberos on macOS Cody Thomas Objective By The Sea 3.0 March 2020 WHO AM I? Cody Thomas - @its_a_feature_ ● Operator / Instructor at SpecterOps ● Open Source Developer ○ Apfell – Red Team C2 Framework ○ Bifrost – Kerberos Manipulation ○ Orchard – Open Directory Access ○ GitHub: https://github.com/its-a-feature OVERVIEW ● Brief intro to Kerberos ○ What is it / How does it work / Why do we care? ● Attacking Active Directory Kerberos from macOS ○ Credential Storage / Theft ○ Common Attacks ● Other Kerberos details on macOS ○ LKDC KERBEROS INTRODUCTION A brief overview KERBEROS 101 ● What is Kerberos? ○ Authentication mechanism invented by MIT in 1980s ○ Designed for use on insecure networks ○ Uses math and cryptography to provide strong guarantees ○ Based on a client/server model - stateless ○ Uses ASN.1/DER encoding of data ○ Scoped to ‘realms’ of authentication ● Many implementations ○ Traditional MIT (with plugins) ○ Windows ○ macOS KERBEROS 101 – AUTH STEPS 1. Client and Key Distribution Center (KDC) have shared secret ○ Think of the KDC like an all-knowing PKI management server 2. Client makes a request to the Authentication Server (AS) to be authenticated with the shared secret – i.e. an AS-REQ ○ AS forwards request to the KDC, typically these are the same machine 3. AS responds with a ticket to the krbtgt SPN and encrypts a portion with the krbtgt hash. This ticket is called a Ticket Granting Ticket (TGT). This is an AS-REP. ○ The TGT proves you are who you say you are to the KDC because of the encrypted portion ○ Think of this like a new username/password combination KERBEROS 101 – AUTH STEPS 4.
    [Show full text]
  • On the (Non)Universality of the One-Time Pad
    On the (non)Universality of the One-Time Pad Yevgeniy Dodis Joel Spencer Department of Computer Science Department of Computer Science New York University New York University Email: [email protected] Email: [email protected] Abstract 1 Imperfect Random Sources Randomization is vital in cryptography: secret keys Randomization has proved to be extremely useful and should be randomly generated and most cryptographic fundamental in many areas of computer science, such as primitives (e.g., encryption) must be probabilistic. As a approximation algorithms, counting problems, distributed common abstraction, it is assumed that there is a source of computing, primality testing, as well as cryptographic pro- truly random bits available to all the participants of the sys- tocols (which is the topic of this paper). The common ab- tem. While convenient, this assumption is often highly un- straction used to introduce randomness into computation realistic, and cryptographic systems have to be built based is that the underlying algorithm has access to a stream of on imperfect sources of randomness. Remarkably, this fun- completely unbiased and independent random bits. This ab- damental problem has received little or no attention so far, straction allows one to use randomness in a clean way, sep- despite the fact that a related question of simulating prob- arating out the issue of actually generating such “strong” abilistic (BPP) algorithms with imperfect random sources random bits. Unfortunately, in reality we do not have has a long and rich history. sources that emit perfectly uniform and independent ran- In this work we initiate the quantitative study concerning dom bits.
    [Show full text]
  • Security Policy Trapeze Networks
    MX-200R-GS/MX-216R-GS Mobility Exchange WLAN Controllers Security Policy Trapeze Networks August 14, 2009 Copyright Trapeze Networks 2007. May be reproduced only in its original entirety [without revision]. Security Policy TABLE OF CONTENTS 1. MODULE OVERVIEW .........................................................................................................................................3 2. SECURITY LEVEL................................................................................................................................................4 3. MODES OF OPERATION.....................................................................................................................................5 4. PORTS AND INTERFACES .................................................................................................................................5 5. IDENTIFICATION AND AUTHENTICATION POLICY................................................................................6 6. ACCESS CONTROL POLICY..............................................................................................................................7 ROLES AND SERVICES................................................................................................................................................7 DEFINITION OF CRITICAL SECURITY PARAMETERS (CSPS)........................................................................................7 DEFINITION OF CSPS MODES OF ACCESS ..................................................................................................................8
    [Show full text]