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
68
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
50
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
92
Complex ui animation with Motion layout
valentinerutto
0
110
Tech Opportunities
valentinerutto
1
100
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
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1k
Ruby and LLM Ecosystem 2nd
koic
1
550
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
AHC061解説
shun_pi
0
360
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
700
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
170
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
720
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.9k
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
420
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
680
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
260
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
1
250
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
210
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
140
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
It's Worth the Effort
3n
188
29k
How to make the Groovebox
asonas
2
2k
Paper Plane (Part 1)
katiecoart
PRO
0
5.5k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
90
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
210
The browser strikes back
jonoalderson
0
780
Six Lessons from altMBA
skipperchong
29
4.2k
Agile that works and the tools we love
rasmusluckow
331
21k
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 !!