Skip to content
Use our free scanner to check your security!
Inside AssistSec

Ethical hacker: what does an ethical hacker do?

An ethical hacker breaks in with permission to find security holes. Learn what they do, whether it is legal and how to hire one.

AssistSec Team
White hat above a glass terminal window showing an approved test scope

An ethical hacker is a security expert who tries, with permission, to break into systems in order to find weaknesses before criminals do. They use the same knowledge and techniques as a malicious hacker, but work for the organisation instead of against it.

In short

  • Other names: white hat hacker, penetration tester or pentester.

  • Legal: only with the owner's permission, or under the rules of responsible disclosure.

  • Used for: pentests, red teaming and bug bounty programmes.

  • Result: a report with the vulnerabilities found, how serious they are and how to fix them.

  • How to spot a good one: hands-on certifications such as OSCP, a clear report and clear agreements up front.

Below you can read what an ethical hacker actually does, when you need one and what to look for when hiring.

What is an ethical hacker?

An ethical hacker is someone who attacks computer systems, networks and applications with the owner's permission, to find vulnerabilities and get them fixed. The work is called ethical hacking. The difference from a criminal hacker is not the technique, but permission, purpose and accountability.

Four things make hacking ethical:

  • Permission in advance, in writing and with a clear scope.

  • The goal is improvement, not stealing, blackmail or damage.

  • No unnecessary harm: the hacker proves a vulnerability but does not exploit it further than needed.

  • Reporting: everything found goes to the owner, with advice on how to fix it.

White hat, grey hat and black hat: the difference

In the security world, hackers are often grouped by the colour of their hat:

White hatGrey hatBlack hat
PermissionYes, in advanceNoNo
GoalImproving securityOften well-meant, such as reporting a flaw, sometimes curiosity or a rewardMoney, data or damage
LegalYesNo, not even with good intentionsNo
ExamplePentester, red teamerSomeone who probes a website uninvited and reports the flawRansomware gang, data thief

An ethical hacker is always a white hat. Grey hats are in a difficult position: even if they report a flaw properly, hacking without permission remains a criminal offence. Reporting through responsible disclosure can, however, be taken into account when deciding whether to prosecute.

What does an ethical hacker actually do?

Most ethical hackers work as pentesters at a specialised company or in the security team of a large organisation. Their work consists of:

  • Pentests: targeted testing of web applications, APIs, networks, cloud environments and apps.

  • Red teaming: a realistic attack on the whole organisation, sometimes including phishing and physical access.

  • Code review: reading source code for security flaws.

  • Phishing simulations: testing how employees respond to a fake message.

  • Bug bounty: independently looking for vulnerabilities at organisations that offer a reward for them.

  • Reporting and advising: explaining what is wrong, how serious it is and how to fix it, and then checking whether the fix works.

Ethical hackers use tools such as Burp Suite, Nmap and Metasploit. But the tools are the easy part. The real work is thinking: understanding how an application is meant to work, and figuring out how to make it behave differently than its builder expected. Read how that works in practice in What is a pentest?

Yes, but only with permission. Breaking into a system without permission is a criminal offence in the Netherlands (computervredebreuk, article 138ab of the Dutch Criminal Code), even if you mean well.

For a legal engagement, you agree in writing beforehand:

  • which systems may be tested, and which may not;

  • in which period;

  • that the owner of the systems gives permission. If an application runs at a hosting provider or in the cloud, also check their rules for security testing.

Responsible disclosure: when someone reports a flaw uninvited

Sometimes an outsider finds a vulnerability in your systems and reports it properly. This is called responsible disclosure, or coordinated vulnerability disclosure (CVD). The Dutch NCSC advises organisations to publish a CVD policy, so reporters know how to report a flaw safely. Also add a security.txt file to your website with the address where reports can be sent.

Pentest, red teaming or bug bounty: what do you need?

Which kind of ethical hacking fits depends on your question:

Your questionChoose
How secure is our web application or API?Pentest
Are there known vulnerabilities in our systems?Vulnerability scan, preferably continuous
Would we notice a real attack, and how fast would we respond?Red teaming
Do employees fall for phishing?Phishing simulation
Do we want many hackers searching continuously?Bug bounty programme

What is red teaming?

Red teaming is a realistic attack on your entire organisation that can last weeks and has a concrete goal, such as gaining access to customer data. Usually only a small group within your organisation knows about it. This tests not only your technology, but also your people, processes and above all your detection: do you see the attack, and how quickly do you act?

Red teaming suits organisations whose basics are in order and that have their own security team. The Dutch financial sector has its own framework for it, TIBER-NL, from De Nederlandsche Bank. Not there yet? Start with a pentest.

Hiring an ethical hacker: what to look for

You are giving someone access to your most sensitive systems, so choose carefully:

  • Hands-on certifications. For OSCP and OSWE you have to actually hack during the exam; that says more than a multiple-choice test.

  • Experience with your systems. A network expert is not automatically good at web applications or APIs.

  • Screening. Ask whether the testers are screened, for example with a Dutch certificate of conduct (VOG).

  • Contract and insurance. A written assignment, confidentiality and professional liability insurance.

  • A sample report. Is it clear for your management and useful for your developers?

  • Retest included. Only after a retest do you know for sure the hole is closed.

  • Your data. Where are the test results kept, and when are they deleted?

Want to become an ethical hacker?

Many people search for this term because they want to learn the trade. In short:

  • Fundamentals: networking, Linux, how websites and APIs work, and a programming or scripting language.

  • Practice: legally, on training platforms such as Hack The Box and TryHackMe, and in capture-the-flag competitions (CTFs).

  • Certify: OSCP is the best-known hands-on certification to start with; OSWE focuses on web applications.

  • Never without permission: only practise on systems built for it or that you are allowed to test.

Frequently asked questions about ethical hackers

What is the difference between an ethical hacker and a pentester?

A pentester is an ethical hacker who performs pentests. Ethical hacker is the broader term: it also covers red teamers, bug bounty hunters and security researchers.

Is an ethical hacker the same as a white hat hacker?

Yes. White hat is the security-world term for a hacker who works with permission and good intentions.

How much does it cost to hire an ethical hacker?

That mainly depends on the number of days needed, which in turn depends on the scope and complexity of what is tested. Read more about what a pentest costs.

Am I allowed to hack my own website?

If you own it and manage it yourself, yes. If your site runs at a hosting provider or uses other parties' services, check their terms first. Never test other people's systems without permission.

What should I do if an ethical hacker reports a flaw in my systems?

Acknowledge the report quickly, thank the reporter and fix the flaw. Agree on when it may be made public. With a published CVD policy, reporters know in advance how you handle this.

Have ethical hackers test your security

AssistSec employs experienced ethical hackers (OSCP, OSWE), supported by AI agents. They test your applications and APIs the way a real attacker would, within agreements you set in advance. You get a clear report with evidence, priorities and a retest.

Book a free consultation →

Back to the blog

Interested in a pentest?

Discover how AssistSec's AI agents give your organisation faster and more thorough insight into vulnerabilities.

Contact us