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

Port MASTG-TEST-0024 (by @appknox) #3076

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ScreaMy7
Copy link
Collaborator

closes #2985

platform: android
title: Testing for App Permissions
id: MASTG-TEST-0x24
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check other recently added V2 tests for missing fields such as MASWE ID


## Steps

### Static analysis
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not use these sections anymore but rather one unique list of steps.

In this case you can easily create a MASTG-TECH for "Obtaining App Permissions" and there use one ## section per tool.

Example:

## @MASTG-TOOL-xxx

See the latest MASTG-TECH and MASTG-TEST (V2 beta) for reference (you can go to the page and sort the IDs to see the recent ones).

FOR THIS TEST:

as you'll see in the other ones this will become one step about using the technique by referencing it with @

2. Use the @MASTG-TOOL-0004 with the following command :
`$ adb shell dumpsys package sg.vp.owasp_mobile.omtg_android`

Please refer to this [permissions overview ↗](https://developer.android.com/guide/topics/permissions/overview#permission-groups "Table 1. Dangerous permissions and permission groups.") for descriptions of the listed permissions that are considered dangerous.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be better for the evaluation. Be careful not to include that arrow right before the closing bracket

@cpholguera
Copy link
Collaborator

Could you please include a MASTG-DEMO as well using our app?

This greatly helps understanding the test, so we're going to make this a requirement for everyone from now on (unless there's a good reason to schedule it for later, e.g. due to great complexity). Thanks a lot @ScreaMy7!

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

Successfully merging this pull request may close these issues.

MASTG v1->v2 MASTG-TEST-0024: Testing for App Permissions (android)
2 participants