Archive for August, 2010

Researcher Demonstrates How To Counterattack Against A Targeted Attack

Posted in IT Security on August 27, 2010 by cobra

By Kelly Jackson Higgins

DarkReading.com (http://www.darkreading.com/database_security/security/attacks/showArticle.jhtml?articleID=224400719)

Targeted attacks might be tough to prevent, but what if you could fight back against the attacker once he’s infiltrated your network? A researcher has come up with a proof-of-concept (PoC) that does just that by finding vulnerabilities in the attacker’s malware and using it against him.

Security consultant Andrzej Dereszowski last week at Black Hat Europe demonstrated how it’s possible to wage a counterattack in a targeted attack: His PoC was based on some fuzzing and reverse-engineering he conducted against malware used in an infected PDF that was sent to a pharmaceutical company. Dereszowski found a buffer overflow bug in the malicious toolkit, which was the Poison Ivy tool, and then built an exploit for it.

“I [had been] asking myself, in theory, what if you wanted to counterattack — provided that it’s possible,” he says. “You can [actually] hack the hackers and counterattack” as demonstrated by the PoC, he says.

But such an attack in reality would obviously be illegal for a victim company to execute, he says. Instead, the goal of his research is to show there are techniques for fighting back once a targeted attack is already under way, he says. “This is for the purpose of research,” he says, although some special government agencies may be able to, or already are, deploying such techniques, he says.

Dereszowski says his research also shows how to quickly analyze malware, which would be useful to a company hit by a targeted attack. “My method of [malware] identification is quite generic and can be applied to any case. I think this could be beneficial to companies,” he says.

Not just anyone could pull off the counterattack technique, however: “You have to know reverse-engineering and exploit-development techniques,” Dereszowski says. Similar techniques have been used by researchers and investigators in botnet infiltration research, he says.

The recent wave of targeted attacks on Google, Adobe, Intel, and others served as a wake-up call to businesses that stealthy targeted attacks are often tough to detect and basically are a fact of life for many organizations. These attacks, often out of China, gain a foothold inside governments and company networks and remain entrenched in order to steal intellectual property and other data. They are almost always successful and undetectable until it’s too late.

Dereszowski’s new research sheds light on the possibility of a counteroffensive to the targeted attack, or at least on finding vulnerabilities in the attacks themselves.

He says he began by assuming that the PDF attacker in his research had used a toolkit that was publicly available online, which he found to be the Poison Ivy Trojan toolkit (after doing some reconnaissance). He then broke through the obfuscated code in the infamous Trojan tool in order to run static analysis of the malware. The PoC shows how in a targeted attack using the Poison Ivy Trojan there’s a way to fight back against the attacker, he says.

The PoC was running in Dereszowski’s virtual machine against its own command-and-control (C&C) server, he says. “If you were to attack a real command-and-control server of an attacker, you could [theoretically] do lots of damage because you would have full permission on their host” with this approach, he says. “But it also depends on the protections they [the attackers] have set up.”

The exploit would be invisible to the attacker, and the counterattacker would basically exit the system after he had finished, leaving the exploit behind with a window into the C&C server. Dereszowski ran a standard Metasploit shellcode to open an active connection to the C&C server. This form of counterattack could apply to other Trojans, such as the pervasive Zeus Trojan, he says, as long as you have access to the C&C and can get hold of the malware code.

You can click here to Download Andrzej Dereszowski’s counterattack research or by clicking on the link above by accessing the webpage and downloading the same from there.

Please read this research, it is pretty awesome 😀

Takecare
ciao

Advertisements

Attackers hit Google single sign-on password system

Posted in IT Security on August 16, 2010 by cobra

The New York Times is reporting that Google’s password system was compromised during a targeted attack last December. The system, called Gaia or Single Sign-On, controls access by millions of users worldwide to almost all of the company’s Web services, including e-mail and business applications.

NY Times reporter John Markoff writes:
The program, code named Gaia for the Greek goddess of the earth, was attacked in a lightning raid taking less than two days last December, the person said. Described publicly only once at a technical conference four years ago, the software is intended to enable users and employees to sign in with their password just once to operate a range of services. The intruders do not appear to have stolen passwords of Gmail users, and the company quickly started making significant changes to the security of its networks after the intrusions. But the theft leaves open the possibility, however faint, that the intruders may find weaknesses that Google might not even be aware of, independent computer experts said.

Click on the following link for more information regarding this critical matter

Microsoft says Google was hacked with IE zero-day

Have a good day
ciao