-
Notifications
You must be signed in to change notification settings - Fork 7
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
Authenticate com.android.vending is a playstore .apk signed by Google #34
Comments
They are split on my test phone:
Here is the base one : https://lufi.ethibox.fr/r/TKfVeXyw9w#CgNZPELa2gSsZBnTSrWgxlIPqOSDlqxgxL55a2Y1ano= (I don't think you can attach APKs on github) |
Thanks for the sample! It seems I've been using the wrong commands, I found this stackoverflow thread and was using
Instead, using apksigcopier I was able to extract something that seems related to signing, it also seems the assumption I posted about microg earlier was incorrect (at least the signature block also mentions Google Inc):
I still need to investigate the data format of the signature block, and how apksigcopier extracts it ( I also somehow dismissed the apksigner answer on stackoverflow (possibly because I couldn't find the tool in Arch Linux, pulling it from Debian worked):
This demonstrates nicely how this feature is supposed to work, both apk's (the one I pulled from microg and the one you provided) have been released by the same entity (installing an android-sdk shouldn't not become a dependency of this tool though). Something I'm not sure about is how
Would android still list |
When scanning a phone there used to be a long list of findings like this (and still is on the latest release binary):
Since this ID belongs to the google play store this findings was muted to keep the signal:noise ratio of findings high (since their store is moderated and connected to play protect):
spytrap-adb/src/package.rs
Lines 53 to 73 in 9891d49
There should be a step that verifies the signature of the apk with this ID was actually signed by google.
I currently do not have an .apk to test with, the phone I have for testing has MicroG installed (which apparently registers an unsigned .apk to this ID). If somebody has a copy of a google signed playstore apk, feel free to attach it to this issue in a comment (github allows attaching files).
To pull the apk:
adb shell pm list packages -f com.android.vending
adb pull ...
with the path it prints in the previous commandI can probably get access to another phone (with everything stock) after next week.
The text was updated successfully, but these errors were encountered: