The black hat hackers are the criminal element, doing things that are illegal or immoral in order to make money or simply for vandalism.  White hat hackers are often individuals hacking for the fun or the challenge with no intention to harm any of the computers they compromise. 