Virus and Worm Features
Virus and Worm Features
FEATURES
VIRUS CHARACTERISTICS :
When virus effected code is run, first the virus code is executed.
An innocuous virus may attempt something benign like printing a “hello
world” message.
Virus code is both prepended and appended to the host file. Virus code
could be split into several segments and interspersed throughout the
infected file using JUMP statements.
To evade detection, some viruses modify the file service interrupt
handler that returns attributes of files.
To infect another file, the virus first compresses that file and then
prepends the virus code to the compressed file. The infected file must
uncompressed just prior to execution.
Viruses main feature is their system calls, they are made to read/write
files, spawn new processes, establish new TCP connections etc.
WORM CHARACTERISTICS :
These are classified based on their vector of propagation.
Internet scanning worms are used to scan the IP address space for
vulnerable machines. The most straight forward approach is random
scanning.
Enhanced speed :
To enhance the infection rate, some worms are designed to spawn
multiple threads. Each thread is responsible for setting up
connections to a different subset of hosts.
The witty worm that which appeared in march 2004, was the first worm to
carry a destructive payload. It deleted a random section of the victim’s
hard disk leading to a system crash.