SReverseby Simpa Labs

PairIP · Google Play Automatic Protection

Understanding libpairipcore.so

libpairipcore.so is a native library to investigate when an APK uses PairIP protection. Record its callers, protected methods and runtime checks before tracing the app's API. Google Play's automatic protection covers installer checks, anti-tamper checks and protected code; treating it as one startup check misses part of the work.

Need PairIP gone? We remove PairIP from any Android app and send back a working build. Remove PairIP

What PairIP is, in practice

Google Play modifies and signs protected APKs before distribution. Its automatic protection documentation describes installer checks, runtime anti-tamper checks and device checks. The available features depend on the app's configuration and eligibility.

Protected with Play is the Play Console page that groups several services, including Automatic Protection and the Play Integrity API. It is not another name for one native library. Identify the library in the APK, then establish which protection paths that version uses.

Protection also reaches selected app methods. Google documents custom anti-tamper protection for Java and Kotlin method bodies, including code holding keys or URLs. A request-building method belongs in the investigation even after startup succeeds.

Find the library and its callers

Check the native libraries, manifest application class and DEX code together. Search for libpairipcore.so, com.pairip.application.Application and com.pairip.licensecheck. Record the names that exist in this build and follow their callers. The examples below are search patterns, not output captured from a supplied APK. A missing name does not prove that an app is unprotected.

Spotting PairIP in the APK
identification
# Example commands. app.apk is the APK being reviewed.
$ apktool d app.apk -o decoded
$ grep -n 'application' decoded/AndroidManifest.xml
$ find decoded/lib -name 'libpairipcore.so'
$ find decoded -path '*/com/pairip/*' -type f

Fig. 01 · Search the decoded APK, including every smali directory. Record the actual matches before drawing a conclusion.

What to verify in the build

Map startup checks and later protected method calls separately. Read the Java or smali callers and the native library, then trace the action that produces the request. Record the app version, library hash, install source and test environment with each observation.

Signal to look forWhat it may indicateHow to confirm it
Signature comparisonThe build checks the signing certificate.Read the callers and the strings that name the certificate.
Dex or package hashingTampering with classes or resources is detected.Find where the digest is computed and compared.
Debugger and tracer stringsAn anti-debugging path exists.Search for debugger and tracer markers, then trace the branch.
Hook and instrumentation markersThe guard knows common hook frameworks.Search the strings and the GOT or PLT for rewritten entries.
Root and Magisk markersA root or Magisk check may exist.Search for su, Magisk and mount strings, then trace their use.
Emulator markersAn emulator check may exist.Search build properties and hardware strings, then trace the branch.
Install-source handlingThe source of the "get this app from Play" prompt.Read the license-check path and what triggers the prompt.

These are leads, not conclusions. A string match does not prove a check runs; read the code that uses it.

Separate startup from protected methods

Read the actual library loader and native call sites. Record which paths run during startup and which run during an app action. Google's method-protection documentation describes on-demand loading and a separate startup-loading option. A successful launch does not establish that later request code is available or unchanged.

Record the call path
call-path checklist
Build and library hash:
Library loader and caller:
Startup result:
App action being tested:
Protected method called by that action:
Request input and output bytes:
Device or server dependency:

Fig. 02 · Fill this record from the inspected build. Do not replace unknown call sites with invented native method names.

PairIP and Play Integrity are different mechanisms

Automatic Protection changes the distributed APK. The Play Integrity API returns integrity verdicts for the app's server to use. These are separate services with related concerns about the app and device. Check for both integrations instead of using one library name to explain every failure.

PairIP / Automatic ProtectionPlay Integrity API
Applied at distribution, shipped in the APKCalled at runtime by the app
Installer, runtime anti-tamper and eligible device checksIntegrity verdicts checked by the backend
Includes protection for selected method bodiesReports app, device and other configured signals
Failure handling depends on the protected buildThe backend decides how to act on the verdict

How analysis proceeds

Start with the file list, manifest, native exports and DEX call sites. Exports and strings provide leads; dynamic registration and hidden code require more work. Follow each relevant call into the action being tested before naming a check or a request dependency.

Reading the check surface
read-surface
# the stub's native methods tell you the call surface.
# jadx reads the DEX directly to Java; apktool produces Smali, not .class files.
$ jadx -d jadx-out app.apk
$ sed -n '/class Application/,/^}/p' jadx-out/sources/com/pairip/application/Application.java

# exported symbols in the native core
$ llvm-nm --dynamic decoded/lib/arm64-v8a/libpairipcore.so | head

# strings the library references
$ strings decoded/lib/arm64-v8a/libpairipcore.so | grep -iE 'tracerpid|magisk|frida|ptrace|su' | sort -u

Fig. 03 · Use an ELF-capable llvm-nm, such as the Android NDK tool. Choose the ABI and source path found in your APK. An export or string alone does not show which branch executes.

Establish a working baseline with an unchanged Play-installed build on a supported device. Compare each altered test environment with that baseline. A tool-induced crash belongs in the findings; it does not establish that the app's normal workflow has failed.

Trace the endpoint, session state, signing inputs and serialized body for the requested action. Follow any protected method that supplies those values. Compare the reconstructed client with fresh app requests, not just one saved capture.

Use the failure to choose the next test

A prompt, crash or HTTP status narrows the investigation. Confirm its cause with logs and a controlled comparison.

SymptomCheckEvidence to collect
App shows "get this app from Play"Installer and anti-tamper resultPrompt path, signing certificate and install source
App exits after launchCrash and protection pathsCrash log and comparison with the unchanged build
App runs but the API returns 403Signing, session, attestation and server policyApp/script request difference and backend error details
App diverges under a debuggerThe first changed branch or failed callBaseline behavior and the altered run's trace

What this buys the reconstruction

The final client needs the app's current request behavior, including values supplied by protected methods. Record software-generated values separately from device-backed operations and server-required proofs. The delivery must state where each part runs and include tests for fresh sessions and failure responses. See the runnable client example for a synthetic delivery and the PairIP service for protected APK work.

Updated 17 October 2026: corrected the startup-only model, added protected-method coverage and replaced illustrative native methods with a build-evidence checklist.

Related research

Protection

Understanding runtime-loaded DEX

DexClassLoader and InMemoryDexClassLoader load DEX at runtime. Check when the app loads it and where the bytes come from.

Read

Relevant capability

For PairIP-guarded apps we recover the endpoints, the signing and the request flow, working through the runtime checks rather than around them. PairIP reverse engineering

Start a project

Send the app you need to understand.

We rebuild the complete application flow and return the full API in Python, JavaScript/TypeScript, Postman and complete API documentation.

Projects start at $70. Most are delivered in 24 to 72 hours.

Start your full APK reconstruction

Send the full APK

Projects start at $70. Choose WhatsApp or email, then attach the APK in the app that opens. We reply within one hour with the next step and send the fixed quote after review.

Want us to contact you?