Compression virus

Compression virus

Compression virus is an example of a benevolent Computer virus invented by Fred Cohen. It searches for an uninfected executable file, compresses the file and prepends itself to it. The virus can be described in pseudo code [1]

program compression-virus:=
{01234567;

subroutine infect-executable:=
 {loop:file = get-random-executable-file;
 if first-line-of-file = 01234567 then goto loop;
 compress file;
 prepend compression-virus to file;
 }

main-program:=
 {if ask-permission then infect-executable;
 uncompress the-rest-of-this-file into tmpfile;
 run tmpfile;}
}

The 01234567 is the virus signature, and is used to make sure (if first-line-of-file = 01234567) the file is not already infected. The virus then asks for permission (ask-permission) to infect a random executable (get-random-executable-file). If permission granted, it compresses the executable (infect-executable), prepends itself to it (prepend), uncompresses the current executable file (uncompress the-rest-of-this-file) into a temporary file(tmpfile) and runs it (run tmpfile).

Cruncher is an example of a compression virus [2], a strain of which - Cruncher.2092[3] is described by McAfee as memory-resident virus that infects all but small com files, making them smaller. The reason for excluding small programs is that their infected versions will be bigger than their originals.

References

  1. ^ 1984, Computer Viruses - Theory and Experiments
  2. ^ Mark A. Ludwig 1995, Giant Black Book of Computer Viruses p.10
  3. ^ McAfee article on Cruncher.2092, read Characteristics

Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Executable compression — is any means of compressing an executable file and combining the compressed data with the decompression code it needs into a single executable.Running a compressed executable essentially unpacks the original executable code, then transfers… …   Wikipedia

  • nervous system disease — Introduction       any of the diseases or disorders that affect the functioning of the human nervous system (nervous system, human). Everything that humans sense, consider, and effect and all the unlearned reflexes of the body depend on the… …   Universalium

  • WinZip — 14.5 Pro running under Windows 7 with Ribbon interface …   Wikipedia

  • syndrome — The aggregate of symptoms and signs associated with any morbid process, and constituting together the picture of the disease. SEE ALSO: disease. [G. s., a running together, tumultuous concourse; (in med.) a concurrence of symptoms, fr. syn,… …   Medical dictionary

  • Wikipedia:Reference desk/Computing — The Wikipedia Reference Desk covering the topic of computing. Computing #eee #f5f5f5 #eee #aaa #aaa #aaa #00f #36b #000 #00f computing Wikipedia:Reference de …   Wikipedia

  • Brain tumor — Classification and external resources Brain metastasis in the right cerebral hemisphere from lung cancer shown on T1 weighted magnetic resonance imaging with intravenous contrast …   Wikipedia

  • RESPIRATOIRE (APPAREIL) - Pathologie — La connaissance préalable des fonctions et des mécanismes est indispensable à la compréhension des symptômes et des conséquences des maladies. Claude Bernard a en effet montré que la science clé était, pour la médecine, la physiologie, qui, seule …   Encyclopédie Universelle

  • List of computer term etymologies — This is a list of the origins of computer related terms or terms used in the computing world (i.e., a list of computer term etymologies). It relates to both computer hardware and computer software. Names of many computer terms, especially… …   Wikipedia

  • Ultraviolet (film) — Infobox Film name = UltraViolet caption = Promotional poster for the film UltraViolet director = Kurt Wimmer writer = Kurt Wimmer starring = Milla Jovovich Cameron Bright Nick Chinlund producer = John Baldecchi Lucas Foster Tony Mark (Executive)… …   Wikipedia

  • Colloidal crystal — A colloidal crystal is an ordered array of colloid particles, analogous to a standard crystal whose repeating subunits are atoms or molecules.[1] A natural example of this phenomenon can be found in the gem opal, where spheres of silica assume a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”