Trust No Program
Reply to topic
Countdown timer feature
evild3ad


Joined: 27 Jul 2012
Posts: 5
Location: Germany
Reply with quote
I'm looking for a countdown timer feature which is stopping all processes in the sandbox after the adjusted time. Is there a feauture or a possibility to do that? Thank you.
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
Itīs very simple: just code a program that after the amount of time you specify calls start.exe with the "/terminate".

From http://www.sandboxie.com/index.php?StartCommandLine

Stop Programs

Terminate all programs running in a particular sandbox. Note that the request is transmitted to the Sandboxie service SbieSvc, which actually carries out the termination.

"C:\Program Files\Sandboxie\Start.exe" /terminate
"C:\Program Files\Sandboxie\Start.exe" /box:TestBox /terminate
"C:\Program Files\Sandboxie\Start.exe" /terminate_all

If the parameter /box:SandboxName is omitted, programs running in the default sandbox, DefaultBox, will be stopped.

The form /terminate_all terminates all programs in all sandboxes.
View user's profileSend private message
evild3ad


Joined: 27 Jul 2012
Posts: 5
Location: Germany
Reply with quote
Quote:
Itīs very simple: just code a program that after the amount of time you specify calls start.exe with the "/terminate".


Sorry, I'm not a developer...I need more help. Wink

My idea:
I edited the windows context menu...: HKEY_CLASSES_ROOT\*\shell\

I added a key with the name "sandbox countdown", a string named "(Standard)" with the value "Sandboxie: Lifetime 2min." and a string named "Icon" with the value "C:\Program Files\Sandboxie\Start.exe"
I also added the subkey with the name "command" = "C:\Program Files\Sandboxie\<program>"

May you write this program for me? Thanks in advance!

I'm interested in this feature for better analyzing ransomware (WindowsScreenLocker).
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
evild3ad wrote:
Quote:
Itīs very simple: just code a program that after the amount of time you specify calls start.exe with the "/terminate".


Sorry, I'm not a developer...I need more help. Wink

My idea:
I edited the windows context menu...: HKEY_CLASSES_ROOT\*\shell\

I added a key with the name "sandbox countdown", a string named "(Standard)" with the value "Sandboxie: Lifetime 2min." and a string named "Icon" with the value "C:\Program Files\Sandboxie\Start.exe"
I also added the subkey with the name "command" = "C:\Program Files\Sandboxie\<program>"

May you write this program for me? Thanks in advance!

I'm interested in this feature for better analyzing ransomware (WindowsScreenLocker).


I coded something like that already. Itīs named Buster Sandbox Analyzer:

http://sandboxie.com/phpbb/viewtopic.php?t=6557
View user's profileSend private message
evild3ad


Joined: 27 Jul 2012
Posts: 5
Location: Germany
Reply with quote
I love Buster Sandbox Analyzer...but where do I've there the possibility to stop all running processes in Sandboxie? ...to finish the analysis with BSA I have to stop all running processes in Sandboxie first.


Last edited by evild3ad on Fri Jul 27, 2012 6:21 pm; edited 1 time in total
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
evild3ad wrote:
I love Buster Sandbox Analyzer...but were do I've there the possibility to stop all running processes in Sandboxie? ...to finish the analysis with BSA I have to stop all running processes in Sandboxie first.


You have two posibilities:

1) Run analysis in automatic mode.

In automatic mode you must set a time limit for the analysis

2) Run analysis in manual mode.

At Options > Manual Analysis Options enable "Set a Time Limit For Analysis".
View user's profileSend private message
evild3ad


Joined: 27 Jul 2012
Posts: 5
Location: Germany
Reply with quote
Ok, I have it...it works! Smile

BSA.EXE -s 120 -f C:\Malware (Sandboxie Control must be opened.)

First time I used BSA from command line! Wink
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
It does not matter if Sandboxie Control is opened or closed.
View user's profileSend private message
evild3ad


Joined: 27 Jul 2012
Posts: 5
Location: Germany
Reply with quote
Thank you very much for your help!!!
View user's profileSend private message
Buster


Joined: 06 Aug 2007
Posts: 2185
Reply with quote
Youīre welcome.
View user's profileSend private message
Countdown timer feature
You can 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 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,465,479 times since June 2004