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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
180
UI/UX FOR MOBILE
valentinerutto
0
270
Other Decks in Programming
See All in Programming
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
120
関係性から理解する"同一性"の型用語たち
pvcresin
2
560
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
790
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.1k
横断組織出身のQAEがインプロセスQAEでつまずいたこと・活かせたこと
ty89
0
350
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
360
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
210
iOS26時代の新規アプリ開発
yuukiw00w
0
200
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
300
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
230
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
200
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
380
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
310
Leo the Paperboy
mayatellez
7
1.8k
The untapped power of vector embeddings
frankvandijk
2
1.7k
The Curse of the Amulet
leimatthew05
1
12k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The SEO Collaboration Effect
kristinabergwall1
1
460
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Between Models and Reality
mayunak
4
300
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
WCS-LA-2024
lcolladotor
0
600
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Fireside Chat
paigeccino
42
3.9k
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 !!