Suppress Rule Based on Destination URL #10289
-
I am new to Security Onion. I just got 2.3.240 running on a standalone system. Now I'm trying to refine alerts and I'm failing at the first one I picked out. A PC running Panda anti-virus is connecting to Panda every 20 minutes and triggering rule 2006380. I'm not concerned about this and would like to suppress future alerts for destination cloudav.updates.pandasecurity.com. I don't want to disable the rule altogether. I have read documentation, github discussions, and watched a few videos. One of the options is to add the IP to global.sls thresholding. But I don't want to specify the IP. What if the destination is a pool of addresses or they change their DNS record? I realize I can make IP groups to take care of pools, but I still don't want to be that specific since I don't control the DNS record. So I started looking into modifying the SID using regex. But all the examples I could find focused on IPs (i.e. - any, $HOME_NET, $EXTERNAL_NET, etc.). I want to modify based on URL. Here is rule 2006380:
The message and network.data.decoded show "Host: cloudav.updates.pandasecurity.com". But I don't see Host in the rule itself. So, is there a way to do what I want? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Unfortunately, this rule isn't specific to Panda -- it's just noting that there's a Base64 encoded password being sent as part of a plaintext HTTP header, which is often a sign of a misconfigured or insecure application on the network. Is there an option in Panda to do these updates over HTTPS instead? That would address the root issue. Another option might be to modify the rule to exclude network flows that contain that hostname - something like this should do the trick, in the standalone minion pillar file under idstools:sids:modify:
Put that entry in the minion file, then run so-idstools-restart and so-rule-update to put the modification in place. |
Beta Was this translation helpful? Give feedback.
-
Yes, the fact that this rule isn't specific to Panda is exactly why I don't want to disable it altogether. I need it to alert us again in the future for other destinations. And yes, I agree that addressing Panda is the main takeaway from this alert. But I still needed to know how to suppress alerts based on destination domain. I did what you said yesterday and it worked. Thanks! Just two more questions: 1 - I had to be explicit with "cloudav.updates.pandasecurity.com". Just "updates.pandasecurity.com" didn't work. And I found some alerts for "freeav.updates.pandasecurity.com". So, is there a way to do a wildcard for "*.pandasecurity.com"? I tried it and it didn't work. 2 - What if I wanted to do multiple entries? Would it look like:
or
Thanks for the help! |
Beta Was this translation helpful? Give feedback.
It looks like I got it...
Wildcard:
Multiple domains: