Coder Social home page Coder Social logo

dumpapk's Introduction

基于Xposed的不那么通用的脱壳机

首先声明需要安装Xposed,其次仅测试了腾讯加固宝和阿里聚。因为只逆向过这两个,知道原理,调试起来也比较容易。 测试环境:Android 4.1

需要感谢 http://bbs.pediy.com/showthread.php?t=203776 http://bbs.pediy.com/showthread.php?t=190494&highlight=zjdroid 两位大大 部分代码结构完全来源于两位

原理挺简单,大伙直接看代码就一清二楚了。

使用步骤: 1.点击启动应用后可以在log输出中找到cookie adb logcat -s cc 2.dump指定cookie对应的dex文件(直接从odex中扣取dex文件) adb shell am broadcast -a com.cc.dumpapk --ei cmd 1 --ei cookie xxxxxxx 注:我将需要hook的应用包名com.cc.test硬编码到程序中,只能dump这个应用,有需要的请自行修改 3.dump出的dex文件:/data/data/com.cc.test/whole.dex

测试腾讯的时候直接dump的dex代码中含有odex opcode,本来想那就直接dump整个odex文件,但是不知道为何dump出来的odex经过 baksmali.jar处理报了一堆错误,调试多天无果。卒。 还没来得及测试其他加固产品,脱壳原理可能比较有针对性,因而不适合其他产品。

dumpapk's People

Contributors

cvvt 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.