SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Mobile App Security Meet
For most enterprises and consumers today, mobile and cloud
security are viewed in a pretty straightforward way — don't
assume there is any.
”
Android application best practises
Mobile App Security Meet
Mobile first
”The future of mobile is the future of online. It is how people access online content now.
Mobile App Security Meet
Understanding Android
Android APK
Mobile App Security Meet
Dex file is one of the most remarkable features of the Dalvik VM (the workhorse
under the Android system) It does not use Java bytecode. Instead, a
homegrown format called DEX
Android programs are compiled into .dex, which are in turn zipped into a single .
apk file on the device
AndroidManifest.xml is a powerful file in the Android platform that allows you to
describe the functionality and requirements of your application to Android
Mobile App Security Meet
Data on Device
Data on Device
Any data stored on the device should be encrypted
SharedPreferences by android stores the
data in plain text
An implementation of SharedPreferences
that encrypts data before storage
Data on Device
File view of the shared preference storage in Android
Data on Device
SQLite Storage in Android
Confidential data should be encrypted
and stored in the tables
Mobile App Security Meet
Apps in Device
Broadcast Receivers
Use Permissions to send broadcasts to communicate between
components
Android Permission model
Use android permissions selectively for defining components in the
Manifest file
Mobile App Security Meet
Apps in Device
Custom receiver to listen for broadcasting
intents
Sending broadcast
intents from an android component
Mobile App Security Meet
Best Practice
Custom receiver to listen for broadcasting
intents
Sending broadcast
intents from an android component
Mobile App Security Meet
App to Cloud
● Always communicate over HTTPS
● Implement SSL Pinning
● Gzipping the request and response bodies
Mobile App Security Meet
Apps to Cloud
An API call traced by a proxy sitting between
the app and the cloud server
Mobile App Security Meet
Best Practice
Gzipping the request body for the API call from the android app
Request body traced by the proxy
Mobile App Security Meet
Best Practice
SSL pinned client for android
apps
Mobile App Security Meet
Deployment
Before deploying on playstore use Proguard
to obfuscate the code to prevent reverse
engineering attacks
Mobile App Security Meet
Thank you

Contenu connexe

En vedette

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

En vedette (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Best Practices in Android Application Security

  • 1. Mobile App Security Meet For most enterprises and consumers today, mobile and cloud security are viewed in a pretty straightforward way — don't assume there is any. ” Android application best practises
  • 2. Mobile App Security Meet Mobile first ”The future of mobile is the future of online. It is how people access online content now.
  • 3. Mobile App Security Meet Understanding Android
  • 4. Android APK Mobile App Security Meet Dex file is one of the most remarkable features of the Dalvik VM (the workhorse under the Android system) It does not use Java bytecode. Instead, a homegrown format called DEX Android programs are compiled into .dex, which are in turn zipped into a single . apk file on the device AndroidManifest.xml is a powerful file in the Android platform that allows you to describe the functionality and requirements of your application to Android
  • 5. Mobile App Security Meet Data on Device
  • 6. Data on Device Any data stored on the device should be encrypted SharedPreferences by android stores the data in plain text An implementation of SharedPreferences that encrypts data before storage
  • 7. Data on Device File view of the shared preference storage in Android
  • 8. Data on Device SQLite Storage in Android Confidential data should be encrypted and stored in the tables
  • 9. Mobile App Security Meet Apps in Device Broadcast Receivers Use Permissions to send broadcasts to communicate between components Android Permission model Use android permissions selectively for defining components in the Manifest file
  • 10. Mobile App Security Meet Apps in Device Custom receiver to listen for broadcasting intents Sending broadcast intents from an android component
  • 11. Mobile App Security Meet Best Practice Custom receiver to listen for broadcasting intents Sending broadcast intents from an android component
  • 12. Mobile App Security Meet App to Cloud ● Always communicate over HTTPS ● Implement SSL Pinning ● Gzipping the request and response bodies
  • 13. Mobile App Security Meet Apps to Cloud An API call traced by a proxy sitting between the app and the cloud server
  • 14. Mobile App Security Meet Best Practice Gzipping the request body for the API call from the android app Request body traced by the proxy
  • 15. Mobile App Security Meet Best Practice SSL pinned client for android apps
  • 16. Mobile App Security Meet Deployment Before deploying on playstore use Proguard to obfuscate the code to prevent reverse engineering attacks
  • 17. Mobile App Security Meet Thank you