A virtualxposed-based inline hooking framework for android native methods

Shuo Feng, Yu an Tan, Gang Zhao, Xiaohui Kuang, Xiao Yu, Juan Wang*

*此作品的通讯作者

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Hooking is an important technique for monitoring application performance and adding features to applications. Various hooking frameworks are developed to intercept events and process their own specific events. The hooking tools for Java methods are varied, however, the native hook has few methods. Besides, the commonly used Android hook frameworks cannot meet the requirement of hooking the native methods in shared libraries on non-root devices. Even some approaches are able to hook these methods, it has limitations or is complicated to implement. In the paper, a feasible hooking approach for Android native methods is proposed and implemented, which doesn’t need any modifications to both Android framework and app’s code. In this approach, the method’s reference address is modified and control flow is redirected. Beyond that, we combine this approach with VirtualXposed which aims to run it without root privileges. This hooking framework can be used to enforce security policies and monitor sensitive methods in shared objects. The evaluation of the scheme demonstrates its capability to perform hook operation without a significant runtime performance overhead on real devices and it is compatible and functional for the native hook.

源语言英语
主期刊名Security and Privacy in Social Networks and Big Data - 6th International Symposium, SocialSec 2020, Proceedings
编辑Yang Xiang, Zheli Liu, Jin Li
出版商Springer Science and Business Media Deutschland GmbH
245-253
页数9
ISBN(印刷版)9789811590306
DOI
出版状态已出版 - 2020
活动6th International Symposium on Security and Privacy in Social Networks and Big Data, SocialSec 2020 - Tianjin, 中国
期限: 26 9月 202027 9月 2020

出版系列

姓名Communications in Computer and Information Science
1298 CCIS
ISSN(印刷版)1865-0929
ISSN(电子版)1865-0937

会议

会议6th International Symposium on Security and Privacy in Social Networks and Big Data, SocialSec 2020
国家/地区中国
Tianjin
时期26/09/2027/09/20

指纹

探究 'A virtualxposed-based inline hooking framework for android native methods' 的科研主题。它们共同构成独一无二的指纹。

引用此