The virus that attaches themselves to other files like program or executable files is parasitic virus. As the name parasite, this virus attaches to files or boot sectors and replicates itself, thus continuing to spread. When the infected files are launched, the virus gets activated.
- Example: Jerusalem.