It takes 12 hours to recover from a distributed denial of service attack on average, according to recent research.