In 2009, ad banners on the New York Times website were hijacked to show fake virus alerts that pushed rogue security software. The site itself had not been hacked. Readers saw a trusted page and an ad they had no reason to doubt, which is the whole trick behind malvertising, and the reason a site’s reputation says little about the ads running on it.
Where it started
According to Wikipedia, the first recorded sightings came in late 2007 to early 2008 and exploited an Adobe Flash vulnerability on sites such as MySpace, Excite and Rhapsody.
| Year | Site | What happened |
|---|---|---|
| 2009 | The New York Times | Hijacked banners showed fake virus alerts and pushed rogue security software |
| 2011 | Spotify | Ads delivered the Blackhole exploit kit, an early drive-by download |
| 2013 | Yahoo | A cross-site scripting campaign delivered Cryptowall ransomware |
| 2014 | Sites served by DoubleClick and Zedo | Campaigns infected more than 600,000 computers |
The ad network is the weak point, not the site
Malicious code gets into an ad network, and the network delivers it to every site that buys from it. That is why a campaign can reach many trusted publishers at once.

Attackers often run clean ads first to build trust and switch in the malicious code later, so a network that looked fine last month tells you nothing today.
The worse variant is the drive-by download, where the ad itself compromises the browser and nobody clicks anything. It also means a business can be hit through an employee reading the news during lunch.
Adware is a different problem
Adware is software installed on your device that shows ads, redirects searches and collects data for targeting. Malvertising arrives through a web page in the browser, from an ad you never asked for, and needs no installed program at all. Ad blockers help with both, but removing adware means removing the app.
Which kinds of malvertising are common?
The forms differ, though the pattern is the same: a believable message, a button, and a payload behind it.
| Type | What the ad does |
|---|---|
| Scareware | Pops up an alarming warning that your device is infected and offers a “fix” |
| Tech-support scam | Calmer than scareware. Reports a technical problem and tells you to click a button to repair it |
| Fake software update | Offers an update for something you really use, then installs spyware or a virus |
| Fake survey or prize | Promises money or a win for filling in a form |
Hidden code in images
Steganography hides data inside an image, so scanning the page for suspicious scripts finds nothing. A polyglot image goes a step further: one file that is valid as an image and as script code at the same time, so it passes as a picture while carrying instructions.
Search ads that impersonate brands
The FBI warned on December 21, 2022 that criminals buy search ads with domains that resemble real businesses and place them at the top of results, where little separates an ad from a genuine result. The pages behind them offer fake downloads named after the program you wanted. Some impersonate crypto exchanges to capture logins.
What to do today
Run an ad blocker. Total Adblock has a review at VPNpro, and AdGuard is the other name that comes up; pick one with DNS filtering and script blocking if you can. Brave blocks ads by default, which is the least effort of any option.
Keep the operating system and browser updated. Obviously, drive-by attacks go after known holes.
Type the address of a business or a software vendor straight into the browser instead of clicking the ad above the real result (the FBI recommends this too), and check the domain for a swapped or missing letter. Download software and updates only from the provider’s own site or an official app store, never from a pop-up, and skip APK files from random sites. An antivirus catches what slips through, but it is a second line, not the first. If a fake alert fills the screen, close the browser tab or the whole browser rather than the pop-up, since its own close button can be part of the ad. A prize pop-up is a trap far more often than a prize.
Is any of this enough if the ad itself needs no click?
It lowers the odds, and updates do the most.
- Top MySQL CDC Tools for Streaming Changes to a Data Warehouse - December 4, 2026
- PyCharm Tutorial: From Install to Your First Debug Session - December 3, 2026
- How Software Teams Can Retire Old Hardware Without Losing Sleep - December 2, 2026



