Code Monkey home page Code Monkey logo

fridaunpack's Introduction

FridaUnpack

  • DexFiledumpDex.js

    • 来对抗整体型壳,dump时机点较早,为DexFile::DexFile 和 DexFile::OpenCommon,此时还没有类进行初始化 无法对抗抽取壳
    • 使用方法 frida -U -f com.xxx.xxx -l DexFileDumpDex.js --no-pause 等待dex进行dump, 可以手动操作,来dump更多的dex
    • 默认dump到sdcard中, 需要赋予app sd卡读写权限 如果没有 可以自行修改路径保存到app的私有目录下
  • ClassLinkerDumpDex.js

    • 需要将lib目录下的fart(64).so 放到/data/app这个目录再chmod 777 fart*.so
    • 一定程度上对抗抽取壳,可以使用spwan和attach模式
      • frida -U -f com.xxx.xxx -l DexFileDumpDex.js --no-pause
      • frida -FU -l DexFileDumpDex.js
    • 手动运行fart(),会枚举所有Classloader调用loadclass加载所有类,等待类加载完毕后会自动dump dex
    • 也可以单独dump一个类 使用dumpclass这个api传入类名
    • 默认dump到sdcard中, 需要赋予app sd卡读写权限 如果没有 可以自行修改路径保存到app的私有目录下
  • 注意: android8运行fart()主动调用loadclass可能会崩溃,这种情况下可以试试android7,会稳定一点, 但是android7不支持hookLinkCode 可以手动注释.

  • 脚本只测试过androi7.1.2和android8.1.0两个版本 其他版本自行实验修改

fridaunpack's People

Stargazers

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

Watchers

 avatar

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.