You can block them using htaccess by putting something like this in the htaccess file in your root Wordpress directory:
Order Deny,Allow
Deny from 123178.456238.789232.123234
Obviously replace 123.456.789.123
with the ip addresss you want to block