About the latest trends in IT, cybersecurity, and software development through engaging and informative articles.

Android emulator ssl pinning with frida.

burp suite de sertifika oluşturuyoruz.

.\openssl.exe x509 -inform der -in cacert.der -out cert.crt

ile sertifikayı android’e yüklemek için ayarlıyoruz.

openssl ile oluşturduğumuz sertifikayı emülatör’e yüklüyoruz ve sertifikayı kaydediyoruz.

daha sonra frida’yı çalıştırabilmek için python 3 yüklüyoruz.

pip install -U frida frida-tools

  • adb root # Emülatörü root moduna geçirir
  • adb remount # Sistem dizinini yeniden bağlar
  • adb push cacert.crt /system/etc/security/cacerts/ # Sertifikayı sisteme yükler

.\openssl.exe x509 -inform PEM -subject_hash_old -in cert.crt
9a5ba575

.\adb.exe shell mount -o rw,remount /system

.\adb.exe shell

cd /system/etc/security/cacerts/

mv cert.crt 9a5ba575.0

adb shell
su  # Root yetkisini alın
mount -o rw,remount /  # Ana dizini yazılabilir hale getirir
mount -o rw,remount /system  # Sistem bölümünü yazılabilir hale getirir



adb shell chmod 644 /system/etc/security/cacerts/<dosya_adi>.0

¶¶¶¶¶

¶¶¶¶¶

¶¶¶¶¶