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
310
0
Share
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
47
Reldex: measuring the effectiveness of your app release process
pratul
0
34
Simplifying Software Estimation
pratul
1
270
Effective and efficient mobile engineering
pratul
0
200
Designing future-proof Android applications
pratul
0
200
Android - an introduction for developers
pratul
3
260
Semantic Content Repositories
pratul
1
180
How To Become A Hacker
pratul
3
320
Other Decks in Programming
See All in Programming
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
3
950
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
120
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
520
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
23
13k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
1
340
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
280
関係性から理解する"同一性"の型用語たち
pvcresin
1
140
[RubyKaigi 2026] Require Hooks
palkan
1
320
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
440
空間オーディオの活用
objectiveaudio
0
150
cloudnative conference 2026 flyle
azihsoyn
0
180
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Building the Perfect Custom Keyboard
takai
2
760
The Pragmatic Product Professional
lauravandoore
37
7.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
300
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
780
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
370
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Paper Plane
katiecoart
PRO
1
50k
ラッコキーワード サービス紹介資料
rakko
1
3.3M
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