lOMoAR cPSD| 63316909
Penetration Testing (D484) Notes
Penetration Testing
• Penetration testing is a proactive exercise that tests the strength of an organization's
security defenses.
• This type of security testing involves simulating real-world attacks by using the same
tools and techniques an actual attacker would use to discover potential vulnerabilities in
an application, system, or network.
Structured Approach to Pen Testing
Prior to beginning a PenTest exercise, you will need to devise a structured plan
and outline the terms. o Planning and Scoping Information Gathering
and
Vulnerability Scanning Attacks and Exploits Reporting and
Communication
Ethics, Legal, and Compliance Considerations of Penetration Testing
• Penetration testing provides a gap analysis so a company can see how close they are to
being compliant.
• Both the penetration tester and organization must know and agree to everything being
done. Depending on the penetration test's goals, the ethical hacker may need to observe
specific rules and regulations.
Recognizing Country, State, and Local Laws
• Once the stakeholders have fully sanctioned a PenTest, any restrictions that will impact
the type of testing the team can complete must be considered.
• When dealing with laws that affect the PenTesting process, the team also has to
recognize restrictions on the use of specific tools.
Federal Laws and Regulations
• Ensuring that the organization is in compliance with federal laws and regulations is a
major reason for performing a penetration test.
• The penetration tester must ensure they access only the systems to which they have
explicit permission and only to the level they have authorized access.
, lOMoAR cPSD| 63316909
o the terms unauthorized or exceeds authorized access are frequently used
• Example: the Wassenaar Arrangement on Export Controls for Conventional Arms and
Dual-Use Goods and Technologies, was amended in 2013 to include intrusion
software.
• Other international frameworks and treaties w/significant impact on PenTesting
regionally: o NIS Directive (EU) o APPI (Japan) o PIPEDA (Canada)
Recognizing Privacy Laws
Some laws govern data protection for a particular location, such as a country, providence,
or state, or for an industry, such as the banking or healthcare industry.
o Stop Hacks and Improve Electronic Data Security
(SHIELD) Act o California Consumer Privacy Act (CCPA) o Health
Insurance Portability and Accountability Act (HIPAA)
Cloud-Based and Third-Party Systems
• If an organization is using a cloud-based system, that means the organization doesn't
own the system and cannot legally provide permission for a penetration test to be
carried out on that system.
• If systems are interconnected, such as in a supply chain, the penetration tester needs to
ensure that they do not accidentally access the third party's systems.
• When it comes to security and compliance, the shared responsibility model delineates
the division of security and compliance responsibilities between cloud service providers
and their clients.
o Shared Responsibility Model : the cloud provider is responsible for the security of
the cloud infrastructure, while the client is responsible for securing the data and
applications they run in the cloud.
Ethical Scenarios
• Penetration testers must obtain explicit permission before testing, ensure the
confidentiality of sensitive data, and avoid causing any harm to the systems or data.
• Professional Code of Conduct for Penetration Testers:
o Council of Registered Ethical Security Testers (CREST) o International
Information System Security Certification Consortium [(ISC)²]
• A possible issue may arise when the penetration tester resides in one state and the
organization is in another state. o The penetration tester and the organization need to
agree on which set of laws they will adhere to.
Penetration Testing (D484) Notes
Penetration Testing
• Penetration testing is a proactive exercise that tests the strength of an organization's
security defenses.
• This type of security testing involves simulating real-world attacks by using the same
tools and techniques an actual attacker would use to discover potential vulnerabilities in
an application, system, or network.
Structured Approach to Pen Testing
Prior to beginning a PenTest exercise, you will need to devise a structured plan
and outline the terms. o Planning and Scoping Information Gathering
and
Vulnerability Scanning Attacks and Exploits Reporting and
Communication
Ethics, Legal, and Compliance Considerations of Penetration Testing
• Penetration testing provides a gap analysis so a company can see how close they are to
being compliant.
• Both the penetration tester and organization must know and agree to everything being
done. Depending on the penetration test's goals, the ethical hacker may need to observe
specific rules and regulations.
Recognizing Country, State, and Local Laws
• Once the stakeholders have fully sanctioned a PenTest, any restrictions that will impact
the type of testing the team can complete must be considered.
• When dealing with laws that affect the PenTesting process, the team also has to
recognize restrictions on the use of specific tools.
Federal Laws and Regulations
• Ensuring that the organization is in compliance with federal laws and regulations is a
major reason for performing a penetration test.
• The penetration tester must ensure they access only the systems to which they have
explicit permission and only to the level they have authorized access.
, lOMoAR cPSD| 63316909
o the terms unauthorized or exceeds authorized access are frequently used
• Example: the Wassenaar Arrangement on Export Controls for Conventional Arms and
Dual-Use Goods and Technologies, was amended in 2013 to include intrusion
software.
• Other international frameworks and treaties w/significant impact on PenTesting
regionally: o NIS Directive (EU) o APPI (Japan) o PIPEDA (Canada)
Recognizing Privacy Laws
Some laws govern data protection for a particular location, such as a country, providence,
or state, or for an industry, such as the banking or healthcare industry.
o Stop Hacks and Improve Electronic Data Security
(SHIELD) Act o California Consumer Privacy Act (CCPA) o Health
Insurance Portability and Accountability Act (HIPAA)
Cloud-Based and Third-Party Systems
• If an organization is using a cloud-based system, that means the organization doesn't
own the system and cannot legally provide permission for a penetration test to be
carried out on that system.
• If systems are interconnected, such as in a supply chain, the penetration tester needs to
ensure that they do not accidentally access the third party's systems.
• When it comes to security and compliance, the shared responsibility model delineates
the division of security and compliance responsibilities between cloud service providers
and their clients.
o Shared Responsibility Model : the cloud provider is responsible for the security of
the cloud infrastructure, while the client is responsible for securing the data and
applications they run in the cloud.
Ethical Scenarios
• Penetration testers must obtain explicit permission before testing, ensure the
confidentiality of sensitive data, and avoid causing any harm to the systems or data.
• Professional Code of Conduct for Penetration Testers:
o Council of Registered Ethical Security Testers (CREST) o International
Information System Security Certification Consortium [(ISC)²]
• A possible issue may arise when the penetration tester resides in one state and the
organization is in another state. o The penetration tester and the organization need to
agree on which set of laws they will adhere to.