Ethical hackers can earn substantial salaries. Companies hire them to identify and fix security vulnerabilities. Examples include security consultants or penetration testers working for reputable cyber security firms.