Ethical hacking is an authorized attempt to gain unauthorized access to a system, access the rest of restricted data, or find vulnerabilities in an application. Ethical hackers are contracted experts or employees whose duty is to identify weaknesses in an organization's system or a network through an ethical hacking process and possibly seal these vulnerabilities.