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
Stop the security theater!
Search
Pratul Kalia
October 07, 2017
Programming
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Stop the security theater!
Pratul Kalia
October 07, 2017
More Decks by Pratul Kalia
See All by Pratul Kalia
The special case of Mobile DevOps
pratul
2
53
Reldex: measuring the effectiveness of your app release process
pratul
0
45
Simplifying Software Estimation
pratul
1
280
Effective and efficient mobile engineering
pratul
0
210
Designing future-proof Android applications
pratul
0
220
Android - an introduction for developers
pratul
3
280
Semantic Content Repositories
pratul
1
190
How To Become A Hacker
pratul
3
320
Other Decks in Programming
See All in Programming
React本体のコードリーディング
high_g_engineer
1
130
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
460
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
530
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
200
AIが無かった頃の素敵な出会いの話
codmoninc
1
380
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
1.1k
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
220
Android CLI
fornewid
0
210
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
480
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
180
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
240
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Test your architecture with Archunit
thirion
1
2.3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
For a Future-Friendly Web
brad_frost
183
10k
Designing Powerful Visuals for Engaging Learning
tmiket
1
470
Fireside Chat
paigeccino
42
4k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
270
AI: The stuff that nobody shows you
jnunemaker
PRO
9
880
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
200
Transcript
Stop the security theater! pratul kalia @prxtl uncommon.is
“the practice of investing in countermeasures intended to provide the
feeling of improved security while doing little or nothing to achieve it.”
None
Cost-benefit analysis • Imperative to all security discussions • Security
of personal app vs business-critical app
Password rules are pointless • You’re not using a modern
password-hashing algorithm • Only length matters!
Do it right! • bcrypt • bcrypt • bcrypt whoops...
- zomato
Stop “inventing” your own security practices • Security is very,
very hard to get right • You’re not that smart! • It is easier to do the known right thing... than to know what you’re doing wrong
Don’t try to “save” your API endpoints • Your backend
should not get affected by a rogue client • MITM all the way • Certificate pinning does not solve this! whoops... - “Basic HTTP auth over TLS”
Stop client-side encryption • Don’t place your key under the
doormat • Security by obscurity is weak whoops... - “Double encryption!”
Anything part of your APK can be read • This
includes all API keys • … access tokens • … anything else hard-coded
Auth token in SharedPreferences • No problems! • Other apps
on the system cannot read your app’s data
Data you don’t have, cannot be stolen • Store user
data with utmost caution • You’re a user too! example... - “Who else in my Contacts uses this app?”
What about rooted devices? • All. • bets. • are.
• off.
Remember alternate attack vectors • Bribe a security guard? •
Bribe an employee?
Time for something real.
Insecure data storage • Anything in “private” storage cannot be
read by other apps in the system • … but anything in “external” storage can be read by anyone!
Insecure TLS usage • Always TLS v1.2! ◦ TLS v1.1
is acceptable… but don’t! • Disable SSL v2 and SSL v3, disable RC4 • Use OkHttp!!1!1!
Please break your own systems • Please! • Pay for
it!
fin