Wildcards in HIPS rules not working

I’m using version 12.3.4.8162

Widcards (*) in HIPS rules are not working (anymore). I was under the impression this worked correctly with previous versions, but I can’t get wildcards in HIPS to behave correctly.
Wildcards in firewall rules do work as expected.

Use case: an executable can exist in mutiple subfolders (based on version) and I want to create a custom rule that covers all executables by using a wildcard (*) for the subfolder. When a new version is installed (version number not known upfront) the rule with the wildcard should also apply to the executable in the new version based folder.

Observed behavior: when an executable runs in a folder that should be covered by the wildcard rule, Comodo alerts the executable rather than treat it as defined in the rule.

Expected behavior: Comodo treats the executable as defined in the wildcard rule

Can this be fixed please?

1 Like

Hi DonGaz,

Thank you for reporting.
We are aware of this issue and the team is working on it.

Thanks
C.O.M.O.D.O RT

Thank you for your answer.

Any ETA for when this will be fixed? Is it a matter of days, weeks, months???

There are not any problems using wildcard (*) in HIPS rules. (CIS 12.3.4.8162)

@Xeno That is completely wrong.
It’s not because you are not having issues, that they do not exist.

I’m having issues with wildcards in HIPS rules, and Comodo staff already confirmed this.
So yes, there are issues with wildcards in HIPS rules.

Well well well… You have issues, I don’t have them…
Describe the issue in detail, step by step to reproduce it.

2 Likes

Are you still having this issue? I had a similar issue, only it wasn’t with HIPS which I don’t use, but with scan exclusions in the anti-virus scanner. The issue seems to have gone away at some point awhile back. I wondered if the issue went away with you as well with HIPS.

Yes, I still have the issue.

@C.O.M.O.D.O_RT any idea when a new version (hopefully including this fix) will be available?

I can’t reproduce this behavior.
Could you post your configuration or, at least, screenshot of rule in question and rule for all applications, also what is HIPS mode you are using?

HIPS is in Safe Mode with all monitoring settings On.

This is an example rule that does not work:
C:\Program Files\Common Files\microsoft shared\ClickToRun\Updates\*\OfficeClickToRun.exe

OfficeClickToRun.exe is the installer of Office 365 updates, but with each update it runs from a different subfolder. That’s where I use the wildcard.
The * replaces the subfolder which is normally a version number in the format 16.0.19231.20172

But the wildcard rule does not work. For every update, Comodo alerts with a new notification asking what to do with the file.

:roll_eyes:
In HIPS Safe Mode, app rules are only needed in very specific situations. Why would you need a rule for safe app?

Apparently, this installer/file is not recognized as safe…

1 Like

In addition to my previous comment. It’s irrelevant if my example rule is needed or not. This is just an example, and I have other rules as well.
If HIPS rules support wildcards, they should work correctly.

It seems to me you deleted/modified the trusted vendor database because the file in question is signed with a valid Microsoft certificate.
Also, the problem is most likely due to an incorrectly written rule.
I’ve been using HIPS rules in specific situations for years and have never had any issues with them not working.

1 Like

There’s something wrong with his OS/CIS installation

OfficeClickToRun is signed by Microsoft Corporation, which is hardcoded as Trusted, you can’t change its rating.


Here’s my results with following rule asking everything for all processes that aren’t trusted (consequence of Safe Mode)

Hi, thank you for your tests.
Unfortunately, that is not what happens here. The problem is also not limited to a single computer.
This happens both on updated Comodo installations from previous versions, and clean installations on a brand new computer.

I see in the HIPS Event log that the file is blocked, but the log does not provide additional information why it is blocked.
I have very little time atm for extensive testing, but I will try to gather some more information about this problem when new updates are released.

One thing that is different is that by default I have more HIPS rules in safe mode than your screenshot, but none of them seem to be related to this problem.

Hello DonGaz.
If instead of one wilcard, you keep the points and replace the numbers by ... could you check if it solves your problem?

Sorry I don’t know why but the wilcards disappeared from my answer. It is wildcard.wildcard.wildcard.wildcart (...)

You can dump rating DB in your free time and post full information on affected executable from it.