BinClone: Detecting Code Clones in Malware. Farhadi, M., Fung, B., Charland, P., & Debbabi, M. In Proc. of the Eighth Int'l Conf. on Software Security and Reliability, pages 78--87, June, 2014.
abstract   bibtex   
To gain an in-depth understanding of the behaviour of a malware, reverse engineers have to disassemble the malware, analyze the resulting assembly code, and then archive the commented assembly code in a malware repository for future reference. In this paper, we have developed an assembly code clone detection system called BinClone to identify the code clone fragments from a collection of malware binaries with the following major contributions. First, we introduce two deterministic clone detection methods with the goals of improving the recall rate and facilitating malware analysis. Second, our methods allow malware analysts to discover both exact and inexact clones at different token normalization levels. Third, we evaluate our proposed clone detection methods on real-life malware binaries. To the best of our knowledge, this is the first work that studies the problem of assembly code clone detection for malware analysis.
@inproceedings{farhadi_binclone:_2014,
	title = {{BinClone}: {Detecting} {Code} {Clones} in {Malware}},
	abstract = {To gain an in-depth understanding of the behaviour of a malware, reverse engineers have to disassemble the malware, analyze the resulting assembly code, and then archive the commented assembly code in a malware repository for future reference. In this paper, we have developed an assembly code clone detection system called BinClone to identify the code clone fragments from a collection of malware binaries with the following major contributions. First, we introduce two deterministic clone detection methods with the goals of improving the recall rate and facilitating malware analysis. Second, our methods allow malware analysts to discover both exact and inexact clones at different token normalization levels. Third, we evaluate our proposed clone detection methods on real-life malware binaries. To the best of our knowledge, this is the first work that studies the problem of assembly code clone detection for malware analysis.},
	booktitle = {Proc. of the {Eighth} {Int}'l {Conf}. on {Software} {Security} and {Reliability}},
	author = {Farhadi, M.R. and Fung, B.C.M. and Charland, P. and Debbabi, M.},
	month = jun,
	year = {2014},
	keywords = {Assembly, Assembly Code Clone Detection, Bin Clone, BinClone, Binary Analysis, Cloning, Detectors, Feature extraction, Registers, Vectors, assembly code analysis, assembly code clone detection system, bdiff\_, bdiff\_malware, bdiff\_new, code clone fragment identification, commented assembly code archiving, deterministic clone detection method, inexact clone discovery, invasive software, malware, malware analysis, malware behaviour understanding, malware binaries, malware disassembly, malware repository, program diagnostics, recall rate, reverse engineering, reverse engineers, token normalization level},
	pages = {78--87}
}

Downloads: 0