Phases of Penetration Testing
Penetration testing is performed to exploit vulnerabilities in the IT system. In simple terms, an IT system refers to collecting different servers, firewalls, routers, and other network devices that form one computer network. It is similar to hacking; the only difference is you have all permissions to do so. Target organization hires you to identify vulnerabilities and check the exploitability of the system. Organizations generally signed legal papers with security firms not to share test results with anyone. Pentest helps an organization to secure the sensitive data of customers. It also helps an organization avoid embarrassment and loss of reputation in case of disclosure of sensitive information in the public domain on account of security breach or hacking.
It can be divided into 5 phases:
- Reconnaissance: This is the first phase of the pen test. In this phase, the security researcher collects information about the target. It can be done actively (means you are collecting information by sending a request directly to the target and interpret it) or passively (means you are collecting information without contacting the target), or both. It helps security firms gather information about the target system, network components, active machines, open ports and access points, operating system details, etc. This activity can be performed by using information available in the public domain and using different tools.
- Scanning: This phase is more tool-oriented rather than performed manually. Pentester runs one or more scanner tools to gather more information about the target. By using various scanners such as war dialers (computer programs used to identify the phone numbers), port scanners, network mappers (used for network discovery and security auditing), and vulnerability scanners (identifies problems in the system), pen tester collects as many vulnerabilities which help in turn to attack a target in a more sophisticated way.
- Gaining Access: In this phase, the pen tester tries to establish a connection with the target and exploit the vulnerabilities found in the previous phase. Exploitation may be buffer overflow attack, denial of service (DoS) attack, session hijacking, and many more. Basically, pentester extracts information and sensitive data from servers by gaining access by using different tools.
- Maintaining Access: In this phase, pentester tries to create a backdoor for him. It helps Pentester to identify hidden vulnerabilities in the system.
- Covering Tracks: In this phase, the pen tester tries to remove all logs and footprints, which helps the administrator identify his presence. This helps Pentester to think like a hacker and perform corrective actions to mitigate those activities.
Penetration Testing is broadly classified into 5 phases - Reconnaissance, Scanning, Gaining Access, Maintaining Access and Covering Tracks. It is a skill which you gain as you experienced in this activity.
Subscribe us to receive more such articles updates in your email.
If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!
Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.