Source code watermarking based on function dependency oriented sequencing

Gaurav Gupta*, Josef Pieprzyk

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contribution

5 Citations (Scopus)
10 Downloads (Pure)

Abstract

In the current market, extensive software development is taking place and the software industry is thriving. Major software giants have stated source code theft as a major threat to revenues. By inserting an identity-establishing watermark in the source code, a company can prove it's ownership over the source code. In this paper, we propose a watermarking scheme for C/C++ source codes by exploiting the language restrictions. If a function calls another function, the latter needs to be defined in the code before the former, unless one uses function pre-declarations. We embed the watermark in the code by imposing an ordering on the mutually independent functions by introducing bogus dependency. Removal of dependency by the attacker to erase the watermark requires extensive manual intervention thereby making the attack infeasible. The scheme is also secure against subtractive and additive attacks. Using our watermarking scheme, an n-bit watermark can be embedded in a program having n independent functions. The scheme is implemented on several sample codes and performance changes are analyzed.

Original languageEnglish
Title of host publicationProceedings
Subtitle of host publication2008 Fourth International Conference on Intelligent Information Hiding and Multimedia Signal Processing, IIH-MSP 2008
EditorsJeng-Shyang Pan, Xia-Mu Niu, Hsiang-Cheh Huang, Lakhmi C. Jain
Place of PublicationPiscataway, NJ
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Pages965-968
Number of pages4
ISBN (Print)9780769532783
DOIs
Publication statusPublished - 2008
Event2008 4th International Conference on Intelligent Information Hiding and Multiedia Signal Processing, IIH-MSP 2008 - Harbin, China
Duration: 15 Aug 200817 Aug 2008

Other

Other2008 4th International Conference on Intelligent Information Hiding and Multiedia Signal Processing, IIH-MSP 2008
CountryChina
CityHarbin
Period15/08/0817/08/08

Bibliographical note

Copyright 2008 IEEE. Reprinted from IIH-MSP 2008 : 2008 Fourth International Conference on Intelligent Information Hiding and Multimedia Signal Processing : 15-17 August 2008, Harbin, China. This material is posted here with permission of the IEEE. Such permission of the IEEE does not in any way imply IEEE endorsement of any of Macquarie University’s products or services. Internal or personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution must be obtained from the IEEE by writing to pubs-permissions@ieee.org. By choosing to view this document, you agree to all provisions of the copyright laws protecting it.

Fingerprint Dive into the research topics of 'Source code watermarking based on function dependency oriented sequencing'. Together they form a unique fingerprint.

Cite this