News for hackers. Stuff that matters.
Re:How we found the file that was used to Hack RSA by watty on Friday August 26, 2011 @07:59AM (#2928176)
He said the Poison Ivy backdoor wasn't advanced - did the attacker create this trojan or is it something available?

If it's available, why didn't the virus scanner catch it?

Re:How we found the file that was used to Hack RSA by ianhawes on Friday August 26, 2011 @08:23AM (#2928223)
Poison Ivy is the new Sub7 (or new Back Orifice, if that's your thing). While it is actually an advanced trojan, the stub (small file it begins with) is relatively easy to detect. PI will commonly inject itself into the default browser's process. PI is a reverse connecting trojan, so an attacker must host the PI server somewhere. PI also encrypted the data back and forth using RC4. So if the attacker is really smart, they'll have PI attach to the default browser and connect to a remote server on port 443. To the average user it looks like HTTPS traffic.

The reason that PI was not detected is because the attacker embedded a Flash object inside the Excel file. The Flash file was a 0day exploit that could download and execute a file, which in this case was the attacker's PI client.

From there, the game is up. Once inside the network, an attacker has a whole new set of doors to open. The simplest route, if the target is on an older operating system, is to dump the SAM file, which contains both local passwords as well as cached passwords. Cached passwords are nice because they are network logins, however 9 times out of 10 the local Administrator password is the same on all systems because system administrators frequently use the same local admin password when imaging lots of computers. Additionally, cached passwords are sometimes out of date due to password update policies. Local passwords are usually not subject to this, or if they are, it becomes irrelevant since a system administrator hasn't likely gone through and changed each local password.

Once you have a network password or local password, things get fun. There are 2 routes here. The attacker can go the frontend route, and attack the internal CRM that EMC has, or they can attack the development servers. Alternatively, they could just keep hacking each workstation, but that is unnecessary. Assuming we went the CRM route, we likely have or can easily obtain a valid login from our first target's computer. Once inside, unless there are solid permissions, we may have won. RSA likely had a record of each customer's purchase, which then had a record of each device and potentially some sort of key or code needed to predict the next token. I'll give RSA the benefit of being slightly smart, so those sort of keys probably won't be on the same CRM, or perhaps our login doesn't have access. Either way, we are in, and with some dissemination of materials available on other drives or within emails, the attacker could easily determine the location of the keys.

Once the attacker has whatever he needs, it's a quick trip to LinkedIn to find people that work at Lockheed Martin or whatever company you fancy. Then it's another spear phishing attack on that target to a page that looks like the target companies VPN. Grab the username, password, and PIN (also log the time) and you're good to go.

Now repeat the part where you enter the internal network and scour for information. Congratulations, you're now an Adaptive Persistent Threat. Pick your certificate up at the door.

Re:How we found the file that was used to Hack RSA by pkteison on Friday August 26, 2011 @11:50AM (#2928830)
I don't understand why there wasn't an air gap between this accounting desktop and the production key servers. The Excel 0-day vector is interesting, but what this tells me is that even without that, all those secureid tokens could also have been hacked by one malicious janitor.
Re:How we found the file that was used to Hack RSA by JBiserkov on Saturday August 27, 2011 @12:13AM (#2930786)
Just to be clear, it's a Flash 0-day, not an Excel 0-day.
Re:How we found the file that was used to Hack RSA by thebootstrapper on Friday August 26, 2011 @09:23AM (#2928374)
Fantastic reply, Thanks.
Re:How we found the file that was used to Hack RSA by jgrahamc on Friday August 26, 2011 @08:18AM (#2928213)
It is easily available: http://www.poisonivy-rat.com/
Re:How we found the file that was used to Hack RSA by skcin7 on Friday August 26, 2011 @09:49AM (#2928452)
So if I download (which I already did) and install this file, how can I know it's not going to inject code into my own computer?
Re:How we found the file that was used to Hack RSA by andrewcooke on Friday August 26, 2011 @10:22AM (#2928556)
you can't, obviously. so start up a virtual machine, run a new version of your OS, and install it there. you should also take care to isolate the network connection of your vm as much as possible (and/or monitor it). i'm not promising this is sufficient - good luck :o)

ps to answer your other question - antivirus scanners look for patterns in the file itself, so they don't need to install it, but are vulnerable to alternative packaging, modified code, etc etc (of course, scanners also check for problems with installed files, but the first line of defense is to inspect the data - including unpacking zip files etc).

Re:How we found the file that was used to Hack RSA by chopsueyar on Friday August 26, 2011 @10:07AM (#2928505)
Trust no one.
Re:How we found the file that was used to Hack RSA by skcin7 on Friday August 26, 2011 @10:21AM (#2928552)
What's the best way to scan a file (Windows) then to ensure it's clean? I believe this file to be clean, I suppose I'm just asking to better understand the theory.
Re:How we found the file that was used to Hack RSA by chopsueyar on Friday August 26, 2011 @10:37AM (#2928599)
Specifically for poisonivy, off the top of my head, I would run a virtualized instance of windows inside of a different OS, and then monitor all network activity between the virtualized OS and the host system and verify every IP it is connecting to during installation and once installed.

Maybe somebody else can jump in here and offer better advice?

Re:How we found the file that was used to Hack RSA by oconnore on Friday August 26, 2011 @11:11AM (#2928711)
The virtual machine isn't guaranteed to work: http://www.zdnet.co.uk/news/security-threats/2009/06/09/virt...

Unless you know exactly what it can do, you should probably run it on an old machine without [direct] internet access.

Re:How we found the file that was used to Hack RSA by chopsueyar on Friday August 26, 2011 @12:52PM (#2929019)
From your link:

Cloudburst uses a vulnerability in the virtual-machine display functions of VMware Workstation that can be exploited by a specially crafted video file.

and...

However, the Cloudburst exploit currently has certain limitations: it will only succeed on Workstation 6.5.0 or 6.5.1 or the associated Player versions. In addition, the guest and host must be Windows-based, among other requirements, Immunity said in its release notes.

Re:How we found the file that was used to Hack RSA by count on Friday August 26, 2011 @10:37PM (#2930655)
Remember, that's a publicly released exploit that's not even very new.

Assume that if that's been publicly released, more advanced stuff has already been seen in the wild.

Re:How we found the file that was used to Hack RSA by skcin7 on Friday August 26, 2011 @12:53PM (#2929022)
Makes sense. That is good advice but as oconnore pointed out that even a VM can be exploited, though I think your solution would work well in the majority of cases. I suppose using a virtual copy of Windows in my OS X wouldn't be 100% safe because of the exploit. I suppose I'll be getting out my old Dell Windows XP machine then to test this out until I am sure it is safe (which I imagine it is but who knows), and if something happens to it then I'll just wipe the drive and re-install Windows. Poison Ivy seems like it would be an awesome tool to know which would be worth my time.
Re:How we found the file that was used to Hack RSA by chopsueyar on Friday August 26, 2011 @01:03PM (#2929070)
Did you read the actual article about the VM exploit? It requires both OSs to be Windows based AND the use of a malformed video file.

But, yeah, paranoia is healthy in this circumstance.

Re:How we found the file that was used to Hack RSA by mambodog on Friday August 26, 2011 @12:28PM (#2928953)
I think you're missing the point of "Trust no one".

You don't scan it, just use it in a disposable environment (usually a VM, on a non-valuable machine) and see what it does.

Re:How we found the file that was used to Hack RSA by probablyrobots on Friday August 26, 2011 @09:34AM (#2928408)
If this software is so widely available why didn't ECM's antivirus software detect it?
Re:How we found the file that was used to Hack RSA by statenjason on Friday August 26, 2011 @09:44AM (#2928437)
This is answered in a response[1] to the grandparent post.

"The reason that PI was not detected is because the attacker embedded a Flash object inside the Excel file. The Flash file was a 0day exploit that could download and execute a file, which in this case was the attacker's PI client."

[1]:http://news.ycombinator.com/item?id=2928223

Re:How we found the file that was used to Hack RSA by waitwhat on Friday August 26, 2011 @10:19AM (#2928545)
The reason that PI was not detected is because the attacker embedded a Flash object inside the Excel file. The Flash file was a 0day exploit that could download and execute a file, which in this case was the attacker's PI client.

The Poison Ivy client was downloaded to the target system. Why did the anti-malware software installed there not pick it up? (Attempting to hand-wave this away by talking about 0-day flash exploits really isn't answering the question.)

Re:How we found the file that was used to Hack RSA by zxw on Friday August 26, 2011 @11:37AM (#2928787)
It's common for the free detectable version of popular trojans to be used as the advertisement for the paid undetectable one.

Looking at the poison ivy website they have a customer portal, so presumably this is how they did it.

There are also methods to pay without leaving a paper trail back to you (pre-paid cards I think).

Edit: It's also possible to modify detectable executables to make them undetectable if you don't want to pay. Virus scanners for the most part work by reading a few bytes from an executable at a particular point, hashing those bytes and if they match a known virus, report it as one. By finding those parts of the executable (there are often multiple signatures, and different vendors will have different signatures too) and modifying them slightly, the resultant hash will be different and the executable undetected.