Ethical Hacking: A New Approach Towards Computer Security

The explosive growth of the Internet has brought many good things into our lives. Electronic commerce, electronic mail, easy access to information, online banking and collaborative computing have changed the way we communicate and conduct business. However, as with most technological advancements, there is always another side to the story. The same Internet that connects millions of computers across the globe has also created opportunities for unauthorized access, information theft and computer crimes.

Today, governments, corporate organizations and individuals are increasingly concerned about the security of their computer systems. The possibility of someone breaking into a network, stealing confidential information or damaging important files has become a serious issue. This brings us to an interesting concept in the field of information security, Ethical Hacking.

The idea behind ethical hacking is quite simple. If someone can break into our computer system by exploiting its weaknesses, why should we not identify those weaknesses ourselves before an intruder does?

Understanding Hacking

Before understanding ethical hacking, it is necessary to understand what hacking actually means.

The term hacker originally had a different meaning from what we generally understand today. During the 1960s, particularly at the Massachusetts Institute of Technology (MIT), hacking was associated with intelligent programming techniques and creative ways of solving technical problems. A hacker was someone who enjoyed exploring computer systems and discovering how they worked.

However, with the increasing popularity of computers and networking, the term gradually acquired a negative meaning. Individuals started gaining unauthorized access to computer systems, stealing passwords, modifying information and sometimes destroying valuable data.

Technically, there is a distinction between a hacker and a cracker. A hacker is someone who possesses considerable knowledge of computer systems and enjoys exploring their capabilities, whereas a cracker uses similar knowledge for malicious purposes.

Unfortunately, in common usage, both terms are frequently treated as having the same meaning.

The history of hacking includes several interesting incidents. During the 1970s, John Draper, popularly known as Cap'n Crunch, discovered methods of manipulating telephone switching systems. The 1980s witnessed the formation of hacking groups such as the Legion of Doom and the Chaos Computer Club. The Morris Worm incident of 1988 further demonstrated how a computer program could disrupt interconnected systems.

These incidents helped establish computer security as an important concern for organizations.

What Is Ethical Hacking?

Ethical hacking is the process of examining the security of a computer system or network by attempting to identify and exploit its vulnerabilities with the permission of its owner.

An ethical hacker uses many of the same tools and techniques as a malicious hacker. However, the intention is entirely different. Instead of stealing information or damaging the system, the ethical hacker identifies security weaknesses and reports them to the concerned authorities.

This approach is somewhat similar to financial auditing. Just as organizations appoint independent auditors to verify their financial records, they can appoint computer security professionals to examine their information systems.

Ethical hacking is also commonly associated with penetration testing, intrusion testing and white-hat hacking.

The most important distinction is that ethical hacking is performed with proper authorization and with the intention of improving security.

An ethical hacker must therefore possess not only technical knowledge but also honesty, responsibility and professional integrity.

Why Do We Need Ethical Hackers?

There is an old saying: To catch a thief, think like a thief.

The same principle applies to computer security.

Organizations generally depend upon firewalls, antivirus software, encryption mechanisms and access-control systems to protect their networks. Although these technologies provide important protection, they cannot guarantee complete security.

A firewall may prevent unauthorized network connections, but it cannot necessarily protect an application containing programming errors. Similarly, a strong authentication system may become ineffective if an employee reveals a password through social engineering.

Sometimes, several small vulnerabilities can combine to create a major security problem.

For example, consider an organization having a poorly configured Windows server, a weak database administrator password and an insecure wireless network. Individually, these weaknesses may appear manageable. However, an intruder exploiting them together could gain access to important organizational information.

This is precisely where ethical hacking becomes useful.

Instead of waiting for an actual attack, organizations can evaluate their systems from the viewpoint of a potential intruder and take preventive measures.

Understanding the Threats to Computer Systems

Computer systems face different types of security threats. Understanding these threats is necessary before attempting to secure any information infrastructure.

Non-technical attacks: Not every attack requires advanced programming knowledge. Social engineering involves manipulating individuals into revealing confidential information. An attacker may pretend to be a system administrator or an authorized employee to obtain passwords. Physical access to computer rooms, discarded documents and unattended workstations can also expose sensitive information.

Network infrastructure attacks: Computer networks are vulnerable to attacks involving insecure protocols, improperly configured devices and unauthorized connections. Packet sniffing can expose information transmitted without encryption, while denial-of-service attacks can make network services unavailable to legitimate users.

Operating system attacks: Operating systems such as Windows and Linux contain complex software components. Improper configurations, unpatched vulnerabilities and weak authentication mechanisms may allow unauthorized access.

Application-level attacks: Web applications and electronic mail systems are frequently targeted because they are accessible through the Internet. SQL injection, improper input validation and application programming errors can expose confidential information. Viruses, worms, Trojan horses and spyware create additional security concerns.

The important point is that security must be considered at every level, from the physical infrastructure to the applications used by the end users.

The Ethical Hacking Procedure

Like any other IT project, ethical hacking requires proper planning and execution. Conducting security tests without understanding their possible consequences may cause more harm than benefit.

The first and most important requirement is obtaining authorization from the system owner.

Once permission has been granted, the ethical hacker must determine the scope of the assessment, including the systems to be examined, the methods to be used, the testing schedule and the expected results.

A typical ethical hacking exercise involves several activities.

Information gathering: The initial stage involves collecting information about the target environment. Publicly available information, domain registration details, network addresses and system configurations may provide useful insights.

Scanning and enumeration: After collecting preliminary information, the ethical hacker examines the network to identify active systems, accessible services and possible vulnerabilities.

Vulnerability assessment: The discovered weaknesses are examined to understand their possible consequences. This may involve reviewing operating system configurations, authentication mechanisms and application security.

Controlled penetration testing: Where explicitly authorized, selected vulnerabilities may be tested to determine whether unauthorized access is possible. Such testing must be carefully controlled to avoid damaging systems or interrupting services.

Reporting and recommendations: Finally, the findings are documented along with recommendations for improving security. Identifying vulnerabilities is useful only when appropriate corrective measures are implemented.

An ethical hacking exercise should not be considered complete merely because a vulnerability has been discovered. The ultimate objective is to strengthen the security of the system.

Tools Used in Ethical Hacking

Several commercial, freeware and open-source tools are available for conducting security assessments.

Some commonly used tools include:

  • Whois, Nslookup and Traceroute: Used for gathering information about domains, network addresses and routing paths.
  • Nmap and SuperScan: Used for identifying network hosts, open ports and accessible services.
  • Ethereal and Snort: Used for examining network traffic and identifying suspicious activities.
  • John the Ripper and L0phtCrack: Used for evaluating password security.
  • Nessus and LANguard: Used for identifying potential vulnerabilities in computer systems.

However, possessing these tools does not automatically make someone an ethical hacker.

A security professional must understand how the tools work, their limitations and the possible consequences of using them. Some tools may generate incorrect results, while others may fail to identify important vulnerabilities.

Therefore, technical knowledge and practical experience are equally important.

A Case Study: The CERN Security Incident

An interesting example demonstrating the importance of computer security occurred at CERN, the European Organization for Nuclear Research.

In September 2008, a group identifying itself as the Greek Security Team reportedly gained unauthorized access to a website associated with the Compact Muon Solenoid (CMS) experiment of the Large Hadron Collider.

The incident raised concerns because the experiment involved highly sophisticated scientific instruments and computer systems. Although the reported damage was limited, the possibility of unauthorized access to systems associated with such important scientific work was alarming.

The incident illustrates that even organizations possessing advanced technological infrastructure can experience security weaknesses.

It also raises an important question: If highly sophisticated scientific organizations can face such incidents, how secure are the computer systems used by ordinary businesses and individuals?

The lesson is not that we should avoid connecting important systems to networks altogether. Rather, we should carefully examine their security requirements and conduct regular assessments wherever necessary.

Certified Ethical Hacker: A Professional Approach

As information security becomes increasingly important, organizations are looking for professionals who possess both technical expertise and an understanding of ethical responsibilities.

The International Council of Electronic Commerce Consultants, popularly known as the EC-Council, offers the Certified Ethical Hacker (CEH) certification.

The certification aims to provide security professionals with knowledge of hacking techniques, network vulnerabilities and preventive security measures.

However, certification alone cannot establish the credibility of an ethical hacker. Trustworthiness, practical experience, continuous learning and professional conduct remain essential qualities.

An ethical hacker must understand that access to confidential information brings considerable responsibility.

Ethical Hacking: What Does the Future Hold?

Predicting the future of computer security is certainly difficult. Nevertheless, considering the increasing dependence upon computers and the Internet, it is reasonable to expect that information security will become even more important in the coming years.

Today, numerous hacking tools are freely available on the Internet. Even individuals possessing limited technical knowledge can attempt attacks using existing programs.

At the same time, operating systems, security applications and network technologies are continuously improving. As traditional vulnerabilities become more difficult to exploit, attackers may increasingly depend upon social engineering, physical access and weaknesses in human behaviour.

The growing use of wireless networks, mobile computing and Internet-based applications may also introduce new security challenges.

We may therefore witness a situation where the technical sophistication of security mechanisms improves, but the human element continues to remain one of the weakest links.

It will be interesting to observe how ethical hacking develops as a profession and how organizations adapt their security practices to these changing circumstances.

Conclusion

The idea of testing the security of a computer system by attempting to break into it is not new. However, the increasing complexity of information systems has made this approach more relevant than ever.

Ethical hacking provides organizations with an opportunity to understand their security weaknesses before those weaknesses are exploited by malicious individuals.

Nevertheless, ethical hacking alone cannot guarantee complete security. Regular auditing, effective system administration, intrusion detection, software updates and security awareness are equally important.

Technology will continue to evolve, and so will the methods used to compromise it. The responsibility of protecting information therefore cannot rest upon a single security product or individual.

Ultimately, the purpose of ethical hacking is not to demonstrate how easily a system can be broken, but to understand how effectively it can be protected.

And perhaps, that is the most important difference between a hacker and an ethical hacker.


Based on the research paper "Ethical Hacking" (Paper ID: RES-380), jointly authored by Ajinkya A. Farsole, Amruta G. Kashikar and Apurva Zunzunwala, 2010.

Back to top ↑