arrow
返回

Mitigating Debugger-based Attacks to Java Applications with Self-debugging

delete2024-04-18
delete0
delete
OA
AI
D
Davide Pizzolotto *
S
Stefano Berlato
M
Mariano Ceccato
DOI:10.1145/3631971delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Java bytecode is a quite high-level language and, as such, it is fairly easy to analyze and decompile with malicious intents, e.g., to tamper with code and skip license checks. Code obfuscation was a first attempt to mitigate malicious reverse-engineering based on static analysis. However, obfuscated code can still be dynamically analyzed with standard debuggers to perform step-wise execution and to inspect (or change) memory content at important execution points, e.g., to alter the verdict of license validity checks. Although some approaches have been proposed to mitigate debugger-based attacks, they are only applicable to binary compiled code and none address the challenge of protecting Java bytecode. In this article, we propose a novel approach to protect Java bytecode from malicious debugging. Our approach is based on automated program transformation to manipulate Java bytecode and split it into two binary processes that debug each other (i.e., a self-debugging solution). In fact, when the debugging interface is already engaged, an additional malicious debugger cannot attach. To be resilient against typical attacks, our approach adopts a series of technical solutions, e.g., an encoded channel is shared by the two processes to avoid leaking information, an authentication protocol is established to avoid Man-in-the-middle attacks, and the computation is spread between the two processes to prevent the attacker to replace or terminate either of them. We test our solution on 18 real-world Java applications, showing that our approach can effectively block the most common debugging tasks (either with the Java debugger or the GNU debugger) while preserving the functional correctness of the protected programs. While the final decision on when to activate this protection is still up to the developers, the observed performance overhead was acceptable for common desktop application domains.
Keyword:
Anti-debugging
maliciuos reverse engineering
tampering attacks
man at the end attacks
err分享
err收藏
err分享
err收藏
A review of amplification-based distributed denial of service attacks and their mitigation
err2021-10-01
err12
PREAI
errIsmail, Salih; Hassen, Hani Ragab; Just, Mike; Zantout, Hind
err分享
err收藏
A reversible sketch-based method for detecting and mitigating amplification attacks
err2019-09-01
err22
errOAAI
errJing, Xuyang; Zhao, Jingjing; Zheng, Qinghua; Yan, Zheng; Pedrycz, Witold
err分享
err收藏
Salaxy: Enabling USB Debugging Mode Automatically to Control Android Devices
err2019-01-01
err0
errOAAI
errLu, Hui; Helu, Xiaohan; Jin, Chengjie; Sun, Yanbin; Zhang, Man; Tian, Zhihong
err分享
err收藏

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.4K
被引数:
4.5K

机构

O
osaka university
学者数:
775
论文数: 267
被引数: 1.6W
U
university of verona
学者数:
742
论文数: 278
被引数: 6.9K
U
University of Genoa
学者数:
903
论文数: 350
被引数: 9.5K
学者 查看更多机构
引用论文

引用论文

Heart transplantation in Friedreich’s ataxia and other neuromuscular diseases
err2001-02-01
err0
PREAI
errJ. Segovia; L. Alonso-Pulpon; R. Burgos; L. Silva; S. Serrano; E. Castedo; J. Jiménez; R. Fuentes; A. Cañas; J. Ugarte
err分享
err收藏
Neoplasia in solid organ transplant recipients: single-center experience
err2004-04-01
err0
PREAI
errA Alvarez; B Sanroman; E Carro; E Vazquez-Martul
err分享
err收藏
Climate Change, Heat Stress, and U.S. Dairy Production
err2014-01-01
err0
errOAAI
errNigel Key; Stacy Sneeringer; David Marquardt
err分享
err收藏
Contracted form of endocardial fibroelastosis: Angiographic diagnosis and necropsy confirmation
err1983-10-01
err0
PREAI
errLeonard C. Blieden; Adam Schneeweiss; Victor Deutsch; Henry N. Neufeld
err分享
err收藏
Familial occurrence of the contracted form of endocardial fibroelastosis
err1970-08-01
err0
PREAI
errDavid E. Fixler; Roger B. Cole; Milton H. Paul; Maurice Lev; Donald A. Girod
err分享
err收藏
Endocardial fibroelastosis and hypoplasia of the left ventricle in neonates without significant aortic stenosis.
err1984-05-01
err0
errOAAI
errP C Ursell; C A Neill; R H Anderson; S Y Ho; A E Becker; L M Gerlis
err分享
err收藏
学者 查看更多内容