Showing posts with label countermeasures. Show all posts
Showing posts with label countermeasures. Show all posts

Friday, March 14, 2008

Who Do You Trust?

We place a large amount of trust in big organisations when we browse to their sites - banks, insurance companies, telecoms + technology companies, etc. We assume that they're doing the right thing and have appropriate security measures in place to prevent breaches and ensure the integrity of their sites.

Two recent episodes have taken place that highlight the problems are the whitepages.com.au banner ad injection and the Trend Micro site compromise on one of their Japanese sites.

Now both of these exploits highlight that large organisations have SNAFU moments too. Unfortunately given their market position, and in Trend's case their security reputation, we can tend to trust them too much.

My take on both these exploits is to:

  • regularly review dynamic code injection into your sites (e.g. banner ads); get rid of them where possible and try to restrict the type of content generated.
  • perform regular integrity checks on your sites; create MD5 or SHA1 checksums of your site prior to deployment, then check these checksums regularly. Shut down the site if the checksums change.
  • make sure you have malware protection software and it's up to date; nothing new in this one really.
  • investigate browser add-ons to help prevent malware infection; IE7Pro for Internet Explorer is good, as is NoScript for Firefox

Remember, ultimately you are responsible for the health of your systems. If Trend Micro are able to be compromised, so are you. Don't outsource your security responsibilities. Have a healthy sense of paranoia and apply a "secure by default" mindset when setting up your Web sites and also your Web browser.

Wednesday, February 20, 2008

SPAM - Finding the culprit who sold your e-mail address

One of the (very many) things that annoys me in the IT world is spam. Even more annoying is working out which of the multitude of Web forms I've filled in has then either had its mailing list stolen or sold.

Most of the time I don't bother - I add my Gmail account as the e-mail address to the forms. However there are those Web forms that don't accept hosted e-mail accounts and want you to use your corporate or personal e-mail address.

If you can easily add e-mail aliases to your corporate or personal e-mail address then you might be interested in the following technique.

I run my own mail server, so I've recently taken the step of adding a suffix of ".spamtrack.source.<website>" to my business e-mail address to create a new alias, where <website> is the site that wants my business e-mail address.

So if my e-mail address is me@example.com, then my new alias for a Microsoft Web form becomes me.spamtrack.source.microsoft@example.com.

It's a bit longwinded and fancy looking - I wanted something that looked like an automated system handles it. It also means I can add that later if I bother scripting something to take care of it and auto-mail abuse@ to tell them that my e-mail address has either been stolen or sold. I could possibly even extend it to be something like me.spamtrack.source.microsoft-dont-sell-my-email-you-sods@example.com.

So now I'm able to see who's selling my e-mail address or who has had their mailing lists stolen. And if the spam levels climb up, then I can simply kill the alias.