A term used in hacker culture to describe a typical cybercriminal who uses their knowledge and skills to carry out criminal activities: hacking programs/websites, stealing data, encrypting information to extract a ransom. Unlike ethical hackers (white hats), who help improve system security, black hats are motivated purely by material gain or public recognition.
The term comes from US Westerns, where the bad guys often wore black hats.