Git Product home page Git Product logo

androidfridacheckdiff's Introduction

AndroidFridaCheckdiff

一款基于Frida实现的,用于检测Android app内存中lib库是否被篡改。

参照 r0ysue/AndroidSecurityStudy学习frida,以一个工具为目标。
工具使用了python、JavaScript、java、C/C++多种混合方式,是为了更好的学习,并不是一个理想的开发模式。

使用方式:
Main.py 修改package,或以命令行方式传入。
Run.js 设置_scanmodule传入除linker、libdvm/libart以外的lib,Japi.dex、libelf.so需要手动拷贝。

未完成:
frida使用execjs compile被将python中参数,有效传入js。
js包含js,create_script载入js脚本问题。

支持:
可检查代码段、导入表、导出表;code段判断跳转支持arm、thumb、arm64。

效果:
code /system/lib64/libc.so abort + 0x0 Arm JmpTo addr: 0x7f9f86a300
mem - 0x7fa38c9f9c: 0x50 0x00 0x00 0x58 0x00 0x02 0x1f 0xd6 0x00 0xa3 0x86 0x9f 0x7f 0x00
file- 0x7f852dcf9c: 0xfd 0x7b 0xba 0xa9 0xfd 0x03 0x00 0x91 0xf3 0x53 0x01 0xa9 0xb3 0xe3

androidfridacheckdiff's People

Contributors

lsczyp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xyxdaily

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.