{"id":38158,"date":"2022-06-05T15:00:21","date_gmt":"2022-06-05T13:00:21","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=38158"},"modified":"2022-06-02T20:12:10","modified_gmt":"2022-06-02T18:12:10","slug":"what-is-malvertising-wordpress","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/what-is-malvertising-wordpress\/","title":{"rendered":"What Is Malvertising and How to Avoid It in WordPress"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]There are a lot of ways to monetize a website, and <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-manage-ads-in-wordpress\/\">introducing online ads<\/a> is one of the more straightforward ones. Now, the drawbacks of ads are clear, insomuch as virtually nobody likes them. Still, they are often the sole reason why you can access some quality, professionally made content for free, rather than it being <a href=\"https:\/\/qodeinteractive.com\/magazine\/publish-paid-content-in-wordpress-with-paywall\/\">hidden behind a paywall<\/a>. Another drawback that often gets ignored, though, is malvertising \u2013 the topic of this very article. In this article, as the title suggests, we will discuss what malvertising is. But not only that: as is the case with nearly everything that starts with <em>mal-<\/em>, malvertising is bad. We will also attempt to explain how it can adversely affect your website, and what you can do to avoid it and protect yourself, your visitors, and your bottom line from ill effects.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Here\u2019s what we\u2019ll be discussing:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#what-is-malvertising\">What Is Malvertising<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#how-malvertising-works\">How Malvertising Works<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#how-malvertising-affects-your-website\">How Malvertising Affects Your Website<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#how-to-protect-yourself-from-malvertising\">How to Protect Yourself From Malvertising<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"what-is-malvertising\"><\/a>What Is Malvertising<\/h2>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;21px&#8221;]<div class=\"qodef-single-image-holder    \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"553\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/What-Is-Malvertising.jpg\" class=\"attachment-full size-full\" alt=\"What Is Malvertising\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/What-Is-Malvertising.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/What-Is-Malvertising-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/What-Is-Malvertising-768x438.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/What-Is-Malvertising-620x354.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Put simply, malvertising is <strong>the use of internet advertisements to spread malware<\/strong>. The word itself is a portmanteau of malware, itself a portmanteau meaning malicious software, and advertising, making the term a sort of a double portmanteau \u2013 a portportmanteau, if you will.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Flippancy aside, the practice of malvertising is <strong>attractive to hackers<\/strong> because the content of the ad itself is most often beyond the control of the website owner or admin, while also being designed to be enticing to the website visitor. The hackers are also banking on it being very difficult for ad networks, and not just website operators, to check the contents of each ad for malware.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"how-malvertising-works\"><\/a>How Malvertising Works<\/h2>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;21px&#8221;]<div class=\"qodef-single-image-holder    \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"553\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Works.jpg\" class=\"attachment-full size-full\" alt=\"How Malvertising Works\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Works.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Works-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Works-768x438.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Works-620x354.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To examine how malvertising works, we must first examine how normal ads work.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Typically, if you are using ads on your website, you are not selling your online ad space directly to an advertiser: you are <strong>using an online ad network<\/strong>. You, as the owner of the website, dedicate some space to ads and apply to an ad network so that they can check whether your website fits their criteria. Once your website is accepted,<strong> the ads begin coming your way.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The advertiser, being the person selling something, also typically <strong>applies to an ad network with their own ads<\/strong>, rather than pitching ads directly to website owners. It is a numbers game, after all: there are, for practical purposes, infinitely many websites, and a finite amount of time. Once the ads are accepted by an ad network, <strong>the advertiser buys space on websites<\/strong>, and the ad network starts placing the ads.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]So far, so good. But where does malware come in?<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Online ads can be as simple as hyperlinks, but many, many of them have <strong>very complex coding<\/strong>, for tracking and effectiveness assessment, responsive design, as well as for other purposes. This means that any ad network, while having review mechanisms in place, often has<strong> a massive number of complexly coded ads<\/strong> to go through, and hackers use this to hide their malicious code.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]This often includes <strong>forced downloads of malicious software<\/strong>, but can also take different shapes. It could mean misrepresenting a link and <strong>redirecting the visitor to a malicious website<\/strong> which may host illegal or fake products or content, or <strong>phishing or other scam websites<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"how-malvertising-affects-your-website\"><\/a>How Malvertising Affects Your Website<\/h2>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;21px&#8221;]<div class=\"qodef-single-image-holder    \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"553\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Affects-Your-Website.jpg\" class=\"attachment-full size-full\" alt=\"How Malvertising Affects Your Website\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Affects-Your-Website.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Affects-Your-Website-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Affects-Your-Website-768x438.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-Malvertising-Affects-Your-Website-620x354.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The first impact you should consider is the psychological impact on your visitors: you may have nothing whatsoever to do with infected ads, but are your visitors aware of that? And, even if they are, does it matter? Your <strong>website will be perceived as untrustworthy or unsafe<\/strong>, and you will lose traffic, and, consequently, money.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another thing you may count on is third party actions. Your <strong>hosting provider will want to protect their servers<\/strong> from malware, and will take your website offline once they detect malware on your website. While this is an expected safeguard meant to protect the hosting provider and their other clients, it still means that <strong>your website is offline<\/strong>, costing you, again, visits and money.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Apart from your hosting provider, <strong>Google also wants to protect its reputation<\/strong> for safety. This is why, if malware is detected, <a href=\"https:\/\/qodeinteractive.com\/magazine\/what-is-google-url-blacklist\/\">your website may get blacklisted<\/a> by Google. While this is not the same as being completely inaccessible, your website will not appear in searches, and any visitors trying to access it will be greeted with a bright red screen warning them against it. Not a good look.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, even if no malware is present, if ads from your website are redirecting your visitors to unwanted or illegal content, this will <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-reduce-bounce-rate-in-wordpress\/\">affect your bounce rate<\/a>, and, consequently, <strong>your SERP rankings<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"how-to-protect-yourself-from-malvertising\"><\/a>How to Protect Yourself From Malvertising<\/h2>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;21px&#8221;]<div class=\"qodef-single-image-holder    \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"553\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-to-Protect-Yourself-From-Malvertising.jpg\" class=\"attachment-full size-full\" alt=\"How to Protect Yourself From Malvertising\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-to-Protect-Yourself-From-Malvertising.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-to-Protect-Yourself-From-Malvertising-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-to-Protect-Yourself-From-Malvertising-768x438.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/06\/How-to-Protect-Yourself-From-Malvertising-620x354.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The first thing you need to do is have regular <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-backup-wordpress-database\/\">backups of your website<\/a>. If malicious code infects your website, you may need to be able to <strong>restore it from a backup<\/strong>. It pays to play it safe.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Next, take a good look at your website. Do you really need all the plugins you have installed? If you don\u2019t need a plugin, <a href=\"https:\/\/qodeinteractive.com\/magazine\/uninstall-wordpress-plugin\/\">deactivate and uninstall it<\/a>. The same goes for themes you may have installed but are not using. The fewer different software solutions you\u2019re using,<strong> the fewer the entry points<\/strong> for bad actors.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Also, is<strong> everything up to date<\/strong>? Many updates for plugins, themes, and WordPress itself contain security updates, dealing with known exploits and weaknesses. Never use obsolete software, as it often means that a weakness has been identified by the developers, and subsequently corrected. Similarly, avoid abandoned plugins and themes \u2013 they will certainly lag behind WordPress updates. If you are using an <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-ad-plugins\/\">ad management plugin<\/a>, make sure you are using the latest version.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Your hosting provider will almost certainly offer <strong>regular malware scans<\/strong> as part of their service. However, they are doing that to protect themselves, and their detecting malware on your website might lead to your website being taken offline. To be on the safe side, you want to <a href=\"https:\/\/qodeinteractive.com\/magazine\/scan-wordpress-for-malware\/\">scan your website for malware<\/a> on a regular basis. There are several reliable plugins we recommend in the linked article.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, do your own research. Even the best make mistakes, and you might still end up inadvertently hosting a bad ad. If you can check the ad on a test website and then scan it for malware, do it. Also, when signing up to an ad network, <strong>research it yourself<\/strong>. Ask about their ad review process and what kind of protections they have in place to protect you from bad actors.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">In Conclusion<\/h2>\n<p>[\/vc_column_text][vc_column_text]As you can see, malvertising is a problem which can affect your content, your reputation, and your bottom line. Nobody likes losing money, but it can generally be earned, and content can be restored from backups, if you have been circumspect enough to create them. Even so, it is much more bothersome than not having to rely on extra effort to fix an avoidable issue. As far as reputations go, we all know from everyday experience that they are far more easily lost than repaired. Be it your reputation with Google, your hosting provider, or your visitors, you\u2019d be wise to protect it.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you have had the bad luck to learn what is malvertising, you might want to take a look at our helpful article on how to protect yourself.<\/p>\n","protected":false},"author":16990,"featured_media":38168,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[34,4,13],"class_list":["post-38158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-resources","tag-security","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/38158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/16990"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=38158"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/38158\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/38168"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=38158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=38158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=38158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}