Major websites including the BBC, Newsweek, The New York Times and MSN ran malicious online advertisements on Sunday that attacked users' computers, a campaign that one expert said was the largest seen in two years.
The websites weren't at fault. Instead, they are unwitting victims of malvertising, a scheme where cyberattackers upload harmful ads to online advertising companies, which are then distributed to top-tier publishers.
Tens of thousands of computers could have been exposed to the harmful advertisements on Sunday, which means some running vulnerable software may have been infected with malware or file-encrypting ransomware.
Some bad ads were still appearing on some websites including the BBC on Monday, said Jerome Segura, a senior security researcher with Malwarebytes, in a phone interview Tuesday.
The advertisements connected with servers hosting the Angler exploit kit. The kit tries to find software vulnerabilities on a computer in order to deliver malware.
A successful exploit could deliver ransomware, a type of malware that encrypts a computer's files. Victims are asked to pay a ransom, usually in bitcoin, in order to get the decryption key and restore their systems.
Trend Micro wrote about the same attack on Monday. Segura said he delayed publishing a blog post while he contacted major advertising networks, including Google's DoubleClick, Rubicon, AOL and AppNexus, to get the malicious advertisements removed. He published a post on Tuesday.
Some of the offending ads have been removed, but not all. He decided to go public despite not getting acknowledgment from some online advertisers.
Josh Zeitz, vice president of communications for AppNexus, said via email on Tuesday that the advertiser that placed the bad ad had been "deactivated" soon after the company was notified by Segura. The bad ad had not been placed directly through AppNexus, but instead came from a third party, Zeitz said.
AppNexus has an anti-malware detection system called Sherlock it uses to screen ads and also uses a filtering product from a third-party vendor, Zeitz wrote.
"We devote considerable financial resources to safeguarding our customers," Zeitz wrote. "Unfortunately, bad actors also invest considerably in developing new forms of malware."
Officials at Google, Rubicon and AOL couldn't immediately be reached for comment.
It is rare to see a malvertising campaign affect so many different online advertising companies at the same time, Segura said.
"These are the top ad networks in the world," he added. "For some reason, they were all affected. It was shocking to be honest."
He contacted the advertising companies on Sunday, but some did not reply until Monday morning and others later.
"Some of them I had to ask again, and I heard from them on Monday night," Segura said. "The response time on a weekend is definitely reduced."
Sign up for CIO Asia eNewsletters.