Skip to content

Commit

Permalink
fix markdown, update tool execution command
Browse files Browse the repository at this point in the history
  • Loading branch information
titze committed Nov 7, 2024
1 parent 98b6d68 commit a5636b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion techniques/android/MASTG-TECH-0116.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Verified for SourceStamp: false
Number of signers: 1
```


## Additional Signature Information

Additional information about the signature including fields from the signing certificate, digest and key information can be also examined with @MASTG-TOOL-0123:
Expand Down
4 changes: 2 additions & 2 deletions tests-beta/android/MASVS-RESILIENCE/MASTG-TEST-0x38.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ weakness: MASWE-0104

Applications need to be properly signed to safeguard their integrity and protect them from tampering. Android has evolved its signing schemes over time to enhance security, with newer versions offering more robust mechanisms. Check [APK Signing Schemes](../../../Document/0x05a-Platform-Overview.md#signing-process) for more details.

This test checks if the insecure v1 signature scheme is enabled for applications targetting Android 7.0 (API level 24) and above.
This test checks if the insecure v1 signature scheme is enabled for applications targeting Android 7.0 (API level 24) and above.

## Steps

1. Obtain the `minSdkVersion` attribute from the AndroidManifest.xml, e.g., via @MASTG-TOOL-0121.
2. List all used signature schemes using @MASTG-TECH-0116 to verify the APK signatures.
2. List all used signature schemes using the `verify` command of @MASTG-TOOL-0123 as shown in @MASTG-TECH-0116.

## Observation

Expand Down
2 changes: 1 addition & 1 deletion tools/android/MASTG-TOOL-0123.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ platform: android
source: https://developer.android.com/tools/apksigner
---

[apksigner](https://developer.android.com/tools/apksigner), available in revision 24.0.3 and higher of the Android SDK Build Tools, is contained in the @MASTG-TOOL-0006 at `[SDK-Path]/build-tools/[version]/apksigner` and can be used to verify APK signatures, rotate keys and display additional information about the signing certificates and keys.
[apksigner](https://developer.android.com/tools/apksigner), available in revision 24.0.3 and higher of the Android SDK Build Tools, is contained in the @MASTG-TOOL-0006 at `[SDK-Path]/build-tools/[version]/apksigner` and can be used to verify APK signatures, rotate keys and display additional information about the signing certificates and keys.

0 comments on commit a5636b0

Please sign in to comment.