Live data from Hacker News

Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

github.com

11–20 of 34 posts

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#11
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

If you're doing any malware analysis, I think a VM is the minimum bar for isolation; and separate physical hardware is even better.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#12
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

If you're doing any malware analysis, I think a VM is the minimum bar for isolation; and separate physical hardware is even better.

You probably want a VM on separate physical hardware on a separate network connection, to avoid it burrowing into the hardware and avoid it burrowing into your network.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#13
post #3
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

I like the Sandbox app / feature built into Win10/11 (very fast to boot). I wish it'd allow saving snapshots and being automated. I want to set one up with a full dev environment for example. Full HyperV VMs are significantly slower to boot and run.

snapshots would be nice. it is actually a container of sorts underneath, with RDP support, so they could do it if they desired. (they don't, it seems, unfortunately.)

Windows containers gaining RDP is probably the bigger wishlist item, for me. Windows containers with a GUI would make some things extremely trivial and other things much easier.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#14
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

Yeah, the earlier versions of SandBoxie used SSDT hooks and offered much better protection. You can completely bypass some SandBoxie protections today with a direct interrupt 0x2e or SYSENTER call. SandBoxie offers very little protection.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#15
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

Sandboxie (by default), does not restrict access to existing files in your user directory (or anywhere else).

It stops malware etc. From persisting because it catches writes. Basically it kind of mounts an overlayfs over your drive.

You can configure this differently, and iirc the paid donation version has an option to make your user directory private.

I agree that this probably isn't the best default, but that likeöy was a case of not rtfm'ing, andlnot misjudging the risk level. I was confused by this at first too.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#16
post #3

Earlier quoted context omitted.

I like the Sandbox app / feature built into Win10/11 (very fast to boot). I wish it'd allow saving snapshots and being automated. I want to set one up with a full dev environment for example. Full HyperV VMs are significantly slower to boot and run.

snapshots would be nice. it is actually a container of sorts underneath, with RDP support, so they could do it if they desired. (they don't, it seems, unfortunately.) Windows containers gaining RDP is probably the bigger wishlist item, for me. Windows containers with a GUI would make some things extremely trivial and other things much easier.

I documented how to set up RDS in containers back in 2018 [1] then Microsoft swooped in and killed it. They are weirdly sensitive when it comes to terminal services. Could perhaps be licensing/financially motivated. I get emails almost weekly to this day asking for updates. Wish I had one.

[1]: https://withinrafael.com/2018/03/09/using-remote-desktop-ser...

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#17

Earlier quoted context omitted.

snapshots would be nice. it is actually a container of sorts underneath, with RDP support, so they could do it if they desired. (they don't, it seems, unfortunately.) Windows containers gaining RDP is probably the bigger wishlist item, for me. Windows containers with a GUI would make some things extremely trivial and other things much easier.

I documented how to set up RDS in containers back in 2018 [1] then Microsoft swooped in and killed it. They are weirdly sensitive when it comes to terminal services. Could perhaps be licensing/financially motivated. I get emails almost weekly to this day asking for updates. Wish I had one. [1]: https://withinrafael.com/2018/03/09/using-remote-desktop-ser...

Hey Rafael,

How have you been? Are you still in the Bellevue/Redmond area?

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#18
post #2

I rarely feel the need for sandboxie but the times I do, I feel that I'd be better served by a full VM. Got burned once because I misjudged risk level and the thing I ran within sandboxie managed to grab my browser's saved passwords.

ouch. unexpected lesson to be learned here... Don't use browser password saving. I presume a third party app like bitwarden would have been better. though if the browser auto syncs and installs the extension your risk is a little higher.

I was already almost entirely migrated to keepassxc but had kept using the browser feature out of habit. Quickly disabled that and had a really fun few days changing absolutely everything's password.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#19
post #12

Earlier quoted context omitted.

If you're doing any malware analysis, I think a VM is the minimum bar for isolation; and separate physical hardware is even better.

You probably want a VM on separate physical hardware on a separate network connection, to avoid it burrowing into the hardware and avoid it burrowing into your network.

Yeah I will usually just spin up something on a public cloud, if I am running an executable of questionable safety.

A lot of people were using sandboxie for less than noble purposes, like multi boxing in matchmaking games in low population regions, so they’d end up matching all their clients w/ each other.

Re: Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

#20
Since when is Sandboxie open source?

edit: 2020. Awesome. I remember having to rely on reverse engineering to understand wtf it was doing. Now I can check!

When I was younger I wanted to start a company around automatic sandboxing very similar to Sandboxie, but dealing with Windows Kernel Drivers was miserable. Having something open source to derive inspiration and design from would have been so helpful.

Post reply on HN