Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > sandboxing & virtualization
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old July 16th, 2012, 08:48 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Question What is Sandboxie and how / when to use it?

I always here about Sandboxie but I dont know what it is, what for? and when to use it

I am protected well having Bitdefender Internet Security 2013 + MBAM (on demand) + SAS (on demand) + MVPS Hosts file

I dont know why should I be using a sandboxie and how or when

please enlighten teh meh
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen

Last edited by LowWaterMark : August 24th, 2012 at 09:36 AM. Reason: title fixed by request
  #2  
Old July 16th, 2012, 09:07 PM
Sully Sully is offline
Massive Poster
 
Join Date: Dec 2005
Posts: 3,696
Default Re: What is Sandiebox and how / when to use it?

I always like the analogy of a literal sandbox.

When you start a program within the sandbox, it stays there and not in the yard because of the sandbox perimeter - like a steel box that keeps the sand inside. Things that happen in the sandbox stay there, and it seems as if everything is going on as normal to the user.

However, when you get a problem in the sandbox, you rake it flat and all those castles and moats are gone, leaving a clean sandbox for you to start building in again.

One thing to remember is that if you build somthing in the sandbox that you want to keep, you have to put it in the yard before you rake it flat, or it will be lost. Think of the files you download or documents you create while you are in the sandbox, they must be taken out of the sandbox to be kept permenantely or they will be gone when you delete the sandbox.

One issue that seems to be common with users of sandboxie is they don't understand where thier files are. They went to the sandbox, and made some nice toys out of sand, and then the next day they look for those toys in the back yard. But, they are not thinking - they made them in the sandbox, so where would you expect them to find the new toys? Still in the sandbox, unless they explicitly move them to the yard.

In computer terms it is pretty easy. Every sandbox you make gets a folder created for it at c:\sandbox\<sandbox directory structure>

This sandbox folder contains everything that happens in the sandbox. What you download, the cache, anything and everything will be there. You must "recover" items from the sandbox to the real system to keep it.

Another thing people are sometimes confused about is why the contents of a given sandbox will have the exact same files and folders of thier real system. It is because, if a file is in the real system, sandboxie might make a copy of it to use in the sandbox for different reasons. This is what keeps things so nice and clean and secure. A copy is made if needed, and all work is done off the copy - so if you delete the sandbox, all your REAL files are still in order and only your NEW FILES that are in the sandbox only are deleted. So it pays to understand just what sandboxie is doing, how it segregates things apart and how you go about recovering things before you wipe a sandbox clean.

Yeah, not so techy, but I think it describes it well for those who have no idea about it.

Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd.
  #3  
Old July 16th, 2012, 09:13 PM
Dark Shadow's Avatar
Dark Shadow Dark Shadow is offline
Massive Poster
 
Join Date: Oct 2007
Location: USA
Posts: 4,550
Default Re: What is Sandiebox and how / when to use it?

LOL I Think you mean Sandboxie. Here is a little discription of it.


Benefits of the Isolated Sandbox

Secure Web Browsing: Running your Web browser under the protection of Sandboxie means that all malicious software downloaded by the browser is trapped in the sandbox and can be discarded trivially.
Enhanced Privacy: Browsing history, cookies, and cached temporary files collected while Web browsing stay in the sandbox and don't leak into Windows.
Secure E-mail: Viruses and other malicious software that might be hiding in your email can't break out of the sandbox and can't infect your real system.
Windows Stays Lean: Prevent wear-and-tear in Windows by installing software into an isolated sandbox.
__________________
OS X 10.8.3 - 2.9 GHz Intel core i7 - 8 GB 1600 MHz DDR3 - 750 SATA HD - Intel HD 4000 Graphics 512 MB.
  #4  
Old July 16th, 2012, 09:27 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: What is Sandiebox and how / when to use it?

Sandboxie is a security program that implements a copy-on-write file system. Essentially you run an application that has read access to your file system but any time it tries to write to a file system the write gets redirected to the Sandboxie file system.

If program A tries to write a file to C:\Users\Desktop Sandboxie redirects it to C:\Sandboxie\ProgramA\Users\Desktop, which isolates the program from the file system.

Each application gets its own Sandboxie file system to live in and do as it pleases. You can also install multiple applications to the same file system.

You could even install malware to the Sandboxie file system and it wouldn't be able to touch your real file system - meaning all it takes is wiping the specific sandbox and you're free from malware.

Sandboxie also restricts Inter Process Communication - meaning Application A can't talk to Application B.

Sandboxie can also be set up to create a Mandatory Access Control sandbox - meaning that you can restrict reads/writes (separately) to specific files and folders. This can prevent remote/ local exploitation.

Sandboxie also allows blocking of internet access to specific programs/ whitelisting internet access within a sandbox. It can also allow only specific file executables to run.

You can configure to allow sandboxie to write to specific areas of your file system, which allows for ease of use and program compatibility.
__________________
  #5  
Old July 16th, 2012, 09:45 PM
bo elam bo elam is offline
Very Frequent Poster
 
Join Date: Jun 2010
Posts: 1,038
Default Re: What is Sandiebox and how / when to use it?

Quote:
Originally Posted by berryracer

I dont know why should I be using a sandiebox and how or when

I tell you why I use it. About three and a half years ago, after an ugly rootkit infection that somehow I was able to get rid on my own, I decided to look for some real protection against rootkits. All of the sudden, I had 100 programs in front of my face all telling me that they were the greatest against malware, somehow I got lucky and was able to pick a little and quiet program that was sitting in the corner, that program was Sandboxie.

I have been using the program ever since and infections don't come around anymore. Infections stopped the day I started using Sandboxie.To me, that's a very good reason to keep using SBIE and it is why I always recommend the program.

When to use SBIE? That really depends on the user. Most users start by running the browser sandboxed. That's what I did, eventually I also started running my EMail client in a sandbox and now I run just about any file or program that I regularly use in a sandbox.

Bo
  #6  
Old July 16th, 2012, 10:40 PM
Wendi Wendi is offline
Frequent Poster
 
Join Date: Aug 2008
Location: NY, USA
Posts: 332
Default Re: What is Sandiebox and how / when to use it?

I also have a few questions about Sandboxie.

From what I understand, Sandboxie is program-selective compared to an LV program (such as Shadow Defender) that sandboxes (virtualizes) the entire partition, is that correct?

Does Sandboxie provide a wizard to help select the programs that you would like to run sandboxed?

Assuming that just about everyone would sandbox their browser and downloads, how do you allow ligitimate Microsoft updates to get through ?

Wendi
__________________
Realtime Protection: Windows 7 Firewall, Avast AV, Sandboxie (for IE)
On-Demand Protection: Shadow Defender, Malwarebytes Anti-Malware
  #7  
Old July 16th, 2012, 11:14 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by Hungry Man
Sandboxie is a security program that implements a copy-on-write file system. Essentially you run an application that has read access to your file system but any time it tries to write to a file system the write gets redirected to the Sandboxie file system.

If program A tries to write a file to C:\Users\Desktop Sandboxie redirects it to C:\Sandboxie\ProgramA\Users\Desktop, which isolates the program from the file system.

Each application gets its own Sandboxie file system to live in and do as it pleases. You can also install multiple applications to the same file system.

You could even install malware to the Sandboxie file system and it wouldn't be able to touch your real file system - meaning all it takes is wiping the specific sandbox and you're free from malware.

Sandboxie also restricts Inter Process Communication - meaning Application A can't talk to Application B.

Sandboxie can also be set up to create a Mandatory Access Control sandbox - meaning that you can restrict reads/writes (separately) to specific files and folders. This can prevent remote/ local exploitation.

Sandboxie also allows blocking of internet access to specific programs/ whitelisting internet access within a sandbox. It can also allow only specific file executables to run.

You can configure to allow sandboxie to write to specific areas of your file system, which allows for ease of use and program compatibility.

Thank you very much sir for this nice write up and thanks to the above user as well.

To me, as nice as this may sound, this seems to be more of a headache having

I wish I could see someone using it infront of me...

I have never needed more than a good antivirus, good anti malware, and not going to stupid sites obviously in my life.....dunno if I really need this headache
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #8  
Old July 16th, 2012, 11:15 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: What is Sandiebox and how / when to use it?

Quote:
From what I understand, Sandboxie is program-selective compared to an LV program (such as Shadow Defender) that sandboxes (virtualizes) the entire partition, is that correct?
That is correct. Shadow Defender virtualizes the registry for all programs that access it. Sandboxie only virtualizes the file system and registry for programs contained in the sandboxes.

Quote:
Does Sandboxie provide a wizard to help select the programs that you would like to run sandboxed?
I don't believe so but the UI is very simple. You simple select the .exe you wish to confine.

Quote:
Assuming that just about everyone would sandbox their browser and downloads, how do you allow ligitimate Microsoft updates to get through ?
MS downloades are handled by Windows Update, which you would run unsandboxed.
__________________
  #9  
Old July 16th, 2012, 11:16 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,486
Default Re: What is Sandiebox and how / when to use it?

Quote:
Thank you very much sir for this nice write up and thanks to the above user as well.

To me, as nice as this may sound, this seems to be more of a headache having

I wish I could see someone using it infront of me...

I have never needed more than a good antivirus, good anti malware, and not going to stupid sites obviously in my life.....dunno if I really need this headache
The headache is only in setting it up. Once you do this it may take a bit of playing around to get it 'just right' but it should be entirely silent after that.

You could, for example, run your browser in it. All you'd need is to allow 'Full Access' to the Downloads directory and it would be like new - or just direct access.

There is a slight learning curve to get the terminology but overall I found it very simple when I used it.
__________________
  #10  
Old July 16th, 2012, 11:23 PM
pegr pegr is offline
Very Frequent Poster
 
Join Date: Apr 2008
Location: UK
Posts: 1,608
Default Re: What is Sandiebox and how / when to use it?

Quote:
Originally Posted by Hungry Man
MS downloades are handled by Windows Update, which you would run unsandboxed.
@Wendi: Just to add to that, if you want to use Internet Explorer to manually download MS updates, temporarily run IE outside of the sandbox while doing it.
__________________
Windows Firewall - avast! Free Antivirus - AppGuard - Shadow Defender - Sandboxie - Acronis True Image
  #11  
Old July 17th, 2012, 09:43 AM
blasev's Avatar
blasev blasev is offline
Frequent Poster
 
Join Date: Oct 2010
Posts: 640
Default Re: What is Sandiebox and how / when to use it?

sandboxie also can be used to maintain clean os

eg:
trying new app/game by installing it inside sandbox, if we don't like it we can always delete and gone all the trace.

its one of the "feature" that I like most
  #12  
Old July 17th, 2012, 10:00 AM
bo elam bo elam is offline
Very Frequent Poster
 
Join Date: Jun 2010
Posts: 1,038
Default Re: What is Sandiebox and how / when to use it?

Quote:
Originally Posted by Wendi
Assuming that just about everyone would sandbox their browser and downloads, how do you allow ligitimate Microsoft updates to get through ?

Wendi
If MS updates are set to be downloaded and installed automatically, Sandboxie doesn't interfere with the process. If updates are done manually, as mentioned, do the updates running IE out of the sandbox.

Bo
  #13  
Old July 17th, 2012, 12:25 PM
IceCube1010's Avatar
IceCube1010 IceCube1010 is offline
Frequent Poster
 
Join Date: Apr 2008
Location: Earth
Posts: 918
Default Re: What is Sandiebox and how / when to use it?

Quote:
Originally Posted by berryracer
I always here about Sandiebox but I dont know what it is, what for? and when to use it

I am protected well having Bitdefender Internet Security 2013 + MBAM (on demand) + SAS (on demand) + MVPS Hosts file

I dont know why should I be using a sandiebox and how or when

please enlighten teh meh

Believe it or not, some people just use windows firewall with Sandboxie and that's it! When used correctly, this program rocks! A little tweaking is needed for complete control. Definitely worth the time to learn it.

Ice
__________________
Real time ....:BD Free
On Demand .:MBAM
  #14  
Old August 4th, 2012, 05:52 AM
arsenaloyal's Avatar
arsenaloyal arsenaloyal is offline
Frequent Poster
 
Join Date: Nov 2009
Posts: 446
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by bo elam
I tell you why I use it. About three and a half years ago, after an ugly rootkit infection that somehow I was able to get rid on my own, I decided to look for some real protection against rootkits. All of the sudden, I had 100 programs in front of my face all telling me that they were the greatest against malware, somehow I got lucky and was able to pick a little and quiet program that was sitting in the corner, that program was Sandboxie.

I have been using the program ever since and infections don't come around anymore. Infections stopped the day I started using Sandboxie.To me, that's a very good reason to keep using SBIE and it is why I always recommend the program.

When to use SBIE? That really depends on the user. Most users start by running the browser sandboxed. That's what I did, eventually I also started running my EMail client in a sandbox and now I run just about any file or program that I regularly use in a sandbox.

Bo

I agree with you Bo, i have been using sandboxie for the past 5 years and honestly a good firewall and sandboxie is all you need.

And at 29 Euros for the lifetime license which includes all the PC's that you personaly own (including VM'S) its the best out there.
I honestly have not encountered a single infection since i started using sandboxie.
on the flip side it does get a bit of know how,but as you said bo most users should be fine by running the browser sandboxed.
heck i cannot imagine an unsandboxed browser!
__________________
Desktop - Windows 8 Pro x64 - Real-Time : Outpost Security Suite Pro | Appguard | AdMuncher Premium
Laptop - Windows 8 Enterprise x64 - Real-Time : Outpost Firewall Pro | Exe Radar Pro | Sandboxie | AdMuncher Premium
  #15  
Old August 4th, 2012, 09:20 PM
bo elam bo elam is offline
Very Frequent Poster
 
Join Date: Jun 2010
Posts: 1,038
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by arsenaloyal
heck i cannot imagine an unsandboxed browser!
I cant either. To me, running unsandboxed is the same as......being naked.

Bo
  #16  
Old August 23rd, 2012, 07:02 AM
AMD AMD is offline
Regular Poster
 
Join Date: Jul 2012
Location: UK
Posts: 70
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by blasev
sandboxie also can be used to maintain clean os

eg:
trying new app/game by installing it inside sandbox, if we don't like it we can always delete and gone all the trace.

its one of the "feature" that I like most

Can you please explain how you do this. If I want to test a program, do I simply launch the .exe file in windows explorer ?
__________________
Comodo Internet Security Complete - MBAM Pro(real time ) - Keyscrambler Premium - Sandboxie - Secunia PSI - Macrium Reflect (free)
  #17  
Old August 23rd, 2012, 08:41 AM
CSKfan CSKfan is offline
Regular Poster
 
Join Date: May 2012
Location: The Earth
Posts: 148
Thumbs up Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by AMD
Can you please explain how you do this. If I want to test a program, do I simply launch the .exe file in windows explorer ?

Right click the executable of the program that you want to execute and click Run Sandboxed.This is one way of doing what you wanted to do.
__________________
Impossible is nothing

Rollback Rx|Sandboxie|AppGuard|Keyscrambler Premium
  #18  
Old August 26th, 2012, 10:55 AM
gugarci's Avatar
gugarci gugarci is offline
Frequent Poster
 
Join Date: Mar 2009
Location: Jersey
Posts: 272
Default Re: What is Sandboxie and how / when to use it?

Sully and Hungry Man I love your Sandboxie explanations.
Sully yours should be in a book called "Sandboxie for Dummies".
__________________
Security Software on my PC's:
Desktop Win 7 Pro x64 Emsisoft Anti Malware v7. Laptop Win 7 Pro x64 & Desktop XP Pro Emsisoft Anti Malware v7 & Online Armor Premium v6 Netbook Win 7 Starter & Netbook XP Home Avast 7. MBAM & Hitman Pro used on demand only.
  #19  
Old August 28th, 2012, 11:37 PM
caspian's Avatar
caspian caspian is offline
Very Frequent Poster
 
Join Date: Jun 2007
Location: Oz
Posts: 1,806
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by berryracer
Thank you very much sir for this nice write up and thanks to the above user as well.

To me, as nice as this may sound, this seems to be more of a headache having

I wish I could see someone using it infront of me...

I have never needed more than a good antivirus, good anti malware, and not going to stupid sites obviously in my life.....dunno if I really need this headache

Hey let me tell you my story. I started reading Wilders quite some time ago. I bet I had read posts about Sandboxie for more than a year before I tried it. I figured that it was probably too advanced for me. But I finally tried it.

So here's what happened. I downloaded it and installed it. It left a little icon on my desktop. When I clicked on the icon, it opened up my web browser sandboxed. That's it. Could this possible have been any simpler or more straight forward?

Then I learned how to delete the sandbox. You just right click on the little icon in the system tray and choose "default box", "delete contents" and then a box pops up and you click on the Delete Contents button. That's it, haha! Isn't that special?

Now let me tell you a little story about a friend of mine, Jeff. He is in his 40's and is particularly clueless on the computer. I installed Sandboxie on his computer. I explained to him that it would protect him if something happened while he was browsing the internet. I told him that it was like a virtual copy of his web browser....a sort of ghost copy. Now my friend Jeff has a young nephew. He is 19 or 20. He sometimes stayed there with Jeff and would surf porn, like so many young'uns do these days. But Jeff had insisted that he ALWAYS use the Sandboxie icon to surf the web.

Well one day Jeff called and something horrible had happened. He kept getting this popup that said his computer was infected and that he needed to buy an antivirus to get rid of it. I asked him if his nephew was using Sandboxie when this happened. He said yes. So I went over to his apt. and sure enough, his home page was highjacked and there were constant popups warning of a terrible virus. So here's where the fun came in. I went down to the system tray and deleted the sandbox.....and POOF!.... It was all gone as if it had never happened. We laughed.

If you haven't at least tried Sandboxie, I personally think that you should. It is so simple and yet so amazing! I also use Shadow Defender. But I use my web browser sandboxed over top of that. I don't want any kind of infection even just for that session. A keylogger can steal a lot of information in a short period of time. So I delete the sandbox often. In between message boards, facebook or wherever. But anyway, download it and give it a try. You'll be glad you did.
__________________
A Billion for a Billion

http://www.wfp.org/1billion

Last edited by caspian : August 29th, 2012 at 12:43 PM.
  #20  
Old August 29th, 2012, 03:45 PM
bo elam bo elam is offline
Very Frequent Poster
 
Join Date: Jun 2010
Posts: 1,038
Default Re: What is Sandboxie and how / when to use it?

Nice stories, thanks for sharing Caspian.

Bo
  #21  
Old August 29th, 2012, 04:01 PM
AlexC's Avatar
AlexC AlexC is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,111
Default Re: What is Sandboxie and how / when to use it?

Yes, Sandboxie provides a simple and powerful protection and this combination is not very easy to find...
__________________
Linux Mint 13 MATE x64
  #22  
Old August 30th, 2012, 02:31 AM
Amit's Avatar
Amit Amit is offline
Massive Poster
 
Join Date: May 2011
Location: Parallel Universe
Posts: 4,631
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by caspian
A keylogger can steal a lot of information in a short period of time. So I delete the sandbox often. In between message boards, facebook or wherever. But anyway, download it and give it a try. You'll be glad you did.
Why not set sbie to auto-delete contents of a sandbox when an app is closed?
__________________
✓The first principle is that you must not fool yourself, and you are the easiest person to fool.
✓Science is the belief in the ignorance of experts.
✓I don't know anything, but I do know that everything is interesting if you go into it deeply enough.


-------Richard P. Feynman---------
  #23  
Old August 30th, 2012, 12:05 PM
Sully Sully is offline
Massive Poster
 
Join Date: Dec 2005
Posts: 3,696
Default Re: What is Sandboxie and how / when to use it?

To handle keyloggers, restrict processes that may run in a given sandbox, or restrict processes that are allowed network comms. Better yet, restrict both what processes may run and what processes have network comms.

As long as you have a clean system when you integrate this, you won't have to worry about keyloggers again within a given sandbox, unless you introduce one into your real system.

Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd.
  #24  
Old August 30th, 2012, 12:40 PM
bo elam bo elam is offline
Very Frequent Poster
 
Join Date: Jun 2010
Posts: 1,038
Default Re: What is Sandboxie and how / when to use it?

Quote:
Originally Posted by Sully
As long as you have a clean system when you integrate this, you won't have to worry about keyloggers again within a given sandbox, unless you introduce one into your real system.

Sul.
Installing an infected addon or installing a program that introduces an infected addon into our system can get a KL in our system. Lets be careful with the addons we use.

Bo
  #25  
Old August 31st, 2012, 01:42 PM
TonyW TonyW is offline
Very Frequent Poster
 
Join Date: Oct 2005
Location: UK
Posts: 2,301
Default Re: What is Sandboxie and how / when to use it?

I used to use Sandboxie regularly, especially when testing fake/rogue software. I've not done such testing for a while. I personally do not feel the need to sandbox every browsing session. In this instance I only have Wilders open in one tab; I honestly don't think it's necessary to sandbox this.
 

Wilders Security Forums > Software, Hardware and General Services > sandboxing & virtualization « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:20 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums