More accurate MSTG-STORAGE-11#18
More accurate MSTG-STORAGE-11#18Sparrrgh wants to merge 4 commits intomindedsecurity:developmentfrom
Conversation
Merge with Development
Merge with development
Merge with Development
|
Hi @Sparrrgh, What you are proposing is interesting, but it is strictly related to administrator devices. There is not a direct correlation between L2 applications and administrator devices, they are two different categories. For this reason, it is not possible to accept your pull request as is. However, the idea to include a specific test for administrator devices in this rule is not bad. Here is what I propose:: <device-admin xmlns:android="http://schemas.android.com/apk/res/android">
<uses-policies>
<limit-password />
<watch-login />
<reset-password />
<force-lock />
<wipe-data />
<expire-password />
<encrypted-storage />
<disable-camera />
</uses-policies>
</device-admin>Please let me know if you would like to implement the aforementioned rule. If so, I will wait about a month before attempting to implement the rule myself. Thank you for your interest in contributing to this project, |
This rule is described in the documentation for MASTG as the enforcement of checks through Device Administration API and by querying Settings.Secure.
The current rule only checks the example in the documentation where an old Android version is used.
My rule does not search for Settings.Secure checks in the code, but it now checks at least for the usage of Device Administration API which is a bit more accurate to the documentation from OWASP.