home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.org.eff.talk
- Path: sparky!uunet!van-bc!rsoft!mindlink!a3916
- From: Clayten_Hamacher@mindlink.bc.ca (Clayten Hamacher)
- Subject: Re: Beneficial Virus?
- Organization: MIND LINK! - British Columbia, Canada
- Date: Wed, 6 Jan 1993 10:34:30 GMT
- Message-ID: <19284@mindlink.bc.ca>
- Sender: news@deep.rsoft.bc.ca (Usenet)
- Lines: 50
-
- >>Still, the question arises - suppose I decide I don't want those files
- stored
- >>compressed any more. How would I get rid of the virus?
-
- You either wouldn't let it 'infect' certain files or if you did you'd have a
- program to remove it.
-
- >The files are not changed by being without the marker!! The only
- >thing which is changed is that the virus will no longer spread itself.
- >The compressed file _still_ has the virus prepended. Thus it will
- >_still_ be able to decompress the file upon execution.
-
- Considering that only files that can actually be executed have control passed
- to them, this virus would only compress executables. Therefore you wouldn't
- have to worry about not being able to execute the decompression routine on a
- machine you transfered the file onto. If you have a reason to execute the
- file (ie it will run) then so will the decompression.
-
- I also like your idea for having part of the code for the 'virus' installed
- in the marker file. All the code that needs to be in a compressed file is the
- decompression routine (and a code to search for the marker and pass control
- so the marker could put itself into memory). The code for compression of a
- file and the 'infection' of other files would be contained within the marker
- program for another bit of security (if a file happens to exist called
- VIRUSOK!.MRK or whatever the marker is called, it would still need to have
- the complete code for the virus to be able to infect).
-
- If the marker contained part of the virus code then only the decompression
- routine (always the smaller in a compression/decompression pair) would need
- to be a part of the file to be packed (this would allow for a large/complex
- packer which would have a higher compression than a tiny routine).
-
- I have a self-extracting archive maker that averages 45% of original size and
- only adds 12k over a normal archive of the same file, and that includes a
- full GUI with mouse support etc..
-
-
- In summary: The safeguards with a virus like this are foolproof. The chance
- of a 30k (or so) marker file appearing in the right directory containing
- exactly the right code (virus would use a checksum on file) are so incredibly
- low you can't calculate it.
-
- Virus would be small enough and fast enough to be practical
- (mainly for people with small HDs) and wouldn't create any problems.
-
-
-
- --
-
- Clayten_Hamacher@Mindlink.bc.ca Land of the rising snow.
-