Greetings.

I was wondering how a antivirus works, the inner workings, in detail. Not that it scans and if it finds a malliciuos code etc. I'm looking for what exactly goes on in there when it scans and when it finds a virus, worm, etc.. I've searched the net with no luck and thougt of you guys. If anybody has an idea or reasorce I can use and is willing to share, please do it would really save my neck.

Thanks