Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:41:22+00:00 2026-06-12T08:41:22+00:00

With all of the rooting and custom mods out there for android, it makes

  • 0

With all of the rooting and custom mods out there for android, it makes me nervous that some of the apks that state they are google’s are actually malicious.

So in trying to verify them I’ve extracted an ANDROID.RSA public key and I have been trying to verify it online.. but every google search turns up methods of doing public key encryption on android and not how to verify actual google apks

So my basic question is:

How do I verify that a google apk is actually a google apk?

The one particular RSA public key I found:

Owner: CN=Google NFC, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Issuer: CN=Google NFC, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Serial number: a8cd17c93da5d990
Valid from: Wed Mar 23 21:06:53 EDT 2011 until: Sun Aug 08 21:06:53 EDT 2038
Certificate fingerprints:
     MD5:  C9:E9:71:21:25:5D:E0:15:6F:3F:5B:24:B1:A8:47:6A
     SHA1: 82:75:9E:2D:B4:3F:9C:CB:AF:CE:31:3B:C6:74:F3:57:48:FA:BD:7A
     Signature algorithm name: SHA1withRSA
     Version: 3

Extensions: 

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 1C CE CE 0E EA 4D C1 12   1F C7 51 5F 0D 0A 0C 72  .....M....Q_...r
0010: E0 8C C9 6D                                        ...m
]
]

#2: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#3: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 1C CE CE 0E EA 4D C1 12   1F C7 51 5F 0D 0A 0C 72  .....M....Q_...r
0010: E0 8C C9 6D                                        ...m
]

[CN=Google NFC, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US]
SerialNumber: [    a8cd17c9 3da5d990]
]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:41:23+00:00Added an answer on June 12, 2026 at 8:41 am

    I put this solution together while trying to validate a download of the Google Wallet APK for my Verizon Galaxy Nexus.

    To verify an applications signature you need a trusted source that has some version of the apk. Android forces application updates with the same package name to be signed by the same certificate, so Google Wallet can’t change their certificate without creating a new package name and requiring every user to re-install the app.

    1. Download a factory image that contains Google Wallet from a trusted source

      https://developers.google.com/android/nexus/images#takju

    2. Download system image extractor

      http://andwise.net/?attachment_id=406

    3. Extract factory image

      tar xzvf takju-jro03c-factory-bf087655.tgz  
      mv takju-jro03c/image-takju-jro03c.zip .
      
    4. Extract embedded image (zip file)

      unzip image-takju-jro03c.zip
      
    5. Extract system image extractor (the file we downloaded in part 2)

      tar xzvf ext4_utils.tar.gz  
      chmod +x simg2img
      
    6. Extract an ext4 mountable image from the system image

      ./simg2img system.img system.image.ext4
      
    7. mkdir sys

    8. Mount the extracted ext4 image with the newly created sys/ folder as the mount point

      sudo mount -t ext4 -o loop system.image.ext4 sys/
      
    9. View the Wallet.apk certificate

      unzip -p sys/app/Wallet.apk META-INF/CERT.RSA | keytool -printcert
      
    10. Compare the fingerprints and serial number (I copied them into python strings and compared them that way). Finding a SHA-1 pre-image attack requires roughly 2^160 guesses, so if the fingerprints match the chances of the downloaded APK being bad are slim.

    You can also sideload the factory image extracted Wallet.apk onto your phone adb install sys/app/Wallet.apk, then download the new apk on your phone and launch it from a file manager to perform an upgrade. Android will do the certificate validation for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are a class of Android applications that enable password protection on certain user-specified
I have my own routing rules in routes.php, defined for all the pages that
All I want to do is return the index of the i that is
all. We're trying to get some intersect collisions working, but the problem experience is
All links works as I expect but now I have to make a custom
Is there anyway to add custom key/value pairs in the Routing file of a
Built a custom app that will allow users to add jobs to a system.
I'm developing an app that (I believe) needs root privilege. There are plenty of
There's a feature in Twitter called hashtags that extracts tags from messages. For example,
I have a custom routehandler in ASP.NET MVC2 to catch all url's at a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.