DEV Community

Cover image for Ethical Hacking
Hansika Herath
Hansika Herath

Posted on

Ethical Hacking

馃敇What is ethical hacking?

Ethical hacking, also known as penetration testing or pen testing, is legally breaking into computers and devices to test an organization鈥檚 defenses. It involves an authorized attempt to gain unauthorized access to a computer system, application, or data. Thus, unlike malicious hacking, this process is planned, approved, and more importantly, legal.

Ethical hackers improve the security posture of an organization. Ethical hackers use the same tools, tricks, and techniques that malicious hackers used, but with the permission of the authorized person. The purpose of ethical hacking is to improve the security and to defend the systems from attacks by malicious users.

Ethical hackers are often referred to as white-hat hackers. Ethical hackers learn and perform hacking in a professional manner and they are hired by organizations to look into the vulnerabilities of their systems and networks and develop solutions to prevent data breaches.
Types of ethical hacking

We can define hacking into different categories, based on what is being hacked:
路 Web application hacking
路 Social engineering
路 System hacking
路 Hacking wireless networks
路 Web server hacking

馃敇The process of ethical hacking

There is a six-step process that is usually performed by ethical hackers in ethical hacking.
Six phrases of ethical hacking
鈻 Reconnaissance
It is the principal stage. Here the white-hat hacker attempts to gather information about the objective. It incorporates Identifying the Target, discovering the objective鈥檚 IP Address Range, DNS records, Network, and so on.

鈻 Scanning
In the stage of scanning, the hacker starts to effectively test an objective machine or organization for weaknesses that can be abused.

鈻 Gaining Access
In this stage, the hacker plans the outline of the organization of the objective and concludes that they have a few alternatives to access the organization.

鈻 Maintaining Access
In this stage, the hacker has effectively gotten entrance into a framework and introduces a few secondary passages to go into the framework when he needs access in this possessed framework in the future.

鈻 Clearing Track
In this stage, hackers clear their track. This step ensures that the attackers leave no clues or evidence behind that could be traced back.

鈻 Reporting
In this last stage of the process, the ethical hacker create a report on the findings like weaknesses found in the system and the work that was done.

馃敇There are some limitations of ethical hacking=>

馃挮Limited scope. Ethical hackers cannot progress beyond a defined scope to make an attack successful. However, it鈥檚 not unreasonable to discuss out of scope attack potential with the organization.

馃挮Resource constraints. Malicious hackers don鈥檛 have time constraints that ethical hackers often face. Computing power and budget are additional constraints of ethical hackers.

馃挮Restricted methods. Some organizations ask experts to avoid test cases that lead the servers to crash (e.g., Denial of Service (DoS) attacks).

馃敇Benefits of ethical hacking

鈻 Implementing a secure computer network that prevents security breaches.
鈻 Discovering vulnerabilities from an attacker鈥檚 point of view, so that weak points can be fixed.
鈻 Helps in taking preventive actions against hackers.
鈻 Helps in building a system which prevents any kinds of penetration by hackers.
鈻 Gaining the trust of customers and investors by ensuring the security of their products and data.
Alt Text

Thank you very much for reading. Hope you get an idea about Ethical hacking.

Top comments (0)