Docsity

cs608- Software Verification and Validation, Schemes and Mind Maps of Software Engineering

Partial preview of the text

Download cs608- Software Verification and Validation and more Schemes and Mind Maps Software Engineering in PDF only on Docsity!

Software Verification and Validation

Lecture No. 19

Module 130:

Penetration Testing

Penetration Testing

 (^) With the increased cyber attacks, performing security testing is important.  (^) Penetration testing helps identify vulnerable areas of the system.  (^) It involves intentional attacks on SUT to identify weak areas, which might provide a passage to malicious or unauthorized users for attacking the system and altering their integrity and veracity.  (^) Helpful in fixing security related defects/loopholes.

Penetration Testing

 Benefits:

 It Exposes Weaknesses

Before Real Hackers Do

 It Can Reveal Which Areas

of Security we Need to

Invest In

 It Provides an Outsider

Perspective on our

Security

 It Simulates a Real Attack

Scenario

Module 131:

Penetration Testing Phases

Penetration Testing Phases

 (^) White Box Penetration Testing: Here, the tester has complete access and in-depth knowledge of the system to be tested. This is very helpful in carrying out extensive penetration testing.  (^) Black Box Penetration Testing: In black box penetration testing approach, high-level of information is made available to the tester. The tester is totally unaware of the system/network. However, this approach might miss some areas while testing.

Penetration Testing Phases

 Steps:

 Scanning /

Reconnaissance

 Getting to know the target

using passive methods.

 The idea of this phase is

to gather as much info

about the subject as we

possibly can

 Methods:

 Search engine queries to

gather data about the

personnel, systems, or

technologies of the client.

Penetration Testing Phases

 (^) Social Engineering to find out positions, technologies, email addresses  (^) Internet foot-printing looking for email addresses, social accounts, names, positions  (^) Dumpster diving to find valuable data that may be used for attacks or social engineering  (^) Tailgating to get physical access or pictures with hidden cameras

Penetration Testing Phases

 (^) Vulnerability Analysis  (^) Identifying vulnerabilities and determining their severity  (^) Exploitation  (^) Gaining access by breaching security of a system or finding an bug to exploit in the software.  (^) Post-Exploitation Reporting  (^) Detailing the vulnerabilities found and providing information on potential impact

Penetration Testing Phases

 Post-Exploitation

Reporting

 Detailing the vulnerabilities

found and providing

information on potential

impact..

END

Types of Penetration Testing

 (^) Manual Penetration Testing: It involves a standard approach with different activities to be performed in a sequence.  (^) Penetration testing planning  (^) Reconnaissance  (^) Vulnerability Analysis  (^) Exploitation  (^) External attacks  (^) Internal attacks  (^) Post Exploitation  (^) Reporting

Types of Penetration Testing

 (^) Automated Penetration Testing: Automated penetration testing can be performed using various performance testing tools / scanners  (^) Some of the most commonly used tools include the following.  (^) NMap.  (^) Nessus.  (^) Metasploit.  (^) Wireshark.  (^) Veracode..

END

Penetration Testing Tool

 (^) Types of Pen Testing/Testers  (^) Black Hat: With no prior knowledge of network, computer or application that needs to be tested.  (^) White Hat: With complete knowledge of network, computer or application that needs to be tested.  (^) Gray Hat: With limited knowledge of network, computer or application that needs to be tested

Penetration Testing Tool

 (^) Tools are specific to either mimicking a subset of attacks.  (^) Examples include:  (^) Sqlninja, as the name, indicates it is all about taking over the DB server using SQL injection in any environment.  (^) John the Ripper is password cracker works on most of the environments, although it’s primarily for UNIX systems.  (^) We present a wide division of these tools