Coder Social home page Coder Social logo

frida-injector's Introduction

#Author Sharanbasu Panegav

"Frida-Injector" It automates the Injection of FRIDA-gadget binary into an Android application , in order to Hook function or bypass SSL Pinning of that application on Non rooted Device

#Usage:- Frida-Injector.py [-h] [-i inputfile] [-m 1 or 2)]

  • Method1:-Injecting into bytecode (Preferred method)
  • Method2:-Injecting as dependency to a native library (JNI)

GitHub Logo #prerequisite :- latest versions of adb ,apktool,USB debugging enabled on device and Configure device with Burp proxy using (https://portswigger.net/support/installing-burp-suites-ca-certificate-in-an-android-device)

What it does

Method1:-Injecting into bytecode

  • Reverse the apk using apktool.
  • Download all the lated frida gadget from (https://github.com/frida/frida/releases/latest)
  • copy aproriate frida-gadget
  • Inject smali to load frida-gadget Library
  • Recompile the application
  • Sign with uber-apk-signer
  • Install the application to connected Device
  • Push the Burp certicate on local temp directory
  • Call frida function to bypass SSL- pinning

Method2:-Injecting as dependency to a native library

  • Reverse the apk using apktool.
  • Download all the lated frida gadget from (https://github.com/frida/frida/releases/latest)
  • List the availble native directory to Inject the frida-agent.so
  • add frida-agent.so as a dependency of native library
  • Recompile the application
  • Sign with uber-apk-signer
  • Install the application to connected Device
  • Push the Burp certicate on local temp directory
  • Call frida function to bypass SSL- pinning

Referene :-

frida-injector's People

Contributors

ebubekirtrkr avatar shapa7276 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

frida-injector's Issues

TypeError: expected str, bytes or os.PathLike object, not NoneType

Method 1:

...
I: Baksmaling classes37.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
I: Removing 1.apk framework file...
1
Scaning Main Activity
Traceback (most recent call last):
  File "Frida-Injector/Frida-Injector.py", line 198, in <module>
    main()
  File "Frida-Injector/Frida-Injector.py", line 187, in main
    SmaliInjection(smali_path)
  File "Frida-Injector/Frida-Injector.py", line 42, in SmaliInjection
    with open(mainactivity,'r') as smalifile:
TypeError: expected str, bytes or os.PathLike object, not NoneType
➜  Frida-Injector git:(master) ✗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.