APK//SONAR · REPORT

com.apksonar.demo.nativedeepDEEP

c79afac775b1f5cd… · finished 2026-11-18T19:59:54 UTC

Scan another APK →More demo reports⬇ SBOM (CycloneDX)⬇ PDF report
HIGH × 10MEDIUM × 10INFO × 3

OWASP MASVS: RESILIENCE · NETWORK · PLATFORM · CODE · CRYPTO

APPLICATION

version 1.0 (1) · SDK 24→35 · 404.6 KB · 9 files · 1 dex

PERMISSIONS · 2 (1 dangerous)

INTERNETREAD_PHONE_STATE

COMPONENTS · 1 activities · 0 services · 0 receivers · 0 providers

EXPORTED

activity: com.apksonar.demo.nativedeep.MainActivity

NATIVE LIBS · 407.0 KB

x86_64

libapksonar_native.so

16.2 KB

x86_64

libsec_payload.so

packed: UPXopenssl 1.0.2u

390.8 KB

NATIVE ANALYSIS · GHIDRA · 2 libs

x86_64

libapksonar_native.so

56 procedures · 104 strings · 16.2 KB · 6 exports · entropy 2.38 · shared

JNIJava_com_apksonar_demo_nativedeep_NativeBridge_insecureTlsJava_com_apksonar_demo_nativedeep_NativeBridge_getTokenJava_com_apksonar_demo_nativedeep_NativeBridge_spawnWatchdogJava_com_apksonar_demo_nativedeep_NativeBridge_initJava_com_apksonar_demo_nativedeep_NativeBridge_isDeviceRootedJNI_OnLoad
IMPORTSptrace@GLIBC_2.2.5 · anti-debugSSL_CTX_set_verify · tls-bypassX509_verify_cert · tls-bypasssyscall@GLIBC_2.2.5 · raw-syscallexecve@GLIBC_2.2.5 · shell-execfork@GLIBC_2.2.5 · process-spawndlopen@GLIBC_2.34 · dynamic-loadingdlsym@GLIBC_2.34 · dynamic-loading
STRINGS

anti-analysisfrida @ 0x102007

anti-analysisxposed @ 0x10200d

root-detectionmagisk @ 0x102000

root-detection/system/bin/su @ 0x10201e

root-detection/system/xbin/su @ 0x10206b

anti-debugTracerPid @ 0x102014

anti-debug/proc/self/status @ 0x10202d

anti-analysis/proc/self/maps @ 0x10203f

PSEUDO

Ghidra decompiler · JNI_OnLoad

undefined8 JNI_OnLoad(void)

{
  ptrace(PTRACE_TRACEME,0,0,0);
  return 0x10006;
}
x86_64

libsec_payload.so

0 procedures · 0 strings · 390.8 KB · 0 exports · entropy 8 · shared

JAVA ANALYSIS · JADX · 6 classes · obfuscation 0%

top packages: com.apksonar.demo.nativedeep (6)

EMPTY

com.apksonar.demo.nativedeep.TrustAllCerts.checkServerTrusted()

body: (empty)

EMPTY

com.apksonar.demo.nativedeep.TrustAllCerts.checkClientTrusted()

body: (empty)

ALWAYS-TRUE

com.apksonar.demo.nativedeep.LenientHostname.verify()

body: return true;

WEBVIEW

com.apksonar.demo.nativedeep.MainActivity

addJavascriptInterface

WEBVIEW

com.apksonar.demo.nativedeep.MainActivity

setJavaScriptEnabled(true)

SIGNING · strongest v3

SCHEMESv1 ✓v2 ✓v3 ✓v3.1 —
SIGNER

C=US ST=US L=US O=US OU=Android CN=Android Debug

sha256 1e08a903aef9c3a721510b64ec764d01…

valid 2016-10-23T20:10:05.000Z → 2044-03-10T20:10:05.000Z

v1 signing: ANDROIDD.RSA

stages: code 96.17s · dart 8.97s · ghidra 369.31s · il2cpp 0s · classes 0s · secrets 0.16s · manifest 9.02s · resources 6.29s · signature 4.35s

HIGH

Anti-debugging via ptrace in native code

The native library calls ptrace (typically PTRACE_TRACEME self-attach) so the app aborts under a debugger — a classic anti-analysis technique that hides behavior from dynamic inspection

ptrace@GLIBC_2.2.5

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libapksonar_native.so

HIGH

Custom TLS verification hook in native code

The library can override OpenSSL certificate verification (SSL_CTX_set_verify) — often used to accept self-signed MITM certificates

SSL_CTX_set_verify

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libapksonar_native.so

HIGH

Executes external programs from native code

The library spawns other binaries (execve) — can drop and run payloads invisible to Java-layer analysis

execve@GLIBC_2.2.5

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libapksonar_native.so

HIGH

Frida anti-hooking detection in native code

Ghidra string analysis of the native library

frida

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libapksonar_native.so

HIGH

Debugger detection via /proc TracerPid in native code

Ghidra string analysis of the native library

TracerPid

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libapksonar_native.so

HIGH

High-entropy native library (packed or encrypted)

The library's byte entropy approaches that of compressed/encrypted data. Packers hide code from static analysis and are common in malware and DRM.

entropy 8.00 (threshold 7.2)

native · MASVS-RESILIENCE · CVSS 5.9

lib/x86_64/libsec_payload.so

HIGH

TrustManager.checkServerTrusted is empty — certificate validation disabled

A custom X509TrustManager accepts every certificate without checks. Combined with an HTTPS client this disables protection against MITM.

checkServerTrusted() { }

tls · MASVS-NETWORK · CVSS 6.8

com.apksonar.demo.nativedeep.TrustAllCerts

HIGH

TrustManager.checkClientTrusted is empty — certificate validation disabled

A custom X509TrustManager accepts every certificate without checks. Combined with an HTTPS client this disables protection against MITM.

checkClientTrusted() { }

tls · MASVS-NETWORK · CVSS 6.8

com.apksonar.demo.nativedeep.TrustAllCerts

HIGH

HostnameVerifier always returns true

Hostname verification is disabled: any certificate is accepted for any host — the classic companion of a trust-all TrustManager in MITM-vulnerable apps.

return true;

tls · MASVS-NETWORK · CVSS 6.8

com.apksonar.demo.nativedeep.LenientHostname

HIGH

JavaScript bridge exposed to web content (addJavascriptInterface)

The WebView registers a Java object callable from JavaScript. If the page or an XSS in it is attacker-controlled, the bridge methods run with the app's full permissions.

addJavascriptInterface(...)

webview · MASVS-PLATFORM · CVSS 6.8

com.apksonar.demo.nativedeep.MainActivity

MEDIUM

Direct certificate verification call in native code

Manual X.509 chain verification code — legitimate in some apps, but also the usual hook point for certificate pinning bypasses

X509_verify_cert

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Raw syscall interface used in native code

Direct syscalls bypass libc hooks used by security tooling — common in packers and hidden-behavior payloads

syscall@GLIBC_2.2.5

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Xposed framework detection in native code

Ghidra string analysis of the native library

xposed

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Magisk root detection in native code

Ghidra string analysis of the native library

magisk

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

su binary probing in native code

Ghidra string analysis of the native library

/system/bin/su

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Reads own process status (debugger self-check)

Ghidra string analysis of the native library

/proc/self/status

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Reads own memory maps (hook/framework detection)

Ghidra string analysis of the native library

/proc/self/maps

native · MASVS-RESILIENCE · CVSS 3.7

lib/x86_64/libapksonar_native.so

MEDIUM

Signed with a debug certificate

The APK is signed with the Android Debug certificate. Debug builds must never ship: they can be trivially replaced and usually enable extra logging and debugging paths.

C=US ST=US L=US O=US OU=Android CN=Android Debug

signing · MASVS-CODE · CVSS 4.8

MEDIUM

Packed native library: libsec_payload.so

The .so is packed with UPX. Packing hides the real code from static analysis and is common in obfuscated SDKs, cheats and malware loaders.

UPX packer marker

native · MASVS-RESILIENCE · CVSS 3.7

libsec_payload.so

MEDIUM

Outdated OpenSSL 1.0.2u statically linked in libsec_payload.so

OpenSSL 1.0.x/1.1.x is EOL and carries known CVEs; it is compiled into the app, so updates depend on the app vendor, not the OS.

OpenSSL 1.0.2u

crypto · MASVS-CRYPTO · CVSS 7.4

libsec_payload.so

INFO

Forks child processes

Forking from native code is used by watchdogs, packers and background workers alike

fork@GLIBC_2.2.5

native · MASVS-RESILIENCE

lib/x86_64/libapksonar_native.so

INFO

Runtime library loading (dlopen)

The library loads other .so files at runtime — code that static Java-level review cannot see

dlopen@GLIBC_2.34

native · MASVS-RESILIENCE

lib/x86_64/libapksonar_native.so

INFO

Runtime symbol resolution (dlsym)

Symbols are resolved at runtime — frequently used to hide calls behind generic handles

dlsym@GLIBC_2.34

native · MASVS-RESILIENCE

lib/x86_64/libapksonar_native.so

All secrets are masked in this report. Artifact is deleted after delivery.

Scan another APK →More demo reports⬇ SBOM (CycloneDX)⬇ PDF report

← apksonar.com