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
0
67
Network_Security_in_Android.pdf
ValentineRutto
November 16, 2019
Tweet
Share
More Decks by ValentineRutto
See All by ValentineRutto
Kickstarting your tech career
valentinerutto
1
49
The D in SOLID Principles
valentinerutto
0
230
Consuming Rest Api with retrofit in Android
valentinerutto
0
240
Exposing Network Result Status in MVVM
valentinerutto
0
90
Complex ui animation with Motion layout
valentinerutto
0
110
Tech Opportunities
valentinerutto
1
100
Android paging library
valentinerutto
0
260
Android Room persistence library
valentinerutto
0
170
UI/UX FOR MOBILE
valentinerutto
0
270
Other Decks in Programming
See All in Programming
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
490
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
3
350
atmaCup #23でAIコーディングを活用した話
ml_bear
4
710
浮動小数の比較について
kishikawakatsumi
0
360
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
180
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
190
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
400
ぼくの開発環境2026
yuzneri
1
290
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
2.8k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
200
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
110
AI巻き込み型コードレビューのススメ
nealle
2
2.4k
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
50k
エンジニアに許された特別な時間の終わり
watany
106
240k
Facilitating Awesome Meetings
lara
57
6.8k
How to Ace a Technical Interview
jacobian
281
24k
We Have a Design System, Now What?
morganepeng
55
8k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
Speed Design
sergeychernyshev
33
1.6k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
96
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
How to build a perfect <img>
jonoalderson
1
5.2k
30 Presentation Tips
portentint
PRO
1
240
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 !!