An industry built on serving adware has become a full-fledged malware distribution channel.