Top Banner
INA Volume 1 / @smaret 2013 INA Volume 1 Sylvain MARET Version 1.0 RC1 2013-02-17
191

INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

Sep 05, 2014

Download

Technology

Sylvain Maret

Digital Identity & Authentication training
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

INA – Volume 1

Sylvain MARET Version 1.0 RC1 2013-02-17

Page 2: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 3: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Who am I?

ICT Security Consultant

– 18 years of experience in ICT Security

– Principal Consultant at MARET Consulting

– Expert at Engineer School of Yverdon-les-Bains

– Member of board OpenID Switzerland

– Co-founder Application Security Forum #ASFWS

– OWASP Member Switzerland

– Author of the blog: la Citadelle Electronique

– http://ch.linkedin.com/in/smaret or @smaret

– http://www.slideshare.net/smaret

Chosen field

– AppSec & Digital Identity Security

Page 4: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Agenda Volume 1

C0 - Introduction

C1 - Definition

C2 - Tokens / Authentication factors

C3 – Password

C4 - One Time Password - OTP

C5 - OTP / OATH standars

C6 - OTP solution

C7 - AuthN PKI

C8 - Biometrics

Page 5: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Digital Identity ?

Page 6: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Definition Wikipédia French

Page 7: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Definition

Page 8: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Identity

A set of attributes that uniquely describe a person or information system within a given context.

Source = NIST Special Publication 800-63-1

Page 9: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Authentication

The process of establishing confidence in the identity of users or information systems.

Source = NIST Special Publication 800-63-1

Page 10: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Electronic Authentication (E-Authentication)

The process of establishing confidence in user identities electronically presented to an information system.

Source = NIST Special Publication 800-63-1

Page 11: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Claimant

A party whose identity is to be verified using an authentication protocol.

Source = NIST Special Publication 800-63-1

Page 12: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Subscriber

A party who has received a credential or token from a CSP.

Source = NIST Special Publication 800-63-1

Page 13: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Token

Something that the Claimant possesses and controls (typically a cryptographic module or password) that is used to authenticate the Claimant’s identity.

Source = NIST Special Publication 800-63-1

Page 14: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Credential

An object or data structure that authoritatively binds an identity (and optionally, additional attributes) to a token possessed and controlled by a Subscriber.

Source = NIST Special Publication 800-63-1

Page 15: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Identity Proofing

The process by which a CSP and a Registration Authority (RA) collect and verify information about a person for the purpose of issuing credentials to that person.

Source = NIST Special Publication 800-63-1

Page 16: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Credential Service Provider (CSP)

A trusted entity that issues or registers Subscriber tokens and issues electronic credentials to Subscribers. The CSP may encompass Registration Authorities (RAs) and Verifiers that it operates. A CSP may be an independent third party, or may issue credentials for its own use.

Source = NIST Special Publication 800-63-1

Page 17: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Registration Authority (RA)

A trusted entity that establishes and vouches for the identity or attributes of a Subscriber to a CSP. The RA may be an integral part of a CSP, or it may be independent of a CSP, but it has a relationship to the CSP(s).

Source = NIST Special Publication 800-63-1

Page 18: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Verifier

An entity that verifies the Claimant’s identity by verifying the Claimant’s possession and control of a token using an authentication protocol. To do this, the Verifier may also need to validate credentials that link the token and identity and check their status.

Source = NIST Special Publication 800-63-1

Page 19: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Relying Party (RP)

An entity that relies upon the Subscriber's token and credentials or a Verifier's assertion of a Claimant’s identity, typically to process a transaction or grant access to information or a system.

Source = NIST Special Publication 800-63-1

Page 20: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Authentication Protocol

A defined sequence of messages between a Claimant and a Verifier that demonstrates that the Claimant has possession and control of a valid token to establish his/her identity, and optionally, demonstrates to the Claimant that he or she is communicating with the intended Verifier.

Source = NIST Special Publication 800-63-1

Page 21: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

AuthN & AuthZ

Aka authentication process

Aka authorization process

Page 22: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 23: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Tokens / Authentication factors

Page 24: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Authentication factors

Something you know

Something you have

Something you are

Page 25: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Strong Authentication / Multi-factor authentication

Multi-factor authentication refers to the use of more than one of the factors listed bellow:

– Something you know

– Something you have

– Something you are

Page 26: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Two-factor authentication

Two-factor authentication

– TFA

– T-FA

– 2FA

Page 27: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Knowledge factors: "something the user knows"

Password

– password is a secret word or string of characters that is used for user authentication.

PIN

– personal identification number (PIN) is a secret numeric password.

Pattern

– Pattern is a sequence of cells in an array that is used for authenticating the users.

Page 28: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Possession factors: "something the user has"

Tokens with a display

USB tokens

Smartphone

Smartcards

Wireless (RFID, NFC)

Etc.

Page 29: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Inherence factors: "something the user is or do"

Physiological biometric

– Fingerprint recognition

– Facial recognition system

– Iris recognition

– Etc.

Behavioral biometrics

– Keystroke dynamics

– Speaker recognition

– Geo Localization

– Etc.

Page 30: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

PASSWORD

Page 31: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

http://www.wired.co.uk/magazine/archive/2013/01/features/hacked

Page 33: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Factor

Something you know

PIN Code

Password

Passphrase

Aka 1FA

Page 34: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Entropy / Password strength

Password strength is a measure of the effectiveness of a password in resisting guessing and brute-force attacks.

Page 35: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Entropy / Password strength

http://en.wikipedia.org/wiki/Password_strength

Page 36: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Entropy / Password strength

http://en.wikipedia.org/wiki/Password_strength

Page 37: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Characteristics of weak passwords

based on common dictionary words

– Including dictionary words that have been altered: • Reversed (e.g., “terces”)

• Mixed case (e.g., SeCreT)

• Character/Symbol replacement (e.g., “$ecret”)

• Words with vowels removed (e.g., “scrt”)

based on common names

short (under 6 characters)

based on keyboard patterns (e.g., “qwertz”)

composed of single symbol type (e.g., all characters)

Page 38: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Characteristics of strong passwords

Strong Passwords

– contain at least one of each of the following: • digit (0..9)

• letter (a..Z)

• punctuation symbol (e.g., !)

• control character (e.g., ^s, Ctrl-s)

– are based on a verse (e.g., passphrase) from an obscure work where the password is formed from the characters in the verse

Page 40: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Manager

http://keepass.info/

Page 41: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Manager

http://passwordsafe.sourceforge.net/

Page 42: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Generator

Page 43: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Threat Model AuthN 1FA

Page 44: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password / Threats

Man In The Middle Attacks

Phishing Attacks

Pharming Attacks

DNS Cache Poisoning

Trojan Attacks

Man-in-the-Phone Attacks (Man-in-the-Mobile/MitMo Attacks)

Man-in-the-Browser Attacks

Browser Poisoning

Password Sniffing

Brute Force Attack

Dictionary Attacks

Page 45: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Attacks

Password Cracking – Brute force

– Dictionary attack

– Hybride

Password sniffing

Man-in-the-middle attack

Malware – Keylogger

Default Password

Phishing

Etc.

Page 46: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Cracking Tools

Caen & Abel

John the Ripper

L0phtCrack

Ophcrack

THC hydra

Aircrack (WEP/WPA cracking tool)

Etc.

Page 47: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Rainbow table

A rainbow table is a precomputed table for reversing cryptographic hash functions, usually for cracking password hashes.

Page 48: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Ophcrack

Page 49: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Defense against rainbow tables

A rainbow table is ineffective against one-way hashes that include salts

Page 50: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password Storage Cheat Sheet

Password Storage Rules

– Rule 1: Use An Adaptive One-Way Function

• bcrypt, PBKDF2 or scrypt

– Rule 2: Use a Long Cryptographically Random Per-User Salt

– Rule 3: Iterate the hash

– Rule 4 : Encrypt the Hash Data With a Keyed Algorithm

https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet

Page 51: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Hashcat / GPU

25-GPU cluster cracks every standard Windows password in <6 hours

– It achieves the 350 billion-guess-per-second speed when cracking password hashes generated by the NTLM cryptographic algorithm that Microsoft has included in every version of Windows since Server 2003.

http://arstechnica.com/security/2012/12/25-gpu-cluster-cracks-every-standard-windows-password-in-6-hours/

Page 52: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Password sniffing

Page 53: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD – Weak Protocol (Telnet)

Page 54: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Weak protocols

Telnet

FTP

IMAP

POP3

LDAP

Etc.

Page 55: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

ARP Spoofing

Page 56: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD - SSH

Page 57: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Man-in-the-middle attack

often abbreviated

– MITM, MitM, MIM, MiM, MITMA

Page 58: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Man-in-the-middle attack

Ettercap

SSLStrip

SSLSniff

Mallory

Etc.

Page 59: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Keylogger / Keystroke logging

Software-based keyloggers

– Malware

– Mobile

Hardware-based keyloggers

Page 60: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Wireless sniffing – TEMPEST

http://lasecwww.epfl.ch/keyboard/

Page 61: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Malicious Code Evolution

Page 62: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Malware

Page 63: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Zeus

Page 64: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 65: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Default Password

Page 66: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

One Time Password - OTP

Strong AuthN OTP

Page 67: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP Technology / Standards

Based on a shared secret Key

Approach

– Time Based OTP

– Event Based OTP

– Challenge Response OTP

– Out-of-band OTP

– Others

Standards

– OATH

Page 68: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Time Based OTP

K=Secret Key / Seed

T=UTC Time

Hash function

OTP

Page 69: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Event Based OTP

K=Secret Key / Seed

C = Counter HASH Function

OTP

Page 70: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP Challenge Response Based

K=Secret Key / Seed

nonce

HASH Function

OTP

Challenge

Page 71: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Out-of-band OTP

SMS OTP

TAN

Email

Etc.

Page 72: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Out-of-band - SMS OTP

Page 73: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Out-of-band - TAN

Page 74: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Bingo Card OTP

Page 75: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Other[s] OTP technologies…

“Flicker code” Generator Software

that converts already

encrypted data into

optical screen animation

Page 76: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP / OATH standards

Authentication Methods

Page 77: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OATH - Authentication Methods

HOTP: An HMAC-Based OTP Algorithm (RFC 4226)

TOTP - Time-based One-time Password Algorithm (RFC 6238)

OCRA - OATH Challenge/Response Algorithms Specification (RFC 6287)

Page 78: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

HOTP: An HMAC-Based One-Time Password Algorithm

RFC 4226

http://www.ietf.org/rfc/rfc4226.txt

Event Based OTP

Use HMAC: Keyed-Hashing for Message Authentication (RFC 2104)

Page 79: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

HOTP – Crypto 101

Page 80: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

HOTP – Crypto 101

Page 81: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

TOTP - Time-based One-time Password Algorithm

RFC 6238

http://www.ietf.org/rfc/rfc6238.txt

Time Based OTP

Use HMAC: Keyed-Hashing for Message Authentication (RFC 2104)

Page 82: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

TOTP – Crypto 101

Page 83: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Challenge Response OTP

RFC 6287

http://www.ietf.org/rfc/rfc6287.txt

OCRA

OATH Challenge-Response Algorithm

Page 84: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OCRA – Crypto 101

Page 85: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP solution

Page 86: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 87: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 88: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Software OTP for Smartphone

http://itunes.apple.com/us/app/iotp/id328973960

Page 89: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OCRA on a mobile

Page 90: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

google-authenticator

These implementations support

– HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226

– Time-based One-time Password (TOTP) algorithm specified in RFC 6238

– Google Authenticator • Android, IOS and Blackberry

http://code.google.com/p/google-authenticator/

Page 91: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

google-authenticator

Page 92: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OCRA on Mobile

Page 93: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP without PIN

Page 94: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP Pin Protected

Page 95: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP on Smartcard

Page 96: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP with Smartcard

Page 97: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OTP hybrid (OTP & PKI)

Page 98: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

YubiKey

Page 99: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

YubiKey

Page 100: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

PKI

PKI Strong AuthN

Page 101: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

PKI Tokens Storage

Page 102: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Public Key Cryptography 101

Page 103: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Signature 101

Page 104: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Signature – Verification 101

Page 105: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Mutual AuthN SSL

Page 106: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

PKI Certificate Validation

CRL

Delta CRL

OCSP

Page 107: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

OSCP Validation

Page 108: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 109: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 110: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 111: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 112: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 113: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Smart Card

Page 114: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Smart Card

Page 115: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Smart Card - Crypto

Page 116: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 117: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 118: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometrics

BIO AuthN

Page 119: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometrics

Source: http://www.biometrics.gov/

Page 120: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometric Terms

Source: http://www.biometrics.gov/

Page 121: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Enrollment Process

Source: http://www.biometrics.gov/

Page 122: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Components

Source: http://www.biometrics.gov/

Page 123: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

FRR / FAR

Source: http://www.biometrics.gov/

Page 124: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

TAR

Source: http://www.biometrics.gov/

Page 125: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

FAR

Source: http://www.biometrics.gov/

Page 126: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Accept Rate Threshold

Source: http://www.biometrics.gov/

Page 127: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Identification

Source: http://www.biometrics.gov/

Page 128: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Identification

Source: http://www.biometrics.gov/

Page 129: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Failure to Acquire

Source: http://www.biometrics.gov/

Page 130: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometric Modalities

Source: http://www.biometrics.gov/

Page 131: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Dynamic Signature

Source: http://www.biometrics.gov/

Page 132: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Dynamic Signature History

Source: http://www.biometrics.gov/

Page 133: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Dynamic Signature Technology

Source: http://www.biometrics.gov/

Page 134: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Face Recognition

Source: http://www.biometrics.gov/

Page 135: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Face Recognition History

Source: http://www.biometrics.gov/

Page 136: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Face Recognition Technologies

Source: http://www.biometrics.gov/

Page 137: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Principal Components Analysis (PCA)

Source: http://www.biometrics.gov/

Page 138: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Linear Discriminant Analysis

Source: http://www.biometrics.gov/

Page 139: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Elastic Bunch Graph Matching

Source: http://www.biometrics.gov/

Page 140: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Fingerprinting

Source: http://www.biometrics.gov/

Page 141: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Fingerprinting History

Source: http://www.biometrics.gov/

Page 142: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Fingerprinting Technology

Source: http://www.biometrics.gov/

Page 143: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Fingerprint Sensor

Source: http://www.biometrics.gov/

Page 144: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Fingerprint Software

Source: http://www.biometrics.gov/

Page 145: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 146: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 147: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Hand Geometry

Source: http://www.biometrics.gov/

Page 148: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Hand Geometry History

Source: http://www.biometrics.gov/

Page 149: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Hand Geometry History

Source: http://www.biometrics.gov/

Page 150: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Hand Geometry Technology

Source: http://www.biometrics.gov/

Page 151: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Iris Recognition

Source: http://www.biometrics.gov/

Page 152: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Iris Recognition History

Source: http://www.biometrics.gov/

Page 153: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Iris Recognition Technology

Source: http://www.biometrics.gov/

Page 154: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Iris Recognition Technology

Source: http://www.biometrics.gov/

Page 155: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Palm Print

Source: http://www.biometrics.gov/

Page 156: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Palm Print History

Source: http://www.biometrics.gov/

Page 157: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Palm Print Technology

Source: http://www.biometrics.gov/

Page 158: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Palm Print Technology

Source: http://www.biometrics.gov/

Page 159: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Speaker Verification

Page 160: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Speaker Verification History

Source: http://www.biometrics.gov/

Page 161: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Speaker Verification Technology

Source: http://www.biometrics.gov/

Page 162: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Speaker Verification Technology

Source: http://www.biometrics.gov/

Page 163: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Speaker Verification Technology

Source: http://www.biometrics.gov/

Page 164: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Vascular Pattern

Page 165: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Vascular Pattern History

Source: http://www.biometrics.gov/

Page 166: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Vascular Pattern Technology

Source: http://www.biometrics.gov/

Page 167: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Vascular Pattern Technology

Source: http://www.biometrics.gov/

Page 168: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Vascular Pattern Technology

Page 169: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometrics Technology

Page 170: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Biometrics Technology

Page 171: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Match-on-Card

Page 172: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 173: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

MOC

Page 174: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

MOC – Athena & Precise Biometrics

Page 175: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Page 177: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Appendices

Page 178: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Threat Modeling

DFD

STRIDE

Page 179: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Threat Modeling Process

Diagram

Identify Threats

Mitigate

Validate

Vision

Page 180: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD symbols

Page 181: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD Symbols

Page 182: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD Symbols

Page 183: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

Trust boundaries that intersect data flows

Points/surfaces where an attacker can interject

– Machine boundaries, privilege boundaries, integrity boundaries are examples of trust boundaries

– Threads in a native process are often inside a trust boundary, because they share the same privs, rights, identifiers and access

Processes talking across a network always have a trust boundary

Page 184: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD Level

Level 0 - Context Diagram – Very high-level; entire component / product / system

Level 1 Diagram – High level; single feature / scenario

Level 2 Diagram – Low level; detailed sub-components of features

Level 3 Diagram – More detailed

– Rare to need more layers, except in huge projects or when you’re drawing more trust boundaries

Page 185: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

STRIDE - Tool Threat Property Definition Example

Spoofing Authentication Impersonating

something or

someone else.

Pretending to be any of billg, xbox.com or a

system update

Tampering Integrity Modifying data or

code

Modifying a game config file on disk, or a

packet as it traverses the network

Repudiation Non-repudiation Claiming to have not

performed an action

“I didn’t cheat!”

Information

Disclosure

Confidentiality Exposing information

to someone not

authorized to see it

Reading key material from an app

Denial of Service Availability Deny or degrade

service to users

Crashing the web site, sending a packet and

absorbing seconds of CPU time, or routing

packets into a black hole

Elevation of Privilege Authorization Gain capabilities

without proper

authorization

Allowing a remote internet user to run

commands is the classic example, but running

kernel code from lower trust levels is also EoP

Page 186: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

STRIDE – Security Controls STRIDE Threat List

Type Examples Security

Control

Spoofing Threat action aimed to illegally access and use another

user's credentials, such as username and password. Authentication

Tampering

Threat action aimed to maliciously change/modify

persistent data, such as persistent data in a database, and

the alteration of data in transit between two computers

over an open network, such as the Internet.

Integrity

Repudiation

Threat action aimed to perform illegal operations in a

system that lacks the ability to trace the prohibited

operations.

Non-

Repudiation

Information

disclosure

Threat action to read a file that one was not granted

access to, or to read data in transit. Confidentiality

Denial of

service

Threat aimed to deny access to valid users, such as by

making a web server temporarily unavailable or unusable. Availability

Elevation of

privilege

Threat aimed to gain privileged access to resources for

gaining unauthorized access to information or to

compromise a system.

Authorization

Page 187: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

SRIDE

Page 188: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

SRIDE

Page 189: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD & STRIDE

Page 190: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD AuthN 1FA

Page 191: INA Volume 1/3 Version 1.0 RC / Digital Identity and Authentication

INA Volume 1 / @smaret 2013

DFD – AuthN 1FA / STRIDE