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
Hack And Protect Your Apps
Search
Slvn
April 09, 2015
Programming
360
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Hack And Protect Your Apps
Droidcon Montreal 2015
Slvn
April 09, 2015
More Decks by Slvn
See All by Slvn
ROM Cooking - Droidcon UK 20013
slvn
5
220
Hack and protect your Android app
slvn
1
400
Other Decks in Programming
See All in Programming
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
300
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.5k
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
220
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
520
Cloudflare is Agents
chimame
0
170
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
Google Apps Script で Ruby を動かす
kawahara
0
260
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.8k
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
390
AIが無かった頃の素敵な出会いの話
codmoninc
1
440
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
4.6k
OpenSpecのproposalにbrainstormingを持たせてみた
tigertora7571
1
240
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.4k
Amusing Abliteration
ianozsvald
1
250
Evolving SEO for Evolving Search Engines
ryanjones
0
250
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Bash Introduction
62gerente
615
220k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
700
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
56k
Documentation Writing (for coders)
carmenintech
77
5.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
370
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
240
Transcript
HACK AND PROTECT YOUR APPS
AGENDA Droidcon Montréal 2015 01 Hack 02 Protect 03 Develop
04 Conclude
LET’S HACK Reverse engineering & red light saber
LET’S HACK Reverse engineering & red light saber You underestimate
the power of the dark side.
LET’S HACK Demo : AdBlock Plus
LET’S HACK Can we read Smali ? .method public isChecked
()Z .locals 1 .prologue .line 102 iget-boolean v0, p0, Lorg/jraf/android/backport/switchwidget/TwoStatePreference ;- >mChecked:Z return v0 .end method
LET’S HACK Tools adb + unzip extract apk and some
ressources apktool Smali + ressources jadx Java code (partial)
LET’S PROTECT Obfuscation & The Force
LET’S PROTECT Obfuscation & The Force Do. Or do not.
There is no try.
LET’S PROTECT What is obfuscation ? package a; public class
a { [...] public boolean a() { return a; } }
LET’S PROTECT Demo : Proguard
LET’S PROTECT Is Obfuscation enough ? public class a {
private static String a = "MotDePasseSecurePourChiffrer" ; public static Cipher a() { Cipher localCipher = Cipher.getInstance("AES/ECB/PKCS7Padding" , "BC"); localCipher .init(1, new SecretKeySpec (a.getBytes(), "AES")); return localCipher; } }
LET’S PROTECT When ? When to protect ? · Whenever
you want · Keep in mind that one motivated guy with enought ressources can break anything.
LET’S DEVELOP Audit, opportunism & more...
LET’S DEVELOP Audit, opportunism & more... GGGWARRRHH WWWW
LET’S DEVELOP How can this help me ? audit your
build, third parties apps explore frameworks debug, hidden APIs ...
LET’S CONCLUDE All good things must come to an end
LET’S CONCLUDE All good things come to an end LET’S
HACK LET’S PROTECT LET’S DEVELOP
Thank you ! Sylvain Galand
[email protected]
www.genymobile.com