Thank you for the details!
You are right, the problem is the environment variable.
The Wazuh agent seems to resolve the %LOCALAPPDATA% in a different way because of the user account.
After some tests in a Win-2008 agent, the variables %UserProfile% and %LocalAppData% are replaced as "C:\Windows\system32\config\systemprofile". This directory isn't what we need.
But if I use %Home%, I have "C:\Users\Administrator" as path. So it depends on what variable you use.
On the other hand, if you let me suggest a different approach, the Wazuh integration with
Osquery may be helpful.
You can perform queries like these and generate the corresponding alerts analyzing the results:
osquery> select name, version from chrome_extensions
where name like "%Cisco%";
Please, let me know if you have more questions.
Regards.