Would this be plausible for a metamorphic virus? When a new generation (for lack of better word) is created it would hard code a random file name, that would be checked to see if the system was infected, that the old generation would create. Example
START
- absolute path to file named aabb.txt is hard coded into first generation
- checks to see if file exists
- if exists that means current system has been infected, goto END
- if does not exist this means it's on a new system
- uses metamorphic engine to rewrite itself and hard codes a randomly named file that will be used to tell if system is infected e.g. tk12.txt
- creates the file e.g. tk12.txt
- runs new generation
- deletes itself (old generation)
END
So it's incorrect to call this random file a mutex because it's not a system object?