GithubHelp home page GithubHelp logo

iamsywid / bdd-mobile-security-automation-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ing-bank/bdd-mobile-security-automation-framework

0.0 1.0 0.0 9.07 MB

Mobile Security testing Framework

License: MIT License

Gherkin 29.92% Ruby 51.40% Dockerfile 18.68%

bdd-mobile-security-automation-framework's Introduction

Automating OWASP MSTG through BDD mobile security testings

ING provides a set of BDD security tests with Calabash,Cucumber and Ruby, following the OWASP Mobile Security Testing Guide and the OWASP Mobile Top 10 2016, that can be easily customized and implemented through the entire CI/CD pipeline.

The tests use the power of calabash.io to automate the UI, Cucumber and Gherkin for its simple language and the Android tools to check for security issues.

Prerequisites for Android

  • Docker
  • Genymotion or real devices

Prerequisites for iOS

  • macOS
  • Xcode CLI tools

Docker container for Android testing

The docker container can be used to spin up Calabash and the Android tools. Follow the README in the docker folder.

At the moment the docker container can only be used to test Android applications. If you want to run iOS tests you need to install Calabash native on macOS

First Test

The repo contains a simple test that can be used as a sample to check that everything works.

OWASP MASVS and MSTG

The repo's structure is based on the OWASP Mobile Application Security Verification Standard and the corresponding tests from the OWASP Mobile Security Testing Guide. For each test many features are defined with the corresponding steps.

How to contribute

In order to contribute in creating new tests, the best way is to identify first which command will be usefull to automate specific controls. Follow the following steps:

  • Go to the "Issues" tab and select a test that you would like to write
  • Create a folder in the repo with the following structure OS/Emulator or Device/MASVS chapter/ MSTG Test/
    • so in example Android/Emulator/V2 - Data Storage and Privacy/Testing for Sensitive Information in log files/
  • Create a README.md with the description of the commands to use and how to use it
  • Create a .feature file
  • Create a steps.rb file

Follow the Wiki to check how to create pull requests.

Tested on

The following BDD tests have been tested using the following OWASP vulnerable apps as test cases:

bdd-mobile-security-automation-framework's People

Contributors

claraanel avatar david3107 avatar sushi2k avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.