SlideShare a Scribd company logo
Mobile App Security Testing
2
1. What is Mobile OS Platform latest versions
2. What is Mobile App SDLC & Mobile App Security SDLC?
3. What is Mobile App STLC & Mobile App Security STLC?
4. What is Mobile Apps Development view & Testing view?
5. What is the testing difference in the Mobile Web & Mobile Native Apps
6. What are the Testing Techniques to Deal with Vulnerabilities?
7. What is Real Device Vs Emulator Testing?
8. What is top Mobile Apps Vulnerabilities?
9. What is Client side injection?
10. What are the Security Testing Tools?
11. What are the Mobile Application Security Testing Tools?
AGENDA
Mobile App Security Testing -2
Android OS version names
Mobile App Security Testing -2
Mobile Application SDLC
Mobile Apps Testing Life cycle
Development
View
Testing View
Mobile
Apps
NativeWeb Hybrid
Mobile Web Vs Native Apps
Mobile App Security Testing -2
Mobile Apps Testing Techniques to Deal with Vulnerabilities
• Black box/Dynamic Testing- Also known as behavioral testing. It analyzes code as it runs to identify vulnerabilities that any hacker can find when the
application is running in the production. This testing identifies if any weakness can be exploited, or identifies the type of weakness so that human
penetration tester can verify this exploitability manually.
• Code Review- It identifies the vulnerabilities at the source-code level. It can detect injection flaws, backdoors or suspicious code, hard coded passwords
and secret keys, weak algorithm usage and hard coded keys and data storage definitions.
• Penetration Testing- For any mobile application, one of the most critical tests can be penetration test. It is an ethical attack simulation intended to
expose security controls of the application by highlighting risks posed by exploitable vulnerabilities. The vulnerabilities identified by penetration testing
include input validation, buffer overflow, cross site scripting, SQL injection, URL manipulation, hidden variable manipulation, authentication bypass, cookie
modification, code execution, and few other common software attacks.
• Mobile Application Security Assessment- It is a holistic security assessment of mobile applications, the associated backend systems and data flows
and interactions between them.
Failures occur, for different reasons such as poor design, faulty code, inefficient security measures or a combination of the above. However, the fact
remains that it is important to identify these security risks and minimize security breaches. To protect your users from the attacks, you need to stay updated
with the latest threats, and ways to deal with them. Hence, it is essential to stay in touch with the latest vulnerabilities, patches and hacks to ensure that the
mobile applications are safe. When it comes to application testing, there is no silver bullet, and no single approach does it all. You need multiple
approaches looking from different angles to have the confidence that your application is secure.
Real Device Vs Emulator Testing:
Real Testing Device: Testing on real device allows you to run your mobile applications and checks
its functionality. Real device testing assures you that your application will work smoothly in customer
handsets.
Emulators: Emulator is a software program that allows your mobile to imitate the features of another
computer or mobile software you want them to imitate by installing them to your computer or Mobile.
Mobile App Security Testing on
Major Platforms Emulators
1. iPad Peek
2. iPhone Tester
3. Mobile Phone Emulator
4. Responsivepx
5. Screenfly
6. Mobi ready tool
More:
http://www.mobilexweb.com/emulators
Open source Mobile device Online emulators:
Mobile App Security Testing -2
Drawbacks of using Emulators in case of Mobile App Testing
Testing on emulators can be a tempting, cost effective option to purchasing devices but miss out on issues:
● Device specific features
● Human interaction issues.
● Multi-touch issues
● Bandwidth and loading sequence
● Wireless network behavior – Wifi and GSM signal drops
● Device interrupts and multitasking
● Data retention during signal drops
Mobile App Security Testing -2
Top Mobile apps vulnerabilities
CLIENT - SIDE INJECTION
Client side injection can be done with the following ways.
1. Cross Site Scripting testing can be done using following
Scripting Languages
● Javascript
● VBScript
● HTML
● Dart
● ActionScript (used to create animated interactive web applications
for Adobe Flash Player using Adobe Flash Pro)
2. SQL INJECTION
● SQL Injection can be done with SQL Scripts/Wildcards.
1. CROSS SITE SCRIPT EXECUTION
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications, such as web browsers through
breaches of browser security, that enables attackers to inject client-side script into Web pages viewed by other users.
EXAMPLE QUERIES:
1. <script>alert('XSS')</script>
2. <script>alert(document.cookie);</script>
3. http://server/cgi-bin/testcgi.exe?<SCRIPT>alert(“Cookie”+document.cookie)</SCRIPT>
2. <script>window.onload = function() {var
link=document.getElementsByTagName("a");link[0].href="http://not-real-
xssattackexamples.com/";}</script>
Persistent Cross Site Scripting
By exploiting this vulnerability, an attacket can:
● Hijack your account
● Spread web worms
● Access your browser history and clipboard contents
● Remotely control your browser
2. SQL INJECTION QUERIES
SELECT * FROM Users WHERE UserId = 105 or 1=1
SELECT * FROM Users WHERE Name ="" or ""="" AND Pass ="" or ""=""
SELECT UserId, Name, Password FROM Users WHERE UserId = 105 or 1=1
SELECT * FROM Users WHERE Name ="" or ""="" AND Pass ="" or ""=""
Reference link: SQL Injection video
Taking a three-tier approach – testing and comparing results across all three layers of the mobile application:
client, network, and server will result in building, managing and successfully securing your mobile applications.
Successful Mobile Application Security
Web Security Testing Tools: Top 10 – Best Security Tool of the year 2013
Mobile Application Security Testing Tools:
1. OWASP Zed Attack Proxy (ZAP) Tool [Open Source]
2. IBM Security AppScan [Paid Service] IBM AppScan Pricing
3. HP Fortify [Paid Service] How to buy
4. VeraCode [Paid Service] How to buy
Few more:
1. Introspy [Open source]
2. Core Impact Pro 2014 R 1.1 [Paid Service]
3. Appthority [Paid Service]
Mobile App Security Testing -2
Mobile App Security Testing -2
2. IBM Security AppScan:
● AppScan to scan mobile applications with three different models:
− Using an emulator for both iOS and Android
− Configuring an actual mobile device for both Android and iOS
− Scanning mobile web applications by setting up a mobile user
agent
Methods to scan and test mobile applications
Mobile App Security Testing -2
Mobile App Security Testing -2
Why IBM Security AppScan?
3. HP Fortify:
● Scan, assess and report on the security of Mobile applications
● 2 ways to coordinate application, information and network security
Mobile App Security Testing -2
4. VeraCode
Thanks
Krishnaiah Dasari(SDET)

More Related Content

PDF
Security Testing Mobile Applications
PDF
OWASP API Security Top 10 - API World
PPTX
security misconfigurations
PPTX
Security testing
PDF
Api security-testing
PPTX
Android Application Penetration Testing - Mohammed Adam
PPTX
OWASP Top 10 2021 Presentation (Jul 2022)
PPT
Secure code practices
Security Testing Mobile Applications
OWASP API Security Top 10 - API World
security misconfigurations
Security testing
Api security-testing
Android Application Penetration Testing - Mohammed Adam
OWASP Top 10 2021 Presentation (Jul 2022)
Secure code practices

What's hot (20)

PPT
Application Security
PPTX
cyber security presentation.pptx
PDF
OWASP Top 10 Vulnerabilities - A5-Broken Access Control; A6-Security Misconfi...
PDF
Mobile Application Security
PPTX
A2 - broken authentication and session management(OWASP thailand chapter Apri...
PDF
OWASP Top 10 Web Application Vulnerabilities
PDF
Secure Design: Threat Modeling
PPTX
Introduction to penetration testing
PPTX
Security testing fundamentals
PDF
Application Security | Application Security Tutorial | Cyber Security Certifi...
PPTX
A5: Security Misconfiguration
PPTX
Getting Started with API Security Testing
PPT
Introduction To OWASP
PPTX
OWASP TOP 10 VULNERABILITIS
PDF
Network Security Fundamentals
PDF
Mobile Application Penetration Testing
PPTX
Vulnerabilities in modern web applications
PPTX
DDoS ATTACKS
PPTX
Owasp top 10 vulnerabilities
PPTX
Mobile Application Security
Application Security
cyber security presentation.pptx
OWASP Top 10 Vulnerabilities - A5-Broken Access Control; A6-Security Misconfi...
Mobile Application Security
A2 - broken authentication and session management(OWASP thailand chapter Apri...
OWASP Top 10 Web Application Vulnerabilities
Secure Design: Threat Modeling
Introduction to penetration testing
Security testing fundamentals
Application Security | Application Security Tutorial | Cyber Security Certifi...
A5: Security Misconfiguration
Getting Started with API Security Testing
Introduction To OWASP
OWASP TOP 10 VULNERABILITIS
Network Security Fundamentals
Mobile Application Penetration Testing
Vulnerabilities in modern web applications
DDoS ATTACKS
Owasp top 10 vulnerabilities
Mobile Application Security
Ad

Viewers also liked (16)

ODP
Mobile Apps Security Testing -3
PDF
Challenges in Testing Mobile App Security
PPTX
What Good is this Tool? A Guide to Choosing the Right Application Security Te...
PDF
Web Application Security Testing Tools
ODP
Mobile Apps Security Testing -1
PDF
Mobile Application Security Code Reviews
PPT
Web Application Security Testing
PDF
Security Code Review for .NET - Sherif Koussa (OWASP Ottawa)
PDF
Mobile_app_security
PDF
Mobile application security – effective methodology, efficient testing! hem...
PDF
Developing Secure Mobile Applications
PPTX
The curious case of mobile app security.pptx
PPT
2010: Mobile Security - WHYMCA Developer Conference
PDF
Mobile Application Security Testing, Testing for Mobility App | www.idexcel.com
PPTX
Security testing of mobile applications
Mobile Apps Security Testing -3
Challenges in Testing Mobile App Security
What Good is this Tool? A Guide to Choosing the Right Application Security Te...
Web Application Security Testing Tools
Mobile Apps Security Testing -1
Mobile Application Security Code Reviews
Web Application Security Testing
Security Code Review for .NET - Sherif Koussa (OWASP Ottawa)
Mobile_app_security
Mobile application security – effective methodology, efficient testing! hem...
Developing Secure Mobile Applications
The curious case of mobile app security.pptx
2010: Mobile Security - WHYMCA Developer Conference
Mobile Application Security Testing, Testing for Mobility App | www.idexcel.com
Security testing of mobile applications
Ad

Similar to Mobile App Security Testing -2 (20)

PDF
The Ultimate Breakdown of Mobile App Testing_ Types and Approaches.pdf
DOCX
Mobile testing
DOCX
Mobile app testing
PDF
Penetration Testing Services_ Comprehensive Guide 2024.pdf
PDF
The Future of Mobile App Testing - Reliable and Efficient Solutions.pdf
PDF
The Essentials of Mobile App Testing and Monitoring
PPT
Mobile testing
PDF
A Complete Guide to Mobile App Testing Types.pdf
PPTX
Mobile Application Testing by Javed Ansari
PDF
The Crucial Role of Mobile App Testing in Ensuring Quality and Security.pdf
PPTX
Best Practices for Mobile App Testing - Mobulous
PPTX
100 effective software testing tools that boost your Testing
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Mobile Testing Tools 101
PDF
Mobile Testing_ An Introduction to the Different Types and Approaches.pdf
PDF
Mobile Testing Services in the Digital Age
PDF
Mobile Application Testing - White Paper
PDF
Mobile App Testing in SDLC_ A Comprehensive Overview.pdf
PDF
Best Practices for Testing and Debugging Your Mobile App.pdf
PDF
Experitest & Capgemini Co-webinar -
The Ultimate Breakdown of Mobile App Testing_ Types and Approaches.pdf
Mobile testing
Mobile app testing
Penetration Testing Services_ Comprehensive Guide 2024.pdf
The Future of Mobile App Testing - Reliable and Efficient Solutions.pdf
The Essentials of Mobile App Testing and Monitoring
Mobile testing
A Complete Guide to Mobile App Testing Types.pdf
Mobile Application Testing by Javed Ansari
The Crucial Role of Mobile App Testing in Ensuring Quality and Security.pdf
Best Practices for Mobile App Testing - Mobulous
100 effective software testing tools that boost your Testing
Mobile App Security Testing_ A Comprehensive Guide.pdf
Mobile Testing Tools 101
Mobile Testing_ An Introduction to the Different Types and Approaches.pdf
Mobile Testing Services in the Digital Age
Mobile Application Testing - White Paper
Mobile App Testing in SDLC_ A Comprehensive Overview.pdf
Best Practices for Testing and Debugging Your Mobile App.pdf
Experitest & Capgemini Co-webinar -

Mobile App Security Testing -2

  • 2. 1. What is Mobile OS Platform latest versions 2. What is Mobile App SDLC & Mobile App Security SDLC? 3. What is Mobile App STLC & Mobile App Security STLC? 4. What is Mobile Apps Development view & Testing view? 5. What is the testing difference in the Mobile Web & Mobile Native Apps 6. What are the Testing Techniques to Deal with Vulnerabilities? 7. What is Real Device Vs Emulator Testing? 8. What is top Mobile Apps Vulnerabilities? 9. What is Client side injection? 10. What are the Security Testing Tools? 11. What are the Mobile Application Security Testing Tools? AGENDA
  • 7. Mobile Apps Testing Life cycle
  • 9. Mobile Web Vs Native Apps
  • 11. Mobile Apps Testing Techniques to Deal with Vulnerabilities • Black box/Dynamic Testing- Also known as behavioral testing. It analyzes code as it runs to identify vulnerabilities that any hacker can find when the application is running in the production. This testing identifies if any weakness can be exploited, or identifies the type of weakness so that human penetration tester can verify this exploitability manually. • Code Review- It identifies the vulnerabilities at the source-code level. It can detect injection flaws, backdoors or suspicious code, hard coded passwords and secret keys, weak algorithm usage and hard coded keys and data storage definitions. • Penetration Testing- For any mobile application, one of the most critical tests can be penetration test. It is an ethical attack simulation intended to expose security controls of the application by highlighting risks posed by exploitable vulnerabilities. The vulnerabilities identified by penetration testing include input validation, buffer overflow, cross site scripting, SQL injection, URL manipulation, hidden variable manipulation, authentication bypass, cookie modification, code execution, and few other common software attacks. • Mobile Application Security Assessment- It is a holistic security assessment of mobile applications, the associated backend systems and data flows and interactions between them. Failures occur, for different reasons such as poor design, faulty code, inefficient security measures or a combination of the above. However, the fact remains that it is important to identify these security risks and minimize security breaches. To protect your users from the attacks, you need to stay updated with the latest threats, and ways to deal with them. Hence, it is essential to stay in touch with the latest vulnerabilities, patches and hacks to ensure that the mobile applications are safe. When it comes to application testing, there is no silver bullet, and no single approach does it all. You need multiple approaches looking from different angles to have the confidence that your application is secure.
  • 12. Real Device Vs Emulator Testing: Real Testing Device: Testing on real device allows you to run your mobile applications and checks its functionality. Real device testing assures you that your application will work smoothly in customer handsets. Emulators: Emulator is a software program that allows your mobile to imitate the features of another computer or mobile software you want them to imitate by installing them to your computer or Mobile.
  • 13. Mobile App Security Testing on Major Platforms Emulators 1. iPad Peek 2. iPhone Tester 3. Mobile Phone Emulator 4. Responsivepx 5. Screenfly 6. Mobi ready tool More: http://www.mobilexweb.com/emulators Open source Mobile device Online emulators:
  • 15. Drawbacks of using Emulators in case of Mobile App Testing Testing on emulators can be a tempting, cost effective option to purchasing devices but miss out on issues: ● Device specific features ● Human interaction issues. ● Multi-touch issues ● Bandwidth and loading sequence ● Wireless network behavior – Wifi and GSM signal drops ● Device interrupts and multitasking ● Data retention during signal drops
  • 17. Top Mobile apps vulnerabilities
  • 18. CLIENT - SIDE INJECTION Client side injection can be done with the following ways. 1. Cross Site Scripting testing can be done using following Scripting Languages ● Javascript ● VBScript ● HTML ● Dart ● ActionScript (used to create animated interactive web applications for Adobe Flash Player using Adobe Flash Pro) 2. SQL INJECTION ● SQL Injection can be done with SQL Scripts/Wildcards.
  • 19. 1. CROSS SITE SCRIPT EXECUTION Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications, such as web browsers through breaches of browser security, that enables attackers to inject client-side script into Web pages viewed by other users. EXAMPLE QUERIES: 1. <script>alert('XSS')</script> 2. <script>alert(document.cookie);</script> 3. http://server/cgi-bin/testcgi.exe?<SCRIPT>alert(“Cookie”+document.cookie)</SCRIPT> 2. <script>window.onload = function() {var link=document.getElementsByTagName("a");link[0].href="http://not-real- xssattackexamples.com/";}</script> Persistent Cross Site Scripting By exploiting this vulnerability, an attacket can: ● Hijack your account ● Spread web worms ● Access your browser history and clipboard contents ● Remotely control your browser
  • 20. 2. SQL INJECTION QUERIES SELECT * FROM Users WHERE UserId = 105 or 1=1 SELECT * FROM Users WHERE Name ="" or ""="" AND Pass ="" or ""="" SELECT UserId, Name, Password FROM Users WHERE UserId = 105 or 1=1 SELECT * FROM Users WHERE Name ="" or ""="" AND Pass ="" or ""="" Reference link: SQL Injection video
  • 21. Taking a three-tier approach – testing and comparing results across all three layers of the mobile application: client, network, and server will result in building, managing and successfully securing your mobile applications. Successful Mobile Application Security
  • 22. Web Security Testing Tools: Top 10 – Best Security Tool of the year 2013
  • 23. Mobile Application Security Testing Tools: 1. OWASP Zed Attack Proxy (ZAP) Tool [Open Source] 2. IBM Security AppScan [Paid Service] IBM AppScan Pricing 3. HP Fortify [Paid Service] How to buy 4. VeraCode [Paid Service] How to buy Few more: 1. Introspy [Open source] 2. Core Impact Pro 2014 R 1.1 [Paid Service] 3. Appthority [Paid Service]
  • 26. 2. IBM Security AppScan: ● AppScan to scan mobile applications with three different models: − Using an emulator for both iOS and Android − Configuring an actual mobile device for both Android and iOS − Scanning mobile web applications by setting up a mobile user agent Methods to scan and test mobile applications
  • 29. Why IBM Security AppScan?
  • 30. 3. HP Fortify: ● Scan, assess and report on the security of Mobile applications ● 2 ways to coordinate application, information and network security