Author Topic: How to circumvent the sandbox easily  (Read 5802 times)

0 Members and 1 Guest are viewing this topic.

Julian_evil

  • Guest
How to circumvent the sandbox easily
« on: June 30, 2010, 09:25:35 PM »
Tested with 594 on XP SP3.

1.) Start the Comodo leaktest sandboxed. Then start the method "Explorer as parent". The sandboxed clt.exe creates the iexplore.exe process outside of the sandbox.
http://www.testmypcsecurity.com/securitytests/firewall_test_suite.html

2.) Go to system32 and start taskmgr.exe sandboxed. With it start a MSI install package. It seems like if the Windows Installer would be sandboxed due to the red frame around its window. But in fact it creates files outside of the sandbox.

GloobyGoob

  • Guest
Re: How to circumvent the sandbox easily
« Reply #1 on: July 01, 2010, 12:11:51 AM »
Did you uncheck the first option in Real-time shields > Process Virtualization > Expert Settings? It is enabled by default.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: How to circumvent the sandbox easily
« Reply #2 on: July 01, 2010, 12:33:24 AM »
Thanks for checking. I'll be glad if the programmers take a look, specially Lukas or pk.
The best things in life are free.

Julian_evil

  • Guest
Re: How to circumvent the sandbox easily
« Reply #3 on: July 04, 2010, 04:03:02 PM »
Did you uncheck the first option in Real-time shields > Process Virtualization > Expert Settings? It is enabled by default.
Unfortunately, that doesn't help.

Could a developer please comment on this?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: How to circumvent the sandbox easily
« Reply #4 on: July 04, 2010, 08:04:08 PM »
Other tests that the sandbox is also failing:
The best things in life are free.

GloobyGoob

  • Guest
Re: How to circumvent the sandbox easily
« Reply #5 on: July 04, 2010, 08:38:15 PM »
Other tests that the sandbox is also failing:

Tech, that Leaktest doesn't test the sandbox, it tests the firewall and HIPS. (But Julian_evil was testing the sandbox; by trying to see if something would get created outside of it) The anti-virus component blocks some of them but the firewall doesn't respond to them. And here's the reason for this.

Quote from: Neil J. Rubenking, PCMAG
My ALWIL contacts explained that since there's no malicious payload in the leak test programs there's no reason for avast! to block their behavior. That makes sense. Norton Internet Security 2010 and Panda Internet Security 2010 work in just the same way.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: How to circumvent the sandbox easily
« Reply #6 on: July 04, 2010, 08:45:53 PM »
Tech, that Leaktest doesn't test the sandbox, it tests the firewall and HIPS.
Are you sure?
I'm not. I've tested Comodo Firewal and Defense+ and the results were ridiculous.
The very beginning they say I need to sandbox the process: https://forums.comodo.com/leak-testingattacksvulnerability-research/comparison-of-comodo-firewall-and-defense-with-avast-internet-security-t58804.0.html;msg411881#msg411881
The best things in life are free.

GloobyGoob

  • Guest
Re: How to circumvent the sandbox easily
« Reply #7 on: July 04, 2010, 09:05:41 PM »
??? Ok I just tested it.

Outside of sandbox: 110/340
Inside sandbox: 170/340

@Julian_evil, when I ran clt.exe virtualized, it didn't create anything outside of the sandbox.

Sparxx

  • Guest
Re: How to circumvent the sandbox easily
« Reply #8 on: July 04, 2010, 10:02:31 PM »
Tested it too :

Outside of sandbox : 150/340
Inside of sandbox : 200/340 ( using Sandboxie ) .

GloobyGoob

  • Guest
Re: How to circumvent the sandbox easily
« Reply #9 on: July 05, 2010, 04:00:54 AM »
Are you sure?
I'm not. I've tested Comodo Firewal and Defense+ and the results were ridiculous.
The very beginning they say I need to sandbox the process: https://forums.comodo.com/leak-testingattacksvulnerability-research/comparison-of-comodo-firewall-and-defense-with-avast-internet-security-t58804.0.html;msg411881#msg411881

I think it has to do with permissions. Some sandboxed programs can't open because of no permission, even if you click run as administrator. So maybe that's why you get a better score when it's virtualized, because of the blocking. Anyway, the sandbox isn't tested by leaktests, they could help, but they mainly test firewalls and HIPS. After all, a sandbox's job is to make sure nothing reaches your real computer.

Julian_evil

  • Guest
Re: How to circumvent the sandbox easily
« Reply #10 on: July 05, 2010, 01:35:53 PM »
@Julian_evil, when I ran clt.exe virtualized, it didn't create anything outside of the sandbox.
I tested both on XP SP3 and Seven x64. The result is an IEXPLORE.exe running outside of the sandbox:

GloobyGoob

  • Guest
Re: How to circumvent the sandbox easily
« Reply #11 on: July 05, 2010, 10:47:34 PM »
Everytime I do it, iexplore.exe is sandboxed and no files are created outside of the sandbox. Am I doing something wrong? ??? http://www.screencast.com/t/NDRlY2EyZDMt

Offline Rednose

  • Pirate Party Member
  • Avast Überevangelist
  • Massive Poster
  • *****
  • Posts: 3739
  • Bits of Freedom : https://www.bof.nl
    • Nederlandstalig Avast! forum
Re: How to circumvent the sandbox easily
« Reply #12 on: July 05, 2010, 11:57:00 PM »
With the firewall on ask :

- Outside the sandbox : 150/340
- Inside the sandbox   : 200/340

And I can confirm GloobyGoob findings: Iexplorer is sandboxed, ExplorerAsParent impersonation is not vulnerable.

Greetz, Red.



Btw. If it is ok with you guys, I will ask Petr if he can shine a light on this.
« Last Edit: July 06, 2010, 01:09:31 AM by Rednose »
OS: Win 10 / iOS 17 / Debian 12 / Tails 5
Real Time: Avast Premium Security
On Demand: Malwarebytes
VPN: NordVPN ( NordLynx ) with Threat Protection ( Lite )