Code Monkey home page Code Monkey logo

Comments (3)

canyie avatar canyie commented on June 9, 2024

xhook的原理是去改内存里对应so的.got表里存的地址,所以理论上只要两个xhook不是同时去改是没问题的,会组成责任链(同时去改的话先发生的修改有可能会被覆盖掉)
另外太极阳的原理以前是替换libprocessgroup.so,现在貌似是动态patch app_process

from dreamland.

qwp-led avatar qwp-led commented on June 9, 2024

动态patch app_process, 是个什么原理,大佬我最近有个新的想法,最近我看了面具的隐藏root的原理,我发现面具的隐藏root原理,就是通过pid 动态注入,大概就是只要拿到这个进程的pid,通过执行面具的二进制,就能直接注入到目标进程。我想这个会不会跟太极的实现原理有关系,https://bbs.pediy.com/thread-247408.htm,通过一个二进制,就能注入到目标进程

from dreamland.

canyie avatar canyie commented on June 9, 2024

zygote对应的可执行文件实际上就是app_process,所以改app_process就能实现注入,比如在.init_array添加自己的代码(实际用起来还要处理很多问题,记得有个叫lief的库可以修改elf),可以看看https://bbs.pediy.com/thread-224191.htm

至于ptrace,ptrace的问题在于很容易错过代码执行时机、绕过目标进程的反调试保护等等,所以不太像用的ptrace

from dreamland.

Related Issues (20)

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.