malvertising

term

securityweb dev

Kept in this browser · My desk

Using online advertising, bought or hijacked, to send people to malicious pages or deliver malware.

MITRE describes attackers buying ads, impersonating brands and showing benign content to ad-network checkers while real victims reach the malicious page. In 2016 ESET reported banners on major news sites that carried a script in their alpha channel and led, after checks, to Flash exploits.

How it works. An online advertisement is rarely served by the site that displays it. At the hearing of the United States Senate Permanent Subcommittee on Investigations (PSI) on 15 May 2014, Senator John McCain, who had initiated the inquiry, described the weak points: a single ad routinely passes through five or six companies before it reaches the consumer; ad networks often let the advertiser deliver the creative itself, which is cheaper, so a malicious advertiser can swap a reviewed ad for malware and the networks frequently learn of it only after it is served; and one visit to one website can contact hundreds of third parties. The location targeting that ordinary advertisers buy also lets an attacker keep a malicious ad away from the cities where the networks' scanning facilities are clustered. MITRE ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) files the purchase of ads for this purpose as Acquire Infrastructure: Malvertising (T1583.008, created in February 2023): ads placed prominently in search results, ads spoofing well-known brands that lead to clones of official sites with trojanized software, click routing that sends ad-network crawlers and policy enforcers to benign pages while real victims reach the malicious one, deliberate typos to dodge brand-reputation monitoring, and automation at scale to resist cleanup.

Drive-by malvertising. Here the ad itself delivers the exploit, and no click is needed. McCain told the subcommittee that ads on YouTube served by Google's network in February 2014 infected viewers with malware built to break into bank accounts, and that on Friday 27 December 2013 criminals got into Yahoo!'s ad network and served ads that, by independent estimates, infected around 27,000 computers to generate bitcoins; Alex Stamos of Yahoo! testified that the malware hit Windows users with out-of-date Oracle Java, mostly at European addresses. McCain added that a raided Russian criminal network kept calendars marked with United States federal holidays and three-day weekends, when the security staff of ad networks are thinnest. In 2016 ESET reported the Stegano campaign on major news sites: a script hidden in the alpha channel of banners, checks of the visitor's environment, then Flash exploits, later judged a new wave of the AdGholas group.

Lure malvertising. Here the ad sends a person to a fake page. The Federal Bureau of Investigation (FBI) warned on 21 December 2022, in public service announcement I-122122-PSA of its Internet Crime Complaint Center (IC3), that criminals buy search-engine ads under domains similar to real businesses; the ads appear at the very top of results with minimal distinction from genuine results and lead to copies of official pages offering malware named after the program sought, or to fake cryptocurrency exchanges that collect logins. Malwarebytes reported in February 2014 that the ZeusVM banking trojan had been noticed in a malvertising campaign. Microsoft Threat Intelligence reported on 6 March 2025 a campaign detected in early December 2024 that affected nearly one million devices: redirectors embedded in inline frames (iframes) of illegal streaming sites, four or five layers of redirection, first-stage payloads hosted on GitHub (one on Discord and one on Dropbox) and signed with twelve newly created certificates, all since revoked, then the Lumma or Doenerium information stealers and the NetSupport remote management tool; Microsoft tracks the actors under the name Storm-0408.

Scale and blame. At the same hearing Craig Spiezle of the Online Trust Alliance put malvertising incidents at 209,000 in a year, up over 200 percent, generating over 12.4 billion malicious ad impressions, and George Salem of Google said the company had disabled more than 350 million ads in 2013 and scanned billions every day. Responsibility diffuses along the chain: McCain recalled a malicious ad for luxury watches on Major League Baseball's website in June 2012, shown to 300,000 people, after which it remained unclear which company had delivered it.

Defences. Ads run on reputable sites, are targeted by the network's own tools and are reviewed by automated checks that can be shown something else, so blocking or isolating third-party ad content and keeping browsers patched removes most of the risk. The FBI advises checking the address before clicking an ad, typing a business's address instead of searching for it and using an ad-blocking extension, and tells businesses to use domain protection services that warn of look-alike registrations and to tell users where their genuine downloads are. MITRE notes that the purchase happens outside any enterprise's view, so detection belongs at the drive-by and execution stages. Microsoft's recommendations for its 2025 campaign include browsers with Microsoft Defender SmartScreen, which blocks known malicious sites, network protection, and an attack surface reduction rule that blocks executables unless they meet a prevalence, age or trusted-list criterion. Its neighbours are phishing, which shares the lure; information stealers and malware loaders, which are what the ads deliver; and stegomalware, when the ad itself hides the code.

Also known as: malicious advertising, publicidade maliciosa

Sources

← Back to M Back to the glossary