Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WTF, 2FA!? Y U NO PROTECT ME?
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Christine
April 05, 2019
Technology
0
110
WTF, 2FA!? Y U NO PROTECT ME?
Two factor authentication the worst, the best, and everything in-between.
Christine
April 05, 2019
Tweet
Share
More Decks by Christine
See All by Christine
Thoughtful AI for the Rubyist - Rocky Mountain Ruby
tech_christine
0
69
Thoughtful AI for the Rubyist
tech_christine
0
57
One does not simply add MFA
tech_christine
0
100
Listening - Your Communication Superpower
tech_christine
0
270
Hanami 2.0 and You
tech_christine
1
350
ONE DOES NOT SIMPLY ADD MFA
tech_christine
0
410
One does not simply add MFA
tech_christine
0
240
MFA_Petfriendly.pdf
tech_christine
0
260
Hack Your Brain - Improve yourself and your work
tech_christine
0
740
Other Decks in Technology
See All in Technology
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
340
Phase07_実務適用
overflowinc
0
510
テストプロセスにおけるAI活用 :人間とAIの共存
hacomono
PRO
0
110
TinyTroupeで人狼ゲームやってみた!
ueponx
0
170
Phase04_ターミナル基礎
overflowinc
0
630
Kiro Powers 入門
k_adachi_01
0
130
バクラク最古参プロダクトで重ねた技術投資を振り返る
ypresto
0
200
Laravelで学ぶOAuthとOpenID Connectの基礎と実装
kyoshidaxx
4
1.5k
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
340
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
550
スピンアウト講座01_GitHub管理
overflowinc
0
370
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
430
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
150
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
190
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Scaling GitHub
holman
464
140k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
770
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
How to make the Groovebox
asonas
2
2k
Become a Pro
speakerdeck
PRO
31
5.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Transcript
@tech_christine WTF, 2FA!? Y U NO PROTECT ME? Two factor
authentication the worst, the best, and everything in-between
None
@tech_christine
None
@tech_christine Back to the beginning
@tech_christine What was the hacker up to? Calling your mobile
provider
@tech_christine Still on the phone with your mobile provider... Using
social engineering
@tech_christine And now they have all the access... Sim swap/sim
hijacking
@tech_christine
“ @tech_christine We learned that SMS-based authentication is not nearly
as secure as we would hope, and the main attack was via SMS intercept Christopher Slowe Reddit chief technology officer and founding engineer August 2018
@tech_christine What is authentication? The process of verifying that someone
or something is the actual entity that they claim to be. - OWASP.org (these people know what they are talking about when it comes to security)
@tech_christine ... but what are the different factors of auth?
1 factor is knowledge (i.e. your password) 2 is the other method choice - Possession (token/soft token) - Identity (biometrics)
@tech_christine 2FA == 2SV == MFA 2FA = Two factor
authentication 2SV = Two Step verification MFA = Multi-factor authentication What about all those other acronyms...
@tech_christine Why didn't 2FA help? •SMS was used •2FA wasn't
even enabled
@tech_christine •Most common method •Most compromised •Not recommended by NIST
since 2016 SMS
@tech_christine Let's figure out all the ways SMS can be
hacked... 1. Sim-swap (aka what just happened to us) 2. Port-out scam 3. Brute force on the application itself
@tech_christine Time-based One Time Password aka App based aka soft
token •Authy •Google Authenticator •1Password TOTP
@tech_christine •Associated with the certain authorized devices •Not visible on
a locked phone screen Push Based Authentication
@tech_christine Token based Physical keys that can auth •USB drive
•near-field communication •Many use U2F (Universal 2nd Factor)
What would you change now?
@tech_christine So what could you have changed? •Setting up with
a VOIP number •Secure with alternate authentication method •Pin/password protect phone provider Keep on being @awesome
@tech_christine ...wait I lost my phone/app access/token Use a recovery
code Allows you access to application
@tech_christine More on recovery codes •Stored as hashes •One time
use •Shown only once
@tech_christine 2FA Implementation Best Practices • Rate limiting prevents brute
force attacks • Use a truncated exponential back-off algorithm
@tech_christine What is an exponential back-off algorithm?
@tech_christine Example in Ruby login_request if retries <= max_retries retries
+= 1 sleep (retries + rand(100)/1000) retry else raise "You've hit your max retries!" end
@tech_christine Get user buy-in Enforce authentication on all pages Users
with the most amount of privilege, 2FA is a requirement not optional
@tech_christine Now you are the info sec professional
None
@tech_christine Thank you Kernelcon and all the staff Tyson Reeder
for the final graphic(@tysondreeder) For references and further reading checkout https://christine-seeman.com/talks/