BotMiner: clustering analysis of network trafﬁc for protocol- and structure-independent botnet detection