Code Monkey home page Code Monkey logo

androidpentestforeveryone's Introduction

My setup for mobile pentesting :

there's some scripts i used for mobile pentesting in /scripts

most important thing

dont use Drozer !!

Requirement :

your first steps :

first before cloning this repo u must know that frida is dynamic instrumentation toolkit, it allows you to trace, modify, play with processes in native apps , by injection some javascript into your native application using python. for our case we gonna use it for native android app 'i couldn't afford an apple device for ios :( ' you gotta root you device before using frida !!!!

  • and then you gotta install frida server on you device (if u have some extra ram use genymotion ;) )

  • note that u gotta download the right frida server that fits your device's archi (arm64 or x86 ...)

  • from terminal adb push path/to/frida_server /data/local/tmp adb shell "chmod 755 /data/local/tmp/frida_server" adb shell /data/local/tmp/frida_server & ---> frida will be running on the background make sure to kill it after u finish being a hacker .

this repo contains those scripts

  • frida_ssl_pinning_bypass.js bypassing ssl pinning of applications like orange android app , so u can intercept it using burp how to launch it : frida -U -l frida_ssl_pinning_bypass.js -f name.of.package --no-pause

  • pinning.js same as the previous script but using a http proxy without burp "from command line"

  • Imprementation_overriding_using_frida.py modify the output of a methode "u must know the specific method that u want to change from reversing the apk "

  • change_str_in_apk.py change string in the reversed java

  • bruteForcing_astatic_methode.py bruteforcing an input of a non static methode

how to reverse a APK :

thats just for easy android app :

all of this is by using jadx-gui

  • check android_manifest.xml if it contains some permissions to SD card or local storage ar any other services permissions
  • check layouts like main_activity.xml for hidden or hard coded strings or maybe resources.arsc/res/values/*.xml
    !!!! important dont waste time just look for secret , key , password , encrypted
  • then open the java main_activity.java first thing to check is oncreate methode and all the other methos and classes called inside it
  • check any kind of encryption methods and understand them

androidpentestforeveryone's People

Contributors

soufelhabti avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yahyata

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.