October 24, 2003

Flea: New EMail Virus tried to attack me

Well, apparently there is a new worm out there called Flea. This little sucker can execute automatically when users open HTML formatted emails in Microsoft Outlook or Outlook Express. Unlike most Windows nasties, the bug does not depend on a user opening an infectious file to do its mischief, and guess what... I almost infected myself.

I say almost, because a funny thing happened. My latest work with my Intrusion Prevention System (IPS) that provides mandatory access control included a new feature this week. I added the ability to shield the 'Windows base install directory' from untrusted access. This was acomplished by setting a security policy which allows read and execute access to the systemroot directory (normal c:\windows in XP) and all its subdirs, but prompts the administrator with a default DENY if anyone attempts to write or delete anything in the Windows directory, unless its Windows Update.

Well guess what? This morning in my inbox seemed to be a harmless message that passed my Spamassassin server filter and my host-based anti-virus scanner. When I clicked on it I was prompted from my IPS code that there was an attempt to write to the Windows directory, something I know I didn't ask for. I clicked the "Deny Access" button and the attack ended. It hence stopped the propogation dead in its tracks, and the 'Flea" was dead.

I am kinda happy I added that feature this week. It has already paid for itself by protecting me. The anti-virus product I use from NAI didn't have a signature for this beast. And there lies the problem with all such products, not just NAI. Signature based policy enforcement alone is not enough. Strong security policies which use anomoly detection with least privilege go a lot further.

In my case, I was protected from this unknown threat because I already determined that there is no reason for anyone or anything to write to the Windows base system unless it is Windows Update itself. (Well to be honest there are some other policies as well to allow logging etc, but that is out of scope of what we are talking about) In applying this policy, it doesn't matter if a new strain of this attack occurs. Its propagation is revoked because it goes against the nature of the policy defined.

Man what a neat way to see my code work in action when I wasn't expecting it! Good way to end a great coding week!

Posted by SilverStr at October 24, 2003 11:45 AM | TrackBack
Comments

Kudos. Wish I would have had some code like that on one of my user's desktops earlier this week.

Posted by: fozbaca at October 24, 2003 12:06 PM

Sounds pretty cool. You're still running outlook express again why? :)

Posted by: Arcterex at October 24, 2003 12:57 PM