Measurements and mitigation of peer-to-peer-based botnets: a case study on storm wor