The internet saw an increase in malicious code that exposed confidential information as online criminals sought to make a profit, according to Symantec.