Most antivirus program will prevent malware infection by monitoring any files that we will create or store in the hard-drive. It can also protect you by blocking malicious files, fake applications and other type of malicious contents while you browse such known exploits and malicious scripts.
I visited 9 rogue links that will allow me to download fake AV or the link will redirect to a fake AV website. AVG, AntiVir and Avast blocked the access or download on 4 rogue links only. When I visited 6 links that have known exploits, AntiVir and AVG failed to identify 5 of the 6 exploits while Avast detected 3.
I tried to download 3 Trojans, 2 spyware and 2 worms: AVG detected 3 Trojans while AntiVir and Avast prevented the download of 2 Trojans. AVG and Avast failed in preventing downloads for 2 spyware and 2 malware that is known worm Koobface. AntiVir allow the download of the 2 worms but blocked 1 spyware download.