Using Sandboxie for installing applications
Using Sandboxie for installing applications
I am just trying out Sandboxie and would like to use it to install applications of doubtful origin. I don't know if this would work.
Also, when I save files to the hard disk, and close the application, of course the files saved are not on the final hard disk destination until it is saved there by sandboxie. This is not the problem, the problem is that I was only able to save the files one at a time. Is there a way to save all files?
Thanks
Also, when I save files to the hard disk, and close the application, of course the files saved are not on the final hard disk destination until it is saved there by sandboxie. This is not the problem, the problem is that I was only able to save the files one at a time. Is there a way to save all files?
Thanks
Re: Using Sandboxie for installing applications
Many applications can be installed, and run, from inside of a sandbox folder. Not all, though. A program that would normally install a driver and require a reboot to work, will not be able to do so. Also, a program might try to access resources that are denied to it by Sandboxie, for security reasons. The nice thing, though, is that when you delete the contents of the sandbox, the program and all changes that it tried to make are gone. If you download an installer for a program, and that installer is still inside a sandbox that is not set to auto-delete, just running the installer from that location would install it inside the sandbox folder.
If the programs installer is stored outside of the sandbox folders: create a new sandbox for it, then right-click the installer and "Run Sandboxed" - choosing the sandbox you want to use, when asked. Always watch for the #...# in the installer's title bar, to make sure that the installer is running sandboxed.
As far as saving downloaded files, since you mention that you are closing the application that downloaded the files, I assume that what you are referring to is the Quick Recovery window. The files should all be shown listed under the download folder, and the download folder will be 'selected'. So all you need do to recover them all at once is to click on the Recover button while the download folder is selected. Or you can individually click on a downloaded file to recover it.
If the programs installer is stored outside of the sandbox folders: create a new sandbox for it, then right-click the installer and "Run Sandboxed" - choosing the sandbox you want to use, when asked. Always watch for the #...# in the installer's title bar, to make sure that the installer is running sandboxed.
As far as saving downloaded files, since you mention that you are closing the application that downloaded the files, I assume that what you are referring to is the Quick Recovery window. The files should all be shown listed under the download folder, and the download folder will be 'selected'. So all you need do to recover them all at once is to click on the Recover button while the download folder is selected. Or you can individually click on a downloaded file to recover it.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
I see what you mean about drivers being installed. This means that Snadboxie can't be used for installing unknown programs.
Unfortunately, a lot of programs require administrative rights to be installed also. Since Sandboxie cannot be used for installing programs, there appears to be no way to stop a virus loaded program installer. This is disappointing.
How does one safely install a program of unknown or doubtful source?
Thanks
Unfortunately, a lot of programs require administrative rights to be installed also. Since Sandboxie cannot be used for installing programs, there appears to be no way to stop a virus loaded program installer. This is disappointing.
How does one safely install a program of unknown or doubtful source?
Thanks
I see you are a bit confused.Anonymous wrote:I see what you mean about drivers being installed. This means that Snadboxie can't be used for installing unknown programs.
There are not "unknown" programs.
You can not install sandboxed those programs which require a driver, but most of the software don´t need them.
Why not? Not that many programs install drivers. Drivers that are already installed on your computer can be used.Anonymous wrote:I see what you mean about drivers being installed. This means that Snadboxie can't be used for installing unknown programs.
It's just that a new driver can't be installed by the program being tested.
There are users who post in this forum, who try out virus infected programs all of the time, to see if anything can break out of the sandbox.Anonymous wrote:Unfortunately, a lot of programs require administrative rights to be installed also. Since Sandboxie cannot be used for installing programs, there appears to be no way to stop a virus loaded program installer. This is disappointing.
Not me, though. I don't have an interest in doing so.
(I see that Buster has replied to this thread. He is one of those who often tries out malware programs under Sandboxie)
Plus, there are also programs that allow you to set up a virtual session for trying out programs that do not require a reboot after the install.
I often use Returnil to see how to configure Sandboxie, and see how to allow a program to work, that is being denied access to resources blocked by Sandboxie. If I can identify a resource that can be safety added to a user's configuration, and it allows a program to work while under Sandboxie's control, then a restart of my computer after my tests will insure that no remnants of the install will remain to clutter up my hard disk or Registry.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Buster,
When I say that a program is "Unknown" I mean that the program passes the virus check and comes from a suspect source so that it may still contain a virus. This happened to me recently and damaged the system so it couldn't boot.
Now, with the Sandboxie. Assuming that the program can be installed in the Sandboxie environment, how do you copy all the files to the correct location. The files will not be located in the Recovery area since we don't know where the installer will save files to.
When I say that a program is "Unknown" I mean that the program passes the virus check and comes from a suspect source so that it may still contain a virus. This happened to me recently and damaged the system so it couldn't boot.
Now, with the Sandboxie. Assuming that the program can be installed in the Sandboxie environment, how do you copy all the files to the correct location. The files will not be located in the Recovery area since we don't know where the installer will save files to.
I occasionally test audio and video programs in sandboxes. As part of the installation process, the installer (which is sandboxed) typically shows the default location (usually C:\Program Files) where the files will be saved, and gives me the option to select an alternate location. Now if I choose to recover a tested program, the associated files are automatically saved by Sandboxie to that same location (i.e., C:\Program Files or the alternate) on my "real" hard drive.Anonymous wrote: Now, with the Sandboxie. Assuming that the program can be installed in the Sandboxie environment, how do you copy all the files to the correct location. The files will not be located in the Recovery area since we don't know where the installer will save files to.
That sounds simple. Unfortunately, most thisngs that sound simple are very complicated.
I assume that you include the C:\Program Files in the recovery are. Most programs I install also write to the windows directory and also somewhere in the Documents and Settings directory. I suppose I would also need to include these in the recovery area. Then, most programs I install, also write to the registry, what happens to these changes? If the installer writes somewhere else, those files need to be copied individually, I think.
Am I correct with all this?
Thanks
I assume that you include the C:\Program Files in the recovery are. Most programs I install also write to the windows directory and also somewhere in the Documents and Settings directory. I suppose I would also need to include these in the recovery area. Then, most programs I install, also write to the registry, what happens to these changes? If the installer writes somewhere else, those files need to be copied individually, I think.
Am I correct with all this?
Thanks
it looks like when you view files and folders, you can only recover individual files at a time. the right click menu is grayed out for full folders. so i guess what you would need to do is add program files directory to your quick recovery folders, then initiate a quick recovery, and recover to same folder.
how can you recover the entire program files directory, without adding it to quick recovery? i think this is what he is asking.bs1 wrote: Now if I choose to recover a tested program, the associated files are automatically saved by Sandboxie to that same location (i.e., C:\Program Files or the alternate) on my "real" hard drive.
I now think that installing programs in a sandbox should only be considered a test. If it works ok, then install again in the real world. Otherwise, easy copying of files installed in the Program Files, Documents and Settings, Windows directories and the registry copying needs to be solved.
As it was stated before, simpler is better.
And this solution is only acceptable for small programs. I don't think that running large installers would be suitable to be run inside a sandbox.
As it was stated before, simpler is better.
And this solution is only acceptable for small programs. I don't think that running large installers would be suitable to be run inside a sandbox.
That depends on the installer. Large is not necessarily complex. Complex also usually works.
In any case, you're not "supposed" to try to move a complete installation out of the sandbox.
Use software in the sandbox for as long as you wish (even forever), but when you want it outside the sandbox, just reinstall it.
In any case, you're not "supposed" to try to move a complete installation out of the sandbox.
Use software in the sandbox for as long as you wish (even forever), but when you want it outside the sandbox, just reinstall it.
tzuk
...and one day, should you still want to copy multiple files (data files, say, not program files, tzuk has given the best answer for programs) from the sandbox to the real system, open Sandboxie Control, right mouse click the sandbox's name, select Explore Contents, browse to the sandboxed versions of the files and use drag and drop (or copy and paste) to recover them to a 'real' folder.
Cheers, all,
D
Cheers, all,
D
Who is online
Users browsing this forum: No registered users and 1 guest