Malicious Ads – How Malicious Ads Get Approved and Distribute Malware

by malwarekilla on October 28, 2009

You see more and more of it.  Huge internationally, renowned websites fall victim to distributing malware to their visitors via malicious advertisements.  Currently it’s the #1 way to distribute malware and not a lot can really be done about it.  Here are the 2 most popular ways malicious ads can ruin your online reputation with your users and search engines:

102809 1520 MaliciousAd1 Malicious Ads – How Malicious Ads Get Approved and Distribute Malware

Method 1:

  1. A person or group contacts you (or your advertising dept) and buys ad space.
  2. Your advertising dept receives a flash advertisement that looks perfectly safe and harmless.
  3. The ad is approved.
  4. Later that day a script is triggered in the flash animation to automatically download a malicious .exe (like fake-av.exe) as soon as the visitor (like mom or pop) visits the web site.  In some instances visitors may be redirected to a site that loads a barrage of exploits against the visitors PC.  This is far worse than 1 malicious .exe of course.
  5. The site administrator may or may not be alerted quickly to the site hijacking.
  6. All it takes is just a few seconds or minutes to infect thousands of visitors.
  7. The malicious ad is removed, but it way too late.

Obviously the easiest way to defend against this type of hijacking is just to say no to any scripted advertisements.  This will cut down on maliciously scripted Ads; however it also cuts down on good advertisers willing to pay good money for ad space.  It’s a tough choice.

Method 2 – this is nearly impossible to deal with…

  1. A person or group contacts you (or your advertising dept) and buys ad space.
  2. Your advertising dept receives basic text or image advertisement that looks perfectly safe and harmless.
  3. The ad is approved.
  4. Later that day the landing page for the ad is switched to a malicious landing page.
  5. When a visitor clicks the ad they may now be subjected to whatever is on the new malicious landing page.
  6. Again, the website administrator may or may not be alerted to the malicious ad in a timely manner.
  7. The malicious ad is removed, but it way too late.

Keep in mind that I’ve only discussed 2 ways malicious ads can ruin your online reputation.  They are many others.

{ 8 comments… read them below or add one }

Jimmy James October 28, 2009 at 8:23 pm

I’ve seen these before and they can be real buggers. Most of the do show the legitmate advert afterwards though so it looks perfectly normal – until a fake AV pops up blocking all your programs :)

Bryan October 29, 2009 at 2:21 am

Matt,

Can you possibly review 2 applications:

PrivacyWares “Privatefirewall” This is the creator of DSA and has many elements like threatfire. Can you do a prevention test on it?

Also, Hitman Pro 3.5 Can you do a clean up test. This combines 5 AV engines via cloud computing. http://www.surfright.nl

I use this all the time for a first quick hit and clean up.

Thanks,

Bryan

malwarekilla October 29, 2009 at 3:08 pm

@Bryan – you read my mind. I’m working on the hitman review right now.

bryan October 29, 2009 at 8:27 pm

Matt thanks can’t wait it is really a great product for a 1st time hit on a system if infected I think. Any thoughts on a prevention video for privacyware’s private firewall? Bryan

f October 30, 2009 at 4:15 am

They could prevent the second one by not alowing them to change links and having a bot check for redirections. And google ads has put some simirouge ads on you site.

John October 30, 2009 at 2:36 pm

I usually use Kaspersky Internet Security 2010
with Anti-banner turned on I never see those Ads turn up Even if it does it only show you a blank ads with nothing in it This is a way to keep me from getting those or annoying ads
The only ads I have seen Is when I use my other computer running on MSSE It says You are selected to bring home blah blah blah at 8:pm 21-oct-2009 Wednesday

So Matt I have a question
Do you think the Anti-Banner thingy will prevent me from getting those Malware Ads?

Dj T 4 October 30, 2009 at 11:12 pm

Good thing I Don’t click on those ads. :)

I saw that the ads are redirecting to a site from ebay, to do a exploit to the computer. Thats very suspicious.

(rover . ebay . com) <—- That site could be suspicious from ebay.

- Dj T 4

ek November 1, 2009 at 6:49 pm

@john
The kaspersky anti-banner feature will block an ad from running. The anti-banner feature should also stop a malicious script that is triggered by the ad. Don’t assume you are safe from ad malware though. There are many forms of malicious ads. Method #1 stated by mat is probably the type of ad you should be worried about. That is assuming you don’t fall for the old “you won a free ipod” trick though.

Leave a Comment

Previous post:

Next post: