Hook detection method and device, equipment and storage medium
The invention provides a Hook detection method and device, equipment and a storage medium, relates to the technical field of mobile terminals, and can solve the problem that a detection method in theprior art cannot completely detect whether an application is attacked by Hook. The specific technical...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a Hook detection method and device, equipment and a storage medium, relates to the technical field of mobile terminals, and can solve the problem that a detection method in theprior art cannot completely detect whether an application is attacked by Hook. The specific technical scheme is as follows: firstly, acquiring all loaders of a current class in a current application,wherein the loaders comprise class loaders and parent class loaders; traversing the loader, and detecting whether Hook framework features exist; and if yes, determining that the current application issubjected to Hook attack. The Hook detection method and device are used for detecting Hook.
本公开提供一种检测Hook的方法、装置、设备及存储介质,涉及移动终端技术领域,能够解决现有技术中的检测方法不能完全检测出应用程序是否受到Hook攻击的问题。具体技术方案为:首先获取当前应用中当前类的所有加载器,加载器包括类加载器和父类加载器;将加载器进行遍历,检测是否存在Hook框架特征;若是,则确定当前应用受到Hook攻击。本公开用于检测Hook。 |
---|