Slashdot Log In
Attacking Sandboxes
Posted by
kdawson
on Sun Jul 15, 2007 07:05 PM
from the just-another-brick-in-the-wall dept.
from the just-another-brick-in-the-wall dept.
SkiifGeek writes "Many anti-malware applications use a sandbox as a tool to help identify potentially malicious software. Now knowledge is spreading about techniques and methods that can allow sandboxed software to target the sandbox itself (and by extension the application that applied it). While attacks that specifically target sandboxing applications are probably a little way off, this technology can be considered the logical extension of techniques and procedures to identify the presence of hosted systems (VMWare, Virtual PC, etc.)."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Enter the Sandbox (Score:2, Funny)
Sandbox the sandbox (Score:4, Funny)
Re:Sandbox the sandbox (Score:5, Funny)
Re:Sandbox the sandbox (Score:5, Funny)
(http://www.quantumtemple.com/)
Love this -- like the turtles.... (Score:5, Funny)
(http://www.thenorth.com/apblog | Last Journal: Monday February 13 2006, @07:48AM)
Re:Love this -- like the turtles.... (Score:5, Funny)
(http://ettlz.blogspot.com/ | Last Journal: Sunday February 12 2006, @06:53PM)
Aborted
Re:Sandbox the sandbox (Score:5, Funny)
(http://www.jason-nemeth.com/)
Re:Sandbox the sandbox (Score:5, Interesting)
(http://www.kibbee.ca/)
It's all layers of useless crap piled on top of eachother which doesn't stop the real problem of people falling for stupid fishing sites, and entering a password in a site that looks like their bank's. If they really wanted to add real security they'd hand out RSA key fobs to everyone instead of adding layers of stuff that makes it look more secure but actually isn't.
Re:Sandbox the sandbox (Score:4, Insightful)
(http://poltras.com/)
Serves us right (Score:3, Funny)
Old news (Score:4, Informative)
"Thwarting Virtual Machine Detection" is a nice paper on virtual machine detection.
Strike vs Counterstrike (Score:5, Insightful)
As long as people are imperfect (and they always will be) there will be measures, countermeasures, and counter-counter measures. New techniques will make old ones obsolete, and even newer techniques will make the once-new techniques no longer apply.
With this understanding, any technology that can outsurvive more than one or two iterations of other products in the same field becomes "venerable" and "stable".
Which makes now a particularly good time to appreciate the guys who worked out the spec for TCP/IP some 30 (?) years ago. Despite going from mainframes, to minis, to PCs, and now on to the era of ubiquitous computing, the basic concepts and ideas behind the TCP/IP specification continue to hold steady and useful. They managed to come up with a technology, that whatever flaws have actually been found, hasn't come up against any real show-stoppers. None.
To which I can only say: WOW.
Re:Strike vs Counterstrike (Score:4, Insightful)
It may be even easier. Who cares? However you look at it, TCP is doing its job. If you want to prevent against hijacking, the layered topology of the communication stack lets you prevent that at a higher level. (EG: Using encryption - which can be interrupted, but not hijacked)
TCP hijacking is merely a side effect of a missing layer in the stack of your application.
Once again, they didn't read the article. (Score:5, Insightful)
It also said that software has been found that detects when it's attached to a debugger. Big deal, copy protection schemes have been doing that for decades.
The article then goes on to FUD that code that attacks the sand box "must" be coming.
Oh, it must be coming. Uhuh.
Umm... yes? And? (Score:5, Interesting)
So far, malware that "breaks out" of the sandbox would be new to me (though I'd be grateful for a sample). Though, seriously, why not run a VM with Windows (to analyze) on a box running Linux? I'd be very interested if someone manages to do the feat of creating a piece of malware that manages to break out of the sandbox and then run on a machine with a completely different operating system.
If you wanna throw another stick between the malware's feet, run the VM on a non-i386 architecture. If someone manages to break out of THAT and manages to hijack my machine, he really earned it and should get it.
This might be good for end-users (Score:2)
(http://mysite.verizon.net/tkrotchko/)
By the same token, it suggests a new attack against malware.... find out what makes a piece of malware think it's running on a VM and then make a physical machine react the same way. The possibilities are endless here.
You Don't Even Need Special Code to Detect VMwa... (Score:2)
(http://www.evilcon.net/)
"Piercing the abstraction" as they call it in the business, however, is much more difficult especially on a VM running on top of VMware's ESX, which don't actually interact with the guest OS except via software that uses the backdoor. If it is turned off, VMware doesn't talk to the guest OS so I don't see an easy way of doing this. VMware works by intercepting special system calls and getting out of the way and allowing the VM to execute its code on the CPU itself.
Solutions like paravirtualization would be more susceptible to these attacks than a hypervisor like VMware.
Sand Toys (Score:1)
Question to those who sandbox (Score:1, Interesting)
So, does anyone know of a particularly home-friendly way to handle a real-hardware box? I'm not sure of the best way to do this, but I assume it may simply require a CD/DVD that boots windows, instead of re-imaging the drive every time you want to test something new (which sounds quite...painful).
All I saw was... (Score:1)
Detecting virtualization? (Score:4, Funny)
(Last Journal: Saturday February 17 2007, @08:39PM)
There is no spoon [wikipedia.org]
Arms race for nothing (Score:1)
(http://fnarg.com/)
Meanwhile, I avoid ALL forms of anti-malware tools, and magically I rarely get infected. When I do, I notice pretty quickly because I actually pay attention to what my PC is doing. If a certain task (or game) is used to running smoothly, and all of a sudden it starts wigging out, I'll know something is up. It's not like malware has ever cared to be spartan when it comes to CPU and memory usage.
If McAfee could stop selling anti-virus software, and instead just sell a book or instructive video on how to not be stupid and how to not click on all those sexy ActiveX prompts, well first of all they'd go out of business because they're a sloppy ass company, but secondly maybe some people would actually develop the ability to not click everything under the sun.
As it stands, I am of ZERO value to malware authors because my PC doesn't get involved in their spam/botnets, nor do I spread the plague to my friends and coworkers. I'm also worth ZERO to the anti-virus companies. If more people could self-police their PC like me, it would put a dent in both the virus and anti-virus businesses and as a result, it would slow the evolution of malware.
If two kids are fighting over a silly toy, when you take away the toy, they find something else to occupy them. Virus authors are no different. Businesses are no different. Humankind as a whole is no different.
Re:Arms race for nothing (Score:4, Interesting)
Isn't once enough for anyone? You did format and restore from a known good backup or install media afterwards didn't you? There's a tendency lately to trust that whoever had full control of your PC did nothing but run a set script and blindly hope that there is nothing else on there. I've played with various removal tools when people have given me compromised machines and different tools gave me different answers the other tools could not detect - perhaps there were some things neither could detect, hard to be sure especially when you are booting from a compromised system.
Fdisk it from orbit - it's the only way to be sure.
Re:Arms race for nothing (Score:5, Insightful)
Even Microsoft agrees with you. You can't "clean" a compromized machine.
http://www.microsoft.com/technet/community/column
That goes for other OSes too.
--
BMO
cat /dev/colon /proc/virtual/1 (Score:1)
I always know there are security problems with sandboxes - and all the cats on the world surely know how to break them:
cat
Centipedes? (Score:1)
Re:Watch what I can do (Score:5, Funny)