Author Topic: Open file in FV sandbox through context menu. [CIS 6/7]  (Read 6529 times)

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Open file in FV sandbox through context menu. [CIS 6/7]
« on: February 11, 2014, 02:43:10 PM »
Hello,

Please note that this guide was created before CIS 8 was released, since CIS 8 this feature is already available by default and you don't need to do anything extra for the option to appear in the context menu of all files!

In CIS 6 and 7 the "Run in COMODO Sandbox" context entry only appears for executables, but what if you want to easily and quickly open a normal file in the sandbox? Well that isn't really possible without some modifications, so in this thread I'll go through how to add a context menu entry that launches your file in the FV sandbox (of course using the default program, so .txt files would be launched in notepad.exe etc)

Warning: This involves editing the registry, if you don't feel comfortable with editing the registry then do not do it!
Making errors in the registry can cause serious issues, please only follow the instructions if you have at least a basic understanding of the registry.


Manual installation instructions in video form: https://www.youtube.com/watch?v=xrX7c0f-XwY

Manual installation instructions in text:
  • Run regedit.exe
  • Expand HKEY_CLASSES_ROOT
  • Expand *
  • Expand shell
  • Right-click shell
  • Hover over New and click Key
    • Name the key Comodosandbox
    • Left-click the new key we named Comodosandbox so it's highlighted
    • To the right you should see a string called (Default), Right-click it and click Modify
    • Give it the data Open file in COMODO Sandbox then click OK
  • Right-click the Comodosandbox key
  • Hover over New and click Key
    • Name the key command
    • Left-click the key we named command so it's highlighted
    • To the right you should see another string called (Default), Right-click it and click Modify
    • The actual data you'll give this string depends on where you installed Comodo Internet Security, by default CIS is installed to C:\Program Files\COMODO\COMODO Internet Security\ so if you didn't change the path then you give the string this data (Make sure to include the quotation marks):
      "C:\Program Files\COMODO\COMODO Internet Security\virtkiosk.exe" -v "%1"
    • Click OK
  • Now this step is optional, I'll be describing how to give it an icon
    • Left-click the Comodosandbox key to highlight it
    • Right-click in the area to the right and hover over New then click String Value
    • Name the new string value Icon
    • Right-click the string named Icon and click Modify
    • What data you give it depends on what icon you want it to show, personally I'm using:
      %windir%\System32\imageres.dll,101
      You can also use the below data for the default Comodo Sandbox icon (Provided by savit) Also please note that if you installed CIS somewhere else you will need to change the path.
      C:\Program Files\Comodo\COMODO Internet Security\cavshell.dll,1
    • Click OK
  • Now you should be done

"Automatic" installation instructions if you are sure CIS is installed into the default folder:
  • Download the attached .zip file that starts with Add
  • Extract the .reg file
  • Right-click the .reg file and click Merge

If done correctly all files should have an entry that looks something like this:


Manual removal instructions in text:
  • Run regedit.exe
  • Expand HKEY_CLASSES_ROOT
  • Expand *
  • Expand shell
  • Right-click Comodosandbox
  • Click Delete

"Automatic" removal instructions if you used the Automatic method OR if you are sure you named the key Comodosandbox:
  • Download the attached .zip file that starts with Remove
  • Extract the .reg file
  • Right-click the .reg file and click Merge


I hope this will help those who want to easily run files in the Comodo Sandbox, if you have any issues please comment in this thread with as much details as possible!

Regards,
Sanya IV Litvyak.

[attachment deleted by admin]
« Last Edit: November 28, 2014, 01:55:36 PM by Sanya IV Litvyak »
I support privacy and freedom online - eff.org

Offline Siketa

  • Comodo's Hero
  • *****
  • Posts: 5066
Re: Open file in FV sandbox through context menu.
« Reply #1 on: February 11, 2014, 02:56:03 PM »
This should be included by default.
 :-TU

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #2 on: February 11, 2014, 03:00:09 PM »
This should be included by default.
 :-TU

I agree, I've seen wishes for it before but so far it hasn't been implemented so I decided to try making it myself, notable is that I couldn't find a way to edit the actual "Run in COMODO Sandbox" that Comodo creates.. so you'll have two entries using this method.

Honestly making the default entry show up for all applications other than executables should be easy for Comodo and shouldn't take too long at all.
I support privacy and freedom online - eff.org

Offline yigido

  • Malware Research Group
  • Comodo's Hero
  • *****
  • Posts: 5659
  • COMODO Rocks!
    • Free Comodo Products!
Re: Open file in FV sandbox through context menu.
« Reply #3 on: February 11, 2014, 04:16:03 PM »
I agree, I've seen wishes for it before but so far it hasn't been implemented so I decided to try making it myself, notable is that I couldn't find a way to edit the actual "Run in COMODO Sandbox" that Comodo creates.. so you'll have two entries using this method.

Honestly making the default entry show up for all applications other than executables should be easy for Comodo and shouldn't take too long at all.
it hasn't been implemented and a user want to do it by himself
Great  :-TU Congrats to you Sanya  (:CLP)
COMODO Cloud Antivirus
Firefox Quantum
Encrypt the web! Use HTTPS Everywhere..
Block spying ads and invisible trackers! Use Privacy Badger..

Offline EricJH

  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 25669
Re: Open file in FV sandbox through context menu.
« Reply #4 on: February 11, 2014, 08:22:19 PM »
Moved and stickied...

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #5 on: February 12, 2014, 03:15:58 AM »
Thank you EricJH. :)
I support privacy and freedom online - eff.org

Offline savit

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 697
    • 4savit.blogspot.com
Re: Open file in FV sandbox through context menu.
« Reply #6 on: February 12, 2014, 08:07:12 AM »
The default CIS sandbox icon path.

c:\Program Files\Comodo\COMODO Internet Security\cavshell.dll,1

Thanks Sanya  :-TU

[attachment deleted by admin]
« Last Edit: February 12, 2014, 09:57:59 PM by savit »

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #7 on: February 12, 2014, 08:11:30 AM »
default CIS sandbox icon path.

c:\Program Files\Comodo\COMODO Internet Security\cavshell.dll,1

Thank Sanya  :-TU

Thanks, added it to the first post. :)
I support privacy and freedom online - eff.org

Offline cocalaur

  • Comodo's Hero
  • *****
  • Posts: 333
  • Happy COMODO user
Re: Open file in FV sandbox through context menu.
« Reply #8 on: April 17, 2014, 06:26:14 PM »
If I add these options in the registry and later uninstall CIS for various
reasons, will the options I manually committed stay in the registry?

=================================
Son: "Dad, what is malware?"
Dad: "I don't know, son, we use COMODO."
=================================

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #9 on: April 17, 2014, 06:39:47 PM »
If I add these options in the registry and later uninstall CIS for various
reasons, will the options I manually committed stay in the registry?

The context menu entry that this guide explains how to add will stay there even after uninstalling CIS, yes. You will have to manually remove it, you can do that by right-clicking "Comodosandbox" (The key I show you how to add in point 6.1) and delete it.
I support privacy and freedom online - eff.org

Offline cocalaur

  • Comodo's Hero
  • *****
  • Posts: 333
  • Happy COMODO user
Re: Open file in FV sandbox through context menu.
« Reply #10 on: April 18, 2014, 09:32:23 AM »
OK, Thanks for the feedback. Maybe in the future there will be an easier way
to undo these changes :)
=================================
Son: "Dad, what is malware?"
Dad: "I don't know, son, we use COMODO."
=================================

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #11 on: April 18, 2014, 10:02:50 AM »
OK, Thanks for the feedback. Maybe in the future there will be an easier way
to undo these changes :)

I've added a new .zip file which contains a .reg file that will remove the Comodosandbox key automatically, all you have to do is run it (assuming you've used the automatic installer or if you named the key Comodosandbox if you did it manually)
I support privacy and freedom online - eff.org

Offline savit

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 697
    • 4savit.blogspot.com
Re: Open file in FV sandbox through context menu.
« Reply #12 on: November 27, 2014, 10:09:47 PM »
"Run in COMODO Sandbox" context shell menu of CIS 8.0 is supporting for all files. Isn't it? Thanks Sanya~ ;)

Offline Sanya IV Litvyak

  • Comodo's Hero
  • *****
  • Posts: 4214
  • Lurking
Re: Open file in FV sandbox through context menu.
« Reply #13 on: November 28, 2014, 03:08:18 AM »
"Run in COMODO Sandbox" context shell menu of CIS 8.0 is supporting for all files. Isn't it? Thanks Sanya~ ;)

Hmm? You mean that the context menu that CIS 8.0 creates is visible for all files by default? I haven't tested it but if so then that would be very nice indeed and I would have to add a note to the main post.

Edit: Indeed this is now a feature of CIS 8, I'll update the main post.
« Last Edit: November 28, 2014, 01:52:00 PM by Sanya IV Litvyak »
I support privacy and freedom online - eff.org

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek