Seven Habits of Highly Malicious Hackers



You can't defend against the cyber enemy if you don't know his movements or how he thinks.

        Sanjay Bavisi, president of security certification, training, and education organization EC-Council, at Interop Las Vegas next week will demonstrate step-by-step how a typical black-hat hacker executes an attack -- from reconnaissance to covering his tracks -- in the "Seven Habits of Highly Malicious Hackers" presentation

        Bavisi also will provide tips on how to protect yourself from each step, as well as a peek into the hacker psyche. He says he'll also show a case study of a hack with national security implications, and how ethical hacking is a successful way to stem attacks.

        Here's the trajectory of a typical attack, according to Bavisi:

 

1. Footprinting

        Basically reconnaissance, where an attacker gathers information about his target. "hackers use social engineering to gain information, and how they try to map out the network of their victim," Bavisi says. Freeware footprinting tools such as Whois and Web the Ripper are popular tools for gathering intelligence on the network, he says.

        Attackers also frequent newsgroups, the Internet Archive, and other sites for bits and pieces of information on a target that can yield important information about its operations, and possibly, its security.

        "But the best footprinting is social engineering," says Bavisi.

 

2. Scanning

        Vulnerability scanning is the next step, where the attacker runs things like Nmap and SuperScan to pinpoint any vulnerabilities in the victim's network. In this step, the attacker goes into stealth mode, using proxy servers, for instance, to avoid being traced or getting caught, Bavisi explains.

 

3. Exploiting Known Vulnerabilities

        Armed with information on where the weak spots are, the attacker then launches the exploits. "They could breach the defense mechanisms using tools like [Immunity] Canvas or Metasploit," Bavisi says.

        "The most common question I get is people saying 'I have AV and a firewall -- I should be secure,'" he says. "Few understand how an attacker can easily evade AV and a firewall just by understanding the digital signatures most common Trojans have... and permeate the network defenses."

 

4. Creating Viruses for The Attack

        Once the attacker has figured out things like which ports are open, and where known vulnerabilities in your network lie, he can unleash the exploit and get inside. "Virus construction kits make it simple for them to write viruses."

        "Very few people understand what's happening here and how they can defend their organization," he adds.

 

5. Keylogging and Escalation

        Most attacks are for financial gain, so the attacker needs a way to get inside servers and workstations. He plants a keylogger to record keystrokes and get logons and passwords, for instance. He runs privilege-escalation tools to set the access to "admin" rather than just an end user. "Then he can own the system and control it," Bavisi says.

 

6. Inserting a Backdoor

        Once inside, the attacker needs to keep an entryway for himself in case the admin or root passwords get changed. His communiqués with the backdoor program look like legitimate network traffic, so no one's the wiser.

 

7. Erasing Evidence

        In the final phase of the attack, the hacker covers his tracks by deleting logs, shutting down logging processes, and by replacing any processes or programs that could trigger suspicion. He can replace basic system utilities with a rootkit, for instance, that looks like a utility to the system admin, according to Bavisi.


Editor : Kelly Jackson Higgins, Senior Editor.
Source : DarkReading.