apps, methods, practices · 2018. 9. 8. · 2 factor authentication back up everything use a...

47
Frank Chen | Spring 2017 Frank Chen | Spring 2017 CS 88S Protecting yourself: apps, methods, practices Week 6 Yubikey, a physical key that provides 2-factor authentication

Upload: others

Post on 24-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017Frank Chen | Spring 2017

CS 88S

Protecting yourself: apps, methods, practicesWeek 6

Yubikey, a physical key that provides 2-factor authentication

Page 2: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 3: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 4: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

YouTube Phish

Source: http://bit.ly/2pIoWQW

Page 5: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Google Docs Phish

Source: http://bit.ly/2pIoWQW

Page 6: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Google Docs Phish

Source: http://bit.ly/2pIoWQW

Page 7: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Wireshark Demo

Page 8: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Final Project

Image Source: http://bit.ly/2pIoWQW

kfrankc.me/cs88s/final_project.pdf

Page 9: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 10: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

1 2 3 4 5 6 7

What happens when you type www.google.com?

Page 11: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Symmetric Key

Source: http://bit.ly/1I2YUeS

Key used to unlock and

lock the drawer

Page 12: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Public/Private Key

Image Source: http://bit.ly/1I2YUeS

Private Key turns only clockwise

Public Key turns only counter-clockwise

Page 13: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Virtual Private Network (VPN)

YouInternet Service

Provider (ISP)Websites, Resources

VPN TunnelSource: http://bit.ly/2qBrNZh

Page 14: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

cybersecurity ✔

protect myself ✘

hack ✔

privacy ✘

money, personal contact, identification ✔

extra (security in IoT devices) ✘

So Far...

Page 15: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 16: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

HTTPDef: HTTP (Hypertext Transfer Protocol) is

the procedure for exchanging information on the Internet

It is easy to intercept

Page 17: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

How secure is HTTP?✘

Authentication

Integrity

Privacy

Page 18: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

HTTPS, abridged

Source: http://bit.ly/2qEPNyc

Page 19: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

HTTPS, abridgedDef: HTTPS is HTTP over Secure Socket Layer.

HTTPS encrypts an HTTP message prior to transmission and decrypts a message upon arrival

via SSL Transaction.

Page 20: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

SSL Transaction

***Note: To further understand the relationship between SSL and HTTP, you'll first need to understand the OSI model of Computer Networks, which is out of the scope of this class.

BrowserGenerate Public Key using RSA Algorithm

ServerEncrypt data using

Browser's public keyGive Server Public Key

Send back to Browser

BrowserDecrypt data using its

own private key

Source: http://bit.ly/2pTzoTY

Page 21: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

SSL Transaction

Image Source: http://bit.ly/2qoE6w9

Page 22: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

How secure is HTTPS?✔

Authentication

Integrity

Privacy

Page 23: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

HTTPS Everywhere● Browser Extension● Automatically redirect HTTP webpage

into HTTPS webpage if possible● Open Source

Source: http://bit.ly/2qcu3df

Page 24: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Be Wary of Public Wi-Fi

Page 25: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Be Wary of Email Links

Page 26: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 27: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

AuthenticationWhat you know

What you own

Who you are

Page 28: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

AuthenticationWhat you know

What you own

Who you are

Page 29: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Which Password is more secure?monkey-ocean-superior-pillow

3058472038475

Page 30: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

They are about the same

Source: http://bit.ly/2pmNOuB

Page 31: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Which Password is more secure?

4 common words: 20004 ~ 243.9 combinations

13 random digits: 1013 ~ 243.2 combinations

monkey-ocean-superior-pillow

3058472038475

Source: http://bit.ly/2pmNOuB

Page 32: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

AuthenticationWhat you know

What you own

Who you are

Page 33: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Yubikey● Physical 2-Factor Authentication Device● Generates One-Time-Passwords (OTPs)

Page 34: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Yubikey's OTPcccjgjgkhcbb irdrfdnlnghhfgrtnnlgedjlftrbdeut

cccjgjgkhcbb gefdkbbditfjrlniggevfhenublfnrev

cccjgjgkhcbb cvchfkfhiiuunbtnvgihdfiktncvlhck

Page 35: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017Source: http://bit.ly/2qP6yUb

Page 36: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Yubikey Demonstration

Page 37: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

2-Factor OTP Generators

Page 38: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

AuthenticationWhat you know

What you own

Who you are

Page 39: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Fingerprint Scanner

Source: http://apple.co/1En9Tz7

Page 40: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Single Sign-On

Source: https://shibboleth.net/ Source:https://www.okta.com/

Page 41: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 42: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Cloud Storage

Page 43: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

External Hard Drive

Page 44: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Agenda● WireShark Demo, Final Project● Review last week’s material● HTTPS, Safe Practices Online● 2 Factor Authentication● Back up everything● Use a Password Manager

Page 45: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Password Managers

Page 46: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

S f C T

Follow at least one of

the Practices listed today!

Page 47: apps, methods, practices · 2018. 9. 8. · 2 Factor Authentication Back up everything Use a Password Manager. Frank Chen | Spring 2017 Password Managers. Frank Chen | Spring 2017

Frank Chen | Spring 2017

Facebook's massive data center in Luleå

Next Week...