Adware is usually a program that bombards users with endless annoying ads and pop-ups. The ads can be malicious or not and mostly used to generate revenue. On the other hand, malvertising, also known as malicious advertising, is the distribution of malware using advertisement. Adware and malvertising are commonly confused concepts.