Email Subscription Form

Friday, August 17, 2018

Mobile Testing Part IV: An Introduction to Mobile Security Testing

Mobile security testing can be problematic for a software tester, because it combines the challenges of mobile with the challenges of security testing.  Not knowing much about mobile security testing, I did some research this week, and here are some of the difficulties I discovered:

  • Mobile devices are designed to be more secure than traditional web applications, because they are personal to the user.  Because of this, it's harder to look "under the hood" to see how an application works.  
  • Because of the above difficulty, mobile security testing often requires tools that the average tester might not have handy, such as Xcode Tools or Android Studio.  Security testing on a physical device usually means using a rooted or jailbroken phone.  (A rooted or jailbroken phone is one that is altered to have admin access or user restrictions removed.  An Android phone can be rooted; an iPhone can be jailbroken. You will NOT want to do this with your personal device.)
  • It's difficult to find instructions for mobile security testing when you are a beginner; most documentation assumes that you are already comfortable with advanced security testing concepts or developing mobile applications.

I'm hoping that this post will serve as a gentle introduction for testers who are not already security testing experts or mobile app developers.  Let's first take a look at the differences between web application security testing and mobile app security testing: 
  • Native apps are usually built with the mobile OS's development kit, which has built-in features for things like input validation, so SQL injection and cross-site scripting vulnerabilities are less likely.
  • Native apps often make use of the data storage capabilities on the device, whereas a web application will store everything on the application's server.
  • Native apps will be more likely than web applications to use biometric data, such as a fingerprint, for authentication.

However, there are still a number of vulnerabilities that you can look for in a mobile app that are similar to the types of security tests you would run on a web application.  Here are some examples:

  • For apps that require a username and password to log in, you can check to make sure that a login failure doesn't give away information.  For example, you don't want your app to return the message "invalid password", because that lets an intruder know that they have a correct username.
  • You can use a tool such as Postman to test the API calls that the mobile app will be using and verify that your request headers are expected to use https rather than http.
  • You can test for validation errors. For example, if a text field in the UI accepts a string that is longer than what the database will accept, this could be exploited by a malicious user for a buffer overflow attack.
If you are ready for a bigger testing challenge, here are a couple of mobile security testing activities you could try:
  • You can access your app's local data storage and verify that it is encrypted.  With Android, you can do this with a rooted phone or an Android emulator and the Android's ADB (Android Debug Bridge) command line tool.  With iPhone, you can do this with Xcode Tools and a jailbroken phone or an iPhone simulator.  
  • You can use a security testing tool such as Burp Suite to intercept and examine requests made by the mobile app.  On Android, unless you have an older device running the Lollipop OS or earlier, you'll need to do this with an emulator.  On iPhone, you can do this with a physical device or a simulator.  In both instances, you'll need to install a CA certificate on the device that allows requests to be intercepted.  This CA certificate can be generated from Burp Suite itself.  
These two testing tasks can prepare you to be a mobile security testing champion!  If you are ready to learn even more, I recommend that you check out the online book OWASP Mobile Security Testing Guide.  This is the definitive guide to making sure that your application is free of the most common security vulnerabilities.  Happy hacking!




24 comments:

  1. It's great to be here and to learn more about mobile app testing. I'm a mobile app tester in a leading Mobile Application Testing Services in kochi providers branch. This a great knowleedge for all beginners. Appreciate your effort to write about this.

    ReplyDelete
  2. Nice and interesting post, I appreciate your hard work. keep it up…!!!Thanks for such useful information, It is true that now if you want to grow your business you will surely need the mobile app testing services for your business. But for that purpose everyone needs best mobile app testing companies.

    ReplyDelete
  3. I have just enrolled into qa certification course and started my qa training I think I have to go long way to understand this blog. These terms are quite new to me cause I just started my learning into it.

    ReplyDelete
  4. I got a lot of interesting material from your blog. I was seeming for such information for a prolonged time. Your articles will help many people and their problems will also go away. You have done a great job on this blog. It is very useful for those who are looking forQA Functional Testingservices.

    ReplyDelete
  5. Valid content for who interested to learn mobile testing. Mobile testing is the one of the part of application testing. The another important one is Penetration testing, penetration testing is an attempt to evaluate the security of an IT infrastructure by safely trying to exploit vulnerabilities. Know more here about penetration testing services and how it helps your business.

    ReplyDelete
  6. Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially App development I care for such info a lot.
    Mobile Application Penetration Testing Service

    ReplyDelete
  7. Nice and informative blog! This type of information helps accelerate application delivery using the efficient testing method for global technology.
    If you want to know about QA outsourcing in US then you can click here.
    Thanks for sharing.

    ReplyDelete
  8. Nice and informative blog! This type of information enables your programming staff to concentrate on development.
    If you want to know about QA testing services in US then you can click here.
    Thanks for sharing.

    ReplyDelete
  9. Thanks for sharing this informative article on Introduction to Mobile Security Testing in detail. If you have any requirement to Hire QA Specialists for your project. Please visit us and hire our resources on remote.

    ReplyDelete
  10. "Mobile Testing Part IV: An Introduction to Mobile Security Testing" is an invaluable resource that equips professionals with essential knowledge and tools to ensure the security of mobile applications. It Is Really Necessary To Have A VPN

    ReplyDelete
  11. I read this post your post so nice and very informative post thanks for sharing this post . Website Development,

    ReplyDelete
  12. This was really helpful. I'll definitely try implementing these tips.
    hire Remote mobile app developers

    ReplyDelete
  13. The blog skillfully introduces readers to the intricacies of mobile security testing, emphasizing the paramount importance of safeguarding sensitive data. https://www.mobilezmarket.com/

    ReplyDelete
  14. Do you wish to add value to your business by building brand awareness, gaining loyal customers, and providing insightful data? App Development services are the solutions to all your needs. Build your custom mobile app with CDN at an affordable budget. We are the most trusted Custom Mobile Application Development Company providing enterprise app development services for all industries irrespective of size and location.

    ReplyDelete
  15. It is very helpful blog for those who are looking easiest way for mobile security. Appreciate you for this blog. mobile data backup

    ReplyDelete
  16. Thanks for this insightful post on mobile security testing! It’s crucial for testers to understand the unique challenges of mobile security. At FYI Solutions, we offer comprehensive software testing services to help address these issues effectively. This guide is a great starting point for those new to mobile security testing.

    ReplyDelete
  17. The Best software testing company in Noida . My company is precise testing solution pvt Ltd best services provided in software testing and cyber security Vapt testing and Stqc and Cert-in. Vapt testing company in Noida

    ReplyDelete
  18. mobile app testing company in India involves the testing of applications in mobile devices. The applications are tested for functionality, performance, usability, etc.

    ReplyDelete

New Blog Location!

I've moved!  I've really enjoyed using Blogger for my blog, but it didn't integrate with my website in the way I wanted.  So I&#...