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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Pratul Kalia
October 07, 2017
Programming
0
290
Stop the security theater!
Pratul Kalia
October 07, 2017
Tweet
Share
More Decks by Pratul Kalia
See All by Pratul Kalia
The special case of Mobile DevOps
pratul
2
43
Reldex: measuring the effectiveness of your app release process
pratul
0
27
Simplifying Software Estimation
pratul
1
260
Effective and efficient mobile engineering
pratul
0
200
Designing future-proof Android applications
pratul
0
180
Android - an introduction for developers
pratul
3
260
Semantic Content Repositories
pratul
1
170
How To Become A Hacker
pratul
3
310
Other Decks in Programming
See All in Programming
CSC307 Lecture 08
javiergs
PRO
0
670
CSC307 Lecture 05
javiergs
PRO
0
500
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
260
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
ぼくの開発環境2026
yuzneri
0
210
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.1k
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
CSC307 Lecture 09
javiergs
PRO
1
830
CSC307 Lecture 07
javiergs
PRO
0
550
Data-Centric Kaggle
isax1015
2
770
2026年 エンジニアリング自己学習法
yumechi
0
130
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Docker and Python
trallard
47
3.7k
Google's AI Overviews - The New Search
badams
0
900
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
Embracing the Ebb and Flow
colly
88
5k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Building Adaptive Systems
keathley
44
2.9k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
A designer walks into a library…
pauljervisheath
210
24k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Documentation Writing (for coders)
carmenintech
77
5.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
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