Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the genesis domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /usr/home/simondi1cknow/public_html/cknow.com/cms/wp-includes/functions.php on line 6114
Metamorphic Viruses - Computer Knowledge

Metamorphic Viruses

Some viruses completely rewrite themselves on each infection in order to attempt to avoid detection.

Some viruses rewrite themselves completely each time they infect. These viruses are said to be metamorphic. As you might expect, the programming necessary to do this is quite complex and a metamorphic engine attached to a virus may make it large and complex.

To put it another way, metamorphic code is code that can reprogram itself.

A program can metamorph by translating its own code into a temporary representation, edit the temporary representation of itself, and then write itself back to normal code again. As this process is done on the entire virus the engine also undergoes changes and the whole virus changes with it. The change is made, of course, to attempt to avoid scanners.

Don’t confuse metamorphic and polymorphic viruses. A polymorphic virus encrypts its original code to avoid pattern recognition; the metamorphic virus changes its code to an equal form.

The easiest modification would be to insert NOP instructions at various locations. One can also change the flow of the code, change the registers used, or even reorder instructions; the variations are many. Anti-virus software generally needs to use emulation to analyze the behavior of the code as it changes.

It’s possible that metamorphic code can allow a virus to infect files on multiple operating systems or computer architectures. This is rare however and difficult to do.

Summary

  • A metamorphic virus can change itself in many ways in order to avoid detection or infect multiple hosts.
Up Arrow How Viruses Infect Up Arrow
Prior Page Next Page
Camouflage Viruses NTFS ADS Viruses