Anti-Viruses
Many virus programmers add signature to their program. So by
checking the signature, we can find the name of the virus. Most of the anti-virus packages use this logic! The following table shows few viruses and their signatures.
Virus Signature
Einstein--------0042CD217231B96E0333D2B440CD2172193BC17515B80042
Phoenix 927-----E800005E81C6????BF0001B90400F3A4E8
Spanz-----------E800005E81EE????8D94????B41ACD21C784
Necropolis------50FCAD33C2AB8BD0E2F8
Trivial-25------B44EFEC6CD21B8??3DBA??00CD2193B440CD
Trivial-46------B44EB120BA????CD21BA????B80?3DCD21%2BA0001%4B440CD
SK--------------CD20B80300CD1051E800005E83EE09
So you can find that writing anti-virus package is not a tough job.
But understand the fact that checking out the signature is not 100% foolproof.