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
Network_Security_in_Android.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ValentineRutto
November 16, 2019
Programming
72
0
Share
Network_Security_in_Android.pdf
ValentineRutto
November 16, 2019
More Decks by ValentineRutto
See All by ValentineRutto
Kickstarting your tech career
valentinerutto
1
55
The D in SOLID Principles
valentinerutto
0
240
Consuming Rest Api with retrofit in Android
valentinerutto
0
240
Exposing Network Result Status in MVVM
valentinerutto
0
100
Complex ui animation with Motion layout
valentinerutto
0
110
Tech Opportunities
valentinerutto
1
110
Android paging library
valentinerutto
0
270
Android Room persistence library
valentinerutto
0
170
UI/UX FOR MOBILE
valentinerutto
0
270
Other Decks in Programming
See All in Programming
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
180
色即是空、空即是色、データサイエンス
kamoneggi
1
150
AIエージェントの隔離技術の徹底比較
kawayu
0
420
バックエンドにElysiaJSを採用して気付いた、良い点・悪い点
wanko_it
1
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
270
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
250
Swiftのレキシカルスコープ管理
kntkymt
0
190
[BalkanRuby 2026] Drop your app/services!
palkan
3
670
20260514_its_the_context_window_stupid.pdf
heita
0
1.1k
Moments When Things Go Wrong
aurimas
3
110
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
230
My daily life on Ruby
a_matsuda
3
440
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
A better future with KSS
kneath
240
18k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
230
Evolving SEO for Evolving Search Engines
ryanjones
0
200
Technical Leadership for Architectural Decision Making
baasie
3
370
Become a Pro
speakerdeck
PRO
31
5.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Deep Space Network (abreviated)
tonyrice
0
150
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
310
Transcript
Network Security in Android
None
KOKO is mainstreaming liquid bio-ethanol cooking fuel as a fast,
safe and affordable alternative to dirty cooking fuels such as charcoal https://kokonetworks.com
Protecting your app from reverse engineering and man in the
middle attacks
SSL certificate pinning Obfuscation with proguard
SSL Certificate pinning Why SSL Certificate pinning? to prevent man
in the middle attack What is SSL? -Secure Socket Layer - its a protocol that has always been used to encrypt and secure transmitted data between server and client (website and browser).
SSL Certificate pinning What is ssl certificate pinning? is ensuring
that any client SSL request first validates that the server’s certificate exactly matches the bundle’s certificate previously stored in the application.
SSL Certificate pinning
SSL Certificate pinning What steps do we need? • Obtaining
a certificate for the desired host (preferably the whole certificate chain). • Pin the certificate to an instance of DefaultHttpClient
SSL Certificate pinning Get certificate public key from ssllabs This
is the hashed public key of the certificate
SSL Certificate pinning
SSL Certificate pinning
SSL Certificate pinning - Failure
Obfuscation What? -is a process of creating source code in
a form that is hard for human to understand. Why? To prevent reverse engineering To reduce your app size
1. Configure your gradle file (app/gradle) 2. Use default android
proguard rules or create your own 3. Edt your rules Obfuscation Steps
Obfuscated Code
Non-obfuscated code
Resources Proguard android ssl pinning practical proguard rules
Demo….!!!!!! Demo github link
Thank you !!