How to become a penetration tester: the path, the work, and the parts nobody mentions
What a penetration tester actually does all week, the prerequisites that are not optional, how to practise legally, and how the first role usually arrives.
A penetration tester is paid to break into systems with permission and then write down, clearly, how it was done and what to fix. If you searched for how to become a penetration tester, the honest route is: learn networks, web, Linux and one scripting language until you can read other people's code; practise on labs and CTFs until you can find things unprompted; produce written proof of that; and apply to consultancies and junior roles where someone senior will review your work. For most people that's a couple of years of steady effort. There is no shortcut I'd put my name to.
What the job actually is
An engagement has four phases, and only one of them is hacking.
Scoping. Before anything is touched, someone agrees in writing which hosts, applications, accounts and time windows are in scope, what is excluded, and who to call if something breaks. A tester who skips this is not a tester, they're a defendant.
Testing. Reconnaissance, mapping the attack surface, then trying things: authentication flaws, broken access control, injection, misconfiguration, weak trust between components. This is the part people picture; it's also mostly reading responses that say nothing interesting.
Writing the report. Every finding needs a reproduction a stranger can follow, an impact statement in the client's own terms, a severity with reasoning, and a fix their developers can implement. The report is the product. The client never sees the hacking; they see the document.
Explaining it. A readout call with people who did not want to hear that their flagship app has an IDOR in the invoices endpoint. You'll defend severities, concede where you're wrong, and translate "chained to admin" into plain consequences.
In my experience the work divides roughly half testing, half writing, talking and admin. New entrants expect it to be nearly all testing. That gap is where early disappointment lives.
The prerequisites that are not optional
You can't test what you don't understand. Five things, in the order I'd learn them:
- Networking. TCP/IP, DNS, TLS, HTTP at the level of reading a raw request and knowing what every header does. Wireshark and
curl -vshould feel ordinary. - Web. How a browser, a server and a database talk. Sessions, cookies, same-origin policy, how authentication and authorisation differ. Most commercial testing is web and API work.
- Linux. Living in a shell: processes, permissions, services, logs. Not memorised commands, but the ability to find out what a box is doing.
- One scripting language. Python, usually. You'll write small tools constantly: a loop that hits an endpoint with a thousand IDs, a decoder for a token.
- Reading code. If you can trace a request from a route handler to a database query, you can find injection by reading rather than guessing.
The site's cybersecurity roadmap orders these for a complete beginner. If you're already a developer, you're perhaps halfway through this list without realising it.
How to become a penetration tester through practice
Knowledge becomes skill only on targets you're allowed to attack. Three kinds, each with a trade-off.
| Practice | What it teaches | What it doesn't |
|---|---|---|
| Guided labs (TryHackMe, PortSwigger's Web Security Academy, Hack The Box) | Mechanisms, one at a time, with a known answer | Working when nobody tells you a vulnerability is present |
| CTFs | Speed, creativity, working from zero | Realistic scope, reporting, restraint |
| Bug bounty | Real targets, real triage, real ambiguity | Structure; it's easy to burn months and find nothing |
Start with labs. PortSwigger's academy at portswigger.net/web-security is free and is the best web testing resource I know of; work through it rather than clicking to the solution. Rohan's post on free platforms to learn hacking legally orders the rest.
Move to CTFs once labs feel comfortable. Ritika's CTFs for beginners covers how to start without quitting in week two.
Bug bounty last, and carefully. Read the programme's scope before you send a single request. Out-of-scope testing on a bounty programme is unauthorised access with extra paperwork, and "I was going to report it" is not a defence. Treat bounty as practice in scope discipline as much as in finding bugs.
Whatever you do, write it up. A public repository of lab walkthroughs in your own words, explaining the mechanism and not just the steps, is the strongest thing a candidate with no job history can show me.
Certifications, at concept level
Practitioners respect certifications with a hands-on practical exam: a target environment, a time limit, and a report to write afterwards. The report component matters, because it mirrors the job. Multiple-choice exams prove you can recognise the definition of a vulnerability, which is a different skill from finding one. Komal wrote the longer version in Is CEH worth it.
Two caveats. Syllabi, formats and fees change, so check the vendor directly. And a certification gets you past a filter; it doesn't get you through an interview.
Getting the first role
The entry points, roughly in order of how often I see them work:
- Consultancies with a junior or associate grade. A pipeline of varied engagements and senior people whose job includes reviewing your reports. The variety is the education.
- Internal security teams. Fewer pure testing roles, but adjacent work (application security, vulnerability management) that becomes testing within a year or two.
- Lateral moves from development or operations. A developer who understands web and has done the labs is a strong junior tester. Say so in the application.
- Bounty and CTF results, as evidence rather than as a job in themselves.
In interviews, expect to explain a lab vulnerability end to end. The candidates who do well talk about mechanism: what trust the application placed where, and why it was wrong.
The parts nobody mentions
Report writing is the job. Not a chore after the job. A finding that isn't reproducible from your write-up doesn't exist as far as the client is concerned, and a severity you can't justify will be argued down. If you hate writing, you'll hate this career. Practise now: for every lab you complete, write the report you'd send a client.
Scope and authorisation are the law. The only difference between a penetration tester and a criminal is a signed document. Not intent, not skill. Test the wrong IP because someone pasted a range wrongly and you have a legal problem regardless of intentions. I check the scope document before every session, and I'd expect anyone I work with to do the same.
Burnout is structural. Engagements have fixed days, and the days don't stretch when the application turns out bigger than scoped. Travel, back-to-back deadlines and the quiet "did I miss something" wear people down. Ritika's piece on SOC analyst burnout is about a different queue, but the diagnosis carries: the problem is usually the structure of the work, not the person. Pick employers who scope honestly.
Frequently asked questions
Do I need a degree to become a penetration tester? No. Some employers filter on one, many don't. What every employer wants is evidence you can find vulnerabilities and write them up. A public body of lab write-ups plus a practical certification is often the more convincing signal.
How long does it take? From no technical background, expect around two years of consistent study and practice before you're employable as a junior. A working developer or sysadmin can often get there in under a year. Anyone promising weeks is selling something.
Is penetration testing the same as bug bounty? No. Testing is scoped, time-boxed, paid regardless of findings, and ends in a report. Bounty is unscoped in time, paid only on accepted findings, and competitive. Bounty is good practice for testing and a poor substitute for a first job.
Is it legal to practise on my own? Only on systems you own or have written permission to test. Labs, CTFs and in-scope bounty programmes exist precisely so you never need to touch anything else. Scanning a random website "just to see" is unauthorised, however harmless it feels.
Pick one PortSwigger lab tonight, solve it, and write the finding up as if a client were going to read it: reproduction, impact, fix. That document is the first line of your portfolio.