APK//SONAR · REPORT
com.apksonar.demo.nativedeepDEEP
c79afac775b1f5cd… · finished 2026-11-18T19:59:54 UTC
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)
COMPONENTS · 1 activities · 0 services · 0 receivers · 0 providers
NATIVE LIBS · 407.0 KB
libapksonar_native.so
16.2 KB
libsec_payload.so
packed: UPXopenssl 1.0.2u390.8 KB
NATIVE ANALYSIS · GHIDRA · 2 libs
libapksonar_native.so
56 procedures · 104 strings · 16.2 KB · 6 exports · entropy 2.38 · shared
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
Ghidra decompiler · JNI_OnLoad
undefined8 JNI_OnLoad(void)
{
ptrace(PTRACE_TRACEME,0,0,0);
return 0x10006;
}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)
com.apksonar.demo.nativedeep.TrustAllCerts.checkServerTrusted()
body: (empty)
com.apksonar.demo.nativedeep.TrustAllCerts.checkClientTrusted()
body: (empty)
com.apksonar.demo.nativedeep.LenientHostname.verify()
body: return true;
com.apksonar.demo.nativedeep.MainActivity
addJavascriptInterface
com.apksonar.demo.nativedeep.MainActivity
setJavaScriptEnabled(true)
SIGNING · strongest v3
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
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
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
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
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
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-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.