Process debugging detection method and device
A detection method and process technology, which is applied in the field of APP security, can solve problems that affect client security, reduce user experience, and benefit developers of application programs, and achieve the effects of preventing reading tampering, improving user experience, and protecting security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 1 , figure 1 This is a flowchart of a process debugging detection method provided in Embodiment 1 of the present invention. Since the Proc file system in the Android system exposes a large amount of process information, the debugger can read and write the memory through the Proc file system. Therefore, such as figure 1 As shown, the process debugging detection method provided in Embodiment 1 of the present application may include:
[0043] S101. Monitor a target file in the Proc file system through a preset interface; the target file is a file in the memory corresponding to the target process when it is running;
[0044] The Android system is an operating system based on the Linux kernel. The Proc file system in the Linux system is a file system, and the root directory of the file system is / proc. Different from other common file systems, the Proc file system is a pseudo file system (that is, virtual file system), and / proc stores a series of special f...
Embodiment 2
[0071] Please refer to figure 2 , figure 2 This is a flowchart of a process debugging detection method provided in Embodiment 2 of the present invention. figure 2 A process debugging detection method provided by the illustrated embodiment and figure 1 The difference in the illustrated embodiment is that the method may further include:
[0072] S103. End the target process.
[0073] It is not difficult to understand that ending the target process is a relatively effective anti-debugging measure. Ending the target process can effectively prevent dynamic debugging attacks and prevent the logic of the application program corresponding to the target process from being cracked, memory code, and The data is viewed or modified, which provides a guarantee for the safety of user information.
Embodiment 3
[0075] Please refer to image 3 , image 3 This is a flowchart of a process debugging detection method provided in Embodiment 3 of the present invention. image 3 A process debugging detection method provided by the illustrated embodiment and figure 1 The difference in the illustrated embodiment is that the method may further include:
[0076] S104: Output prompt information that the target process is debugged.
[0077] The prompt information may include: information that the target process is being debugged by a malicious program; or may further include: suggestion information, for example, suggesting that the user end the target process, suggesting that the user use security software to detect and kill the malicious program, etc.
[0078] It is not difficult to understand that the output prompt information can prompt the user that the target process is debugged, so that the user can take anti-debugging measures, thereby preventing dynamic debugging attacks, which can prevent the log...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


