Some students tasked with mandatory programming assignments lack the time or dedication to solve the assignment themselves. Instead, they might plagiarize a solution by slightly modifying their peer’s code. To counteract this, there exist numerous tools that assist in detecting this kind of plagiarism. These tools can be used by instructors to identify plagiarized programs among the set of all submissions. The most used type of plagiarism detection tool is token-based plagiarism detectors. They are resilient against many types of obfuscation attacks, such as renaming variables or whitespace modifications. However, they are susceptible to the insertion of code that does not affect the program flow or result.
The current working assumption was that the successful obfuscation of plagiarism takes more effort and skill than solving the assignment itself. This assumption was broken by automated plagiarism generators, which exploit this weakness. This work aims to develop mechanisms against code insertions that can be directly integrated into existing token-based plagiarism detectors. For this, we first develop mechanisms to negate the negative effect of many types of code insertion. Then we implement these mechanisms prototypically into a state-of-the-art plagiarism detector. We evaluate our implementation by running it on a dataset consisting of real student submissions and automatically generated plagiarism. We show that with our mechanisms, the similarity rating of automatically generated plagiarism increases drastically. Consequently, the plagiarism generator we use fails to create usable plagiarisms.
| Related KIT institution | Institute of Information Security and Dependability (KASTEL) |
|---|---|
| Language | English |
| KITopen ID | 1000154301 |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | IX, 51 p. |
| Exam data | 14.10.2022 |
| Supervisors | Timur Saglam Sebastian Hahner |