To start a career in ethical hacking, learn networking, Linux and Python, practise legally on TryHackMe and Hack The Box, earn CompTIA Security+ and then a hands-on certification such as eJPT or OSCP, build a portfolio of written lab reports, and apply for junior penetration tester or SOC analyst roles. Only ever test systems you own or have written permission to test.
Key takeaways
- Ethical hacking means authorised testing only: written permission is what separates it from a crime.
- The fastest route is foundations, then hands-on labs, then Security+, eJPT and OSCP in that order.
- Employers hire proof of skill: lab write-ups, CTF results and a home lab beat a long list of certificates.
Ethical hackers get paid to break into systems — with permission — and then explain how to fix them. It sounds like a dream job, and for the right person it is. But the path in is practical, not mysterious: foundations, hands-on labs, a few well-chosen certifications and proof you can do the work.
What is ethical hacking?
Ethical hacking is authorised security testing: finding weaknesses in systems, networks and applications with the owner's written permission, then reporting them so they can be fixed before criminals exploit them.
The work is also called penetration testing, offensive security or red teaming, though those terms describe different scopes. A penetration test is a bounded engagement against defined systems. Red teaming is broader, simulating a real attacker across people, processes and technology. Ethical hacking covers all of it.
The line that matters is permission. The same technique is a career when you have written authorisation and a crime when you do not. In the US, unauthorised access is illegal under the Computer Fraud and Abuse Act, and most countries have equivalent laws. Never test a system you do not own or have written permission to test — not even to "help".
What does an ethical hacker do day to day?
An ethical hacker spends most of the day testing, documenting and explaining. The glamorous part — finding a vulnerability — is a fraction of the job; the report that makes it fixable is the deliverable.
A typical engagement starts with scoping: what is in bounds, what is off limits, and what the client wants tested. Then comes reconnaissance, scanning, vulnerability analysis and exploitation, followed by careful documentation of each finding with its impact and a fix. Many testers also retest after the client patches.
Roles differ. A junior penetration tester runs standard tests and writes findings. A web application tester focuses on the OWASP Top 10 — injection, broken access control, misconfiguration and similar flaws. A red teamer emulates a full attacker campaign, mapped to techniques in MITRE ATT&CK. A bug bounty hunter works independently, reporting flaws to vendors for rewards.
What skills do you need to become an ethical hacker?
You need six foundations before advanced hacking makes sense: networking, Linux, scripting, web technology, security concepts and clear writing. Without networking, you cannot understand what you are attacking.
Networking comes first: TCP/IP, DNS, HTTP and HTTPS, ports and protocols, and how to read traffic in Wireshark. Linux is next, because most targets and most tools run on it — learn the command line, file permissions, services and Bash. Python is the usual first scripting language; you will use it to automate scans and write small tools.
Then learn web technology: how browsers, cookies, sessions and databases work, because most entry-level work is web testing. Add core security ideas — authentication, encryption, access control and common vulnerability classes — and practise writing: every finding you report must be clear enough for a developer to fix.
How do you start? A 12-month roadmap
A realistic roadmap runs in four phases over about a year: foundations in months 1–3, hands-on labs in months 4–6, certification and portfolio in months 7–9, and job hunting in months 10–12.
Months 1–3: foundations
Study networking with free resources such as Professor Messer, install Linux (Ubuntu or Kali in a virtual machine), and learn Python basics. Set up a home lab with VirtualBox, Kali Linux and a deliberately vulnerable target such as Metasploitable 2 — all free. Learn Wireshark by watching real DNS queries and TCP handshakes on your own network.
Months 4–6: hands-on labs
Work through TryHackMe learning paths and the OverTheWire Bandit wargame, then start web hacking with DVWA and PortSwigger's free Web Security Academy. Your goal by month 6: explain the OSI model, exploit DVWA at medium difficulty, and root three easy retired Hack The Box machines on your own, documenting your method for each.
Months 7–9: certify and build proof
Take CompTIA Security+ first, then a hands-on certification such as eJPT. Write up five of your best lab machines as short penetration test reports: scope, method, findings with screenshots, impact and remediation. Publish them on a blog or GitHub — this portfolio is what interviewers actually read.
Months 10–12: apply
Apply for junior penetration tester, SOC analyst and IT security roles, and keep practising. SOC analyst roles are a common entry point: they teach you how defenders detect attacks, which makes you a better attacker later. Tailor each application to the job, and mention your lab reports by name.
Which certifications matter most?
Certifications matter, but only the right ones in the right order. Start with Security+, add a hands-on mid-level certification, and treat OSCP as the advanced goal — not the first step.
| Certification | Level | Exam fee (list, Oct 2026) | What it proves |
|---|---|---|---|
| CompTIA Security+ | Entry | About $439 | General security knowledge; recognised by many employers and US government roles |
| INE eJPT | Entry / hands-on | About $249 | Practical penetration testing in a lab exam, not multiple choice |
| TCM Security PNPT | Intermediate | About $499 with training | Hands-on network and web testing with a written report |
| EC-Council CEH | Intermediate | $950–$1,199 voucher | Broad ethical hacking theory; HR recognises it, technical teams respect it less |
| OffSec OSCP | Advanced | About $1,649 and up | Hands-on 24-hour lab exam; the industry-respected standard |
| CompTIA PenTest+ | Intermediate | About $439 | Planning, scoping and reporting penetration tests |
Fees are list prices reported in October 2026 certification guides; confirm the current price on the vendor's page before you pay, because they change often. The widely recommended path — Security+, then eJPT, then OSCP — costs roughly $2,300 in exam fees and beats the CEH route on credibility for less money, according to the 2026 roadmap guides. Only take CEH if a target employer specifically asks for it, or pays for it.
Where can you practise legally?
Practise only on systems built for it: TryHackMe, Hack The Box, PortSwigger Web Security Academy, DVWA and Metasploitable in your own lab. Never scan or test a live website without written permission.
TryHackMe is the friendliest starting point, with guided paths that teach as you go. Hack The Box is harder and closer to real work; its retired machines have public write-ups you can learn from. PortSwigger Web Security Academy is free and is the best way to learn web vulnerabilities properly, lab by lab. Capture-the-flag (CTF) competitions add time pressure and teamwork, and they look good on a CV.
Keep a lab notebook. For every machine you root, record the goal, the tools you used, the vulnerability, the exploit steps and the fix. That notebook becomes your portfolio and your interview preparation in one.
How do you get your first job?
Apply for junior penetration tester and SOC analyst roles with a short CV, a one-page portfolio of lab reports, and a cover note that names a specific finding you made. Hiring managers read proof, not adjectives.
Your portfolio should include five written reports, your TryHackMe or Hack The Box profile, and any CTF participation. In interviews, walk through one machine end to end: how you found the vulnerability, how you exploited it, and how you would fix it. That story matters more than listing tools.
Network in the community: local security meetups, OWASP chapter events, Discord servers for TryHackMe and Hack The Box, and conferences with student or volunteer tickets. Many junior roles are filled through people who have seen your work, not through cold applications alone.
What mistakes should beginners avoid?
The most common mistakes are collecting certificates instead of skills, attempting OSCP too early, and practising on live systems without permission. Each one wastes money, time or your future.
- Certificate collecting. Five entry-level certificates prove less than one hands-on exam plus five written reports.
- Skipping networking. If you cannot explain DNS and TCP, advanced tools will feel like magic — and fail silently.
- Testing without permission. Scanning a real company "to help" is illegal and can end a career before it starts.
- Copying write-ups. Reading a solution then repeating it teaches little. Try first, struggle, then read.
- Ignoring defence. Understanding how SOC analysts detect attacks makes your testing realistic and your reports credible.
Where can you specialise later?
After two or three years, specialise: web application testing, cloud security, red teaming, mobile testing or reverse engineering. Specialists earn more and compete less than generalists.
Web specialists go deep on the OWASP Top 10 and earn the Burp Suite Certified Practitioner credential. Cloud specialists learn AWS, Azure or GCP security and the relevant specialty certifications. Red teamers study MITRE ATT&CK in depth and learn social engineering, physical access and persistence. Later, leadership paths open through CISSP or CISM — but those are management credentials, not hacking ones.
For a broader security starting point, our small business cybersecurity checklist shows the controls you will be testing against in real engagements.
The bottom line
Ethical hacking is a skill you build in public, one lab at a time. Learn the foundations, practise legally, certify in the right order, and prove your skill with written reports.
Start this week: install a Linux virtual machine, work through one TryHackMe path, and write up what you learn.
You can check your own learning setup's basics with our free security headers checker — and in a year, that notebook could be your job application.
If you are also securing your own devices, see how to remove a virus from iPhone.
Frequently asked questions
What is ethical hacking?
Ethical hacking is testing computer systems, networks and applications for security weaknesses with the owner's written permission, then reporting the findings so they can be fixed. It is the same skill set as criminal hacking, used legally and with consent.
Do I need a degree to become an ethical hacker?
No. Most employers care more about demonstrable skill than a degree. A degree can help, especially for government roles, but a strong lab portfolio, certifications and CTF results can open the same doors.
How long does it take to become an ethical hacker?
With focused study of 10 to 15 hours a week, most beginners reach a job-ready foundation in 9 to 18 months. That includes networking and Linux basics, web hacking practice, one entry certification and a small portfolio of written reports.
Which certification should I get first?
CompTIA Security+ is the usual first certification because many employers and government roles recognise it. After that, a hands-on certification such as eJPT or PNPT proves practical skill, and OSCP is the respected advanced goal.
Is ethical hacking legal?
Yes, when you have written permission from the system owner, work inside the agreed scope, and follow the law in your country. Testing without permission is illegal in the US under the Computer Fraud and Abuse Act and under similar laws elsewhere.
How much do ethical hackers earn?
Pay varies widely by country, experience and role, so treat any single figure with care. Junior penetration testers earn less than senior consultants and red team leads. Check current salary data for your region before planning around a number.
What is the difference between ethical hacking and penetration testing?
Ethical hacking is the umbrella term for all authorised offensive security work. Penetration testing is one discipline under it: simulating a real attack against defined systems to find weaknesses before criminals do.
Can I learn ethical hacking for free?
Yes, the foundations are free. TryHackMe and Hack The Box have free tiers, PortSwigger Web Security Academy is free, OWASP resources are free, and Kali Linux is free. Paid certifications are the main cost.
Sources
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.
Checked against 2026 certification pricing guides, the OWASP Top 10 and MITRE ATT&CK.
How we write and fact-check →