Installing an APK File? How to Check If It's Safe

Installing an APK File? How to Check If It's Safe
Highlights
  • Google allows 'sideloading' apps via APK files
  • Sometimes these APKs can contain malware
  • It is possible to verify an APK before installing it
Advertisement

One of the best things about Android is the amount of control that the operating system gives users. For instance, with an iPhone, if you want to install apps, you have to either use the App Store or jailbreak the phone.

With Android, you can use Google Play, or side load the app using an APK file. To do this, all you need to do is copy the APK on your phone, enable Unknown sources in the privacy settings and launch the APK, and you'll install the app that's been packaged in the file.

However, this level of simplicity also means that there's a little risk - for Android users, downloading apps via Google Play is the safest option. Based on the data released by the Android security team this year, you're about 10 times more likely to have a potentially harmful application on your device if you're not just using Google Play.

Because of that, if you're planning to use an APK file you've downloaded, it's a good idea to run a few simple checks to try and verify that it is really what it claims to be. Luckily, there are a few simple ways you can do this.

Scanning the APK

1. VirusTotal
The VirusTotal website lets you upload your APK files to check for viruses and other issues. Android files are the fifth most popular file to be checked on the website. The one caveat is that the file size has to be under 128MB, so some games in particular might be too big for this tool.

To use, do the following:

  1. Open the site.
  2. Click on Choose File, and in the browser dialogue box, select your file.
  3. Click on Scan it! to get your results.

virus total home apk_scan

This will help you to quickly check if an APK is safe or not. In general, we've seen a lot of comments online praising VirusTotal's effectiveness. It was acquired by Google in 2012, and is a non-commercial entity. The aggregated data is the output of different antivirus engines, website scanners, file and URL analysis tools and user contributions.

2. NViso ApkScan
Another tool that's similar to VirusTotal is NViso ApkScan. It also provides a detailed report on the APK file you have, and there's no file size limit. We've seen this tool recommended on the most number of forums, and it worked quickly and easily.

To use Nviso, do the following:

  1. Open the Nviso site.
  2. Drag and drop the APK file onto the site.
  3. Click on Scan package.

nviso result apk_scan

You can also tick the E-mail box, enter you email ID, and leave the site if you like. You will then get the results in your mail. The results are detailed, starting with a risk rating, and then showing you the permissions that the app asks for, general information such as its MD5 and SHA256 hashes, and file size (this information might be publicly available for the app you're trying to download, helping verify the authenticity of the APK), and includes a virus scan.

Checking the hash

3. Hash Droid
As mentioned above, one way to see if you're downloading the right APK is to check its hash. The SHA of a file is kind of like a digital fingerprint, and if the app you're looking for has its SHA publicly mentioned by the developers, then you can compare that with the SHA of the APK you have. If the two match, you're safe.

Nviso ApkScan is one way to look up this information, but if you want to get it done on your phone itself, you can use the Hash Droid app.

  1. Install Hash Droid from Google Play.
  2. Select Hash a File.
  3. Under Select a hash, choose SHA-256.
  4. Choose the APK file you want to check.
  5. Tap on Calculate.

hash droid match apk_scan

This should show you the APK's hash data, which would be a long string that looks something like this: 5a8679e3e4298b7b3ffac725106db12a21bdb0bcf746f44fa7e46c40dbf794aa. That's the original Pokemon Go hash, in case you're wondering.

By using this method, you can compare the hashes of APKs and what the app publishers have revealed, to see if the APK is safe to install.

That's it - with these three methods, you can be have a greater degree of security when using apps downloaded from third party sources. However, it's worth noting that these methods are never 100 percent secure, and if you're worried about malware, then it's probably better to stick to the Play Store.

We hope that was useful to you - tell us about your experiences with APK files via the comments. And if you want to read more tips and tricks, check out our how-to section.

Comments

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Gadgets 360 Staff
The resident bot. If you email me, a human will respond. More
Sansui Horizon 1 With 4G VoLTE Support Launched at Rs. 3,999
Overwatch Xbox Scorpio Support Is a ‘Wait and See’ for Blizzard
Share on Facebook Gadgets360 Twitter Share Tweet Snapchat Share Reddit Comment google-newsGoogle News
 
 

Advertisement

Follow Us

Advertisement

© Copyright Red Pixels Ventures Limited 2024. All rights reserved.
Trending Products »
Latest Tech News »