Security operations

How to Become an Ethical Hacker: Roadmap, Certs and Salary

Ethical hackers are hired to break into systems with permission and find weaknesses before criminals do. Here is the realistic path — skills, labs, certs and first jobs.

Cysoro Security TeamPublished · 9 min read
$ nmap -sV target80/tcp open http443/tcp open httpsReport: 3 findings1 critical • 2 high SECURITY OPERATIONS Ethicalhacker Break in — with permission.
Quick answer

To become an ethical hacker, build networking, Linux and web security fundamentals, practice only in environments that explicitly authorize testing, learn a structured testing and reporting workflow, and prove your skills with a portfolio of lab work and sanitized reports. Common certifications are CompTIA Security+, PenTest+, EC-Council CEH and OffSec OSCP. The Bureau of Labor Statistics reports a median wage of $129,180 for information security analysts in May 2025, with 21% job growth to 2035.

Key takeaways

  • Ethical hacking is authorized testing only — written permission comes before any test, every time.
  • Hands-on labs and a portfolio matter more than collecting certificates.
  • Start with Security+ and PenTest+, then choose CEH for breadth or OSCP for hands-on proof.

An ethical hacker is hired to break into systems — with permission — and find the weaknesses before criminals do. It is one of the most sought-after roles in security, and one of the most misunderstood. You do not need to be a genius, and you do not need a wall of certificates. You need fundamentals, authorized practice, and proof you can find and explain real problems.

What is an ethical hacker?

An ethical hacker, also called a white hat hacker, uses the same tools and techniques as attackers, but only on systems the owner has authorized them to test. The goal is to find vulnerabilities, show how they could be exploited, and explain how to fix them.

NIST defines penetration testing as security testing in which evaluators mimic real-world attacks to identify ways to circumvent the security features of an application, system or network. Ethical hacking is the broader umbrella: penetration testing is one discipline under it, alongside red teaming, web application testing and social engineering assessments.

The work is not only technical. A tester who finds a critical flaw but cannot explain it clearly to a developer or a manager has done half the job. Reporting, risk rating and remediation advice are as important as the exploit itself.

What does an ethical hacker actually do?

A typical engagement starts with a written scope: which systems, which IP ranges, which accounts, and what is off limits. The tester then follows a repeatable methodology — reconnaissance, scanning, exploitation, privilege escalation, and reporting — and documents every step.

Day to day, the work includes reading code and configurations, testing web applications against the OWASP Top 10, checking network services for weak credentials and unpatched software, and testing whether a phishing email would lead to a foothold. Some testers specialize in web apps, others in networks, cloud, mobile, or Active Directory.

After the test, the tester writes a report that ranks findings by risk, shows proof of each issue, and gives concrete fixes. The best reports are short, honest about what was not tested, and useful to the people who have to fix the problems.

What skills do you need to become an ethical hacker?

Six skill areas get screened in the first round of hiring. Master these before you chase advanced topics, because everything else builds on them.

SkillWhy it mattersHow to learn it
NetworkingYou cannot hack what you do not understand at the packet levelTCP/IP, DNS, HTTP, Wireshark
Linux command lineKali is your workspace; most tools run from the terminalDaily use, OverTheWire Bandit
Python scriptingAutomate recon, parse scans, build small toolsWrite a port scanner, parse Nmap output
Web securityRoughly 80% of real pentest findings are web issuesOWASP Top 10, PortSwigger Academy
Windows and Active DirectoryMost corporate networks run on themHome lab with a domain controller
Reporting and communicationFindings only matter if people act on themWrite a report for every lab machine

Do not try to learn thirty skills at once. Depth in networking, Linux and web security will get you further than a shallow tour of everything. Add cloud, mobile or Active Directory specialization later, once you have a job or a clear target role.

How do you become an ethical hacker step by step?

There is no single mandatory degree, certification or career sequence. The path below is the one that works for most people, and it can be followed part-time alongside a job.

A 12-week starting roadmapWeeks 1–3Networking, Kali,Wireshark, VirtualBoxWeeks 4–6Linux, Python,OverTheWire BanditWeeks 7–9OWASP Top 10,DVWA, PortSwiggerWeeks 10–12TryHackMe, HackThe Box, 3 machinesBy week 12: explain the OSI model, exploit DVWA, root three easy machines.
Twelve weeks of fundamentals, labs and documented practice. Illustration by Cysoro.
  1. Learn IT and networking fundamentals. TCP/IP, DNS, HTTP, how a request travels from browser to server. Use Wireshark to watch real packets.
  2. Get comfortable with Linux and Windows. Install Kali Linux in VirtualBox, learn the command line, and set up a vulnerable lab such as Metasploitable or DVWA.
  3. Learn core security concepts. Authentication, authorization, encryption, and how vulnerabilities are scored and tracked.
  4. Practice only in legal, authorized labs. TryHackMe, Hack The Box, PortSwigger Web Security Academy and OverTheWire are built for this.
  5. Learn a structured testing workflow. NIST SP 800-115 describes the phases of planning, conducting and evaluating security assessments — use it as your methodology.
  6. Build a portfolio. Sanitized reports, scripts, lab write-ups and remediation thinking, all in a public GitHub or blog.
  7. Choose education or certifications that match your gaps and your target role, not the ones with the loudest marketing.
  8. Gain related experience. IT support, network administration, security operations, internships or bug bounties all count.

Job-ready skills typically take several months of self-study to about a year with a structured course path. Do not rush the fundamentals to reach the exam — employers test them in interviews anyway.

How do you get hands-on experience legally?

Practice only where you have explicit authorization. That means lab platforms, vulnerable virtual machines, and bug bounty programs with a published scope. Never test a live website, a company network, or a friend's account without written permission.

Start with TryHackMe and Hack The Box for guided rooms and retired machines, PortSwigger's free Web Security Academy for web hacking, and OverTheWire's Bandit wargame for Linux. Set up your own lab with VirtualBox, Kali Linux and a vulnerable target such as DVWA or Metasploitable 2 — all free.

Document everything. For each machine you root, write a short report: what you found, how you exploited it, what the risk is, and how to fix it. Three well-written reports are worth more to a hiring manager than thirty machines with no write-ups.

Written permission is not optionalTesting without authorization is illegal under the Computer Fraud and Abuse Act in the US and equivalent laws elsewhere, even if your intentions are good. Get the scope in writing before you touch a target.

Which certifications help you get hired?

Certifications structure your learning and help you get past resume filters, but they do not replace hands-on skill. Choose based on your level, your target role, exam style and cost.

CertificationBest fitFormatCost (US, Nov 2026)
CompTIA Security+First cert, baseline securityKnowledge examCheck the CompTIA store for the current voucher price
CompTIA PenTest+Vendor-neutral pentestingKnowledge plus performance-based$439 voucher
EC-Council CEH v13Broad ethical-hacking knowledge125 multiple-choice questions, 4 hours$950 online voucher plus $100 application
OffSec OSCP / OSCP+Hands-on proof24-hour practical exam plus report$1,699 standalone exam; $1,749 with PEN-200 and 90 days of labs
INE eJPTEntry-level practical pentestingPractical, auto-graded$250 voucher
TCM Security PNPTPractical pentesting with trainingPractical exam$499 with training included

CEH prices are from EC-Council's published voucher and application fees, and OSCP prices from OffSec's published pricing, as reported in October–November 2026 comparisons. Confirm the current checkout price before you pay, because fees change. CEH requires official training or two years of experience plus a $100 application; OSCP has no formal experience requirement but is the hardest exam on this list.

Renewal matters too. CEH runs on a three-year cycle with 120 continuing education credits and an $80 annual fee. OSCP itself does not expire, while OSCP+ expires after three years. PenTest+ is the cheapest route on this table and a sensible second certification after Security+.

What tools should an ethical hacker learn?

Tools change; methodology does not. Learn the tools that employers expect, but understand what each one does rather than memorizing button clicks.

  • Reconnaissance: Nmap for port and service discovery, and DNS and WHOIS tools for mapping a target.
  • Web testing: Burp Suite for intercepting and testing web traffic, and OWASP ZAP as a free alternative.
  • Exploitation: Metasploit for known vulnerabilities, and manual techniques for the rest.
  • Password testing: Hashcat and John the Ripper, used only on hashes you are authorized to test.
  • Packet analysis: Wireshark for understanding what is really on the wire.
  • Scripting: Python for automation, and Bash for glue work.

Every tool on this list is legal to own and use in a lab. The line is not the tool — it is the target and the authorization. Keep your lab separate from your work network, and never run scanners against systems you do not own or have permission to test.

How much do ethical hackers earn?

The Bureau of Labor Statistics does not publish a separate category for ethical hackers, so the closest official figure is for information security analysts. The median annual wage for information security analysts was $129,180 in May 2025, and employment is projected to grow 21 percent from 2025 to 2035, much faster than the average for all occupations.

Information security analysts — BLS$129,180Median pay, May 2025per year21%Job growth2025–2035~14,100Openings per yearprojectedSource: US Bureau of Labor Statistics, Occupational Outlook Handbook.
Median pay is for all experience levels, not starting pay. Illustration by Cysoro.

That median covers all experience levels, not starting pay. Entry-level analysts earn less, and senior penetration testers, red teamers and consultants earn more, especially in major cities and in finance, technology and government. Region, industry, clearance and specialization all move pay by 10% to 25% or more.

The BLS also projects about 14,100 openings per year for information security analysts. Demand is strong, but it is demand for people who can prove skill — which is why the portfolio matters as much as the certificate.

What career paths open up after ethical hacking?

Penetration testing is the most direct path, but it is not the only one. Ethical hacking skills transfer to security analysis, red team operations, application security, cloud security, and incident response.

  • Penetration tester: scoped tests of networks, web apps and infrastructure.
  • Red teamer: long, multi-stage simulated attacks against an organization's defences.
  • Application security engineer: finding and fixing flaws in code and design.
  • Security analyst: monitoring, triage and incident response in a security operations centre.
  • Bug bounty hunter: independent testing under published programs, paid per finding.

Many testers move between these roles over a career. A penetration tester who learns cloud security becomes a cloud pentester; one who learns Active Directory becomes a red teamer. Specialize after you have the fundamentals, not before.

To see what the businesses you will test actually need to fix, read our small business cybersecurity checklist.

What mistakes do beginners make?

The most expensive mistake is collecting certificates without building skill. A resume with five certifications and no lab write-ups tells a hiring manager you can pass exams, not that you can find vulnerabilities. Do the labs first, then certify what you already know.

Other common mistakes include skipping networking fundamentals, practicing on live systems without permission, and never learning to write. A tester who cannot write a clear report will not get hired, however good their technical skills are. And do not pay for an expensive bootcamp before you have tried the free labs — many people discover they love the work, or hate it, within a few weeks of free practice.

For a practical starting point, test your own passwords with our password strength checker to see what weak credentials look like from an attacker's side.

The bottom line

Becoming an ethical hacker takes fundamentals, authorized practice, and proof — in that order. Learn networking, Linux and web security, practice in legal labs, document your work, and certify strategically with Security+, PenTest+, and then CEH or OSCP depending on your target role.

The job outlook is strong, with 21% growth projected to 2035, but the market rewards demonstrated skill over credentials alone. Start this week: install Kali in a virtual machine, work through the free PortSwigger labs, and write up your first finding. You can check your own site's exposure with the free security headers checker.

Frequently asked questions

How long does it take to become an ethical hacker?

Most people take 12 to 24 months of focused study and practice to become job-ready for a junior role, depending on their starting point. People with IT or networking experience move faster; complete beginners should expect at least a year of fundamentals, labs and portfolio work.

Do you need a degree to become an ethical hacker?

No, a degree is not strictly required, though many employers prefer one. The Bureau of Labor Statistics lists a bachelor's degree as the typical entry-level education for information security analysts, but notes that some enter with a high school diploma plus training and certifications. A strong portfolio can outweigh a degree.

Is ethical hacking legal?

Yes, when you have written authorization to test the specific systems in scope. Testing without permission is illegal under laws such as the Computer Fraud and Abuse Act in the US and equivalent laws elsewhere, even if your intentions are good. Always get written permission first.

Which certification should I get first?

CompTIA Security+ is the usual first certification, because it validates baseline security knowledge and helps with resume filters. CompTIA PenTest+ is the natural next step for penetration testing. CEH suits people whose target employer names it; OSCP suits people ready for a demanding hands-on exam.

How much do ethical hackers earn?

Pay varies by role, experience and location. The Bureau of Labor Statistics reports a median annual wage of $129,180 for information security analysts in May 2025. Entry-level pay is lower, and senior penetration testers and red teamers earn more, especially in major cities.

Can I learn ethical hacking for free?

Yes, the fundamentals are free: Kali Linux, VirtualBox, OWASP Web Security Academy, TryHackMe free rooms, Hack The Box free machines, and OverTheWire wargames. Paid labs and certifications help, but you can build a strong portfolio without spending much at first.

What is the difference between ethical hacking and penetration testing?

Ethical hacking is the umbrella term for all authorized offensive security work. Penetration testing is one discipline under it: simulating real attacks against defined, scoped systems. Other specializations include red teaming, web application testing and social engineering assessments.

Sources

  1. US Bureau of Labor Statistics — Information Security Analysts
  2. NIST — Technical Guide to Information Security Testing and Assessment (SP 800-115)
  3. NIST CSRC — Penetration testing glossary
  4. CISA — Small and Medium Businesses
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the US Bureau of Labor Statistics Occupational Outlook Handbook, NIST SP 800-115, and certification pricing reported from EC-Council, CompTIA and OffSec pages in October–November 2026.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free