Forum Discussion

Anonymous's avatar
Anonymous
Oct 09, 2023
Solved

WDAC and file attributes filename not working

Hey all,   We have some dll files that exist under our users profile that we want to whitelist in WDAC.   I can't use the hash method as it updates reasonably regularly and some users have a dif...
  • LeonPavesic's avatar
    Oct 09, 2023

    Hi Deleted,

    The <Allow> rule you've provided seems correct at first glance, but there might be some issues with the casing and file attributes.

    Here are a few things to check:

      1. Check Filename Matching: WDAC is case-sensitive, so ensure that the filename in your rule exactly matches the DLL file's name in the user's profile, including the correct casing.

      2. Use Wildcards: If there are different versions of the file, you can use wildcards in the filename itself. For example, "*dllfile.DLL" will allow any DLL file with "dllfile.DLL" in its name.

      3. WDAC Version: Verify if your Windows 10 version supports filename-based rules. Different Windows versions may have varying levels of support for different rule types.

      4. Test the Policy: After updating your WDAC policy, test it on a test machine to see if the rule is applied correctly. Check the event logs for WDAC-related events to spot any issues.

      5. Policy Enforcement: Make sure that WDAC is enabled and enforcing policies on the target machines. Sometimes, policies aren't enforced as expected.

    Here are some additional tips for troubleshooting WDAC filename rules:

    • Make sure that the DLL file is not blocked by any other WDAC rules.
    • Try restarting the computer after deploying the WDAC policy.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

Resources