Ethics, Authorization and Cyber Law
Understand why written permission is the line between security testing and crime, and the laws that apply to security work.
Beginner · about 2 hours · difficulty 1/5
Learn first: The Security Mindset and the CIA Triad
The skills in this track can hurt people if misused. The single rule that separates a security professional from a criminal is authorization: you only test systems you own or have explicit, written permission to test.
What authorization looks like
- A scope document listing exactly which domains, IP ranges and apps are in bounds, and which are not.
- Rules of engagement: allowed techniques, testing windows, who to call if something breaks, and whether social engineering or denial of service is permitted (usually not).
- A signed agreement from someone who actually has the authority to grant it. Your friend who works at a company cannot authorize you to scan it.
Bug bounty programs publish their scope and rules; follow them to the letter. Anything outside is unauthorized.
The law
Most countries criminalize unauthorized access regardless of intent. Examples: the Information Technology Act, 2000 in India (sections 43 and 66), the Computer Fraud and Abuse Act in the US, and the Computer Misuse Act in the UK. "I was just curious" and "I did not change anything" are not defenses. Data protection laws also apply when you handle personal data during testing.
Professional ethics
Certification bodies like ISC2 publish codes of ethics: protect society, act honorably, provide competent service. In practice that means reporting what you find, not keeping stolen data, not bragging with client details, and stopping when you reach something you were not meant to see.
Pitfalls
- Scanning your college or employer network "to learn". Use your own lab or legal practice platforms instead.
- Testing a bug bounty asset that is listed as out of scope.
Move on when you can explain, in your own words, what must be in place before you run a single scan against a target.
Key concepts
- Written authorization and scope
- Rules of engagement
- IT Act 2000 (India)
- CFAA and Computer Misuse Act
- Handling data found during testing
- Professional codes of ethics
Mini project
Draft a one-page rules-of-engagement template for testing your own home lab: scope, excluded systems, allowed techniques, time window and emergency contact.
Check yourself
A friend who is an intern at a startup says you can scan their servers. Why is that not valid authorization?
Free resources
- ISC2 Code of Ethics (ISC2)
- India Code: Information Technology Act (Government of India)
- US DOJ Computer Crime and Intellectual Property Section (US DOJ)