Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Tackling Androids Native Library Malware with Robust, Efficient and Accurate Similarity Measures

 
: Kalysch, A.; Milisterfer, O.; Protsenko, M.; Müller, T.

:

Association for Computing Machinery -ACM-:
ARES 2018, 13th International Conference on Availability, Reliability and Security. Proceedings : Hamburg, Germany, August 27 - 30, 2018
New York: ACM, 2018
ISBN: 978-1-4503-6448-5
Art.58
International Conference on Availability, Reliability and Security (ARES) <13, 2018, Hamburg>
Englisch
Konferenzbeitrag
Fraunhofer AISEC ()

Abstract
Code similarity measures create a comparison metric showing to what degree two code samples have the same functionality, e.g., to statically detect the use of known libraries in binary code. They are both an indispensable part of automated malware analysis, as well as a helper for the detection of plagiarism (IP protection) and the illegal use of open-source libraries in commercial apps. The centroid similarity metric extracts control-flow features from binary code and encodes them as geometric structures before comparing them. In our paper, we propose novel improvements to the centroid approach and apply it to the ARM architecture for the first time. We implement our approach as a plug-in for the IDA Pro disassembler and evaluate it regarding efficiency, accuracy and robustness on Android. Based on a dataset of 508,745 APKs, collected from 18 third-party app markets, we achieve a detection rate of 89% for the use of native code libraries, with an FPR of 10.8%. To test the robustness of our approach against the compiler version, optimization level, and other code transformations, we obfuscate and recompile known open-source libraries to evaluate which code transformations are resisted. Based on our results, we discuss how code re-use can be hidden by obfuscation and conclude with possible improvements.

: http://publica.fraunhofer.de/dokumente/N-566037.html