摘要:
A method of adding a watermark to an executable file, the method comprising: identifying a plurality of parts of the watermark, the plurality of parts of the watermark forming an ordered sequence of parts, wherein each of the plurality of parts of the watermark has a corresponding index in the ordered sequence of parts; identifying a plurality of sections of the executable file, the plurality of sections of the executable file forming an ordered sequence of sections, wherein each of the plurality of sections of the executable file has a corresponding index in the ordered sequence of sections; for each of the plurality of parts of the watermark: selecting one or more sections of the plurality of sections of the executable file based on the index of said part of the watermark and the indices of the sections of the executable file; and for each of the one or more selected sections of the executable file, modifying a portion of the executable file associated with that selected section of the executable file to thereby encode said part of the watermark within that portion of the executable file.
展开