SlideShare a Scribd company logo
Stronger / Multi-factor
Authentication
For
Enterprise Applications
(Identity Assurance using PKI, Smart cards and Biometrics)


    Sun Virtualization Solutions
Presented to OWASP Seminar, Hartford (Feb 10, 2009)




Ramesh Nagappan
Sun Microsystems, Burlington, MA
http://www.coresecuritypatterns.com/blogs
Agenda

 ●   The Identity Dilemma
 ●   Identity Assurance vs. Stronger Security
 ●   Multi-factor Authentication Strategies
      ➢   OTPs, Smartcards, PKI and Biometrics
      ➢   Choosing the credential: Pros and Cons
 ●   Understanding Real-world Implementation
      ➢   Tools of the Trade
      ➢   Role of JAAS
 ●   Role of Sun OpenSSO Enterprise
 ●   Architecture and Deployment
 ●   Demonstration
      ➢   Multi-factor SSO with PKI, Smart cards and
          Biometrics.
 ●   Q&A
Who am I ?
• A technical guy from Sun Microsystems, Burlington,
  MA.
   > Focused on Security and Identity Management
     technologies
• Co-Author of 5 technology books and numerous
  articles on Java EE, XML Web Services and
  Security.
• Holds CISSP and CISA.
• Contributes to Java, XML security, Biometrics,
  Smart cards standards and open-source initiatives.
• Contributes to Graduate curriculum of Information
  Security programs at multiple universities.
• Ph.D drop-out.
• Read my blogs at
  http://www.coresecuritypatterns.com/blogs
• Write to me at nramesh@post.harvard.edu
The Identity Dilemma : Who Are You ?
                                                    • Internet is a faceless
                                                      channel of interaction.
                                                      > No mechanisms for physically verify a
                                                        person – who is accessing your
                                                        resources.
                                                    • Identifying the legitimate
                                                      user has become crucial.
                                                      > With higher strength of authentication
                                                        and security.
                                                      > Mandates mechanisms driven by
                                                        human recognition characteristics.
                                                      > Growing trends on on-demand SaaS,
                                                        Cloud computing infrastructures.
                                                      > Everyone is concerned about their
Cartoon by Peter Steiner. The New Yorker, July 5,
1993 issue (Vol.69 (LXIX) no. 20) page 61
                                                        private information and privacy.
How do I know..it's you ?
               • Identity thefts and on-line frauds: The
                 fastest growing crime in the world.
                 > Someone wrongfully obtains or abuses another
                   person's identity – for economic or personal gain.
                 > Impersonation, Counterfeits, stolen or forged
                   credentials (PINs, Passwords, ID cards), Phishing are
                   widely becoming common.
                 > Most frauds happens through trusted insiders.
                 > Fake credentials are everywhere : Few detected and
                   many undetected !
               • Identity thefts results huge losses to
                 organizations.
                 > Loss of consumer confidence and leading to incur
                   huge government penalties.
                 > Growing needs for stringent “Personal Identity
                   Verification and Assurance” (i.e HSPD-12, ICAO 9303).
                 > Growing mandates for protecting Identity information
                   and compliance (i.e. Massachusetts 201 CMR 17.00)
Growing need for Identity Assurance
• High degree of authentication and assurance is the most
  critical requirement for physical and logical access control.
• Acquire Identity credentials that tightly binds an event to a
  person's proof of possessions, physiological characteristics
  and behavioural traits.
  > Identification and authentication as equivalent to Face-to-Face verification of
      a person.
  >   Credentials must provide at-least some long-term stability.
  >   Credentials should be non-intrusive but still qualitatively and quantitatively
      measured.
  >   Integrate/Interoperable with physical and logical infrastructures for assured
      identity verification.
  >   Support for pervasive use (On-demand SaaS and Cloud-computing based
      application infrastructures) for authenticating a person with irrefutable proof .
  >   Lesser impact on privacy and social values.
Human Factors of Identity Assurance
Human attributes as Identity Assurance Credentials

  • Proof-of-Knowledge
     > Something I know ?
     > Passwords, PIN, Mom's Maiden Name, Phone
       #, etc.
  • Proof-of-Possession
     > Something I have ?
     > Smartcards, Tokens, Driver's license, PKI
       certificates
  • Proof-of-Characteristics
     > Something I physiologically or behaviorally
       own ?
     > Fingerprints, Hand geometry, Facial image, Iris,
       Retina, DNA, voice, signature patterns
     > Proof-of-Physical Presence
Security Levels vs. Identity Assurance




Courtesy: Randy Vanderhoof, Smartcard Alliance
Strong Authentication Strategies
 •   Authentication Questions
 •   HTTP/s Request/Response attributes
 •   Hardware/Software Token based One-time Passwords (OTP)
 •   Hardware/Software Token based Challenge/Response OTP
 •   Phone call based OTP
 •   SMS based OTP
 •   PKI Certificate
 •   USB Tokens/Smart cards (PIN and PKI Certificates)
 •   Biometrics (Fingerprints)
 •   USB Token/Smart cards (PKI and Match-on-card Biometrics).
One-Time Passwords
Hardware/Software Tokens
• Generate one-time passwords
   > Mathematical problem or Crypto function or
     Random number generation
   > Challenge/Response Dynamic password,
     Asynchronous Password
   > Time synchronization between client & server.
• Deliver Passwords
   > Proprietary devices, USB, Key fobs
   > SMS Messages, Email, Phone

• Known issues
   > Vulnerable to MITM, Phishing attacks where
     Time-synchronization not effective.
   > DES key and Lost token issues

• Standards: OAUTH (Open Authentication
  Initiative)

    One-Time Passwords : Alternative to static passwords
Smart cards w. PKI
Smart cards                                                 Standards
• A credit card sized computing device acts as a            • ISO-7816
  Cryptographic token.
                                                            • Java Card, Multos
    > Contact / Contactless cards
                                                            • Global Platform
• Allows perforning security functions
    > Key generation                                        • PC/SC
    > Public/Private key operations                         • FIPS-201/PIV, CAC
    > PIN/Biometric authentication                          • PKCS#11, PKCS#15
    > Challenge/response authentication                     • GSM/PCS
• Supports the use of Public-key infrastructure to verify   • EMV
  the Identity claim.                                         (Europay/Mastercard/Visa)
    > PKI credential issuance.
    > Credential validation/verification via OCSP, CRLs
• Defends against tampering and hacking.
   > PKI/Private key protection
• Issues: Lost cards, Key compromise recovery is
  difficult.

                      Smart cards as a Cryptographic Token
Biometric Assurance
Biometric Identity                                         Standards
• Use of Physiological or Behavioral characteristics to    • INCITS 378 / CBEFF (Fingerprints)
  identify a person.
                                                           • INCITS 379 (Iris)
    > High degree of assurance with proof of presence.
    > Fingerprints, Facial image/geometry, Iris, Retina,   • OASIS BIAS
      Voice, Hand geometry, Keystroke, Signature           • BioAPI
• Biometric templates can be stored on Smart card for      • JavaCard BioAPI
  personal identification.
                                                           • FIPS-201 / PIV
    > Fingerprint template is ~200 bytes
    > Iris template is 500 bytes
• Biometric credential must be exchanged in a secure
  network channel (Trusted path)
• Issues:
    > Biometrics is not a secret
    > False Acceptance (FAR) & False Reject (FRR)
      rates
    > Vulnerable to Message replay/MITM attacks, if not
      exchanged in secure channel.


                        Biometric Assurance : Who I claim to be
Real-world Scenario : Authentication
 Identity Assurance
 Credentials                                     Authentication
  User name, password                          Server / Directory

  One-time Passwords
  Smart Card (PKI Certificates)
                                                                Enterprise
  Biometrics                                                  Applications
                                   Validate



                                        Good
                                        Bad



                                   Ideally, credentials are:
                                   something you know +
                                   something you have +
                                     something you are
Real World Scenario : SSO / Federation
                                               IDP/SSO Server +
                                                   Directory




                                                                Application A
   Multi-factor Identity
     Credentials (e.g.
   username/password,
                                  1.                                    Application B
     Smartcard PKI,
       Biometrics)                       2.
                                          3.

                                                        SSO Token
                                                         SAML
                                                         Artifact
                            Acquire                      Proprietary token
                           Credentials                   Kerberos ticket
                                                         etc
Tools of the Trade : What do you need ?
Multi-factor Authentication for Enterprise Applications

     • Web Authentication
        > JAAS Login Module
     • Desktop Authentication
        > PAM Module (Solaris, Linux)
        > GINA (Windows XP, 2003)
     • Identity Provider Infrastructure (IDP)
        > Single Sign-on (SSO)
        > Multi-factor authentication
     • Directory Server
        > Repository for user accounts
     • Your target applications
Tools of the Trade : From Authentication Providers
Multi-factor Authentication for Enterprise Applications

    • Browser Plugin
      > PKCS#11 Client for Smartcard
      > ActiveX/Java Plugin for USB Biometric Scanners
    • Enrollment Middleware
      > Biometric Enrollment, Smartcard/Token Credential
        Issuance/Management
      > One-time Password (Token) registration/issuance
    • Authentication Middleware
      > Biometric Authentication, One-time password authentication
      > PKI Credential validation via OCSP, CRL, Directory,
         Certificate Authority
Java Authentication Authorization Service
(JAAS)
 • JAAS plays a vital role delivering Multi-factor authentication.
   > All Java EE compliant Application server provide support for
     JAAS.
 • JAAS allows to enable Multi-factor authentication in Java
   EE Enterprise environment.
   > Facilitates pluggable authentication providers as “Login Modules”.
   > Ensure Java EE remain independent of authentication providers.
 • Implementing a Login module is not cumbersome..
   > Callback handler – Prompt the user for acquiring credentials
   > Login (), commit (), Logout ()
 • Choose your own JAAS based Identity Provider
   Infrastructure ?
   > Get introduced to Sun OpenSSO
Sun OpenSSO Enterprise
• Identity Services Infrastructure facilitates Single Sign-On (SSO) for
  Web applications residing within an enterprise or across networks.
• Based on Sun's Open-source initiative.
• Open standards based framework supports centralized authentication,
  authorization and auditing.
  >   JAAS based authentication services
  >   Agent-based and XACML based policy enforcement
  >   Identity-enabled XML Web services for AuthN, AuthX, Audit and Provisioning
  >   Identity Federation Protocols support include SAMLv2, ID-*, WS-Federation,WS-
      Policy)
  >   XML Web Services Security (WS-Security, WS-Trust, WS-I Basic Security Profile)
  >   Multi-factor authentication via chaining
  >   Centralized configuration, logging and auditing services
  >   Supports multiple Java EE application servers and Web containers
  >   Fedlets
• Deployed as a Web application (single WAR file)
Multi-factor Authentication and Session Upgrade
OpenSSO Authentication Chain and Session upgrade thru’ AuthN


• OpenSSO facilitates stronger/ multi-factor authentication through
  authentication chain including multiple authentication providers.
  > Enables an authentication process where an user must pass credentials to one or more
    authentication modules before session validation.
  > Session validation is determined based on the JAAS control flag (Required, Requisite,
    Sufficient, Optional) configured to the authentication module instance chain.
  > The overall authentication success or failure is determined based on the control flag
    assigned to each module in the authentication stack.
  > OpenSSO is tested and verified to provide multi-factor authentication chain that include
    BiObex Login, Smartcard/PKI and other OpenSSO supported authentication providers.
• Session Upgrade allows upgrading a valid session based on a
  successful “second-factor authentication” performed by the same user.
  > Allows user authenticate to access second resource under the same or different realm
  > If authentication is successful - OpenSSO updates the session based on the second-
    level authentication. If authentication fails, the current session will be maintained.
OpenSSO Policy Agents
Authorization and Policy Enforcement

• Policies are managed by Policy
  Configuration Service in OpenSSO.
  > Policy service authorizes a use based on the
    policies stored in OpenSSO.
  > Policy consists of Rules, Subjects, Conditions
    and Response providers.
• OpenSSO Policy Agents enforce policy
  and Policy decisions on protected
  resources.
  > Intercepts the requests from user clients and
    applications and redirects them to OpenSSO
    server for authentication – If no SSO token
    exists.
  > Once authenticated, the policy agent
    communicates with OpenSSO Policy service to
    grant/deny access to the user based on policy
    evaluation.
Multi-factor Authentication w. Biometrics
Multi-factor Authentication
Smartcard/PIN/PKI and Biometrics
Deployment Architecture
Participate in OpenSSO Community !
• Join 700 project members at opensso.org
              Join                                                 Download


           Sign up at                                                OpenSSO
          opensso.org                                               Enterprise 8



             Subscribe                                                    Chat

        OpenSSO Mailing                                             #opensso
               Lists                                                   on
                                                                  freenode.net
       dev, users, announce
                  Sun Confidential: Partners and Customers NDA/CDA only
Demonstration...

    Thank You
   Sun Virtualization Solutions



Ramesh Nagappan
Sun Microsystems, Burlington, MA
http://www.coresecuritypatterns.com/blogs

More Related Content

PPTX
Identity and access management
PPT
Introduction to information security
PDF
User Authentication: Passwords and Beyond
PPTX
Computer forensics powerpoint presentation
PPTX
Guide to MFA
DOCX
Vulnerability Assessment and Penetration Testing Framework by Falgun Rathod
PPTX
CYS Project Presentation on using johnny and john the ripper
PPTX
Cyber Forensics Overview
Identity and access management
Introduction to information security
User Authentication: Passwords and Beyond
Computer forensics powerpoint presentation
Guide to MFA
Vulnerability Assessment and Penetration Testing Framework by Falgun Rathod
CYS Project Presentation on using johnny and john the ripper
Cyber Forensics Overview

What's hot (20)

PPT
Legal, Ethical and professional issues in Information Security
PPT
Computer forensics
PPT
PresentacióN De Microsoft Power Point Seguridad InformáTica
PDF
CB3491 Introduction to cryptography and cyber security
PPTX
Authentication(pswrd,token,certificate,biometric)
PDF
Database security
PPT
A secure Crypto-biometric verification protocol
PPT
Introduction to computer forensic
PPTX
computer forensics
PPTX
An introduction to Cyber Essentials
PPTX
System Security-Chapter 1
PDF
CISSP Prep: Ch 1: Security Governance Through Principles and Policies
PDF
Information security for dummies
PPTX
Social engineering
PDF
An overview of access control
PDF
Cyber security awareness presentation nepal
PPT
Digital Identity
PPTX
Cyberconference - Evidencia digital
PPT
Security testing vikesh kumar
Legal, Ethical and professional issues in Information Security
Computer forensics
PresentacióN De Microsoft Power Point Seguridad InformáTica
CB3491 Introduction to cryptography and cyber security
Authentication(pswrd,token,certificate,biometric)
Database security
A secure Crypto-biometric verification protocol
Introduction to computer forensic
computer forensics
An introduction to Cyber Essentials
System Security-Chapter 1
CISSP Prep: Ch 1: Security Governance Through Principles and Policies
Information security for dummies
Social engineering
An overview of access control
Cyber security awareness presentation nepal
Digital Identity
Cyberconference - Evidencia digital
Security testing vikesh kumar
Ad

Similar to Stronger/Multi-factor Authentication for Enterprise Applications (20)

PPTX
User Authentication for Government
PDF
dna-identity-crisis-cloud-web
PDF
Trust elevation-share
PDF
Risk Appropriate Authentication External
PPT
Ynamono Hs Lecture
PDF
Identity Assertions Draftv5
PDF
#MFSummit2016 Secure: Mind the gap strengthening the information security model
PDF
Pay Forum Conference
PPT
1 security goals
PPTX
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
PDF
Entrust Physical & Logical Access Solutions
PDF
SmartCard Forum 2011 - Evolution of authentication market
PDF
SmartCard Forum 2009 - New trends in smart-cards technology
PDF
Access Control
PPT
Authentication
PPT
ISS SA le presenta IdentityGuard de Entrust
PDF
Digital Identity
PPTX
K binkowski metody_uwierzytelnienia_windows_7
PDF
Strong Authentication in Web Application #SCS III
PDF
PIV Card based Identity Assurance in Sun Ray and IDM environment
User Authentication for Government
dna-identity-crisis-cloud-web
Trust elevation-share
Risk Appropriate Authentication External
Ynamono Hs Lecture
Identity Assertions Draftv5
#MFSummit2016 Secure: Mind the gap strengthening the information security model
Pay Forum Conference
1 security goals
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Entrust Physical & Logical Access Solutions
SmartCard Forum 2011 - Evolution of authentication market
SmartCard Forum 2009 - New trends in smart-cards technology
Access Control
Authentication
ISS SA le presenta IdentityGuard de Entrust
Digital Identity
K binkowski metody_uwierzytelnienia_windows_7
Strong Authentication in Web Application #SCS III
PIV Card based Identity Assurance in Sun Ray and IDM environment
Ad

More from Ramesh Nagappan (14)

PDF
Post Quantum Cryptography: Technical Overview
PDF
Biometric Authentication for J2EE applications - JavaONE 2005
PDF
Interoperable Provisioning in a distributed world
PDF
Secure Multitenancy on Oracle SuperCluster
PDF
Secure Multi-tenancy on Private Cloud Environment (Oracle SuperCluster)
PDF
High Performance Security and Virtualization for Oracle Database and Cloud-En...
PDF
High Performance Security With SPARC T4 Hardware Assisted Cryptography
PDF
Analysis of Security and Compliance using Oracle SPARC T-Series Servers: Emph...
PDF
ICAM - Demo Architecture review
PDF
Government Citizen ID using Java Card Platform
PDF
Java Platform Security Architecture
PDF
Managing PIV Card Lifecycle and Converging Physical & Logical Access Control
PDF
Stronger Authentication with Biometric SSO
PDF
Wire-speed Cryptographic Acceleration for SOA and Java EE Security
Post Quantum Cryptography: Technical Overview
Biometric Authentication for J2EE applications - JavaONE 2005
Interoperable Provisioning in a distributed world
Secure Multitenancy on Oracle SuperCluster
Secure Multi-tenancy on Private Cloud Environment (Oracle SuperCluster)
High Performance Security and Virtualization for Oracle Database and Cloud-En...
High Performance Security With SPARC T4 Hardware Assisted Cryptography
Analysis of Security and Compliance using Oracle SPARC T-Series Servers: Emph...
ICAM - Demo Architecture review
Government Citizen ID using Java Card Platform
Java Platform Security Architecture
Managing PIV Card Lifecycle and Converging Physical & Logical Access Control
Stronger Authentication with Biometric SSO
Wire-speed Cryptographic Acceleration for SOA and Java EE Security

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Modernizing your data center with Dell and AMD
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Big Data Technologies - Introduction.pptx
Modernizing your data center with Dell and AMD
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf

Stronger/Multi-factor Authentication for Enterprise Applications

  • 1. Stronger / Multi-factor Authentication For Enterprise Applications (Identity Assurance using PKI, Smart cards and Biometrics) Sun Virtualization Solutions Presented to OWASP Seminar, Hartford (Feb 10, 2009) Ramesh Nagappan Sun Microsystems, Burlington, MA http://www.coresecuritypatterns.com/blogs
  • 2. Agenda ● The Identity Dilemma ● Identity Assurance vs. Stronger Security ● Multi-factor Authentication Strategies ➢ OTPs, Smartcards, PKI and Biometrics ➢ Choosing the credential: Pros and Cons ● Understanding Real-world Implementation ➢ Tools of the Trade ➢ Role of JAAS ● Role of Sun OpenSSO Enterprise ● Architecture and Deployment ● Demonstration ➢ Multi-factor SSO with PKI, Smart cards and Biometrics. ● Q&A
  • 3. Who am I ? • A technical guy from Sun Microsystems, Burlington, MA. > Focused on Security and Identity Management technologies • Co-Author of 5 technology books and numerous articles on Java EE, XML Web Services and Security. • Holds CISSP and CISA. • Contributes to Java, XML security, Biometrics, Smart cards standards and open-source initiatives. • Contributes to Graduate curriculum of Information Security programs at multiple universities. • Ph.D drop-out. • Read my blogs at http://www.coresecuritypatterns.com/blogs • Write to me at nramesh@post.harvard.edu
  • 4. The Identity Dilemma : Who Are You ? • Internet is a faceless channel of interaction. > No mechanisms for physically verify a person – who is accessing your resources. • Identifying the legitimate user has become crucial. > With higher strength of authentication and security. > Mandates mechanisms driven by human recognition characteristics. > Growing trends on on-demand SaaS, Cloud computing infrastructures. > Everyone is concerned about their Cartoon by Peter Steiner. The New Yorker, July 5, 1993 issue (Vol.69 (LXIX) no. 20) page 61 private information and privacy.
  • 5. How do I know..it's you ? • Identity thefts and on-line frauds: The fastest growing crime in the world. > Someone wrongfully obtains or abuses another person's identity – for economic or personal gain. > Impersonation, Counterfeits, stolen or forged credentials (PINs, Passwords, ID cards), Phishing are widely becoming common. > Most frauds happens through trusted insiders. > Fake credentials are everywhere : Few detected and many undetected ! • Identity thefts results huge losses to organizations. > Loss of consumer confidence and leading to incur huge government penalties. > Growing needs for stringent “Personal Identity Verification and Assurance” (i.e HSPD-12, ICAO 9303). > Growing mandates for protecting Identity information and compliance (i.e. Massachusetts 201 CMR 17.00)
  • 6. Growing need for Identity Assurance • High degree of authentication and assurance is the most critical requirement for physical and logical access control. • Acquire Identity credentials that tightly binds an event to a person's proof of possessions, physiological characteristics and behavioural traits. > Identification and authentication as equivalent to Face-to-Face verification of a person. > Credentials must provide at-least some long-term stability. > Credentials should be non-intrusive but still qualitatively and quantitatively measured. > Integrate/Interoperable with physical and logical infrastructures for assured identity verification. > Support for pervasive use (On-demand SaaS and Cloud-computing based application infrastructures) for authenticating a person with irrefutable proof . > Lesser impact on privacy and social values.
  • 7. Human Factors of Identity Assurance Human attributes as Identity Assurance Credentials • Proof-of-Knowledge > Something I know ? > Passwords, PIN, Mom's Maiden Name, Phone #, etc. • Proof-of-Possession > Something I have ? > Smartcards, Tokens, Driver's license, PKI certificates • Proof-of-Characteristics > Something I physiologically or behaviorally own ? > Fingerprints, Hand geometry, Facial image, Iris, Retina, DNA, voice, signature patterns > Proof-of-Physical Presence
  • 8. Security Levels vs. Identity Assurance Courtesy: Randy Vanderhoof, Smartcard Alliance
  • 9. Strong Authentication Strategies • Authentication Questions • HTTP/s Request/Response attributes • Hardware/Software Token based One-time Passwords (OTP) • Hardware/Software Token based Challenge/Response OTP • Phone call based OTP • SMS based OTP • PKI Certificate • USB Tokens/Smart cards (PIN and PKI Certificates) • Biometrics (Fingerprints) • USB Token/Smart cards (PKI and Match-on-card Biometrics).
  • 10. One-Time Passwords Hardware/Software Tokens • Generate one-time passwords > Mathematical problem or Crypto function or Random number generation > Challenge/Response Dynamic password, Asynchronous Password > Time synchronization between client & server. • Deliver Passwords > Proprietary devices, USB, Key fobs > SMS Messages, Email, Phone • Known issues > Vulnerable to MITM, Phishing attacks where Time-synchronization not effective. > DES key and Lost token issues • Standards: OAUTH (Open Authentication Initiative) One-Time Passwords : Alternative to static passwords
  • 11. Smart cards w. PKI Smart cards Standards • A credit card sized computing device acts as a • ISO-7816 Cryptographic token. • Java Card, Multos > Contact / Contactless cards • Global Platform • Allows perforning security functions > Key generation • PC/SC > Public/Private key operations • FIPS-201/PIV, CAC > PIN/Biometric authentication • PKCS#11, PKCS#15 > Challenge/response authentication • GSM/PCS • Supports the use of Public-key infrastructure to verify • EMV the Identity claim. (Europay/Mastercard/Visa) > PKI credential issuance. > Credential validation/verification via OCSP, CRLs • Defends against tampering and hacking. > PKI/Private key protection • Issues: Lost cards, Key compromise recovery is difficult. Smart cards as a Cryptographic Token
  • 12. Biometric Assurance Biometric Identity Standards • Use of Physiological or Behavioral characteristics to • INCITS 378 / CBEFF (Fingerprints) identify a person. • INCITS 379 (Iris) > High degree of assurance with proof of presence. > Fingerprints, Facial image/geometry, Iris, Retina, • OASIS BIAS Voice, Hand geometry, Keystroke, Signature • BioAPI • Biometric templates can be stored on Smart card for • JavaCard BioAPI personal identification. • FIPS-201 / PIV > Fingerprint template is ~200 bytes > Iris template is 500 bytes • Biometric credential must be exchanged in a secure network channel (Trusted path) • Issues: > Biometrics is not a secret > False Acceptance (FAR) & False Reject (FRR) rates > Vulnerable to Message replay/MITM attacks, if not exchanged in secure channel. Biometric Assurance : Who I claim to be
  • 13. Real-world Scenario : Authentication Identity Assurance Credentials Authentication  User name, password Server / Directory  One-time Passwords  Smart Card (PKI Certificates) Enterprise  Biometrics Applications Validate  Good  Bad Ideally, credentials are: something you know + something you have + something you are
  • 14. Real World Scenario : SSO / Federation IDP/SSO Server + Directory Application A Multi-factor Identity Credentials (e.g. username/password, 1. Application B Smartcard PKI, Biometrics) 2. 3. SSO Token  SAML  Artifact Acquire  Proprietary token Credentials  Kerberos ticket  etc
  • 15. Tools of the Trade : What do you need ? Multi-factor Authentication for Enterprise Applications • Web Authentication > JAAS Login Module • Desktop Authentication > PAM Module (Solaris, Linux) > GINA (Windows XP, 2003) • Identity Provider Infrastructure (IDP) > Single Sign-on (SSO) > Multi-factor authentication • Directory Server > Repository for user accounts • Your target applications
  • 16. Tools of the Trade : From Authentication Providers Multi-factor Authentication for Enterprise Applications • Browser Plugin > PKCS#11 Client for Smartcard > ActiveX/Java Plugin for USB Biometric Scanners • Enrollment Middleware > Biometric Enrollment, Smartcard/Token Credential Issuance/Management > One-time Password (Token) registration/issuance • Authentication Middleware > Biometric Authentication, One-time password authentication > PKI Credential validation via OCSP, CRL, Directory, Certificate Authority
  • 17. Java Authentication Authorization Service (JAAS) • JAAS plays a vital role delivering Multi-factor authentication. > All Java EE compliant Application server provide support for JAAS. • JAAS allows to enable Multi-factor authentication in Java EE Enterprise environment. > Facilitates pluggable authentication providers as “Login Modules”. > Ensure Java EE remain independent of authentication providers. • Implementing a Login module is not cumbersome.. > Callback handler – Prompt the user for acquiring credentials > Login (), commit (), Logout () • Choose your own JAAS based Identity Provider Infrastructure ? > Get introduced to Sun OpenSSO
  • 18. Sun OpenSSO Enterprise • Identity Services Infrastructure facilitates Single Sign-On (SSO) for Web applications residing within an enterprise or across networks. • Based on Sun's Open-source initiative. • Open standards based framework supports centralized authentication, authorization and auditing. > JAAS based authentication services > Agent-based and XACML based policy enforcement > Identity-enabled XML Web services for AuthN, AuthX, Audit and Provisioning > Identity Federation Protocols support include SAMLv2, ID-*, WS-Federation,WS- Policy) > XML Web Services Security (WS-Security, WS-Trust, WS-I Basic Security Profile) > Multi-factor authentication via chaining > Centralized configuration, logging and auditing services > Supports multiple Java EE application servers and Web containers > Fedlets • Deployed as a Web application (single WAR file)
  • 19. Multi-factor Authentication and Session Upgrade OpenSSO Authentication Chain and Session upgrade thru’ AuthN • OpenSSO facilitates stronger/ multi-factor authentication through authentication chain including multiple authentication providers. > Enables an authentication process where an user must pass credentials to one or more authentication modules before session validation. > Session validation is determined based on the JAAS control flag (Required, Requisite, Sufficient, Optional) configured to the authentication module instance chain. > The overall authentication success or failure is determined based on the control flag assigned to each module in the authentication stack. > OpenSSO is tested and verified to provide multi-factor authentication chain that include BiObex Login, Smartcard/PKI and other OpenSSO supported authentication providers. • Session Upgrade allows upgrading a valid session based on a successful “second-factor authentication” performed by the same user. > Allows user authenticate to access second resource under the same or different realm > If authentication is successful - OpenSSO updates the session based on the second- level authentication. If authentication fails, the current session will be maintained.
  • 20. OpenSSO Policy Agents Authorization and Policy Enforcement • Policies are managed by Policy Configuration Service in OpenSSO. > Policy service authorizes a use based on the policies stored in OpenSSO. > Policy consists of Rules, Subjects, Conditions and Response providers. • OpenSSO Policy Agents enforce policy and Policy decisions on protected resources. > Intercepts the requests from user clients and applications and redirects them to OpenSSO server for authentication – If no SSO token exists. > Once authenticated, the policy agent communicates with OpenSSO Policy service to grant/deny access to the user based on policy evaluation.
  • 24. Participate in OpenSSO Community ! • Join 700 project members at opensso.org Join Download Sign up at OpenSSO opensso.org Enterprise 8 Subscribe Chat OpenSSO Mailing #opensso Lists on freenode.net dev, users, announce Sun Confidential: Partners and Customers NDA/CDA only
  • 25. Demonstration... Thank You Sun Virtualization Solutions Ramesh Nagappan Sun Microsystems, Burlington, MA http://www.coresecuritypatterns.com/blogs