Saved in:
Bibliographic Details
Main Authors: Joshi, Bhaskar, Khani, Sepideh HajiHossein, HabibiLashkari, Arash
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.19896
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911936325615616
author Joshi, Bhaskar
Khani, Sepideh HajiHossein
HabibiLashkari, Arash
author_facet Joshi, Bhaskar
Khani, Sepideh HajiHossein
HabibiLashkari, Arash
contents Source Code Authorship Attribution (SCAA) is crucial for software classification because it provides insights into the origin and behavior of software. By accurately identifying the author or group behind a piece of code, experts can better understand the motivations and techniques of developers. In the cybersecurity era, this attribution helps trace the source of malicious software, identify patterns in the code that may indicate specific threat actors or groups, and ultimately enhance threat intelligence and mitigation strategies. This paper presents AuthAttLyzer-V2, a new source code feature extractor for SCAA, focusing on lexical, semantic, syntactic, and N-gram features. Our research explores author identification in C++ by examining 24,000 source code samples from 3,000 authors. Our methodology integrates Random Forest, Gradient Boosting, and XGBoost models, enhanced with SHAP for interpretability. The study demonstrates how ensemble models can effectively discern individual coding styles, offering insights into the unique attributes of code authorship. This approach is pivotal in understanding and interpreting complex patterns in authorship attribution, especially for malware classification.
format Preprint
id arxiv_https___arxiv_org_abs_2406_19896
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AuthAttLyzer-V2: Unveiling Code Authorship Attribution using Enhanced Ensemble Learning Models & Generating Benchmark Dataset
Joshi, Bhaskar
Khani, Sepideh HajiHossein
HabibiLashkari, Arash
Software Engineering
Artificial Intelligence
Source Code Authorship Attribution (SCAA) is crucial for software classification because it provides insights into the origin and behavior of software. By accurately identifying the author or group behind a piece of code, experts can better understand the motivations and techniques of developers. In the cybersecurity era, this attribution helps trace the source of malicious software, identify patterns in the code that may indicate specific threat actors or groups, and ultimately enhance threat intelligence and mitigation strategies. This paper presents AuthAttLyzer-V2, a new source code feature extractor for SCAA, focusing on lexical, semantic, syntactic, and N-gram features. Our research explores author identification in C++ by examining 24,000 source code samples from 3,000 authors. Our methodology integrates Random Forest, Gradient Boosting, and XGBoost models, enhanced with SHAP for interpretability. The study demonstrates how ensemble models can effectively discern individual coding styles, offering insights into the unique attributes of code authorship. This approach is pivotal in understanding and interpreting complex patterns in authorship attribution, especially for malware classification.
title AuthAttLyzer-V2: Unveiling Code Authorship Attribution using Enhanced Ensemble Learning Models & Generating Benchmark Dataset
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2406.19896