Ethical hacking is a term meant to imply a broader category than just penetration testing. Contrasted with black hat, a malicious hacker, the name comes from Western films, where heroic and antagonistic cowboys might traditionally wear a white and a black hat respectively.It is the act of locating weaknesses and vulnerabilities of computer and information systems by duplicating the intent and actions of malicious hackers