arrow
Return

A detection framework for semantic code clones and obfuscated code

delete2018-05-01
delete28
PRE
AI
A
Abdullah Sheneamer *
S
Swarup Roy
J
Jugal Kalita
DOI:10.1016/j.eswa.2017.12.040delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Code obfuscation is a staple tool in malware creation where code fragments are altered substantially to make them appear different from the original, while keeping the semantics unaffected. A majority of the obfuscated code detection methods use program structure as a signature for detection of unknown codes. They usually ignore the most important feature, which is the semantics of the code, to match two code fragments or programs for obfuscation. Obfuscated code detection is a special case of the semantic code clone detection task. We propose a detection framework for detecting both code obfuscation and clone using machine learning. We use features extracted from Java bytecode dependency graphs (BDG), program dependency graphs (PDG) and abstract syntax trees (AST). BDGs and PDGs are two representations of the semantics or meaning of a Java program. ASTs capture the structural aspects of a program. We use several publicly available code clone and obfuscated code datasets to validate the effectiveness of our framework. We use different assessment parameters to evaluate the detection quality of our proposed model. Experimental results are excellent when compared with contemporary obfuscated code and code clone detectors. Interestingly, we achieve 100% success in detecting obfuscated code based on recall, precision, and F1-Score. When we compare our method with other methods for all of obfuscations types, viz, contraction, expansion, loop transformation and renaming, our model appears to be the winner. In case of clone detection our model achieve very high detection accuracy in comparison to other similar detectors. (C) 2017 Elsevier Ltd. All rights reserved.
Keywords:
Code obfuscation
Semantic code clones
Machine learning
Bytecode dependency graph
Program dependency graph
Graph-based code semantics learning for efficient semantic code clone detection
err2023-04-01
err12
PREAI
errYu, Dongjin; Yang, Quanxin; Chen, Xin; Chen, Jie; Xu, Yihang
errShare
errSave
errShare
errSave
Detection of semantically similar code
err2014-10-22
err13
PREAI
errWang, Tiantian; Wang, Kechao; Su, Xiaohong; Ma, Peijun
errShare
errSave
Fine-Grained Code Clone Detection by Keywords-Based Connection of Program Dependency Graph
err2025-01-01
err0
PREAI
errYueming Wu; Wenqi Suo; Siyue Feng; Cong Wu; Deqing Zou; Hai Jin
errShare
errSave
An Effective Semantic Code Clone Detection Framework Using Pairwise Feature Fusion
err2021-01-01
err10
errOAAI
errSheneamer, Abdullah; Roy, Swarup; Kalita, Jugal
errShare
errSave

Journal

Expert Systems with Applications cover
Expert Systems with Applications
IF:
7.5
Papers:
3.1W
Citations:
13.6W

Organization

University of Colorado System cover
University of Colorado System
Scholars:
6.3W
Papers: 5.5W
Citations: 8.5W
U
university of colorado at colorado springs
Scholars:
698
Papers: 607
Citations: 579
J
jazan university
Scholars:
481
Papers: 266
Citations: 2.9K
researcher View more organizations
Cited Papers

Cited Papers

Characterization of polymer matrix and low melting point solder for anisotropic conductive film
err2008-02-01
err0
PREAI
errYong-Sung Eom; Ji-Won Baek; Jong-Tae Moon; Jae-Do Nam; Jong-Min Kim
errShare
errSave
Multifrequency EPR Study of Metallofullerenes:  Eu@C82 and Eu@C74
err2004-08-20
err0
PREAI
errHideto Matsuoka; Norio Ozawa; Takeshi Kodama; Hiroyuki Nishikawa; Isao Ikemoto; Koichi Kikuchi; Ko Furukawa; Kazunobu Sato; Daisuke Shiomi; Takeji Takui; Tatsuhisa Kato
errShare
errSave
Antenatal Glucocorticoid Treatment Affects Hippocampal Development in Mice
err2014-01-22
err0
errOAAI
errCornelle W. Noorlander; Deodata Tijsseling; Ellen V. S. Hessel; Willem B. de Vries; Jan B. Derks; Gerard H. A. Visser; Pierre N. E. de Graan
errShare
errSave
Bagging predictors
err1996-08-01
err1.0W
PREAI
errBreiman, L
errShare
errSave
researcher View more