Automatic Defense Against Zero-day Polymorphic Worms in Communication Networks