githubEdit

Disable SSL Pinning

Disable SSL Pinning

Resources :

Frida

APK-MITM

Magisk - Move Certificates Module

  1. Launch it in your device : Allow SuperUser access

  2. Enable MagiskHide : Magisk App > Modules > Enable 'Move Certificates'

Objection

Modifying the network_security_config.xml file

The Network Security Configuration lets apps customize their network security settings through a declarative configuration file. The entire configuration is contained within this XML file, and no code changes are required. The Network Security Configuration works in Android 7.0 or higher.

  1. Install Burp CA certificate on the device.

  2. Decompile the android application with apktool : apktool d app.apk -o app-decompile

  3. Locate the network_security_config.xml file under /res/xml

  4. Remove the <pin-set>...</pin-set> tag section and add :

  1. If the network_security_config.xml file is not present in the application, the AndroidManifest.xml file must also be modified by adding the networkSecurityConfig tag as follows :

  2. Save the file and repackage the application: apktool b app-decompile -o app-ssl.apk.

  3. Sign the application (see Reversing > Decompilation)

Last updated