A study on botnet detection techniques