Share

Related Links

Related Stories

  • License to hack? - Ethical hacking
    Ethical hacking seems to be a contradiction in terms, but what better way of making enterprises pay attention to their security flaws, than by acting like criminals? William Knight investigates
  • Hacker group blamed for publicising MI5 site security flaws fight back against papers
    Team Elite, a `grey hat' hacker group blamed for revealing a potential hack on MI5's website last week, is reportedly very angry at reports in the national press that it was responsible for what some papers are reporting as a site hack attack.
  • Four people arrested in connection with US terrorist-funded PBX hacking
    The FBI has revealed that four hackers were arrested in the Philippines last week in connection with an organized attack on the clients of telecoms giant AT&T in the US. Newswire reports suggest that the hacker crew was funded by terrorists linked to an Al Qaeda group that carried out the Bali bombings in 2002 and which killed 202 people.
  • Nine lives - when malware becomes self-modifying
    As the Conficker (aka Downadup and Kido) worm proved when it first appeared in October 2008, there's more to a piece of malware code than meets the eye, especially when it is self-updating. But can self-updating also mean self-modifying? Steve Gold investigates whether an IT security manager's nightmare has become programming reality...
  • AI superbots threaten information security
    The development of virtual servers and cloud computing has brought with it a new information security problem - artificially intelligent (AI) superbots. Steve Gold explains what can be done to defend against this totally new genre of information security threats

Top 5 Stories

Feature

License to Hack? - Ethical Hacking

30 October 2009
William Knight

Ethical hacking seems to be a contradiction in terms, but what better way of making enterprises pay attention to their security flaws, than by acting like criminals? William Knight investigates

If the term hacking means to cut or chop roughly through a computer system, then how do you perform it without damage to the software? How can you ride roughshod (hack), between applications, memory and operating systems, while other applications are live and available to the business, without causing any problems to the operators?

"It's meant to imply a broader church than just penetration testing, which is the traditional term."
Peter Wood

That's at least one dilemma for the modern ethical hacker. To distinguish ethical hacking from the coke-fuelled, bedroom-dwelling teenage hacking of legend, it must be done in the absolute knowledge of the target, and in such a way that any resulting damage is predictable and repairable.

"The term was coined by IBM years ago", says Peter Wood, chief of operations at penetration specialist First Base Technologies. "It's meant to imply a broader church than just penetration testing, which is the traditional term. ‘Hacking’ has become the trendy term for it, but what I say to a client is 'You're asking us to impersonate a criminal to try and see what your business's defenses are like but without the risk of actually being attacked by a criminal'; hence the ethical bit."

The Ethical Hacking Council defines ethical hacking like this: "The goal of the ethical hacker is to help the organization take pre-emptive measures against malicious attacks by attacking the system himself; all the while staying within legal limits."

The path from penetration testing to ethical hacking is well understood. "If we are doing a black box penetration test and it's unannounced – where the customer wants to see if they can spot us trying to get in, that their alerting systems are up to scratch – then we tend to refer to that as ethical hacking", explains Paul Vlissidis, technical director with NCC Group Secure Test.

"Penetration testing is the commercial term but ethical hacking is quite often asked for by the customer and you are essentially doing the same things", he adds.

No Limits

Yet the devil is in the details, as they say. Penetration testing concentrates on attacking software and computer systems from the start – scanning ports, examining known defects and patch installations, for example – while ethical hacking, which will likely include such things, is under no such limitations. A full blown ethical hack might include emailing staff to ask for password details, rummaging through executive's trashcans or even breaking and entering – all, of course, with the knowledge and consent of the targets.

"There is a sense of frustration in that if you were given a completely free hand there's a lot more you could do."
Paul Vlissidis

"We go through a very rigorous rules of engagement process", explains Vlissidis. "What is off limits?

"It's a little bit contrived. If you were a ‘baddy’ you'd utilize your full range of creative talents. We have to play by the rules, you can't just go ‘off piste’ when we feel like it. Anything that might cause a legal breach and usually, a disruption to the customer services, is off limits."

If an ethical hacker is unable to bring all the available tools to bear, how can a client really know their systems are secure?

"There is a sense of frustration in that if you were given a completely free hand there's a lot more you could do", says Vlissidis. "But the further you go down that road, the more likely you are to tread on sensitive legal territory, and the more likely you are to cause denial of service failures to the customer.

"I don't just mean knocking systems over, but maybe locking out accounts might be a very serious issue. We do have one hand tied behind our backs, it is fair to say", he adds.

Some enterprises do want to answer the simple but far reaching question "Are we secure?", explains Vlissidis. "We [might] get asked to combine social engineering with hacking. That could include breaking into an office, or tailgate in, and then planting unauthorized wireless access points on the network and hack in from the car park."

"There's no defense in our hacking laws that your behavior is for the greater good. Even if it's what you believe."
Struan Robertson

Vlissidis is always aware of the boundaries of where an ethical hack becomes a hack. "There is a key difference. If we do a physical test to see if we can get into a building or gain information, the criminal would just go ahead but we have to consider the rights of the employees, we have to consider the legal issues, we can't bribe or threaten people like a criminal would, of course. But we offer as close an approximation as we can", he explains.

Breaking Point

To show that a system is secure beyond mere theory, surely you must test it to the point at which it breaks. To try and replicate some of the destructive techniques a real attack might employ, ethical hackers arrange for cloned test systems, or organize a hack late at night while systems are less critical.

"If you take down a critical service − particularly in transaction business − the financial cost of that can be colossal”, says Neil O'Neil, ethical hacker and principal digital forensics investigator for the Logic Group. "You do passive and aggressive tests. You'd run passive if it's a critical system and going down isn't an option. But for an aggressive test you may run in off-peak hours, 3am on a Sunday morning, for example. Run when the least disruption will take place. Even then, they are probably executing an end of day batch for all their transactions, so you have to understand the systems.

"If you take down a critical service - particularly in transaction business - the financial cost of that can be colossal."
Neil O'Neil

"The very first thing an ethical hacker does after signing the agreements is talk with the engineers, get the network diagrams to find out what they think they've got, look at the environments and make an inventory of the current systems."

So how close does the ethical hack get to reality? "In 95% of case it's very accurate. If you are concerned the cleaning company could gain access to the system, we can impersonate a cleaner but what we can't do is test whether the cleaners are open to being bribed or not, because that would be illegal", says Vlissidis.

Legal Distinction

In such circumstances ethical hackers might be considered digital versions of private investigators or investigative reporters. However, the unwary can come unstuck and clear rules of engagement are essential to ensure the law is not broken.

The BBC’s (un)ethical hack

The BBC was in technical breach of the law earlier this year when, by prior arrangement, its Click TV program used an illegal botnet to send spam and deny service to a website owned by security company Prevx.

The program has said that the activity would only be illegal if those behind it had 'criminal intent', but Struan Robertson insists that this is not true.

"The BBC appears to have broken the Computer Misuse Act (UK anti-hacking legislation) by causing 22 000 computers to send spam. It does not matter that the emails were sent to the BBC's own accounts. Criminal intent is not necessary to establish an offence of unauthorized access to a computer", he said.

"The Act requires that a computer has been made to perform a function with intent to secure access to any program or data on the computer. Using the botnet to send an email is likely to satisfy that requirement. It does not matter that the BBC's intent was not criminal or that someone else created the botnet in the first place", says Robertson.

"The maximum penalty for this offence under UK law is two years imprisonment, but it is very unlikely that any prosecution will follow because the BBC's actions probably caused no harm. On the contrary, it probably did prompt many people to improve their security", he concludes.

"Broadly speaking, if the access to a system is authorized, the hacking is ethical and legal. If it isn't, there's an offence under relevant legislation. The offence of unauthorized access covers everything from guessing the password, to accessing someone's webmail account, to cracking the security of a bank. The maximum penalty for unauthorized access to a computer is several years in jail and a fine. There are higher penalties when the hacker also modifies data", explains Struan Robertson, legal director at Pinsent Masons LLP, and editor of OUT-LAW.com.

Unauthorized access even to expose vulnerabilities for the benefit of many is not legal, says Robertson. "There's no defense in our hacking laws that your behavior is for the greater good. Even if it's what you believe."

It's an interesting legal distinction and it has tripped the unwary, as the BBC's click online program in the UK discovered when it used a live, criminal botnet to illustrate an email-spam and denial of service (DoS) attack (See box out).

"You take a big risk in breaking those laws. The merits of your crime could be lost on a judge", says Robertson.

Such is the fine line for ethical hacking  in legality, that it turns out Ethical Hackers might be criminals after all, simply by creating software tools to do the job.

The Federal Information Security Management Act of 2002 (FISMA) - a federal law enacted in 2002 as Title III of the E-Government Act of 2002 – prohibits the use of communications technology for illegal means, as well as recognizing the importance of information security to the economic and national security interests of the US.

"There is no cause for alarm, though", says Robertson. "Such prosecutions are very unlikely to take place, in my view."

This article is featured in:
Application Security • Compliance and Policy  • Identity and Access Management  • Internet and Network Security

 

Comments

sechristiansen says:

03 November 2009
The US DoD is also looking for ethical hackers, which is a questionable term. At the very least they are looking for "good guy" US based hackers. They have partnered with SANS and designed a game to help with their recruitment process. The hacker capture the flag game is called SANS NetWars. To join, signup at http://www.sans.org/netwars/ and for more information tips and tricks visit the blog for one of the NetWars teams at http://daegoblog.com.

Scott Christiansen
http://www.linkedin.com/in/scottchristiansen

Note: The majority of comments posted are created by members of the public. The views expressed are theirs and unless specifically stated are not those Elsevier Ltd. We are not responsible for any content posted by members of the public or content of any third party sites that are accessible through this site. Any links to third party websites from this website do not amount to any endorsement of that site by the Elsevier Ltd and any use of that site by you is at your own risk. For further information, please refer to our Terms & Conditions.

Comment on this article

You must be registered and logged in to leave a comment about this article.