Ethical hacking is the practice of hacking a system or network to improve its security. The role of ethical hacking is to find vulnerabilities that hackers can use for malicious purposes such as stealing data, causing financial loss or other harm.

The difference between a typical hacker and an ethical hacker is simply the nature of the purpose behind the hacking.