- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-10-2026 02:26 AM
Hey,
we are struggling with the following Case with understanding local Analysis, Macros and writing a useful exceptions.
Local Analysis is alerting on a WinWord.exe with "Macro(s) in Winword.exe". The Macro is only mentioned by hash.
Exception with Disable Prevention Rules for local analysis on the macro hashes are not working, similarly on Winword.exe itself.
All Files are accessed on a share drive.
Now, our Problem is that we ideally want to just exclude the macro hash somehow. But since this doesn´t work what is the alternative?
Excluding the whole Path seems to excessive.
Maybe reducing some "Parameters" that influence the local analysis to get the analysis score down.
Or is there some other simple or alternative solution we did not think of.
Thank you in advance for your response.
06-10-2026 07:19 AM
Hello @J.Motz ,
Greetings for the day.
When Microsoft Word executes macros, it frequently creates temporary files (such as ~WRD0001.tmp, .asd files, or Normal.dotm) with randomized filenames and dynamically changing hashes.
As a result, standard hash-based exclusions are often ineffective because each newly generated file may have a different hash value, preventing the exclusion from consistently matching the file.
Additionally, Disable Prevention Rules (DPR) are reactive in nature. They are applied during a later stage of the evaluation process to prevent remediation actions such as file quarantine or process termination. However, DPRs do not prevent security modules, such as Local Analysis, from inspecting and evaluating the files.
Because of this behavior, applying a DPR to WinWord.exe or to the macro file hash itself may not prevent the file from being analyzed and can still result in application delays, freezes, or blocking behavior during the inspection process.
-Contact PaloAlto Cortex XDR TAC support.
Unlike reactive DPRs, Legacy Agent Exceptions are proactive and instruct the agent to completely bypass scanning of the specified file or path, helping to eliminate both blocking and application freezes.
Instead of excluding the entire network share, configure a Legacy Agent Exception targeting the specific module and use narrow path wildcards to limit the scope of the exclusion.
Examples:
Targeting macro-enabled Word templates: \\your-share\folder\*\*.dotm
Targeting specific filename patterns:\\your-share\folder\~*.tmp
Important: If excluding a specific directory structure on the share, ensure the path ends with a wildcard (*) so that all dynamically generated files and subfolders are covered.
Example: \\your-share\specificmacrofolder\*'
A more robust and security-aligned approach is to digitally sign the macros using a trusted enterprise code-signing certificate.
This allows signed macro files to execute without relying on path-based exclusions or constantly changing file hashes.
If macro development or execution is limited to a specific group of systems (such as VDI hosts, Citrix servers, or designated business units), consider creating a dedicated policy.
This approach enables macro execution where required while maintaining stricter protection policies across the rest of the environment.
If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution".
Thanks & Regards,
S. Subashkar Sekar
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

