WebAssembly enables Android malware to evade static scanners
Embedding WebAssembly modules allows Android malware to bypass detection by tools like VirusTotal and MobSF
Security & privacy arXiv 20 Feb 2026 Measurement Prototype evidence
Published as “AndroWasm: an Empirical Study on Android Malware Obfuscation through WebAssembly”
Why it matters
Security teams should consider adding Wasm-specific inspection to Android malware scanners, as current static tools can miss malicious code hidden in Wasm modules.
Summary
Embedding malicious payloads in WebAssembly modules lets Android malware evade static scanners: a ransomware sample that was flagged by 27 of 66 VirusTotal engines was detected by only 7 after moving its logic to Wasm, and the average detection count fell to 14 engines; a spyware sample also saw its IoC hidden from VirusTotal and MobSF. The evidence comes from two proof-of-concept apps compared against original versions and Obfuscapk baselines, so the claim is based on a very small, non-large-scale evaluation.
What they found 5
- Wasm-based ransomware is detected by far fewer AV engines than its native counterpart
“In terms of raw detection rate, the original version is flagged by 27 out of 66 AV engines, whereas the modified Wasm-enabled version is detected by only 7.”
- Average VirusTotal detections drop to 14 engines for Wasm-enabled samples
“VT reported detections from an average of 14 engines, highlighting how Wasm provides a significantly subtler means of concealing malicious logic compared to conventional obfuscation techniques.”
- Spyware Wasm version is flagged by only one AV engine and its malicious URL IoC is missed
“each APK was flagged as malicious by only one AV engine, classified merely as a PUA (Potentially Unwanted Application).”
- MobSF static analysis overlooks malicious logic hidden in Wasm binaries
“MobSF’s static analysis largely overlooks embedded binary files, resulting in the omission of actual malicious logic.”
- Only the original spyware sample triggers detection of its malicious URL IoC, the Wasm version does not
“VT reports show that only the original sample triggers the detection of a malicious indicator of compromise (IoC), i.e., the URL used by the spyware to exfiltrate sensitive data. Instead, this IoC for Wasm-based version goes unnoticed.”
Caveats 5
- The paper notes that MobSF can still recognize overall behavior (file read, network connection) in the Wasm-based spyware, indicating that not all malicious activity is invisible.
- In the ransomware case, the Wasm version still shows some detection (7 AV engines), so evasion is partial, not total.
- The study is preliminary and evaluates only two PoC samples, limiting generalizability.
- It lacks an automated large-scale pipeline and does not assess dynamic analysis tools beyond VirusTotal and MobSF.
- The authors acknowledge the need to study vulnerabilities that Wasm modules may introduce in APKs.
What’s new here 4
- Demonstrates that WebAssembly can be used to hide Android malware logic, a technique not previously studied for Android.
- Shows that leading static analysis services (VirusTotal, MobSF) miss malicious behavior when it is moved into Wasm binaries.
- Provides concrete proof-of-concept ransomware and spyware that embed Wasm modules via WebView, JavaScript engines, and native WasmEdge runtimes.
- Offers initial guidelines for static detection of Wasm in Android packages.