With each progress made in computers and networking technology, come all sorts of new threats to the security of the cyberworld. Many of the recent damaging security incidents are conducted through botnets, therefore effective defense mechanism is in great need. However, one of the difficulties faced by researchers in trying to attack this problem is the lacking of a tool which can automate the process to create a suitable experiment environment according to the scenio conceived by researchers for testing a proposed defense mechanism. In this paper, we discuss the design of such a tool. A prototype of the tool is implemented based on the Zeus Botnet. With the tool, researcher can easily construct an experiment environment to emulate the operation of botnet.