DEAL20% OFF
Pre Black FridaySALE
--
Days
--
Hours
--
Minutes
--
Seconds
Book a call
DEAL20% OFF
Pre Black FridaySALE
--
Days
--
Hours
--
Minutes
--
Seconds
Book a call
GLITCH40% OFF
Price Glitch40% OFF
00
Days
00
Hours
05
Minutes
00
Seconds
Claim 40% Off
GLITCH40% OFF
Price Glitch40% OFF
00
Days
00
Hours
05
Minutes
00
Seconds
Claim 40% Off
All articles

What is a Grey Hat Hacker: What you need to know

Raqeeb Ameen 9 min read
What is a Grey Hat Hacker: What you need to know
TL;DR
  • A grey hat hacker accesses systems without explicit permission but without malicious intent. They occupy the legally ambiguous space between ethical white hat hackers and criminal black hat hackers.
  • Grey hats typically discover security vulnerabilities, notify the affected organisation, and sometimes request payment for the disclosure.
  • Unlike white hat hackers, grey hats do not obtain authorisation before accessing systems. Unlike black hat hackers, they do not exploit what they find for personal gain.
  • Grey hat hacking is illegal in most jurisdictions under laws like the CFAA, regardless of intent. Good intentions do not provide legal protection.
  • The legitimate equivalent is bug bounty hunting: authorised vulnerability research that pays for responsible disclosure without legal risk.

In 2013, security researcher Marcus Hutchins identified a kill switch in the WannaCry ransomware that stopped the attack from spreading further. He became globally recognised as someone who saved hundreds of thousands of systems. He also later pleaded guilty to unrelated charges of creating banking malware. His story illustrates the complexity of the grey hat space better than any definition can.

Grey hat hackers operate without the explicit permission that defines ethical hacking, but without the malicious intent that defines criminal hacking. They exist in a legally murky space, and understanding that space is important for anyone studying cybersecurity or considering vulnerability research.

What is a grey hat hacker?

A grey hat hacker is a cybersecurity practitioner who accesses systems or networks without explicit authorisation in order to identify security vulnerabilities, but without the intention of exploiting those vulnerabilities for personal gain or causing harm. After gaining access, a grey hat typically notifies the affected organisation of what they found and sometimes requests compensation for the disclosure.

The name comes from the moral ambiguity of the position. White hat hackers (ethical hackers) always obtain written permission before testing. Black hat hackers (malicious hackers) exploit what they find. Grey hats fall between both: they enter without permission, but their goal is to improve security rather than to cause harm.

White hat vs. grey hat vs. black hat: the key differences

White hatGrey hatBlack hat
AuthorisationAlways obtained before testingNot obtained or obtained after access Absent, stolen, abused, or exceeded
IntentImprove security, protect systemsImprove security, personal challenge, exposureSteal, destroy, exploit for gain
DisclosureFull disclosure to the affected partyDisclosed to target, sometimes publiclyExploited or sold to third parties
Legal statusLegal when conducted within written authorisation and agreed scopeUsually illegal despite good intentCriminal
CompensationContracted fee or bug bountyMay request payment after the factRansom, data sale, dark web markets

How grey hat hackers operate

Grey hat hacking typically follows a recognisable pattern:

1 Unsolicited scanning or probing

A grey hat scans websites, web applications, or network infrastructure looking for exploitable vulnerabilities. This is done without the knowledge or permission of the target organisation.

2 Exploitation for access verification

The grey hat exploits a discovered vulnerability to confirm that it is genuinely exploitable and to assess its potential impact. This is where the legal line is crossed.

3 Disclosure to the target

After gaining access, the grey hat contacts the affected organisation and discloses the vulnerability. This disclosure may include a request for payment, a bug bounty reward, or simply an expectation of acknowledgement.

4 Public disclosure as pressure

If the organisation does not respond or refuses to pay, some grey hats publish the vulnerability publicly. This pressures the target to patch the issue but also potentially exposes users to exploitation before the patch is released.

⚠️ The public disclosure problem

Responsible disclosure frameworks, used by white hat researchers, give organisations a defined window (typically 90 days) to patch a vulnerability before it is published. Grey hat public disclosure often lacks this structure and can create real harm for users even when that was not the grey hat's intent.

Real-world grey hat hacking examples

The Facebook zero-day report (2013)

Security researcher Khalil Shreateh discovered a vulnerability in Facebook that allowed him to post on any user's wall without their permission. He reported the bug through Facebook's official bug bounty programme. Facebook's security team told him the behaviour was intentional and closed the report. Shreateh then exploited the vulnerability to post directly on Mark Zuckerberg's wall to demonstrate the flaw. Facebook patched the vulnerability, but because Shreateh had used it against a real user's account, the company declined to pay the bug bounty. Shreateh argued he acted in the public interest. The CFAA disagreed with the legality of his method.

The Syrian Electronic Army router compromise (2014)

A grey hat hacker disclosed vulnerabilities in routers used by the Syrian Electronic Army, a group known for pro-government cyberattacks. The researcher accessed the routers, documented the vulnerabilities, and notified authorities. The intent was to disrupt a malicious actor, but the access was unauthorised. The researcher's method was grey hat; the target was black hat.

Marcus Hutchins and WannaCry (2017)

Marcus Hutchins, a British security researcher, registered a domain name embedded in the WannaCry ransomware that functioned as a kill switch. His action stopped the ransomware from spreading to new systems globally. The discovery required analysing malware samples, which is standard security research. It did not require unauthorised access and is considered white hat work. Hutchins' later legal troubles involved separate activities predating WannaCry and are often cited to illustrate how grey hat adjacent activity can carry long-term legal consequences.

Why people engage in grey hat hacking

Understanding the motivations behind grey hat hacking is important for evaluating both the ethical and policy dimensions of the practice.

  • Security improvement: Many grey hats genuinely believe they are contributing to a safer internet. They identify vulnerabilities that might otherwise be exploited by malicious actors and help organisations fix them.
  • Recognition and professional credibility: Discovering a critical vulnerability in a major platform generates significant professional recognition in the security community, even when the legal risk is present.
  • Financial motivation: Some grey hats request payment for disclosure. When legitimate bug bounty programmes exist, this financial motivation can be channelled legally. When they do not, grey hat disclosure becomes the primary mechanism.
  • Challenge and curiosity: The technical challenge of finding and exploiting vulnerabilities is itself a motivation for many researchers, independent of the consequences.

The legitimate alternative: bug bounty hunting

The cybersecurity industry has created a legal alternative that captures most of what grey hats want to do: bug bounty programmes. Companies like HackerOne and Bugcrowd host programmes for hundreds of organisations including Google, Microsoft, Apple, and the U.S. Department of Defense. Researchers who find and responsibly disclose vulnerabilities within programme scope are recognised, and legally protected.They are usually protected only if they stay within scope and follow the programme policy. Not every valid report is paid. Not every programme gives “complete” protection.

Bug bounties have paid out over $300 million to security researchers through HackerOne alone. The top earners make more than $500,000 per year. The incentive to work within legal boundaries is substantial, and the protection is complete. A grey hat who operates outside a programme accepts all the legal risk while often receiving less recognition and no guaranteed payment.

💡 The practical guidance

If you want to find and report vulnerabilities legitimately, bug bounty hunting is the path. It provides authorisation, legal protection, and payment for the same work that grey hat hacking does illegally. The skills are identical. The legal status is entirely different.

Build offensive security skills the right way

Explore the Metana Cybersecurity Bootcamp and see how to build the skills that get you into ethical hacking, penetration testing, and bug bounty hunting legally.

Explore at metana.io/cybersecurity-bootcamp →

FAQ

What is a grey hat hacker?

A grey hat hacker accesses computer systems or networks without explicit authorisation but without malicious intent. They typically identify security vulnerabilities and disclose them to the affected organisation, sometimes requesting payment. Grey hat hacking occupies the legally ambiguous space between authorised ethical hacking and criminal black hat hacking.

Is grey hat hacking illegal?

Yes, in most jurisdictions. The Computer Fraud and Abuse Act (CFAA) in the U.S. criminalises unauthorised access to computer systems regardless of intent. Equivalent laws in the UK, Australia, and the EU carry similar provisions. Good intentions do not provide legal immunity. A grey hat who discloses a vulnerability responsibly has still committed a criminal act under most computer crime statutes.

What is the difference between grey hat and white hat hackers?

White hat hackers always obtain explicit written authorisation before accessing any system. They operate legally and disclose findings under agreed terms. Grey hat hackers access systems without authorisation, even if their intent is benign. The key distinction is not motivation but whether permission was obtained before the activity began.

What is a real-world example of grey hat hacking?

In 2013, researcher Khalil Shreateh discovered a Facebook vulnerability allowing posts to any user's wall without permission. After Facebook dismissed his report, he demonstrated the flaw by posting on Mark Zuckerberg's wall. Facebook patched the bug but refused the bounty payment because Shreateh had exploited the vulnerability against a real user's account without authorisation.

Bug bounty programmes provide a legal, paid alternative. Platforms like HackerOne and Bugcrowd host programmes for hundreds of organisations where researchers can find and disclose vulnerabilities within a defined scope, receive payment, and have full legal protection. The skills required are identical to grey hat hacking. The legal status is entirely different.

Share
Raqeeb Ameen

Written by

Raqeeb Ameen

Raqeeb Ameen is an AI and cybersecurity researcher examining the security implications of autonomous AI agents and automated decision-making systems. He writes on emergent attack vectors, prompt injection defenses, and the evolving threat landscape in AI security, helping organizations safely deploy agentic systems in production.

You may also like

Third party data breachCybersecurity

What is a Third-Party Data Breach? What You Need to Know

Your systems were never touched. Your data was still exposed. Third-party data breaches happen when a vendor, supplier, or partner gets compromised and takes your data with them. At least 36% of all 2024 breaches origina

Metana EditorialMay 5, 2026Read
Cybersecurity analyst toolsCybersecurity

11 Tools Cybersecurity Analysts Use Daily in 2026:

Cybersecurity analysts do not sit in one tool all day. On a typical shift they move across a SIEM, an EDR platform, network analysis tools, and more. This guide covers all 11 tools analysts use in 2026, what each one doe

Metana EditorialJuly 2, 2026Read
Cybersecurity

Cybersecurity vs Software Development: Which Has a Better Future

Choosing between cybersecurity vs software development can be tough. Both fields offer incredible opportunities, but in very different ways. This article will guide you throughout the process to choose the best for yours

Raqeeb AmeenNovember 10, 2025Read
How to get into cybersecurityCybersecurity

How to Get Into Cybersecurity in 2026: A Practical Career Guide

Cybersecurity has over 4 million unfilled roles globally and is growing at 33% through 2033. You do not need a degree to break in. You need the right skills, the right certifications, and a clear plan. This guide covers

Metana EditorialApril 23, 2026Read
AI & Machine Learning

What is the Microsoft AutoJack Vulnerability- What You Need to Know

On June 18, 2026, Microsoft disclosed AutoJack: a proof-of-concept exploit chain where a single malicious webpage causes an AI browsing agent to execute arbitrary code on the host machine. No credentials stolen. No malwa

Metana EditorialJune 22, 2026Read
Aardvark Security AgentAI & Machine Learning

What is Aardvark Security Agent Launched by OpenAI?

For development teams and enterprises managing complex codebases, Aardvark represents a significant shift in how security vulnerabilities are discovered and addressed. The goal? Catch security problems before they become

Metana EditorialOctober 31, 2025Read
More Cybersecurity articles →

Talk to an advisor

Book a call with a real human before the next cohort fills.

Speak with an advisor. We'll map the right program to your goals - and lock in your enrollment offer.

20% off enrollment offer

20% OFF - limited-time enrollment offer.

Applied automatically when you book a call before the timer hits zero.

--
Days
--
Hours
--
Minutes
--
Seconds
  • Guarantee: Job or 100% money back
  • Expert-curated curriculum
  • On-demand mentor support
Advisor Elena RodriguezAdvisor Sarah JenningsAdvisor David Chen
Real advisors · reply within 2 hours

Book your call

Free