Malvertising is the practice of using internet based advertising to spread malicious software (or malware).
Malvertising can be particularly nasty as it is delivered through websites that users would normally consider highly reputable. A recent example high profile site is MSN Norway.
The malvertising attack vector
Typically malvertising is a flash based attack where malicious code is written in ActionScript and then heavily obfuscated in an attempt to hide it’s true nature. The common attack is a cross site scripting attack to misdirect the user to a different destination.
How can you protect yourself from malvertising
As an end user there is not a lot that you can do to protect yourself from this type of attack, as not having flash installed is not a terribly practical solution. To a large extent you are reliant on flash, the browser, operating system and website owner to do the right thing.
As a site owner, you have two main ways to protect yourself.
- Don’t show flash ads on your site. Only show image based or text based advertising.
- Insist that your advertising provider has a policy and process for checking all their flash based ads.
If you are interested in the technical process of how to check ads, there are a number of tools available such as SWFIntruder.
