Jump to content
Sign in to follow this  
TweetCode

[How To] Use Sandboxie

Recommended Posts

Introduction :

 

What is Sandboxie?

 

Sandboxie is very useful to check whether or not a program is infected, you can also use it to test out your botnet. Sandboxie runs your programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer. Observe the animation below.

 

Animation

FrontPageAnimation.gif

 

Why is Sandboxie better then Anti-Virus programs?

 

Anti-Virus programs, although useful, are not always accurate. As you may have noticed on some forums, there are programs called crypters which scramble the virus' code in order to hide itself from being detected by Anti-Virus programs. There are also False Positives which are files that are seen as being infected by Anti-Virus programs, when in reality they are clean. With Sandboxie you can check the activities of the file and make the decision whether or not it's infected yourself. Although Anti-Virus programs are very very useful, and I recommend you have at least one turned on at all times, for the sake of deciding whether or not a single file is infected, Sandboxie is better.

 

Tutorial :

 

1. Download

http://www.sandboxie.com/index.php?DownloadSandboxie

 

(Proceed through the installation)

 

2. Using Sandboxie

  • Open Sandboxie : Start > All Programs > Sandboxie > Sandboxie Control
     
    Picture
    SandboxieStartMenu.png

  • Run File : Right-Click Suspected File > Run Sandboxed
    Picture
    SandboxieRightClick.png

  • Change Display : View > Files and Folders
    Picture
    SandboxieView.png

  • Observe Folders : Sandbox DefaultBox > All files and Folders
    Picture
    SandboxieFilesandFolders.png

3. Analysing Output

 

Now that you've ran your program you're probably wondering What does this all this mean? Now is when you analyze Sandboxie to check if the program has dropped any files. In the All files and Folder sub-menu you can observe the exact location of dropped files.

 

How do I know if my program's infected?

 

To decide whether or not a program is infected you have to think. Should this program drop files? For example : I've downloaded a crypter and decided to check it out in Sandboxie. Now immediately after I run it, I get a file dropped :

 

Picture

SandboxieFile.jpg

Ignore the Desktop.ini and such files below. Focus on the rest. My crypter has just dropped a file. I know now that it is infected.

 

Settings :

To prevent against stealers acquiring your firefox passwords while using Sandboxie go to :

  • Sandbox>Default Box>Sandbox settings> Resource Access>File Access>Blocked Access>Edit/Add
    and copy paste the following lines : (one by one)

%Local AppData%\Mozilla\
%AppData%\Mozilla\
\Device\Mup\

 

  • You can also disable the program from accessing the internet, this option is also found in Sandbox settings.

  • NEW! To bypass the Anti-Sandboxie that some malware uses, you need to disable the Sandboxie indicator that is in the titles of windows running in Sandboxie "#". To do this go to Sandboxie>Rick-click on your sandbox>Sandbox Settings>Appearance>check "Don't show Sandboxie indicator...". (This method of detecting sandboxie isn't used by all malware however.)

Extra Info. (Click to Hide)

  • Keep in mind that if you receive an error, and your program is unable to run in Sandboxie, it is most likely that it's a virus and has implemented Anti-Sandboxie. DO NOT RUN IT OUTSIDE SANDBOXIE! (see 'Settings' spoiler to know how to bypass anti-sandboxie)
  • Once you are done with Sandboxie, Right-Click on the Sandbox and chose Terminate Programs. Also, remember to empty your SandBox after every use by Right-clicking>Delete Contents.
  • When you see [#] [#] around the title on the window, you know it's Sandboxed. Unless you have these indicators disabled (see 'Settings').

  • Like 1

Share this post


Link to post
Share on other sites
I use this program.

It's very good at what it's designed to do.

However, I did move on to using Anubis instead.

What is an Anubis?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×