August 25, 2026
Ethics, Authorization, and Professional Conduct in Ethical Hacking
A security tool does not know whether you are a defender, a criminal, or a curious beginner.

By Jamshidbek Boynazarov
18 min read
A port scanner sends the same packets. A password-testing tool attempts the same logins. An exploit produces the same result. What separates legitimate security work from illegal intrusion is not the software being used — it is authorization, scope, purpose, and professional conduct.
This is the first lesson every cybersecurity beginner must understand:
Never test a system unless you own it or have clear, written authorization from someone who has the legal authority to approve the test.
Good intentions are not enough. Curiosity is not permission. Finding a vulnerability does not automatically justify the actions used to find it.
This article explains the ethical and professional boundaries of security testing, including how authorization works, what a testing scope should contain, how vulnerabilities should be disclosed, and what you must check before touching any system.
This is general educational guidance, not jurisdiction-specific legal advice. Computer misuse, privacy, communications, and data-protection laws differ between countries. When the legal position is unclear, stop testing and obtain qualified legal guidance.
1. What Ethical Hacking Really Means
Ethical hacking is the authorized use of attacker-like techniques to identify and help correct security weaknesses.
An ethical hacker may examine applications, networks, devices, cloud environments, wireless systems, employee security awareness, or physical controls. The objective is defensive: discover weaknesses before malicious attackers exploit them.
However, the word ethical does not grant permission by itself.
Calling yourself a security researcher does not authorize you to:
- Scan someone else's servers
- Attempt to bypass authentication
- Test leaked credentials
- Exploit a vulnerable website
- Access another user's records
- Send phishing emails to employees
- Install persistence on a company device
- Download confidential data as "proof"
Ethical hacking requires more than positive intent. It normally requires:
- Authorization from the proper system owner
- A defined scope identifying what may be tested
- Rules of engagement describing how testing may be conducted
- A legitimate security purpose
- Efforts to prevent unnecessary harm
- Responsible handling of findings and evidence
- Accurate reporting and professional accountability
The U.S. Department of Justice describes good-faith security research as testing, investigating, or correcting a security flaw in a manner designed to avoid harm, with the resulting information primarily used to improve security or safety. It also makes clear that merely describing malicious or extortionate behavior as "research" does not make it legitimate. Laws and enforcement policies differ by jurisdiction, so this should not be treated as universal legal protection.
Ethical hacking compared with related activities
Several cybersecurity activities use similar tools but have different objectives and authorization models.
Ethical hacking focuses on the general discovery and correction of security weaknesses. It requires explicit permission from the system owner and serves as a broad term covering multiple authorized security-testing activities.
Penetration testing demonstrates whether specific vulnerabilities can be exploited. It is usually governed by a written contract, defined scope, and rules of engagement. It is typically time-limited and concludes with a formal report.
Bug bounty testing involves finding vulnerabilities under a published program. Permission is granted through the program policy, and researchers may test only listed assets and permitted vulnerability classes.
Red teaming evaluates detection, response, and organizational resilience. It requires written executive authorization and detailed rules. It simulates realistic adversary behavior, sometimes with limited defender knowledge.
Unauthorized hacking involves accessing or testing systems without valid permission. It may be illegal even when no damage was intended.
Cybercrime involves stealing, disrupting, extorting, spying, defrauding, or otherwise causing harm. It lacks legitimate authorization and may involve unlawful access, data abuse, or harmful operations.
Penetration testing is not random experimentation
A penetration test is a planned professional engagement. It normally includes pre-engagement discussions, information gathering, threat analysis, vulnerability assessment, carefully controlled exploitation, post-exploitation activities where permitted, and reporting.
OWASP describes penetration testing as an authorized assessment governed by documented scope and rules of engagement. NIST similarly treats testing as a planned process involving preparation, execution, analysis, and post-testing activity — not uncontrolled experimentation.
Bug bounty programs are not unlimited hacking licenses
A public bug bounty or vulnerability disclosure program grants permission only under its stated conditions.
The policy may specify:
- Which domains, applications, APIs, or products are in scope
- Which assets are excluded
- What testing techniques are prohibited
- Whether automated scanning is permitted
- Whether social engineering is prohibited
- How much data may be accessed
- How findings must be reported
- Whether public disclosure is allowed
- Whether financial rewards are available
- What safe-harbor protections apply
A company having a bug bounty program does not mean everything the company owns is open for testing.
For example, a program might authorize testing against:
api.example.com
app.example.comapi.example.com
app.example.comThat does not automatically authorize testing against:
mail.example.com
employees.example.com
third-party-hosted.example.netmail.example.com
employees.example.com
third-party-hosted.example.netAlways read the complete policy before testing. Save a copy or screenshot of the policy version that applied when your research began.
Red teaming is broader and potentially more disruptive
A red-team engagement may include controlled phishing, assumed breach scenarios, lateral movement, physical-access attempts, credential attacks, or testing of monitoring and incident-response procedures.
Because these activities can affect employees and production systems, red teaming requires particularly careful authorization and operational control.
A red team does not receive unrestricted permission to "do whatever a criminal would do." It receives permission to perform specified adversary simulations under specified conditions.
2. Why Authorization Matters
Authorization is the boundary between a sanctioned security assessment and a potentially unlawful intrusion.
Consider a physical-world analogy.
A locksmith may know how to open a locked door. The technique is legal and useful when the building owner requests it. The same locksmith using that technique on a stranger's house without permission is committing an intrusion.
Technical skill does not create authority.
Authorization must come from the correct party
Permission must be provided by someone who actually has the legal or organizational authority to approve the test.
A developer may not have authority to approve testing against the company's production infrastructure. A customer may not have authority to let you test a SaaS provider's platform. A company may not be able to authorize attacks against infrastructure owned by its cloud provider, payment processor, or business partner.
Before testing, determine:
- Who owns the system?
- Who operates it?
- Who hosts it?
- Who owns the data?
- Are third parties involved?
- Does the person approving the test have authority over all affected assets?
- Are additional approvals required?
Verbal permission is weak protection
A manager saying, "Go ahead and see what you can find," is not a sufficient foundation for a serious security assessment.
Verbal authorization creates ambiguity:
- What exactly was approved?
- Which systems were included?
- Were production systems included?
- Was exploitation allowed?
- Was data access allowed?
- How long was the authorization valid?
- Could denial-of-service testing be performed?
- Did the approving person understand the risks?
Written permission protects both the organization and the tester by creating a shared record.
At minimum, written authorization should identify:
- The authorizing organization
- The person granting authorization
- The testing team
- The systems and assets included
- The permitted testing techniques
- The prohibited activities
- The testing period
- The reporting method
- Emergency contacts
- Signatures or another verifiable approval method
Authorization is not permanent
Permission usually applies only during a defined period.
Authorization for a test conducted from August 1 through August 5 does not permit continued testing on August 6. Permission for one project does not automatically apply to a later project. An expired bug bounty policy should not be assumed to remain valid.
Authorization can also be suspended or revoked.
When authorization expires, is revoked, or becomes unclear, stop immediately.
Good intent is not a legal defense everywhere
A common beginner argument is:
"I was only trying to help."
That does not resolve the authorization problem.
An owner may view unexpected scanning as an attack. An exploit may alter data, interrupt services, trigger incident-response procedures, create financial costs, or expose personal information.
Even where a government policy recognizes good-faith security research, its protection may be limited by jurisdiction, specific legal requirements, the researcher's behavior, and the systems involved. Never treat one country's policy or one company's safe-harbor statement as universal immunity.
3. Scope of Engagement and Rules of Engagement
Authorization answers whether you may test.
Scope answers what you may test.
Rules of engagement answer how, when, and under what restrictions you may test.
These are related, but they are not interchangeable.
Scope of engagement
The scope defines the boundaries of the assessment.
It may identify:
- IP addresses and network ranges
- Domain names and subdomains
- Web applications
- APIs
- Mobile applications
- Cloud accounts or subscriptions
- Wireless networks
- Office locations
- User accounts
- Source-code repositories
- Specific application versions
- Testing environments
- Employees or departments included in social-engineering exercises
A precise scope might say:
In scope:
- https://portal.example.com
- API endpoints under https://api.example.com/v2/
- Android application version 4.2.1
- Test accounts supplied by the client
Out of scope:
- example.com corporate website
- Payment processor infrastructure
- Employee personal accounts
- Production denial-of-service testing
- Third-party analytics and support platformsIn scope:
- https://portal.example.com
- API endpoints under https://api.example.com/v2/
- Android application version 4.2.1
- Test accounts supplied by the client
Out of scope:
- example.com corporate website
- Payment processor infrastructure
- Employee personal accounts
- Production denial-of-service testing
- Third-party analytics and support platformsThis is far safer than:
Test our website.Test our website.Scope must identify exclusions
Out-of-scope systems are as important as in-scope systems.
An engagement should identify:
- Third-party services
- Shared hosting platforms
- Critical production systems
- Medical, financial, or safety-related systems
- Legacy systems that may crash under scanning
- Systems containing regulated data
- Infrastructure belonging to customers or partners
- Assets awaiting separate approval
When an asset is not clearly included, treat it as excluded.
Ambiguity is not permission.
Rules of engagement
Rules of engagement, often abbreviated as RoE, define the operational conditions of the test.
NIST describes rules of engagement as the detailed guidelines and constraints established before security testing begins. Modern OWASP guidance similarly emphasizes validating the authorized targets, time boundaries, deny lists, critical assets, production safeguards, and other restrictions before testing.
Typical rules cover:
Testing period
- Start date and time
- End date and time
- Approved testing hours
- Relevant time zone
- Maintenance windows
- Blackout periods
Source systems
- Approved tester IP addresses
- VPN requirements
- Testing workstations
- Cloud testing infrastructure
- Restrictions on anonymization services
Permitted techniques
- Passive reconnaissance
- Automated scanning
- Manual vulnerability testing
- Authenticated testing
- Password auditing
- Exploitation
- Privilege escalation
- Lateral movement
- Social engineering
- Physical access testing
Prohibited techniques
Common restrictions include:
- Denial-of-service attacks
- Destructive payloads
- Data deletion
- Ransomware simulation on production systems
- Persistence mechanisms
- Unapproved phishing
- Testing personal accounts
- Attacking third parties
- Changing production credentials
- Exfiltrating real customer data
Safety controls
The rules should also define:
- When the tester must stop
- Who can authorize high-risk actions
- Emergency contact methods
- How incidents are escalated
- How production instability is handled
- Which systems are never to be tested
- How accidentally accessed data is handled
Evidence and reporting requirements
The engagement should specify:
- What evidence may be collected
- Where evidence may be stored
- Whether screenshots are permitted
- Whether sensitive values must be redacted
- How reports are encrypted
- Who may receive the report
- How long evidence may be retained
- How evidence must be destroyed
4. What Ethical Hackers Are Allowed and Not Allowed to Do
An ethical hacker is allowed to perform only the actions that are both:
- Necessary for the agreed security objective
- Permitted by the authorization and rules of engagement
Having permission to scan a system does not necessarily mean you have permission to exploit it. Having permission to exploit a vulnerability does not necessarily mean you have permission to download data. Having permission to test an application does not necessarily mean you may test its users.
Actions that may be allowed
Depending on the engagement, an ethical hacker may be permitted to:
- Identify active systems and services
- Scan approved hosts for vulnerabilities
- Review application behavior
- Test authentication and authorization controls
- Use supplied test accounts
- Attempt controlled privilege escalation
- Validate a vulnerability with a limited proof of concept
- Review configuration files
- Examine approved source code
- Test password policies using approved methods
- Demonstrate access to a restricted function
- Capture minimal evidence
- Document business impact
- Recommend remediation
Every action still depends on the specific agreement.
Actions that are commonly prohibited or restricted
Without explicit approval, do not:
- Disrupt service availability
- Delete or modify production data
- Download complete databases
- Access unrelated user records
- Read employee communications
- Test systems outside the approved scope
- Attack third-party infrastructure
- Install backdoors
- Create hidden administrator accounts
- Maintain access after the test
- Use discovered credentials elsewhere
- Publish vulnerabilities without following the disclosure process
- Contact employees as part of an unapproved social-engineering test
- Sell or trade discovered data
- Demand payment in exchange for silence
- Continue after being told to stop
Use the minimum necessary proof
Suppose you discover an insecure direct object reference that allows one test user to access another user's invoice.
You usually do not need to download 10,000 invoices to prove the problem.
A safer proof may be:
- Access one authorized test account.
- Change one identifier.
- Confirm that another controlled test record becomes visible.
- Capture minimal evidence.
- Stop.
- Report the vulnerability.
This follows the principle of minimum necessary access.
The objective is to prove the security issue, not to demonstrate how much data you can collect.
Stop when impact becomes uncertain
Stop testing when:
- A production system becomes unstable
- You reach an unexpected third-party environment
- You encounter highly sensitive information
- The scope is unclear
- The target resolves to an unlisted IP address
- An exploit behaves differently than expected
- You gain access beyond what was anticipated
- You discover an active compromise by another party
- The client requests a pause
- Continuing could cause harm
Professional testers are not measured by how aggressively they continue. They are measured by how responsibly they control risk.
5. Responsible Disclosure
Responsible disclosure is the process of privately reporting a vulnerability to the organization responsible for fixing it and allowing reasonable time for remediation before public discussion.
It is also called coordinated vulnerability disclosure.
Before testing, look for an official policy
Check for:
- A vulnerability disclosure policy
- A bug bounty program
- A
security.txtfile - An official security email address
- A researcher portal
- Safe-harbor language
- Published testing restrictions
CISA's vulnerability disclosure policy template is designed to define which systems are covered, which research is authorized, how findings should be reported, and what researchers can expect when they make a good-faith effort to follow the policy.
What a useful vulnerability report contains
A professional report should include:
- A clear title
- The affected asset
- The vulnerability category
- The date discovered
- A concise summary
- The security impact
- Preconditions
- Reproduction steps
- Minimal evidence
- Suggested remediation
- Any limitations in the testing
- The researcher's contact information
- A proposed disclosure timeline, where appropriate
For example:
Title:
Unauthorized access to invoices through predictable record identifiers
Affected asset:
https://portal.example.com/api/invoices/{invoiceId}
Summary:
An authenticated user can retrieve invoices belonging to other accounts by
changing the invoiceId value.
Impact:
The vulnerability may expose customer names, addresses, order details, and
billing information.
Evidence:
Testing was limited to two client-provided test accounts. No production customer
records were downloaded or retained.Title:
Unauthorized access to invoices through predictable record identifiers
Affected asset:
https://portal.example.com/api/invoices/{invoiceId}
Summary:
An authenticated user can retrieve invoices belonging to other accounts by
changing the invoiceId value.
Impact:
The vulnerability may expose customer names, addresses, order details, and
billing information.
Evidence:
Testing was limited to two client-provided test accounts. No production customer
records were downloaded or retained.Do not use threats or extortion
The following message is not responsible disclosure:
Pay me $20,000 or I will publish your database.Pay me $20,000 or I will publish your database.That is coercive behavior and may be treated as extortion, regardless of how the vulnerability was discovered.
A legitimate report can ask whether the organization operates a reward program, but payment must not be made a condition for withholding sensitive information.
Do not publish too early
Immediate public disclosure can expose users before a fix is available.
Before publishing technical details, consider:
- Whether the vulnerability has been fixed
- Whether users remain at risk
- Whether the organization has acknowledged the report
- Whether the agreed disclosure period has expired
- Whether exploitation details should be limited
- Whether legal or contractual restrictions apply
- Whether a vulnerability-coordination organization should assist
Responsible disclosure is not about hiding problems forever. It is about balancing public knowledge with the need to reduce immediate harm.
A vulnerability disclosure program may not offer payment
A vulnerability disclosure policy and a bug bounty program are not identical.
A disclosure policy may authorize research and accept reports without paying rewards. A bug bounty program usually defines reward eligibility, although not every valid issue will qualify for payment.
Never assume that discovering a vulnerability creates a right to compensation.
6. Evidence Handling and Data Protection
Security testing can expose highly sensitive information:
- Passwords
- Authentication tokens
- Personal records
- Financial information
- Health information
- Internal documents
- Private messages
- Source code
- Encryption keys
- Customer databases
- Security logs
- Business secrets
Finding sensitive data does not give you ownership of it.
Collect only what you need
Evidence should demonstrate the finding while minimizing exposure.
Instead of collecting an entire database, capture:
- A redacted screenshot
- A single controlled record
- A response showing the unauthorized field
- A timestamp
- A relevant request and response
- A hash or identifier
- A short screen recording, when authorized
Avoid including real personal information when test data can prove the same issue.
Protect evidence at rest and in transit
Evidence should be:
- Stored on approved devices
- Encrypted
- Access-controlled
- Separated from personal files
- Shared through approved channels
- Retained only as long as necessary
- Securely destroyed according to the agreement
Do not place confidential findings in:
- Public code repositories
- Personal cloud drives
- Public paste sites
- Unencrypted email attachments
- Open chat channels
- Screenshots shared on social media
- AI services not approved for sensitive client data
OWASP recommends protecting penetration-test reports and encrypting them so that only authorized recipients can access the findings.
Redact sensitive values
Reports should generally redact:
- Passwords
- API keys
- Session tokens
- Full payment-card numbers
- Government identifiers
- Personal addresses
- Private messages
- Unnecessary customer information
For example:
Authorization: Bearer eyJhbGciOi...REDACTEDAuthorization: Bearer eyJhbGciOi...REDACTEDor:
Customer email: j***@example.comCustomer email: j***@example.comPreserve an activity log
Maintain a record of:
- Testing timestamps
- Source IP addresses
- Commands or tools used
- Target systems
- Accounts used
- Changes made
- Data accessed
- Evidence collected
- Unexpected events
- Communications with the client
An activity log helps distinguish authorized tester activity from malicious activity and supports incident investigation if something goes wrong.
Do not alter evidence unnecessarily
When testing intersects with an active incident or suspected cybercrime, evidence may later be needed for internal investigations, insurance claims, disciplinary proceedings, or legal action.
Do not casually:
- Delete suspicious files
- Modify attacker infrastructure records
- Log into a malicious account
- Contact a suspected attacker
- Reconfigure compromised systems
- Run cleanup tools
- Change timestamps
- Publish indicators before coordination
Escalate the situation to the authorized incident-response or legal team.
7. Common Mistakes Beginners Make
Mistake 1: Assuming public accessibility means public permission
A website being reachable from the internet does not make it available for security testing.
A shop may be open to the public, but visitors are not permitted to enter the staff room, inspect the alarm system, or try keys on the safe.
Mistake 2: Testing first and asking later
Some beginners find a possible target, perform a scan, discover a vulnerability, and then contact the owner.
The problem is that the testing already occurred without clear authorization.
Ask first. Test second.
Mistake 3: Treating a bug bounty as company-wide permission
Bug bounty authorization applies only to the assets, techniques, and conditions listed in the program policy.
Read the scope before every testing session because programs can change.
Mistake 4: Trusting informal permission
A friend who works at a company may say:
"Try hacking our app. I'm sure management won't mind."
Your friend may not have authority to approve testing.
Obtain permission through the proper organizational process.
Mistake 5: Ignoring third-party infrastructure
A company's application may rely on:
- Cloud providers
- Payment gateways
- Content-delivery networks
- Customer-support platforms
- Analytics providers
- Authentication providers
The company may not have the authority to let you test those services.
Mistake 6: Collecting excessive proof
Beginners sometimes believe a larger data sample makes a finding more convincing.
It usually creates unnecessary risk.
One controlled record may prove unauthorized access. Thousands of records may turn a security report into a serious privacy incident.
Mistake 7: Using destructive tools in production
Automated scanners and exploit frameworks can:
- Create large traffic volumes
- Lock user accounts
- Modify application state
- Trigger email or SMS messages
- Crash unstable services
- Insert test data
- Consume paid resources
Understand a tool before using it. Start with the least invasive method and monitor the target.
Mistake 8: Failing to document authorization
Keep copies of:
- Contracts
- Authorization letters
- Scope documents
- Rules of engagement
- Bug bounty policies
- Relevant email approvals
- Policy versions
- Scope changes
Do not rely on memory.
Mistake 9: Continuing after finding the first proof
Once a vulnerability has been safely demonstrated, additional exploitation may add risk without adding meaningful evidence.
Know when to stop.
Mistake 10: Publishing for attention
Posting screenshots, company names, exploit code, or customer information to prove your skills is not professional conduct.
A credible practitioner protects affected users first.
8. Real-World Examples of Ethical vs. Unethical Behavior
Example 1: Testing a login page
Ethical behavior
A company authorizes a penetration tester to assess its customer portal. The rules allow password-policy testing against supplied test accounts.
The tester:
Uses only the supplied accounts
Applies the agreed request-rate limit
Avoids testing real customers
Records the results
Reports that weak passwords are accepted
Unethical behavior
A person finds the same portal online and attempts passwords against employee accounts without permission.
The person claims:
"I only wanted to see whether the login was secure."
The lack of authorization makes the behavior unacceptable and potentially illegal.
Example 2: Discovering exposed customer records
Ethical behavior
During an authorized bug bounty test, a researcher changes a record identifier and sees another test record. The researcher captures minimal evidence, stops testing, and submits a private report.
Unethical behavior
The researcher downloads thousands of customer records, contacts affected users directly, posts samples online, and demands payment from the company.
The initial discovery does not justify the later actions.
Example 3: Employee phishing simulation
Ethical behavior
A red team receives written approval to test 100 selected employees during a specified period. The phishing infrastructure, message theme, data collection, emergency contacts, and exclusions are documented.
The team avoids collecting real passwords and uses a controlled training page.
Unethical behavior
A security employee sends an unapproved fake payroll email to the entire company because they want to "teach everyone a lesson."
Working in security does not provide unlimited testing authority.
Example 4: Testing a client's cloud environment
Ethical behavior
The client provides written approval for specific cloud accounts. The tester reviews the cloud provider's testing rules, uses approved source addresses, and avoids excluded managed services.
Unethical behavior
The tester attacks neighboring tenants or cloud-provider infrastructure after discovering that the client uses a shared platform.
The client cannot authorize attacks against systems it does not own or control.
Example 5: Finding an exposed administrative panel
Ethical behavior
A researcher notices an exposed administrative login while performing passive research. They do not attempt credentials or bypass authentication. They check for a disclosure policy and report the exposed panel through the approved channel.
Unethical behavior
The researcher tries default passwords, logs in successfully, creates an administrator account, and later argues that no harm was intended.
Accessing the panel and establishing persistence exceeded observation and entered unauthorized intrusion.
Example 6: Practising in a lab
Ethical behavior
A beginner practises using:
- Locally hosted virtual machines
- Intentionally vulnerable applications
- Capture-the-flag platforms
- Training labs
- Systems they personally own
- Environments explicitly created for testing
Unethical behavior
A beginner chooses random internet hosts because they want "real-world practice."
Real organizations are not free training labs.
9. Professional Mindset of a Cybersecurity Practitioner
Cybersecurity professionalism is not defined by the number of tools you know or exploits you can run.
It is defined by judgment.
Think like a defender, even when acting like an attacker
An ethical hacker uses adversarial methods to improve security.
Before taking an action, ask:
What security objective does this support?
Is this action authorized?
Is it necessary?
Could it disrupt the system?
Could it expose personal information?
Is there a safer way to prove the issue?
How would I explain this action to the system owner?
Would I be comfortable seeing it in the final report?
Treat scope as a hard boundary
Professional testers do not interpret scope creatively.
They do not think:
"This related server probably counts."
They verify.
When the target changes, redirects to another domain, reveals a new network range, or connects to a third party, pause and request clarification.
Prefer control over excitement
Finding a serious vulnerability can create pressure to explore further. That is exactly when discipline matters most.
A professional response is:
- Confirm the target is in scope.
- Minimize additional interaction.
- Preserve limited evidence.
- Evaluate immediate risk.
- Notify the authorized contact.
- Follow instructions.
Be accurate and avoid exaggeration
Do not describe every vulnerability as "critical."
Your report should distinguish between:
What was directly observed
What was successfully demonstrated
What could plausibly happen
What remains theoretical
What could not be tested
What assumptions were made
For example:
Observed:
A standard user could request another test account’s invoice.
Demonstrated impact:
Unauthorized access to invoice data between the two supplied test accounts.
Potential broader impact:
Other customer invoices may be exposed if identifiers are predictable.
Limitation:
Testing against real customer records was not performed.Observed:
A standard user could request another test account’s invoice.
Demonstrated impact:
Unauthorized access to invoice data between the two supplied test accounts.
Potential broader impact:
Other customer invoices may be exposed if identifiers are predictable.
Limitation:
Testing against real customer records was not performed.This is more credible than claiming that the "entire company has been completely compromised" without evidence.
Respect confidentiality
Security professionals regularly receive access to information that ordinary users cannot see.
Do not use client information for:
- Personal advantage
- Public demonstrations
- Unapproved training material
- Social-media content
- Competitive intelligence
- Future attacks
- Portfolio screenshots without consent
Confidentiality continues after the engagement ends.
Admit mistakes immediately
Testing can go wrong even with careful planning.
You might:
- Crash a service
- Lock an account
- Trigger an alert
- Modify a record
- Reach an out-of-scope system
- Expose unexpected personal data
Do not hide the mistake.
Stop, document what happened, notify the authorized contact, and assist with recovery.
Attempting to conceal an error can cause more damage than the original mistake.
Keep improving your legal and communication knowledge
Technical ability is only one part of professional cybersecurity work.
A competent practitioner should also understand:
- Contracts
- Privacy obligations
- Evidence handling
- Risk communication
- Report writing
- Incident escalation
- Client confidentiality
- Professional ethics
- Local computer misuse laws
- Sector-specific requirements
When legal authority is uncertain, consult someone qualified to interpret the applicable law and contract.
10. Final Checklist Before Testing Any System
Use this checklist before running a scanner, sending a crafted request, testing credentials, or attempting an exploit.
Ownership and authorization
Do I own the system, or do I have written permission to test it?
Did the authorization come from someone with proper authority?
Does the authorization cover every organization and third party involved?
Do I have a copy of the signed authorization or applicable program policy?
Is the authorization currently valid?
Have I confirmed the applicable jurisdiction and contractual requirements?
Scope
Are the approved domains, IP addresses, applications, accounts, and locations clearly listed?
Are out-of-scope systems clearly identified?
Are third-party services excluded unless separately authorized?
Does the current target exactly match the approved scope?
Do I know what to do if the target redirects or resolves to an unexpected system?
Rules of engagement
Are the start and end times documented?
Is the correct time zone specified?
Are approved testing source addresses documented?
Are permitted techniques listed?
Are prohibited techniques listed?
Are request-rate and automation limits defined?
Is exploitation allowed, or only vulnerability identification?
Are social engineering and physical testing explicitly addressed?
Are denial-of-service tests prohibited unless specifically approved?
Are emergency stop conditions defined?
Safety
Do I understand what each tool will do?
Have I selected the least invasive testing method?
Do I have a rollback or recovery plan where needed?
Could the test affect production users?
Could it lock accounts or trigger messages?
Could it expose personal, financial, health, or confidential information?
Do I know who to contact if something fails?
Will I stop immediately if impact becomes uncertain?
Evidence and data handling
Do I know what evidence I am permitted to collect?
Am I collecting only the minimum necessary proof?
Is evidence stored in an approved encrypted location?
Are sensitive values redacted?
Is access to the evidence restricted?
Is the report transmitted securely?
Is there a defined retention and destruction period?
Am I prohibited from uploading the data to unapproved third-party or AI services?
Reporting and disclosure
Do I know where findings must be submitted?
Do I have the emergency reporting contact?
Will the report clearly separate facts from assumptions?
Have I documented limitations?
Have I avoided unnecessary customer data?
Is public disclosure permitted?
Is there an agreed disclosure timeline?
Have I avoided threats, coercion, or demands for payment?
Personal readiness
Can I explain why every planned action is necessary?
Am I operating within my technical competence?
Have I documented my activity?
Am I prepared to admit and report mistakes?
Would my actions still appear reasonable in an audit, legal review, or incident investigation?
When any answer is no, unclear, or based on an assumption, do not begin testing.
Summary
Ethical hacking is not simply hacking performed by someone with good intentions. It is authorized, controlled, purpose-driven security testing.
The essential principles are straightforward:
Obtain clear written authorization.
Confirm that the authorizing person has the right to grant permission.
Define exactly what is in scope.
Follow the rules of engagement.
Use the least invasive method necessary.
Collect minimal evidence.
Protect all data and findings.
Stop when safety or authorization becomes unclear.
Report vulnerabilities privately and professionally.
Never use access, data, or disclosure as leverage for coercion.
The most important habit in ethical hacking is not learning how to exploit more systems.
It is learning when you are permitted to test, how far you are permitted to go, and when you must stop.