Advertising enables free content. Without online advertising, many publishers would be forced to charge users through subscriptions or other methods of payment to view their content. On the flip side, it’s a way for companies to promote new services, products and discounts.

But advertising is also becoming increasingly attractive to cybercriminals as a vehicle for spreading viruses, spyware and ransomware. This has contributed to the rise of malvertising.

Malvertising 101

A portmanteau of “malicious advertising,” malvertising involves injecting malware into advertisements on legitimate websites or through online ad networks.

The first such exploits were observed less than 10 years ago and are now extremely widespread. According to The Register, incidents of malvertising increased by 260 percent in 2015, and the resulting damage is estimated at around $1 billion.

Malvertisements can take the form of normal ads, pop-ups or notifications to download or update fake software. Most malvertising campaigns are short-lived. In some cases, they start as benign ads and are generally placed on reputable websites. Cybercriminals inject viruses into the website’s code to turn legitimate ads into malicious ones.

After a mass infection is complete, attackers hide their tracks by quickly removing the virus from the code. In other cases, legitimate ads are targeted directly. Many major organizations have been attacked this way.

Prevention Techniques

While no method can guarantee protection against malvertising, users can take steps to reduce the likelihood of being infected. Basic security hygiene is key. This involves keeping all software up to date with the latest patches, including your operating system and web browser.

Anti-Exploit and Antivirus

Anti-exploit programs can shield devices from vulnerabilities aimed at operating systems and browsers. Some antivirus programs offer such capabilities as well. There are also separate programs that run alongside antivirus software to monitor browsers for malicious exploits. Some antivirus programs also offer safe browsing capabilities that alert users when a website is potentially harmful.

Ad Blockers

Ad blocking programs offer some defense against malvertising, and these options are becoming increasingly popular with users. Advertisers and publishers, however, have suffered backlash related to this software. According to The Wall Street Journal, the use of ad blockers cost the advertising industry $22 billion in 2015. Digiday, meanwhile, reported that some experts expect the cost to balloon to $35 billion by 2020. Websites are increasingly requiring users to disable ad blockers to access content.

Click-to-Play Plugins

Another way to combat malvertising pop-ups is to enable click-to-play plugins. This requires a user to actively click on a pop-up before it plays to reduce the chance of infection. Users should also disable unused plugins and ensure that all plugins in use are updated.

Malvertising is a nuisance that can affect anyone, from individuals to the largest enterprises. The best strategy is one of prevention through awareness. If something doesn’t look legitimate, don’t trust it.

More from Risk Management

New Attack Targets Online Customer Service Channels

An unknown attacker group is targeting customer service agents at gambling and gaming companies with a new malware effort.Known as IceBreaker, the code is capable of stealing passwords and cookies, exfiltrating files, taking screenshots and running custom VBS scripts. While these are fairly standard functions, what sets IceBreaker apart is its infection vector. Malicious actors are leveraging the helpful nature of customer service agents to deliver their payload and drive the infection process. Here’s a look at how IceBreaker is cracking…

Cybersecurity 101: What is Attack Surface Management?

There were over 4,100 publicly disclosed data breaches in 2022, exposing about 22 billion records. Criminals can use stolen data for identity theft, financial fraud or to launch ransomware attacks. While these threats loom large on the horizon, attack surface management (ASM) seeks to combat them.ASM is a cybersecurity approach that continuously monitors an organization’s IT infrastructure to identify and remediate potential points of attack. Here’s how it can give your organization an edge.Understanding Attack Surface ManagementHere are some key…

Six Ways to Secure Your Organization on a Smaller Budget

My LinkedIn feed has been filled with connections announcing they have been laid off and are looking for work. While it seems that no industry has been spared from uncertainty, my feed suggests tech has been hit the hardest. Headlines confirm my anecdotal experience. Many companies must now protect their systems from more sophisticated threats with fewer resources — both human and technical. Cobalt’s 2022 The State of Pentesting Report found that 90% of short-staffed teams are struggling to monitor for…

Container Drift: Where Age isn’t Just a Number

Container orchestration frameworks like Kubernetes have brought about untold technological advances over the past decade. However, they have also enabled new attack vectors for bad actors to leverage. Before safely deploying an application, you must answer the following questions: How long should a container live? Does the container need to write any files during runtime? Determining the container’s lifetime and the context in which it runs is critical, especially when hosting an internet-facing service. What is Container Drift? When deploying…