Building Skills Legally and Working in the Field
Set up a safe practice lab, learn through capture-the-flag events and bug bounties, compare common certifications, and explore careers in offensive security.
Welcome back!
Step 1 of 12Learn
Where practice is allowed
Every ethical hacker needs practice, and every one of them must answer the same question: where can I practice without breaking the law? The answer is: on systems you own or have explicit permission to test. Fortunately, there's an enormous amount of legal practice material.
A home lab is the foundation. With free virtualization software such as VirtualBox or VMware Workstation Player, you can run several virtual machines on one computer:
- An attacking machine, commonly a security-focused Linux distribution such as Kali Linux or Parrot OS, which come with hundreds of tools preinstalled.
- Target machines that are deliberately vulnerable: web apps like OWASP Juice Shop and DVWA, or intentionally insecure virtual machines published for training.
- A private, isolated virtual network connecting them, so nothing you do reaches the real internet or other people's devices.
Isolation matters. Vulnerable machines should never be exposed to the internet, where real attackers would find them, and your testing traffic should never leak onto networks you don't control, such as a school or employer network.
Online platforms offer legal targets in hosted labs: guided learning paths and vulnerable machines on platforms such as TryHackMe, Hack The Box and PortSwigger's free Web Security Academy, which teaches web vulnerabilities with interactive labs.
Step 2 of 12Practice · Select all that apply
Which of these are legal ways to practice hacking techniques? Select all that apply.
Select all that apply.
Step 3 of 12Learn
Capture the flag and bug bounties
Capture the flag (CTF) competitions are the sport of security. Players solve challenges to find hidden strings called flags. Two main formats exist:
- Jeopardy-style CTFs offer a board of challenges in categories such as web, cryptography, reverse engineering, forensics and binary exploitation, with points for each solve. Beginner-friendly events like picoCTF, run by Carnegie Mellon University for students, start from the basics.
- Attack-defense CTFs give each team servers to defend while attacking other teams' identical servers, closer to real operations.
CTFs build problem-solving speed, teach techniques across many areas, and connect you with a community. Writeups, published solutions after an event, are one of the best ways to learn.
Bug bounty programs let you test real production systems legally, as long as you follow each program's rules exactly: stay in scope, avoid prohibited techniques such as denial of service or social engineering, don't access other users' data beyond what's needed to prove an issue, and report through the platform. Rewards range from thanks and swag to substantial payments for critical flaws.
Bug bounties are competitive. Beginners often find more success first with vulnerability disclosure programs, which offer recognition rather than money, and by focusing deeply on one vulnerability class or one type of application. Clear, reproducible reports matter as much as finding the bug.
Step 4 of 12Tap to reveal
A simple four-step home lab plan
1. Install a hypervisor
Install free virtualization software on a computer with enough RAM, ideally 16 GB, so you can run two or three virtual machines at once.
2. Create an isolated network
Use a host-only or internal virtual network so your lab machines can reach each other but not the internet or your home devices.
3. Add an attacker and a target
Set up a security-focused Linux machine as the attacker and a deliberately vulnerable app or virtual machine as the target. Take snapshots so you can reset broken machines in seconds.
4. Keep notes like a professional
Document every step, command and finding, then write a short report for each target. Report writing is a skill employers test, and your notes become a portfolio.
Step 5 of 12Practice · True or false
Joining a company's bug bounty program authorizes you to test any system owned by that company, using any technique.
Step 6 of 12Learn
Certifications and skills employers look for
Certifications aren't required to work in security, but they can help you get past résumé filters and structure your learning. Commonly mentioned ones:
- CompTIA Security+: a broad entry-level certification covering security fundamentals, widely requested for junior roles and many government jobs.
- CompTIA PenTest+: an intermediate certification focused on penetration testing processes and reporting.
- EC-Council Certified Ethical Hacker (CEH): a well-known certification covering a wide range of attack concepts and tools.
- OffSec Certified Professional (OSCP): a respected, hands-on certification with a long practical exam in which candidates must compromise lab machines and write a professional report.
- Specialized options exist for web testing, cloud security, red teaming and more.
More important than any single certificate are the skills underneath:
- Networking: TCP/IP, DNS, HTTP, routing and common protocols.
- Operating systems: Linux command line and Windows administration, including Active Directory.
- Programming and scripting: Python, Bash or PowerShell for automation, plus enough web development to understand how applications work.
- Web technologies: HTTP, cookies, sessions, APIs and common frameworks.
- Communication: writing clear reports and explaining risk to non-technical people.
A portfolio helps too: CTF results, writeups of retired lab machines, open-source tools or responsibly disclosed vulnerabilities with permission to share.
Step 7 of 12Compare
Common certifications at a glance
| Aspect | Security+ | PenTest+ | CEH | OSCP |
|---|---|---|---|---|
| Level | Entry | Intermediate | Intermediate | Intermediate to advanced |
| Focus | Broad security fundamentals | Pentest process and reporting | Wide range of attack concepts and tools | Hands-on exploitation and reporting |
| Exam style | Multiple choice plus practical tasks | Multiple choice plus practical tasks | Multiple choice (practical exam offered separately) | Long hands-on lab exam plus a written report |
| Often asked for | Junior and government roles | Pentest roles | Broad security roles | Pentest and red team roles |
Step 8 of 12Practice · Match the pairs
Match each certification to its description.
Tap an answer, then tap the place where it belongs (or drag it there).
- CompTIA Security+
- OSCP
- CompTIA PenTest+
- CEH
Step 9 of 12Learn
Careers in offensive security and beyond
Ethical hacking skills open several career paths:
- Penetration tester: runs scoped tests of networks, web apps, mobile apps, cloud environments or physical security, usually for a consultancy or an in-house team.
- Red team operator: simulates realistic adversaries over longer engagements, focusing on stealth and testing detection and response.
- Application security engineer: works with developers to find and prevent vulnerabilities through code review, threat modeling and security testing during development.
- Security researcher: finds new vulnerabilities in software and hardware, often publishing through coordinated disclosure.
- Bug bounty hunter: works independently on bounty programs, full-time or alongside another job.
Offensive skills are also valuable on the defensive side. Security operations center (SOC) analysts, incident responders and threat hunters who understand attacker techniques detect intrusions faster. Purple teaming, where red and blue teams work side by side, turns each simulated attack into an improved detection.
The field rewards curiosity and persistence, and it changes constantly: new technologies bring new classes of weaknesses. Successful practitioners keep learning through conferences, research papers, CTFs and community discussion.
Above all, the profession runs on trust. Clients hand testers access to their most sensitive systems. Codes of ethics from professional bodies all come back to the same core: act only with authorization, protect the confidentiality of what you see, avoid harm, and report honestly.
Step 10 of 12Note
Step 11 of 12Practice · What would you do?
What would you do?
A friend asks you to 'test' their ex-partner's social media account to see if you can get in, saying it's fine because they used to share the password. What do you do?
Step 12 of 12Practice · Choose one
You want to practice exploiting web vulnerabilities this weekend. Which plan is both effective and legal?
Lesson complete!