INTELLIGENT SIMULATION OF NETWORK WORM PROPAGATION USING THE CODE RED AS AN EXAMPLE