Phases Of Hacking || Ethical Hacking — Part 1.2

VirusZzWarning
System Weakness
Published in
3 min readApr 19, 2022

--

If you have not read the previous part check it here:
https://viruszzwarning.medium.com/introduction-ethical-hacking-part-1-1-4a55f87e1d88

Phases of Hacking

There are mainly 5 phases in hacking. Not necessarily a hacker has to follow these 5 steps in a sequential manner. It’s a stepwise process and when followed yields a better result.

1. Reconnaissance:

This is the first step of Hacking. It is also called as Footprinting and information gathering Phase. This is the preparatory phase where we collect as much information as possible about the target. We usually collect information about three groups,

  1. Network
  2. Host
  3. People involved

There are two types of Footprinting:

  • Active: Directly interacting with the target to gather information about the target. Eg Using Nmap tool to scan the target
  • Passive: Trying to collect the information about the target without directly accessing the target. This involves collecting information from social media, public websites etc.

2. Scanning:

Three types of scanning are involved:

  • Port scanning: This phase involves scanning the target for the information like open ports, Live systems, various services running on the host.
  • Vulnerability Scanning: Checking the target for weaknesses or vulnerabilities which can be exploited. Usually done with help of automated tools.
  • Network Mapping: Finding the topology of network, routers, firewalls servers if any, and host information and drawing a network diagram with the available information. This map may serve as a valuable piece of information throughout the hacking process.

3. Gaining Access:

This phase is where an attacker breaks into the system/network using various tools or methods. After entering into a system, he has to increase his privilege to administrator level so he can install an application he needs or modify data or hide data.

4. Maintaining Access:

Hacker may just hack the system to show it was vulnerable or he can be so mischievous that he wants to maintain or persist the connection in the background without the knowledge of the user. This can be done using Trojans, Rootkits or other malicious files. The aim is to maintain the access to the target until he finishes the tasks he planned to accomplish in that target.

5. Clearing Track:

No thief wants to get caught. An intelligent hacker always clears all evidence so that in the later point of time, no one will find any traces leading to him. This involves modifying/corrupting/deleting the values of Logs, modifying registry values and uninstalling all applications he used and deleting all folders he created.

Types of attacks:

Operating System Attacks:

Finding OS Vulnerabilities and Exploit them For.eg. buffer overflow, un-patched system.

Misconfiguration Attacks:

Targeted towards databases, networks, web servers, application platforms etc, It Happens due to the misconfiguration of the deployed devices or system.

Application Level Attacks:

Attacks are targeted towards the installed applications, e.g.: Buffer overflow, cross-site scripting, SQL injection etc.

Shrink Wrap Code Attacks:

Using default or off the shelf components, it happens if the code/script is not fine-tuned.

Penetration Testing

It is the process of evaluating the security of an organization by exploiting the vulnerabilities in a way the attackers could exploit them and thereby defending as well as documenting the procedure of attack.

Types of penetration testing:

  • Black box: The penetration tester will not be given any details pertaining to the network, or infrastructure of the network/ organization
  • White Box: the penetration tester will be aware of the complete details of the infrastructure to be tested
  • Grey box: The penetration tester will be provided with a limited knowledge about the systems to be tested.

Hope you all got a bit of knowledge about the Phases of hacking & the types of attacks.
In the upcoming series, you will know in more detail.

Cheers!❤
-VirusZzWarning

Connect to me:
GitHub
LinkedIn

--

--

Cyber Security Student || Web Developer || Programmer || CTF Player for 'W4NN4 B3 3L1735' || Donate : https://paypal.me/hrisikeshpal || Twitter: @hrisikesh_pal