black hat
noun
Meaning
A villain or bad guy in a story, especially in a Western (a film or other work of the Western genre).
A malicious hacker, one who violates computer security out of maliciousness or for personal gain.