I am learning C++ and Python and have a problem with new executables. CIS can’t recognise the files every time I compile them into new executables. They always land in File Rating as Untrusted. The consequence is if the executable is to print any output, I can’t see anything until I manually rate executables as Trusted.
The files are always compiled into a specific folder
D:\MyExecutables\C++
What I tried so far
I created a new group in File Groups and named it TrainingC++ with this path: D:\MyExecutables\C++\*. Then, I made following changes:
In Containment, the files are Ignored
In HIPS, the group is categorised as Allowed Application
In Firewall, the group is also categorised as Allowed Application
I have even added TrainingC++ to a group Scan Exclusions inside Analysis.
Every time I compile a new executable, that files are still added to the File Rating as Untrusted.
Your files are being are being plopped into the Untrusted category by design. Note that Comodo will always contain a file if:
1). It is Unsigned, or
2). If it is signed BUT NOT yet vetted by Comodo as being non-malicious (this can be frequently seen in new beta builds).
Comodo will check each file on an individual basis when they are executed no matter from where they are executed (ie directory), so that universal directory tweak that you employ is neither needed nor advised).
As the files you are concerned with are complied by you and known to be safe, I would suggest this:
1). Change the theme to Lycia (this will enumerate those files that are either Blocked or Untrusted).
2). When you run your exe, click on “Don’t Isolate it again”). Running it again will allow it.
3). You can also see that files that are Blocked and/or Unrecognized on the main Lycia-themed GUI. From there just click on either (or both), choose the file that you had issues with, right click it and select “Change File Rating To”, the select Trusted.
I am a bit relieved because I thought I was doing something wrong and misunderstood the system. That’s ok if files are rated as Untrusted by design, It’s just it has implication to what CLI displays.
I will try to your suggested workaround. Do you know where CIS track files I selected for “Do not isolate”?