ì second factor authentication (2fa) · security v convenience ì google advanced protection...

19
ì Second Factor Authentication (2FA) Fall 2017 Secure Software Systems 1

Upload: others

Post on 31-Dec-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

ìSecond Factor Authentication (2FA)

Fall2017SecureSoftwareSystems

1

Page 2: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Second Factor Authentication (2FA)

ì SMSverification

ì Time-basedOneTimePassword(TOTP)

ì Universal2nd Factor(U2F)

Fall2017SecureSoftwareSystems

2

Page 3: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

SMS Messaging

ì Serviceprovidertextsclientacodetoenterafterusername/passwordstage

ì Advantageì Simple!Convenientforallusers!

ì Disadvantageì SIMswapping– attackerconvincesphonecompanythey

areyou andpurchasedanewphoneì Yourphonenumbergoestotheirphonenowì Discouragedin2017NIST guidelines

https://pages.nist.gov/800-63-3/

Fall2017SecureSoftwareSystems

3

L

Page 4: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Time-based One Time Password (TOTP)

Fall2017SecureSoftwareSystems

4

Page 5: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Time-based One Time Password (TOTP)

Fall2017SecureSoftwareSystems

5

https://blog.trezor.io/why-you-should-never-use-google-authenticator-again-e166d09d4324(Writtenbyvendorofhardwarekeys…)

Page 6: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Time-based One Time Password (TOTP)

ì Strengthsì Betterthanonlyonefactor(password)ì Resistanttoreplayattacksifpasswordisstolenorguessedì Resistanttoattackersstealingyourphonenumberì Simple/implementableinsoftwareapps

ì Weaknessesì Userandserviceprovidersharethesamesecretì Secretmustbeaccessibleinplaintexttocombinewithtime

andcomputehashì Serviceproviderhacked?

ì Secretlostì Secondfactorforalluserslost

Fall2017SecureSoftwareSystems

6

Page 7: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

FIDO Alliance

ì FIDOAllianceì FastIDentity Online(FIDO)ì Industryconsortium

ì Interoperabilityforstrongauthenticationdevices

Fall2017SecureSoftwareSystems

7

Page 8: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

FIDO Alliance

Fall2017SecureSoftwareSystems

8

Page 9: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Universal 2nd Factor (U2F)

ì OpenstandardforUSBorNFCsecuritydevicesì DevelopedbyGoogleandYubicoì Multiplevendorsofhardwaredevices

ì Usecasesì Computerlogin(Windows,OSX,Linux)ì Secondfactorloginforonlineservicessupporting

U2Fprotocolì Websites:Google,Dropbox,GitHub,Bitbucket,

Facebook,Salesforceì Browsers:Chrome,Firefox,Opera

Fall2017SecureSoftwareSystems

9

Page 10: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Universal 2nd Factor (U2F)

Fall2017SecureSoftwareSystems

10

https://blog.trezor.io/why-you-should-never-use-google-authenticator-again-e166d09d4324(Writtenbyvendorofhardwarekeys…)

Page 11: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Universal 2nd Factor (U2F)

Fall2017SecureSoftwareSystems

11

🙋 💻Browser

🖥Server

UsernameandPassword

VerifyLogin

GenerateChallengeChallenge

Challenge

ResponseResponse

VerifyResponse

AlicePressesButton

User

Page 12: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Universal 2nd Factor (U2F)

ì Nosharedsecret– Privatekeyislockedinhardware

ì Automated– notypingofone-timecodes

ì Hardwarestoresprivatekeywhichcansignchallengemessage(randomnumber)fromserviceprovider,whichvalidatessigningwithmatchingpublickey

Fall2017SecureSoftwareSystems

12

Page 13: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

U2F Example: YubiKey

Fall2017SecureSoftwareSystems

13

Page 14: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

U2F Risks

ì WhatifIlosemyU2Fkey?ì You’velostyoursecondfactorLì Accountrecoveryuptoyourserviceprovider

ì Recommendationsì RegistertwoU2Fdeviceswitheachserviceprovider

soyouhaveabackupì Savebackupcodes(ifany)fromproviderinsecure

location

Fall2017SecureSoftwareSystems

14

Page 15: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

YubiKey 4

ì Multiplestandardssupportedì Touchtotrigger FIDOU2Fì HMAC-SHA1ì Smartcard(PIV)ì Yubico OTPì CodeSigningì OpenPGPì Challenge-Responseì OATH(TOTP andHOTP)ì Securestaticpassword

Fall2017SecureSoftwareSystems

15

Page 16: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

ìGoogle Advanced Protection Program

Fall2017SecureSoftwareSystems

16

Page 17: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Targeted Attacks on Public Figures

Fall2017SecureSoftwareSystems

17

Revealed:TopHillaryaideJohnPodesta'sopenedhimselftomassiveRussianhackingeffortbyusingGmailinsteadofsecureofficialserver

http://www.dailymail.co.uk/news/article-5047471/Inside-story-How-Russians-

hacked-Democrats-emails.htmlNov32017

HackingCoinbase:TheGreatBitcoinBankRobbery

http://fortune.com/2017/08/22/bitcoin-coinbase-hack/

Aug222017

Targetedattackonpublicfigure• SIMswitchviaT-Mobile• ResetGooglepassword• Two-factorSMScodegoestoattacker• ChangeGooglepassword• ResetCoinbase password– emailgoesto

Gmail• Profit!

Page 18: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Security v Convenience

ì GoogleAdvancedProtectionProgramì LaunchedOctober2017ì Free(afterbuyinghardware)ì Favorssecurityover

convenience

ì 2nd factorì NoSMSì NoTOTP /Google

Authenticatorappì Musthave twoFIDO/U2F

hardwarekeys

ì Softwareì Nonon-Googlesoftwareì OnlyChromeandfirst-party

appsì Nothird-partysitethat

authenticatesviaGoogleaccount

ì Passwordresetsì Nobackupcodesì Noresetviaemail/SMSì Onlymanualaccountreview

- “coolingoff”periodwilltakeafewdays

Fall2017SecureSoftwareSystems

18

Page 19: ì Second Factor Authentication (2FA) · Security v Convenience ì Google Advanced Protection Program ì Launched October 2017 ì Free (after buying hardware) ì Favors security over

Google Advanced Protection Program

ì Targetaudienceì Campaignstafferspreparingforanupcomingelectionì Journalistswhoneedtoprotecttheconfidentialityof

theirsourcesì Peopleinabusiverelationshipsseekingsafetyì Humanrightsdefenders,environmentcampaignersand

civilsocietyactivistsworkingonanynumberofsensitiveissues

ì Highnet-worthindividualsì VIPsì Perhapspoliticiansandcompanymanagementusinga

Googleaccountinapersonalcapacity

Fall2017SecureSoftwareSystems

19