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 September 5th, 2012, 05:41 AM
luciddream's Avatar
luciddream luciddream is offline
Very Frequent Poster
 
Join Date: Mar 2007
Location: US
Posts: 1,654
Default Sandboxie - using CCleaner for secure file deletion

I know a lot of people in here use CCleaner. So figure some may want to use it for secure file deletion on sandbox close. I prefer it over the other methods. Here is how.

In the "Delete Command" field, enter this. I have mine in G: partition, but substitute wherever you have it, naturally:

"G:\CCleaner\CCleaner.exe" /delete "%SANDBOX%"

and include the quotes, btw.

I recommend having CCleaner set up to delete using Secure file deletion, simple overwrite (1 pass).

When you close your browser there will be a prompt asking you to use CCleaner for the deletion. If anyone has any suggestions on how to make it carry it out automatically, and avoid that prompt... I'm all ears.
__________________
XP Pro SP3: Comodo FW/D+ 5.10SandboxieVT Hash CheckOpenVPNVirtualBox
  #2  
Old September 8th, 2012, 10:22 PM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Sandboxie - using CCleaner for secure file deletion

Hello, try adding /auto at the end making it look like this.
"G:\CCleaner\CCleaner.exe" /delete "%SANDBOX%" /auto
__________________
Do not feed the trolls!
  #3  
Old September 8th, 2012, 10:28 PM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Sandboxie - using CCleaner for secure file deletion

Never mind, I tried it, and while it won't ask for permission, when I checked inside the SANDBOX folder, secure deletion seem to fail.
__________________
Do not feed the trolls!
  #4  
Old September 9th, 2012, 08:49 AM
Snowden Snowden is offline
Regular Poster
 
Join Date: May 2012
Posts: 68
Default Re: Sandboxie - using CCleaner for secure file deletion

Would this be more / less or equally secure to the default eraser 6 option that is provided?
  #5  
Old September 10th, 2012, 04:48 AM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Sandboxie - using CCleaner for secure file deletion

The default option provided by Sandboxie to delete with Eraser 6 is, AFAIK, 3 passes of overwriting of data. (a single overwrite, the one I used in Eraser 6 before and now using with CCleaner is enough). If you want to have a 3 passes of overwrite in CCleaner, you can do so in the settings.
__________________
Do not feed the trolls!
  #6  
Old September 11th, 2012, 09:02 AM
AMIGA500's Avatar
AMIGA500 AMIGA500 is offline
Very Frequent Poster
 
Join Date: May 2012
Location: United Kingdom.
Posts: 2,631
Default Re: Sandboxie - using CCleaner for secure file deletion

Im using a program called ccenhancer and sandboxie is in the list of added applications that are cleaned.this is doing the same thing isnt it.?
__________________
Avira Free av|Comodo Firewall 5.12|MBAM Free.|Sandboxie.|Firefox Browser.

For we wrestle not against flesh and blood, but against principalities, against powers, and against the worldly governors, the princes of the darkness of this world...
  #7  
Old September 22nd, 2012, 04:38 PM
mi3x mi3x is offline
Infrequent Poster
 
Join Date: Apr 2012
Posts: 8
Default Re: Sandboxie - using CCleaner for secure file deletion

Could we use ccleaner portable to do this? Instead of the one installed? I ask this as I run sandboxie in a container on my usb, so I don't want any ties with my C: or D:

I tried it and it works, but as I have ccleaner also installed on my C: I don't know if they communicate
  #8  
Old September 22nd, 2012, 05:31 PM
Escalader's Avatar
Escalader Escalader is offline
Massive Poster
 
Join Date: Dec 2005
Location: Land of the Mooses
Posts: 3,636
Default Re: Sandboxie - using CCleaner for secure file deletion

I'm not sure why we want to second guess Sandboxie's cleaner choice.
Do we KNOW that CCleaner is "better" than the vendors choice for it's functionality?

What does Sandboxie vendor say about this?
__________________
Escalader
i7 8 GB RAM Notebook, 1TB External Drive
Sandboxie, Nod32, OP FW Pro, KeyScrambler, MVPS HOSTS File
IE 9 Hardened Active X,SmartScreen,Tracking Protection
Paragon Backup and Imaging
  #9  
Old September 23rd, 2012, 12:59 AM
Page42's Avatar
Page42 Page42 is offline
Massive Poster
 
Join Date: Jun 2007
Location: Last Breath Farm
Posts: 4,580
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by luciddream
I know a lot of people in here use CCleaner. So figure some may want to use it for secure file deletion on sandbox close. I prefer it over the other methods. Here is how.

In the "Delete Command" field, enter this. I have mine in G: partition, but substitute wherever you have it, naturally:

"G:\CCleaner\CCleaner.exe" /delete "%SANDBOX%"

and include the quotes, btw.

I recommend having CCleaner set up to delete using Secure file deletion, simple overwrite (1 pass).

When you close your browser there will be a prompt asking you to use CCleaner for the deletion. If anyone has any suggestions on how to make it carry it out automatically, and avoid that prompt... I'm all ears.
Thanks a million for bringing up this topic, luciddream!
SBIE with Eraser is taking waay too long on my XP box (but I tolerate the long wait), and SBIE with Eraser won't work right on my W7 boxes, so currently I am using default deletion, which is not secure deletion. I am excited about the prospect of using CCleaner in this capacity. I will probably configure it tomorrow... looking forward to it.
__________________
To err is human; to forgive, infrequent. - Franklin P. Adams
  #10  
Old September 23rd, 2012, 03:12 AM
pegr pegr is offline
Very Frequent Poster
 
Join Date: Apr 2008
Location: UK
Posts: 1,608
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Page42
SBIE with Eraser is taking waay too long on my XP box (but I tolerate the long wait), and SBIE with Eraser won't work right on my W7 boxes, so currently I am using default deletion, which is not secure deletion. I am excited about the prospect of using CCleaner in this capacity.
Another option for automatic sandbox deletion when the last sandboxed program ends is to set the sandbox container folder to use a ramdisk then secure deletion isn't necessary. The browser will start quicker sandboxed too.
__________________
Windows Firewall - avast! Free Antivirus - AppGuard - Shadow Defender - Sandboxie - Acronis True Image
  #11  
Old September 23rd, 2012, 06:00 AM
chris1341's Avatar
chris1341 chris1341 is offline
Frequent Poster
 
Join Date: Apr 2008
Location: Scotland
Posts: 624
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by pegr
Another option for automatic sandbox deletion when the last sandboxed program ends is to set the sandbox container folder to use a ramdisk then secure deletion isn't necessary. The browser will start quicker sandboxed too.
That's what I do. Works extremely well and is a touch faster as you say. Not necessary but the RAM disc also has a random pass deletion on unmount.
__________________
Chris
  #12  
Old September 23rd, 2012, 08:51 AM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Escalader
I'm not sure why we want to second guess Sandboxie's cleaner choice.
Do we KNOW that CCleaner is "better" than the vendors choice for it's functionality?

What does Sandboxie vendor say about this?
Since many users are already using CCleaner, why install another software just to have secure deletion in Sandboxie?
__________________
Do not feed the trolls!
  #13  
Old September 23rd, 2012, 09:00 AM
Page42's Avatar
Page42 Page42 is offline
Massive Poster
 
Join Date: Jun 2007
Location: Last Breath Farm
Posts: 4,580
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by skudo12
The default option provided by Sandboxie to delete with Eraser 6 is, AFAIK, 3 passes of overwriting of data. (a single overwrite, the one I used in Eraser 6 before and now using with CCleaner is enough). If you want to have a 3 passes of overwrite in CCleaner, you can do so in the settings.
I was told by the very helpful Guest10 on the SBIE forum that, "When using Eraser in Windows (Eraser.exe not EraserL.exe) the default erase method is Gutmann 35 passes."
Quote:
Originally Posted by pegr
Another option for automatic sandbox deletion when the last sandboxed program ends is to set the sandbox container folder to use a ramdisk then secure deletion isn't necessary. The browser will start quicker sandboxed too.
Thank you for posting that info, pegr.
__________________
To err is human; to forgive, infrequent. - Franklin P. Adams
  #14  
Old September 23rd, 2012, 09:01 AM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Sandboxie - using CCleaner for secure file deletion

I thought it was changed before. LOL. Talk about overkill.
__________________
Do not feed the trolls!
  #15  
Old September 23rd, 2012, 10:00 AM
Page42's Avatar
Page42 Page42 is offline
Massive Poster
 
Join Date: Jun 2007
Location: Last Breath Farm
Posts: 4,580
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Escalader
I'm not sure why we want to second guess Sandboxie's cleaner choice.
Do we KNOW that CCleaner is "better" than the vendors choice for it's functionality?

What does Sandboxie vendor say about this?
While the following does not directly address the developer's "cleaner choice", it does offer some insight into tzuk's thoughts about deletion versus secure deletion in his program. Back in May of 2011 tzuk replied in a thread I'd started,
Quote:
Well, if you don't mind me asking, why do you need secure deletion anyway? If you're trying to be extra safe from malware, then secure deletion offers no benefit over regular deletion. If you need to hide your data, then putting your sandbox on a TrueCrypt is a more robust approach to data privacy.

And several posts later on that same thread, tzuk elaborated a bit more...
Quote:
Anyway, as for deletion, I think you are confusing "send to recycle bin" with "delete" and "secure delete". Sandboxie doesn't do send to recycle bin, period. Stuff you delete is deleted and is not going to come back.

So the difference between "delete" and "secure delete" is the question will you still have magnetic residue on your hard drive following this deletion. For normal delete yes, for secure deletion, ideally no. But this is only going to make a difference for forensic experts who might be trying to recover your data.

Bottom line, you can probably turn off your secure deletion and not be concerned with it. I would not keep normal deletion as the default mode if had security issues. It doesn't. Secure deletion is only* a question of keeping deleted data out of reach of forensic data recovery experts.

(* Actually there is more one scenario that I can think of involving defragmenting virtual machine hard drives, but again, not a security issue.)
HTH
__________________
To err is human; to forgive, infrequent. - Franklin P. Adams
  #16  
Old September 23rd, 2012, 11:16 AM
pegr pegr is offline
Very Frequent Poster
 
Join Date: Apr 2008
Location: UK
Posts: 1,608
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Page42
Thank you for posting that info, pegr.
You're welcome.

Kind regards
__________________
Windows Firewall - avast! Free Antivirus - AppGuard - Shadow Defender - Sandboxie - Acronis True Image
  #17  
Old September 23rd, 2012, 03:56 PM
Escalader's Avatar
Escalader Escalader is offline
Massive Poster
 
Join Date: Dec 2005
Location: Land of the Mooses
Posts: 3,636
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by skudo12
Since many users are already using CCleaner, why install another software just to have secure deletion in Sandboxie?

If the vendor chooses "another" I'm not going to assume I know better than his programmer or that there is zero dependance twixt Sandboxie and his choice. I'm not that smart.
__________________
Escalader
i7 8 GB RAM Notebook, 1TB External Drive
Sandboxie, Nod32, OP FW Pro, KeyScrambler, MVPS HOSTS File
IE 9 Hardened Active X,SmartScreen,Tracking Protection
Paragon Backup and Imaging
  #18  
Old September 24th, 2012, 08:20 PM
cheater87's Avatar
cheater87 cheater87 is offline
Massive Poster
 
Join Date: Apr 2005
Location: West Chester Pennsylvania.
Posts: 3,003
Default Re: Sandboxie - using CCleaner for secure file deletion

I tried this but all it does for me is delete all the downloads and not close the browser and erase the sandbox. Am I doing something wrong?
__________________
I have Windows 7 64 bit Comodo Firewall 6 set to block, Avast Free Edition, K9 Web Protection set to block malicious and phishing sites only, Zemana Free Anti Keylogger, Comodo DNS, Firefox with Noscript, Adblock Plus, WOT set to block, Secunia PSI, and common sense. ^_^
  #19  
Old September 25th, 2012, 07:22 PM
Escalader's Avatar
Escalader Escalader is offline
Massive Poster
 
Join Date: Dec 2005
Location: Land of the Mooses
Posts: 3,636
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by cheater87
I tried this but all it does for me is delete all the downloads and not close the browser and erase the sandbox. Am I doing something wrong?


Follow the vendors methods and tools.
__________________
Escalader
i7 8 GB RAM Notebook, 1TB External Drive
Sandboxie, Nod32, OP FW Pro, KeyScrambler, MVPS HOSTS File
IE 9 Hardened Active X,SmartScreen,Tracking Protection
Paragon Backup and Imaging
  #20  
Old September 25th, 2012, 09:51 PM
luciddream's Avatar
luciddream luciddream is offline
Very Frequent Poster
 
Join Date: Mar 2007
Location: US
Posts: 1,654
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by cheater87
I tried this but all it does for me is delete all the downloads and not close the browser and erase the sandbox. Am I doing something wrong?

You must be, because it works just fine for me and everyone else apparently. Don't know why Escalader is so adamantly opposed to it?... All it's doing is securely deleting the files, just as one of the other methods would. This way I don't have to install anything else, since I already use CCleaner. And as another in this thread pointed out, Eraser isn't playing nicely on XP for me either. And I don't feel that 35 passes is necessary either. Good god... at that rate I'd have a groove burned into my hard disk within 2 weeks, like an old record.
__________________
XP Pro SP3: Comodo FW/D+ 5.10SandboxieVT Hash CheckOpenVPNVirtualBox
  #21  
Old September 25th, 2012, 09:54 PM
luciddream's Avatar
luciddream luciddream is offline
Very Frequent Poster
 
Join Date: Mar 2007
Location: US
Posts: 1,654
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Escalader
If the vendor chooses "another" I'm not going to assume I know better than his programmer

This is pretty flawed logic. I don't think anyone pretends to know more about Sandboxie than Tzuk.

Tell me... when you decide to install another AV besides MSE, or use another FW besides the integrated one, are you doing so from the presumption that you know more than Bill Gates?
__________________
XP Pro SP3: Comodo FW/D+ 5.10SandboxieVT Hash CheckOpenVPNVirtualBox
  #22  
Old September 27th, 2012, 01:57 PM
Escalader's Avatar
Escalader Escalader is offline
Massive Poster
 
Join Date: Dec 2005
Location: Land of the Mooses
Posts: 3,636
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by luciddream
This is pretty flawed logic. I don't think anyone pretends to know more about Sandboxie than Tzuk.

Tell me... when you decide to install another AV besides MSE, or use another FW besides the integrated one, are you doing so from the presumption that you know more than Bill Gates?


Nope! I have no idea what Bill Gates knows.

I'm not that concerned about the use of ccleaner h.ll I use it daily.

My only point was ( and you disagree which is fine) is the 3rd party vendor uses another product for these deletions. He must or should have a reason.

If you know better that ccleaner will duplicate 100% what eraser does in Sandboxie that's great!

I'm off now to do 50 erases
__________________
Escalader
i7 8 GB RAM Notebook, 1TB External Drive
Sandboxie, Nod32, OP FW Pro, KeyScrambler, MVPS HOSTS File
IE 9 Hardened Active X,SmartScreen,Tracking Protection
Paragon Backup and Imaging
  #23  
Old September 28th, 2012, 10:09 PM
luciddream's Avatar
luciddream luciddream is offline
Very Frequent Poster
 
Join Date: Mar 2007
Location: US
Posts: 1,654
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by Escalader

My only point was ( and you disagree which is fine) is the 3rd party vendor uses another product for these deletions. He must or should have a reason.

If you know better that ccleaner will duplicate 100% what eraser does in Sandboxie that's great!


Who could know? Why does MS bundle IE with it's OS when there are better options? Does that mean we should all blindly use IE? I think you know you're being obtuse about this. If you use an alternate browser, you're being a hypocrite here.

No, it doesn't duplicate 100% what Eraser does. It doesn't use 35 passes. What is does do is securely delete the files... that, I absolutely know for a fact.
__________________
XP Pro SP3: Comodo FW/D+ 5.10SandboxieVT Hash CheckOpenVPNVirtualBox
  #24  
Old September 29th, 2012, 12:48 AM
Techwiz's Avatar
Techwiz Techwiz is offline
Frequent Poster
 
Join Date: Jan 2012
Location: United States
Posts: 242
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by luciddream
Who could know? Why does MS bundle IE with it's OS when there are better options? Does that mean we should all blindly use IE? I think you know you're being obtuse about this. If you use an alternate browser, you're being a hypocrite here.

No, it doesn't duplicate 100% what Eraser does. It doesn't use 35 passes. What is does do is securely delete the files... that, I absolutely know for a fact.

I've been Eraser 6 (35 passes) for sandboxie auto-delete. Then I run a couple others afterwards for an overall computer cleaning:
CCleaner Very Complex Overwrite (35 Passes)
Cleanafterme Fill the file with zero bytes, and then delete
PrivaZer (In-Depth Scan)

My computer's been running without issues. No blue screens, crashes, etc. Even those it may seem redundant and probably wastes time. It's a practice I do religiously before walking away from my computer and before putting it to sleep. Probably sound like a nut.
__________________
My Current Setup

Last edited by Techwiz : September 29th, 2012 at 01:49 AM.
  #25  
Old September 29th, 2012, 02:02 AM
Sordid Sordid is offline
Regular Poster
 
Join Date: Oct 2011
Posts: 79
Default Re: Sandboxie - using CCleaner for secure file deletion

Quote:
Originally Posted by luciddream

When you close your browser there will be a prompt asking you to use CCleaner for the deletion. If anyone has any suggestions on how to make it carry it out automatically, and avoid that prompt... I'm all ears.

Have you updated and turned on "skip user account control" in the options?
 

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 01:44 AM.


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