Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Network_Security_in_Android.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
ValentineRutto
November 16, 2019
Programming
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Network_Security_in_Android.pdf
ValentineRutto
November 16, 2019
Transcript
20 slides
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 !!
More Decks by ValentineRutto
See All by ValentineRutto
Build Smarter Android Apps: Intergrate cloud AI and OnDevice AI
valentinerutto
0
29
Kickstarting your tech career
valentinerutto
1
77
The D in SOLID Principles
valentinerutto
0
270
Consuming Rest Api with retrofit in Android
valentinerutto
0
280
Exposing Network Result Status in MVVM
valentinerutto
0
130
Complex ui animation with Motion layout
valentinerutto
0
150
Tech Opportunities
valentinerutto
1
130
Android paging library
valentinerutto
0
300
Android Room persistence library
valentinerutto
0
200
Other Decks in Programming
See All in Programming
Crash Auto Pipelines
veronikapj
1
410
GraphQL の onError と Nullability のこれから
quramy
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
310
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
オーケストレーション記述言語 Katari
yukikurage
0
260
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
320
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
0
150
小さなアプリを作って公開するまで
onozaty
0
170
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
protojson における文字化けの扱い
kazuki1023
0
420
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Un-Boring Meetings
codingconduct
0
500
How STYLIGHT went responsive
nonsquared
100
6.4k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
It's Worth the Effort
3n
188
29k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Site-Speed That Sticks
csswizardry
13
1.6k
Designing for Performance
lara
612
70k
Speed Design
sergeychernyshev
33
2.2k