Malware attacks rose in 2010, with hackers increasingly hiding code on unsuspecting sites, says security firm Kaspersky.