Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the configuration method for frida hook timing to actively suspend the process

Shulou Source: shulou.com Published: 2022-06-03 06:38:10 10月03日 Update

This article mainly explains "what is the configuration method of frida hook timing to actively suspend the process", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the configuration method for frida hook timing to actively suspend the process"?

Demand scenarios:

In some scenarios where hook occurs early, you need to perform hook when the application is launched, so you need to actively suspend the process, similar to dynamic debugging of app.

Implementation method:

1. Run frida_server

two。 Port forwarding

3. Actively suspend the app process

Command: frida-U-f packageName

4. Run the Python hook script

5. Enter% resume in step 3 to let the main thread start running

6. At this point, it can be seen that the hook script written by Python has been successfully injected at the beginning of the program.

At this point, I believe you have a deeper understanding of "what is the configuration method for frida hook timing to actively suspend the process". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Initiative process method timing selection configuration run content scene script Learning practical Deep successful interested dynamic Command practical practical easy to operate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi MariaDB Docker vpn