Large-Scale and Language-Oblivious Code Authorship Identification

  • Abuhamad, Mohammed
  • AbuHmed, Tamer
  • Mohaisen, Aziz
  • Nyang, DaeHun
Citations

WEB OF SCIENCE

67
Citations

SCOPUS

88

초록

Efficient extraction of code authorship attributes is key for successful identification. However, the extraction of such attributes is very challenging, due to various programming language specifics, the limited number of available code samples per author, and the average code lines per file, among others. To this end, this work proposes a Deep Learning-based Code Authorship Identification System (DL-CAIS) for code authorship attribution that facilitates large-scale, language-oblivious, and obfuscation-resilient code authorship identification. The deep learning architecture adopted in this work includes TF-IDF-based deep representation using multiple Recurrent Neural Network (RNN) layers and fully-connected layers dedicated to authorship attribution learning. The deep representation then feeds into a random forest classifier for scalability to de-anonymize the author. Comprehensive experiments are conducted to evaluate DL-CAIS over the entire Google Code Jam (GCJ) dataset across all years (from 2008 to 2016) and over real-world code samples from 1987 public repositories on GitHub. The results of our work show the high accuracy despite requiring a smaller number of files per author. Namely, we achieve an accuracy of 96% when experimenting with 1,600 authors for GCJ, and 94.38% for the real-world dataset for 745 C programmers. Our system also allows us to identify 8,903 authors, the largest-scale dataset used by far, with an accuracy of 92.3%. Moreover, our technique is resilient to language-speciics, and thus it can identify authors of four programming languages (e. g., C, C++, Java, and Python), and authors writing in mixed languages (e. g., Java/C++, Python/C++). Finally, our system is resistant to sophisticated obfuscation (e. g., using C Tigress) with an accuracy of 93.42% for a set of 120 authors.

키워드

Code Authorship Identiicationprogram featuresdeep learning identiicationsoftware forensicsATTRIBUTION
제목
Large-Scale and Language-Oblivious Code Authorship Identification
저자
Abuhamad, MohammedAbuHmed, TamerMohaisen, AzizNyang, DaeHun
DOI
10.1145/3243734.3243738
발행일
2018
유형
Proceedings Paper
저널명
PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18)
페이지
101 ~ 114