Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopting Secure Engineering Techniques #9

Open
4 of 7 tasks
Wogiebear opened this issue Sep 3, 2015 · 1 comment
Open
4 of 7 tasks

Adopting Secure Engineering Techniques #9

Wogiebear opened this issue Sep 3, 2015 · 1 comment

Comments

@Wogiebear
Copy link

Overview

As part of risk assessment for ISO 27001, the question was asked: "Does the development of the Software Application follow Secure Engineering Techniques?"

This identifies a risk of tampering and hacking of the phone app.

Control

To control this risk, we must investigate and adopt some techniques from the general principles of Secure Engineering Techniques.

This site lists several things we should do:

  • Verifying your app's signing certificate at runtime
  • Verifying the installer
  • Environment checks
    • Techniques for detecting emulators
    • Detect Debuggable mode
  • Use Proguard or DexGuard (from https://www.guardsquare.com/)
  • SSL pinning (subject to certificate)

This site also lists several techniques for guarding the app. These may need server changes.

@otormaigh
Copy link

Some of these requests have been add in Pull Request #16

Some of the new implmented features are currently disabled because they would hinder development.

Additions:

  • Adds ability for app to check if it is running on an emulator.
  • Adds ability for app to check if the MD5 sum of the certificate it was signed with matches with the relevant credentials (I think it would be a good idea to have this valid MD5 hash not stored on the device but to do a POST to the backend with the MD5 the app received and let the backend verifiy it with its local copy and return true/false depending on the outcome.)
  • Adds ability for app to check if it is running in debuggable mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants