Hello, I am currently creating a Chronicle rule that checks specific registry key values and was wondering if I reference a list am I able to put the entire file path? For example I have the following file path that is returned in the events:
c:\program files (x86)\cisco\cisco anyconnect secure mobility client\vpnagent.exe
Can you try the following regex expression that escapes characters like backslash and parentheses?
c:\\program files \(x86\)\\cisco\\cisco anyconnect secure mobility client\\vpnagent\.exe
A little bit of testing is wise to make sure you handle all potential escape characters as @David-French mentions above. I would also suggest adding a strings.to_lower (or strings.to_upper) against the field or variable being compared.
For instance if your list is like what is above, the criteria might look like this:
strings.to_lower($registry.target.process.file_path) IN %reglist