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
ValentineRutto
November 16, 2019
Programming
77
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Network_Security_in_Android.pdf
ValentineRutto
November 16, 2019
More Decks by ValentineRutto
See All by ValentineRutto
Kickstarting your tech career
valentinerutto
1
58
The D in SOLID Principles
valentinerutto
0
240
Consuming Rest Api with retrofit in Android
valentinerutto
0
250
Exposing Network Result Status in MVVM
valentinerutto
0
110
Complex ui animation with Motion layout
valentinerutto
0
120
Tech Opportunities
valentinerutto
1
110
Android paging library
valentinerutto
0
280
Android Room persistence library
valentinerutto
0
180
UI/UX FOR MOBILE
valentinerutto
0
280
Other Decks in Programming
See All in Programming
TAKTでAI駆動開発の品質を設計する
j5ik2o
6
1.2k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
260
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
320
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
2
530
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
160
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
120
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
240
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
560
OSもどきOS
arkw
0
480
RTSPクライアントを自作してみた話
simotin13
0
520
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
390
Code Review Best Practice
trishagee
74
20k
Why Our Code Smells
bkeepers
PRO
340
58k
The agentic SEO stack - context over prompts
schlessera
0
810
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
A Soul's Torment
seathinner
6
2.9k
The Curious Case for Waylosing
cassininazir
1
380
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
250
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
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 !!