How to Scan an APK for Viruses ?
Blog Post

How to Scan an APK for Viruses ?

Malware
File Security
Threat Prevention
Cloud Security
November 17th 2026
Share this Post

Key takeaways 

  • APK files can hide malware, or be modified to steal data and compromise devices. 
  • Even if they come from trusted sources, APKs should still be checked against the hash, developer signature, and requested permissions. 
  • MetaDefender Cloud uses multi-engine malware scanning, archive unpacking, and Adaptive Sandbox to scan APKs for malware.  
  • Development teams, app marketplaces, and organizations managing large APK collections can use the MetaDefender Cloud API to automate malware scanning. 

In March 2026, McAfee researchers reported Operation NoVoice, an Android rootkit campaign hidden in more than 50 apps available on Google Play, with at least 2.3 million downloads combined. Disguised as cleaners, games, and gallery tools, the apps worked normally while concealing a payload that ran after installation.  

If a Play listing can’t promise an app is clean, a file from an unknown website or a link in a chat promises even less.  

So, what exactly are you installing when you open an APK, and what can go wrong with it? Knowing how to check if an APK is safe before installation is an important step in protecting your device from APK file malware. 

 

What Is an APK file, and Why Can It Be Risky? 

An APK (Android Package) is the file Android installs an app from. It bundles the app code, resources, and a manifest that lists, among other things, the access the app requests. Every Android app is installed from an APK, including the ones that come from Google Play.  

On Play, the store builds the APKs and signs them for distribution, and you never see them. But you can also download the APK yourself and install it with no store between you and the file, a process called sideloading. Once you install, the app runs code on your phone with whatever access you grant it.  

The sideloading risks come from the fact that anyone can unpack an APK, alter it, and re-sign it with their own key; Android accepts self-signed certificates without verifying against a central authority. In a proof-of-concept experiment, AhnLab researchers unpacked a banking app from Google Play, inserted code that sent the user’s certificate password to an attacker, added an SMS permission to the manifest, rebuilt the app, and signed it. It worked normally while forwarding the password. 

Google points to bad actors who hide behind anonymity, impersonate developers, and borrow their brand image to build convincing fake apps. Our own research back in 2014 found that almost a third of about 12,000 APKs collected from third-party app stores were flagged by at least one of the engines, and about 8% still flagged after discounting adware and single-engine detections. 

 

How Do I Scan an APK for Viruses? 

Check where the file came from, compare the hash with the developer’s published value, verify its signature, review the permissions it requests, then scan it with multiple antivirus engines. MetaDefender™ Cloud covers the hash and malware inspection in one upload, so you can do most of this without installing anything. 

  • Check the download source

While none is 100% safe, unofficial or third-party sources are significantly more dangerous than the official ones. In fact, Google’s analysis found over 50 times more malware from internet-sideloaded sources than on Google Play. Whenever possible, download from the official marketplace. 

  • Compare the file hash

MetaDefender™ Cloud lets you check an APK in your browser and view its SHA-256 hash and multi-engine malware scan results, without installing scanning software. You check the download source and manually compare the hash with the developer’s published value. If an existing analysis is available, MetaDefender Cloud may display that report instead of performing a fresh scan. 

  • Verify the app signature

An app signature is a digital signature made with the developer’s certificate, and Android requires every APK to be signed before it is installed or updated. A valid signature only shows the file wasn’t modified after signing, so a signature check works alongside a malware scan and not instead of one. 

  • Review the permissions  

Permissions control access to restricted data, like contact information, and restricted actions, like recording audio. If the app asks for permissions that it shouldn’t need, it’s worth thinking twice before installing. 

  • Run a multi-engine malware scan

A multi-engine APK virus scanner checks a file against multiple databases instead of one. MetaDefender Cloud unpacks the APK and scans the files inside it, then shows the per-engine results. 

 

What Should I Do with Each APK Scan Result? 

If after a scan you’re still wondering, "Is this APK safe?", here are recommended actions for possible scenarios.  

Scan Result 

Recommended Action 

No detections, and source, hash, and signature checks pass 

Lower risk. Review the permissions, then install. 

One or two engines flag it, with no additional context.  

Look for the official build. If you can’t find one, don’t install. 

Several engines name a specific malware family. 

Delete the file and don’t install it. 

 

How Does MetaDefender Cloud Scan APK Files? 

If used as an APK malware scanner, MetaDefender Cloud processes an APK using the same logic applied to archives. 

It scans the file whole, unpacks it, then scans every file inside with multiple anti-malware engines, depending on the license tier, so malware hidden in a single component can be identified even when the outer package looks clean to every engine. If configured, the APK also goes through the Adaptive Sandbox technology, which checks the manifest, permissions, signing certificates, and code to catch evasive or sophisticated threats. 

To scan an APK online: 

  1. Go to MetaDefender Cloud. 
  2. Upload the APK. 
  3. Review the results. 

Scanning APKs at Scale for Teams and Developers 

If your organization is dealing with frequent releases, you work in an app marketplace, or you need to audit existing APK collections, it’s impractical to scan APKs individually.  

Your development teams can automate malware checks through the MetaDefender Cloud API, using an API key. Automating these checks removes the need for manual uploads and makes APK inspection part of the development and distribution process.  

Check out the official API documentation to explore more about API limits, scanning throughput, and batch-processing support. 

What Can an APK Scan Miss? 

Just because the scan result comes back clean, it doesn’t mean the APK is truly safe.  

If you only use scanning, with no additional inspection layers like a sandboxed environment, keep in mind that a scan reports only what its engines recognize. New or unknown threats can pass undetected.  

Moreover, the scan can’t judge whether a genuine-looking app asks for more access than it needs.  

An app can be legitimate, unmodified, and signed by its real developer, and still request access it doesn’t need. Android has install-time permissions, which are granted automatically, and runtime permissions, which the app must request, so read the list before you install. Compare each permission with what the app does and skip the app if the discrepancy is suspicious.  

 

Scan before You Tap Install 

Until you tap Install, an APK is only a file. It can’t read your messages, touch your contacts, or run a single line of its code. Once you tap, the app is the one holding the access, and you’re trusting it to use that access as promised. Right before the tap is the last moment the decision is entirely yours, so it’s the right moment to get a second opinion. 

Frequently Asked Questions About APK Scanning 

What is an APK file?
An APK (Android Package Kit) is the file format Android uses to distribute and install applications. It contains the app's code, resources, and manifest, including information about requested permissions.
How can I check if an APK is safe before installing it?
Check the download source, compare the hash against the developer's published value, verify its digital signature, review its requested permissions, and scan it with multiple anti-malware engines.
How do I scan an APK for viruses online?
Upload the APK to MetaDefender Cloud. The service analyzes the file using multiple anti-malware engines and provides a report with detection results. You don't need to install additional software.
Can MetaDefender Cloud detect malware hidden inside APK files?
Yes. MetaDefender Cloud unpacks APK files and scans their contents with multiple anti-malware engines. It also uses Adaptive Sandbox technology to help identify suspicious or evasive threats.
Is verifying an APK's digital signature enough to establish that it's safe?
No. A valid signature confirms that the APK has not been modified since it was signed with that certificate. It does not guarantee that the original application is free from malware.
Can I scan an APK using the MetaDefender Cloud API?
Yes. MetaDefender Cloud provides a REST API that allows developers to submit APK files and retrieve malware analysis reports. This makes it possible to integrate APK scanning into automated development and security workflows.
Can organizations scan APKs in bulk?
Organizations can automate multiple APK submissions through the MetaDefender Cloud API rather than uploading files individually. For large-scale deployments, API limits, scanning throughput, licensing, and batch-processing capabilities should be checked against the requirements of the specific account. 
Why should developers scan APKs before releasing an Android app?
Scanning APKs before release helps identify malicious code, known malware in bundled files, and potentially unwanted components before they reach users. Integrating malware scanning into CI/CD pipelines makes security checks part of the application development and release process.
How can I check if an APK is safe before installing it?
Check the download source, compare the hash against the developer's published value, verify its digital signature, review its requested permissions, and scan it with multiple anti-malware engines.
Malware
File Security
Threat Prevention
Cloud Security