Cybersecurity — Level 3: Ethical Hacking & Web Application Security
Free preview

Ethical hacking and the law

1 / 3

Hackers

  • Black hat: criminal
  • White hat: authorised defender
  • Grey hat: no permission = still illegal
2 / 3

Authorisation

  • Written permission from the owner
  • Scope: what, when, how
  • Rules of engagement
3 / 3

The law

  • Cameroon: law n° 2010/012 on cybersecurity and cybercrime
  • Unauthorised access is a crime
  • Responsible disclosure

Lecture notes

Ethical hacking (penetration testing) means attacking systems with the owner's written permission to find weaknesses before criminals do. The techniques are the same as attackers'; the difference is authorisation and intent.

Types of hackers

  • Black hat — breaks in for profit or damage: a criminal.
  • White hat — tests with permission and reports to the owner.
  • Grey hat — tests without permission "to help": still illegal, whatever the intention.

Before any test

  1. Written authorisation signed by someone who has the right to give it.
  2. Scope: exact IP addresses, domains, applications; what is excluded.
  3. Rules of engagement: dates and hours, allowed techniques (no denial of service, no social engineering unless agreed), emergency contacts, data handling.
  4. A non-disclosure agreement — findings are confidential.

The law

In Cameroon, law n° 2010/012 on cybersecurity and cybercrime punishes unauthorised access to and interference with information systems; most countries have similar laws (e.g. the Budapest Convention framework). "I was only testing" is not a defence.

Legal ways to practise

  • Your own lab (next lesson), deliberately vulnerable apps (DVWA, OWASP Juice Shop).
  • Training platforms: TryHackMe, Hack The Box, PortSwigger Web Security Academy.
  • Bug bounty programmes that publicly invite testing within stated rules.

If you find a flaw by accident, report it privately to the owner (responsible disclosure) without exploiting it further.

Want to go further?
20 h · Enroll to access every lesson and earn the certificate.
Get Started Free