There are 2 aspects here:
1. the fraudulent IPs - this is easy to fix, go to you ad.wor.ds account and simply ban them.
2. "automated click software" - there are many ways to inflate the clicks volume, it appears that some folks use this method to take down the competition. As this is highly unethical (attention, black hat doesn't necessarily mean unethical) I don't recommend click fraud method. You can solve this by denying clicks from those IPs or domain names within ad.wo.rd.s dashboard.
A few words though about fake traffic: if that comes from proxies, that is easily detectable. If the traffic is generated via tunneling connections (e.g., VPN), this is going to be more effective but the initiator of the fraud will expose the whole server and the entire IP class allocated to it, threatening the business of all other legit users.