NCScope: Hardware-Assisted Analyzer for Native Code in Android Apps

被引:7
|
作者
Zhou, Hao [1 ]
Wu, Shuohan [1 ]
Luo, Xiapu [1 ]
Wang, Ting [2 ]
Zhou, Yajin [3 ]
Zhang, Chao [4 ]
Cai, Haipeng [5 ]
机构
[1] Hong Kong Polytech Univ, Hong Kong, Peoples R China
[2] Penn State Univ, State Coll, PA USA
[3] Zhejiang Univ, Hangzhou, Zhejiang, Peoples R China
[4] Tsinghua Univ, BNRist, Beijing, Peoples R China
[5] Washington State Univ, Pullman, WA 99164 USA
基金
中国国家自然科学基金; 美国国家科学基金会;
关键词
Android; Dynamic Analysis; App Analysis;
D O I
10.1145/3533767.3534410
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
More and more Android apps implement their functionalities in native code, so does malware. Although various approaches have been designed to analyze the native code used by apps, they usually generate incomplete and biased results due to their limitations in obtaining and analyzing high-fidelity execution traces and memory data with low overheads. To fill the gap, in this paper, we propose and develop a novel hardware-assisted analyzer for native code in apps. We leverage ETM, a hardware feature of ARM platform, and eBPF, a kernel component of Android system, to collect real execution traces and relevant memory data of target apps, and design new methods to scrutinize native code according to the collected data. To show the unique capability of NCScope, we apply it to four applications that cannot be accomplished by existing tools, including systematic studies on self-protection and anti-analysis mechanisms implemented in native code of apps, analysis of memory corruption in native code, and identification of performance differences between functions in native code. The results uncover that only 26.8% of the analyzed financial apps implement self-protection methods in native code, implying that the security of financial apps is far from expected. Meanwhile, 78.3% of the malicious apps under analysis have anti-analysis behaviors, suggesting that NCScope is very useful to malware analysis. Moreover, NCScope can effectively detect bugs in native code and identify performance differences.
引用
收藏
页码:629 / 641
页数:13
相关论文
共 50 条
  • [31] Hyper Check: A Hardware-Assisted Integrity Monitor
    Wang, Jiang
    Stavrou, Angelos
    Ghosh, Anup
    RECENT ADVANCES IN INTRUSION DETECTION, 2010, 6307 : 158 - 177
  • [32] Hardware-assisted instruction profiling and latency detection
    Sharma, Suchakrapani Datt
    Dagenais, Michel
    JOURNAL OF ENGINEERING-JOE, 2016,
  • [33] Detecting Hardware-Assisted Virtualization with Inconspicuous Features
    Zhang, Zhi
    Cheng, Yueqiang
    Gao, Yansong
    Nepal, Surya
    Liu, Dongxi
    Zou, Yi
    IEEE Transactions on Information Forensics and Security, 2021, 16 : 16 - 27
  • [34] Hardware-Assisted Transparent Tracing and Debugging on ARM
    Ning, Zhenyu
    Zhang, Fengwei
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2019, 14 (06) : 1595 - 1609
  • [35] Enforcing kernel constraints by hardware-assisted virtualization
    Lacombe, Eric
    Nicomette, Vincent
    Deswarte, Yves
    JOURNAL OF COMPUTER VIROLOGY AND HACKING TECHNIQUES, 2011, 7 (01): : 1 - 21
  • [36] Detecting Hardware-Assisted Virtualization With Inconspicuous Features
    Zhang, Zhi
    Cheng, Yueqiang
    Gao, Yansong
    Nepal, Surya
    Liu, Dongxi
    Zou, Yi
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2021, 16 : 16 - 27
  • [37] HAFIX: Hardware-Assisted Flow Integrity Extension
    Davi, Lucas
    Hanreich, Matthias
    Paul, Debayan
    Sadeghi, Ahmad-Reza
    Koeberl, Patrick
    Sullivan, Dean
    Arias, Orlando
    Jin, Yier
    2015 52ND ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2015,
  • [38] Empirical analysis of hardware-assisted GPU virtualization
    Garg, Anshuj
    Kulkarni, Purushottam
    Kurkure, Uday
    Sivaraman, Han
    Vu, Lan
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA, AND ANALYTICS (HIPC), 2019, : 395 - 405
  • [39] Hardware-Assisted Program Execution Integrity: HAPEI
    Lashermes, Ronan
    Le Bouder, Helene
    Thomas, Gael
    SECURE IT SYSTEMS, 2018, 11252 : 405 - 420
  • [40] Development of an Android Service to add IOIO hardware features to Android Apps
    Chtourou, Slim
    Kharrat, Mohamed
    Ben Amor, Nader
    Jallouli, Mohamed
    Abid, Mohamed
    2016 IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY (CIT), 2016, : 100 - 103