Malvertising refers to the distribution of malware through online advertising networks or platforms. Attackers exploit vulnerabilities in ad networks to inject malicious code into legitimate ads, which can then infect users' systems when they interact with the ads.