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
0
300
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
28
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
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
8
2.3k
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
360
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
420
AI巻き込み型コードレビューのススメ
nealle
2
2.5k
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
180
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
490
AHC061解説
shun_pi
0
280
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
CSC307 Lecture 10
javiergs
PRO
1
690
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
190
登壇資料を作る時に意識していること #登壇資料_findy
konifar
5
2.1k
atmaCup #23でAIコーディングを活用した話
ml_bear
4
720
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
2
800
KATA
mclloyd
PRO
35
15k
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
170
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
95
Visualization
eitanlees
150
17k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
190
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