 |
 |
|
 | |  |
|
ssj100
| Joined: 23 Apr 2009 |
| Posts: 843 |
|
|
 |
Posted: Wed Jan 06, 2010 6:35 am |
|
 |
 |
 |
 |
| arran wrote: |
As expected.
There is people around recommending LUA. Julian can you please or some one else please do these tests with LUA? and post back. I not have 64 bit yet. |
Yes, it would be most interesting to see the results of using a LUA with Sandboxie on 64-bit.
The fact is that merely using an LUA will stop most malware out there instantly (as in, the malware won't even start/run/execute purely because it requires administrator rights to do so). This isn't the type of malware that we should be testing with Sandboxie + LUA on 64-bit. We should be testing malware that is able to start/run/execute successfully in a LUA (while in the sandbox). Furthermore, we should then be testing if this same malware can start/run/execute successfully wtih SRP (or Applocker) enabled (while in the sandbox).
Ultimately, in my opinion, if you use Windows with a LUA + SRP (or similar) enabled, you are basically as safe as using eg. Linux Ubuntu. I suspect the reason why Linux may still arguably be safer is because there are (statistically) simply more malware writers for Windows than any other computer platform.
|
|
_________________ Sandboxie + LUA + SRP + DEP + SuRun
Windows Firewall + NAT Router + IPSec (on-demand)
VirtualBox (on-demand)
Drive SnapShot (on-demand)
|
 |
 | |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 11:57 am |
|
 |
 |
 |
 |
| RSecure wrote: |
| The reason why Im concerned is that at the pace x64 is adopted you may consider stopping the development of the increasingly smaller 32bit market share. |
Don't worry. It's not like the entire world is going out to replace their working 32-bit systems with 64-bit systems. And the netbook craze is 32-bit. And most importantly, I have no reason to switch to 64-bit myself.
| ssj100 wrote: |
| Is that also true with Sandbox Drop Rights + running in LUA? |
Yes. Remember that I'm not talking about malware getting better privileges for itself. I'm talking about a malware that might be able to restart itself outside the sandbox. Same privileges, just outside the sandbox. Now, this is not likely to happen any malware you encounter, but the possibility is there.
This is why the Drop Rights is enabled by default: Because I don't want you letting malware elevate to Administrator (because you think it's in the sandbox and safe) and then this malware restarts itself elevated outside the sandbox.
I am aware that until a couple of days ago, I was saying this is completely unacceptable and just short of the end of the world.  But that is the benefit of someone standing on the outside, looking in and criticizing. Now I want "in" so it's only natural that I change the tune.
And the new tune is this: Let's suppose that in the future 10% of malware (which would be a huge number) is going to be aware of Sandboxie on 64-bit and try to restart itself outside the sandbox. So (a) you are still protected from the other 90% of malware. And (b) I can play a game of arms race with that 10% of malware.
Now from a purist perspective that might not be good enough. So for the purists there are still 32-bit operating systems, either natively on the hardware, or in the new Windows XP mode. But life is compromise and I think it's quite reasonable to compromise on 90% protection with 64-bit Sandboxie, and not consider it useless by any means.
|
|
_________________ tzuk
|
 |
 | |  |
|
ssj100
| Joined: 23 Apr 2009 |
| Posts: 843 |
|
|
 |
Posted: Wed Jan 06, 2010 12:00 pm |
|
 |
 |
 |
 |
| tzuk wrote: |
| RSecure wrote: |
| The reason why Im concerned is that at the pace x64 is adopted you may consider stopping the development of the increasingly smaller 32bit market share. |
Don't worry. It's not like the entire world is going out to replace their working 32-bit systems with 64-bit systems. And the netbook craze is 32-bit. And most importantly, I have no reason to switch to 64-bit myself.
| ssj100 wrote: |
| Is that also true with Sandbox Drop Rights + running in LUA? |
Yes. Remember that I'm not talking about malware getting better privileges for itself. I'm talking about a malware that might be able to restart itself outside the sandbox. Same privileges, just outside the sandbox. Now, this is not likely to happen any malware you encounter, but the possibility is there.
This is why the Drop Rights is enabled by default: Because I don't want you letting malware elevate to Administrator (because you think it's in the sandbox and safe) and then this malware restarts itself elevated outside the sandbox.
I am aware that until a couple of days ago, I was saying this is completely unacceptable and just short of the end of the world. But that is the benefit of someone standing on the outside, looking in and criticizing. Now I want "in" so it's only natural that I change the tune.
And the new tune is this: Let's suppose that in the future 10% of malware (which would be a huge number) is going to be aware of Sandboxie on 64-bit and try to restart itself outside the sandbox. So (a) you are still protected from the other 90% of malware. And (b) I can play a game of arms race with that 10% of malware.
Now from a purist perspective that might not be good enough. So for the purists there are still 32-bit operating systems, either natively on the hardware, or in the new Windows XP mode. But life is compromise and I think it's quite reasonable to compromise on 90% protection with 64-bit Sandboxie, and not consider it useless by any means. |
Okay, thanks Tzuk - that answers pretty much all my questions. I too have no reason to move to 64-bit for many years to come - by that time, "Windows 8" should be out, and we may well see completely different prospects on that platform - perhaps Microsoft will go easier on that PatchGuard protection!
Unfortunately, I consider myself a purist haha. That 10% "risk" just isn't going to cut it for me! Even a 0.1% risk is not good enough! Of course, there is an element of jest in my comments there, but it's interesting to think about. It's perhaps a bit unfortunate in some ways, but I went on a journery throughout the year 2009 to find the closest thing to "100%" security, and yet maintain a "set and forget" approach. After trying out nearly all the security programs out there, I settled for a strongly configured Sandboxie in a LUA and SRP enabled. Just using Sandboxie by itself (and smartly) arguably provided "100%" protection already, so you can only imagine how powerful a Sandboxie + LUA + SRP setup is!
Because of this "curse" now (of having "100%" protection), I think I may tend to find it a little difficult to move to 64-bit, period.
|
|
|
 |
 | |  |
|
RSecure
Guest
|
 |
Posted: Wed Jan 06, 2010 12:10 pm |
|
 |
 |
 |
 |
Nick, while I do apprecitate your input, this question was specifically aimed at tzuk. your example is rather irrelevant because im not asking tzuk to design his program to circumvent patchguard while its running, rather its the user that can manually turn it off.
consider the following excerpt:
| Quote: |
There is another thing to mention. You can of course disable PatchGuard in a DOCUMENTED, STABLE and EASY manner, by running the following commands in a root-shell and restarting the PC afterwards:
Collapse
Bcdedit /debug ON
Bcdedit /dbgsettings SERIAL DEBUGPORT:1 BAUDRATE:115200 /start AUTOENABLE /noumex |
“noumex” will disable user mode exceptions for kernel debuggers which in fact would Visual Studio prevent from working. “AUTOENABLE” will force PatchGuard to be disabled, because even if you don’t attach a kernel debugger, you could do it at any time, and that is enough. Don’t use this setting to write kernel patching software for end-users. The DEBUG switches will have many side-effects. Mainly with Visual Studio and probably other debuggers, but also with DRM content playback, I suppose. I also noticed an annoying system slowdown and a huge overall latency. The boot time will be increased too, probably because Windows is waiting for a debugger…
Why is PatchGuard disabled with these settings? Simply, because to set breakpoints, you will have to overwrite kernel code, for example, with INT3 and that would already be enough for PatchGuard to BSOD. Another aspect is that a debugger is a common way to explore PatchGuard .
|
|
|
|
 |
 | |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 12:13 pm |
|
 |
 |
 |
 |
RSecure, would you just drop it already? It's not going to happen. When you start your own business, I want to see you throw caution to the wind and go against Microsoft. This is my business and I'm not going to risk it. Clear enough for you?
|
|
|
|
RSecure
Guest
|
 |
Posted: Wed Jan 06, 2010 12:36 pm |
|
 |
 |
 |
 |
Fine  ...geez , you could have said it in a less demeaning manner. What surprised me the most was your 180 degree shift from your x64 platform stance. I gues I was a little upset seeing a top notch product - "the last castle" of the antimalware soultions - become a paper tiger
Anyways if you need help getting MS to listen and provide interfaces, I'll still be glad to help out.
|
|
|
 |
 | |  |
|
arran
| Joined: 17 Aug 2008 |
| Posts: 60 |
|
|
 |
Posted: Wed Jan 06, 2010 1:12 pm |
|
 |
 |
 |
 |
| tzuk wrote: |
| RSecure, would you just drop it already? It's not going to happen. When you start your own business, I want to see you throw caution to the wind and go against Microsoft. This is my business and I'm not going to risk it. Clear enough for you? |
It isn't really going against microsoft, disabling patch guard its just a modification we make modifications, tweaks, turning off services etc on our computers all the time to make them more secure. Whats the difference? Its always the same Game with microsoft they produce a OS and we always having to make modifications to harden it.
If you make a 64 sandboxie version for patch guard disabled and If we disable patch guard on our pc's what exactly are you Risking?
What if microsoft never disables patch in any of its future operating systems or provides any help to security vendors ever? we won't be able to stay on 32bit forever so what are we going to do?
|
|
|
 |
 | |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 1:53 pm |
|
 |
 |
 |
 |
RSecure,
1. I don't know what you expect? You chose to repeatedly ignore my polite refusal.
2. Paper tiger? I don't understand. Are you under some mistaken impression that the 32-bit version is now any less secure?
3. How are you going to convince Microsoft to add more interfaces?
arran,
1. What you suggest amounts to the advocating of circumvention of built-in security measures. (Nevermind that you or I don't consider PatchGuard to be a security measure. Most people do.)
2. There are some technical drawbacks to running with a debugger present. I suggest that you configure your Windows today (whether 32-bit or 64-bit) to run with a debugger, and then let's review the issue again in a few months. You can tell me how great or how bad it was to run with a debugger attached. Sounds reasonable?
|
|
|
 |
 | |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 3:26 pm |
|
 |
 |
 |
 |
Julian I've started looking into your findings.
| Julian wrote: |
| The x64 version doesn't pass the following PoCs: APT: kill 2 kill 3 kill 7 |
Couldnt reproduce any of those. Initially I didn't see any process listed other than apt itself. So I "custom added" SbieCtrl by PID. Was that how you did it too? Then I went through all the options and none affected SbieCtrl. So how can I reproduce?
| Julian wrote: |
| SSTS: kill3 (program window gets closed) kill3b kill3c kill3d kill3e kill3f kill5 |
Couldn't reproduce any of those, again. I tried some of those SSTS programs, but all crash. How did you get them to run in 64-bit Windows 7?
That one I could reproduce. But it's not an indication of any principle weakness. In this case, it was just a silly bug, which I fixed.
| Julian wrote: |
| It seems Sandboxie doesn't intercept window messages at all. |
Actually, it does.
|
|
|
 | Re: Resuming support for 64-bit Sandboxie |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 3:29 pm |
|
 |
 |
 |
 |
| Kees1958 wrote: |
Disabled SRP, and Avast and still getting an error on Vista x64 SP2
SBIE 1113 Can not find Nt system service, reason 9.3 ... |
No need for images. I will update my test system to Vista SP 2 and see if I can reproduce the problem.
|
|
|
 |
 | |  |
|
Julian
| Joined: 09 Aug 2009 |
| Posts: 170 |
|
|
 |
Posted: Wed Jan 06, 2010 4:18 pm |
|
 |
 |
 |
 |
| tzuk wrote: |
Couldnt reproduce any of those. Initially I didn't see any process listed other than apt itself. So I "custom added" SbieCtrl by PID. Was that how you did it too? Then I went through all the options and none affected SbieCtrl. So how can I reproduce?
|
I ran APT sandboxed with administrator elevations. I tested with Lingoes (Of course the main executable, not the installer) http://lingoes.net/en/translator/download.htm.
Sorry, I thought that the result could be applied as general but now I see that it doesn't work with several other processes (No, Lingoes wasn't running in the sandbox.  ).
| tzuk wrote: |
Couldn't reproduce any of those, again. I tried some of those SSTS programs, but all crash. How did you get them to run in 64-bit Windows 7?
|
I started them in XP SP3 compatibility mode and with admin elevations. Also, DEP can be a problem for some of them.
| tzuk wrote: |
Actually, it does. |
But it fails all window messages PoCs, at least when the Lingoes.exe is the target.
Thanks for your efforts.
Edit: Of course I disabled the option to restrict the rights of the administrator- and mainuser group.
|
|
|
 |
 | |  |
|
tzuk
| Joined: 22 Jun 2004 |
| Posts: 15024 |
|
|
 |
Posted: Wed Jan 06, 2010 4:26 pm |
|
 |
 |
 |
 |
| Julian wrote: |
| But it fails all window messages PoCs, at least when the Lingoes.exe is the target. |
So first you enable compatibility (which is another word for exclusions) for Lingoes, then you wonder how come Sandboxie allows access to Lingoes.
| Julian wrote: |
| I started them in XP SP3 compatibility mode and with admin elevations. Also, DEP can be a problem for some of them. |
Thanks, I'll do that. I expect I will be able to reproduce this problem, as I remember SSTS do a lot of unhooking, and with the EndTask API no longer protected from kernel mode, I imagine that's how they manage to end programs. Let me see what I find out.
|
|
|
 |
 | |  |
 |
 | |  |
|
mart
| Joined: 04 Sep 2006 |
| Posts: 54 |
| Location: England |
|
 |
Posted: Wed Jan 06, 2010 6:56 pm |
|
 |
 |
 |
 |
I'm not deeply technical but it seems to me that the 64Bit version of Sandboxie is just a workaround where, due to popular demand, tzuk has decided to see what can be done. Basically, the situation doesn't seem to have changed from when it was said that 64Bit couldn't be supported and the reasons given why. That reason is still there whichever way the problem is looked at. I would be unhappy to use a 64Bit Sandboxie that is a compromise because of PatchGuard being in place. I also think that life without Sandboxie is risky and for that reason I'll be sticking to 32Bit.
|
|
|
You cannot post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 4 of 9
Use the RSS feed to watch this topic for replies
|
|
|
|
|  |