Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 11:01:53 AM

Login with username, password and session length

663022 Posts
70580 Topics
145157 Members

Latest Member: OLP76

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Security Products & Services
| |-+  Comodo Internet Security - CIS
| | |-+  Help - CIS
| | | |-+  Defense+ / Sandbox Help - CIS
| | | | |-+  "Treat this as a Trusted Application" how internally does this work?
« previous next »
Pages: [1] Go Down Print
Author Topic: "Treat this as a Trusted Application" how internally does this work?  (Read 2117 times)
jfcarbel
Newbie
*
Offline Offline

Posts: 10


« on: September 24, 2010, 11:22:33 AM »

When I click "Treat this as a Trusted Application"  how internally does this work?

Does it use a file hash to determine next time its the same file or does it just go by file location and filename?

What happens when the program file gets updated? Does it become untrusted again if based on file hash since malware sometimes likes to inject itself into known program files?  Is this the same for both Defense+ and Firewall, that is they both stop trusting if trusted file hash changes?

For Comodo's internal trusted list - is it made up of file hashes as well for popular program files (exe)?  Does that include dll files as well?
Logged
jfcarbel
Newbie
*
Offline Offline

Posts: 10


« Reply #1 on: September 24, 2010, 10:24:34 PM »

I assuming then Comodo uses a file hash to uniquely identify the file, but would like confirmation on this. 

Now if using hash, the hash will of course change when program is updated.

Also once a file is whitelisted, what would happen if a trojan tries to inject itself into a trusted file, thus changing the hash.  Does Comodo detect that and how?

I would think that another good way to approach this whitelisting is for vendors of software to get together and for program files like exe,dll, etc have an online registry where only the registered vendor can update and list file hashes for each and all releases of their application.  Today we do dns lookups on URLs, why not a application file lookup for its hashcode.  This way it provides a quick and simple way to verify the legitimacy of a file.  Am I missing something here is this solution that seems to add another way to whitelist then having to analyze every file manually by Comodo techs. 
Logged
HeffeD
Global Moderator
Comodo's Hero
*****
Online Online

Posts: 6588



« Reply #2 on: September 24, 2010, 10:40:13 PM »

It's not by filename. I just upgraded from 3.14 (no sandbox) to version 5 today, and I can't get the sandbox to stop grabbing a file I compile often and placing it in the unrecognized files list each time I run the new compiled file. I have the filename on the AV exclusions list and my trusted files list, but it grabs it each time.

I just recently made a post about this. I'd really hate to have CIS keep sending this file to Comodo every time I compile it.
Logged

WxMan1
Comodo's Hero
*****
Offline Offline

Posts: 349


« Reply #3 on: September 25, 2010, 07:40:57 PM »

If the app is listed in local Trusted Files, it shouldn't get sandboxed.  If it does, its a bug.

Try creating a Computer Security Policy for the app and specify Installer/Updater access policy for it.
Logged
John Buchanan
The greatest victory comes from the battle within.
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 5420


Personal Dragons can be defeated. Improve yourself


« Reply #4 on: September 25, 2010, 08:33:14 PM »

The files are now checked against the hash.  If this changes, the file will be treated as unknown.
Since you are creating new versions on a regular basis, this is what you are experiencing.
Logged

Please follow Comodo Forum Policy
HeffeD
Global Moderator
Comodo's Hero
*****
Online Online

Posts: 6588



« Reply #5 on: September 25, 2010, 11:29:55 PM »

The files are now checked against the hash.  If this changes, the file will be treated as unknown.
Since you are creating new versions on a regular basis, this is what you are experiencing.

There's no way to tell CIS to just leave it alone?  Cry
Logged

WxMan1
Comodo's Hero
*****
Offline Offline

Posts: 349


« Reply #6 on: September 26, 2010, 06:30:20 PM »

I'm just reaching here  Idea

Create a file group 'Dev Projects' with a pathname to the folder where the binary lives in, e.g., %DevDrive%\Dev\Projects\*\*.

Then create a Computer Security Policy for the file group and select Installer / Updater as the access rights policy.  You might have to toy with the two Defense+ sandbox config options mentioned below in conjunction with this.  

If the above don't work, try to configuring the Computer Security Policy for your IDE as an 'Installer / Updater', and en-check 'always trust files from trusted installer' in Defense+ settings, sandbox settings.  You may even have to en-check 'automatically detect installers / updaters and run them outside the sandbox'.

Oh, and don't forget there's the 'execution control' settings.  Per the rules:

Comodo Internet Security calculates the hash of an executable at the point it attempts to load into memory. It then compares this hash with the list of known/recognized applications that are on the Comodo safe list. If the hash matches the one on record for the executable, then the application is safe. If no matching hash is found on the safe list, then the executable is 'unrecognized' and you will receive an alert.

These settings are independent of the sandbox itself.  If sandboxing is enabled, the app image executes according to its access rights defined in 'execution settings'.  If no execution settings are enabled, the app image is virtauliized w/out system resource access restrictions   If the foregoing don't work suitably, you're going to have to disable one or the other component of Defense+ for the duration of your dev session.

 
« Last Edit: September 26, 2010, 07:19:51 PM by WxMan1 » Logged
Tags: trusted files 
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in 0.041 seconds with 22 queries.
Powered by SMF 1.1.18 | SMF © 2006, Simple Machines Design by 7dana.com