1. White hat hackers These are the good guys. White hat hackers use their skills to expose vulnerabilities and help organizations fix them before they can be exploited by bad actors. Many white hat hackers started out as black hat hackers before seeing the error of their ways and turning to the light side.
2. Black hat hackers As you might expect, black hat hackers are the bad guys. They use their hacking skills to exploit vulnerabilities for personal gain. Black hat hacking is a criminal activity and those who engage in it can face serious legal consequences.