Applocker script failing after installing edge. I have installed edge, copied the driver to the components folder. modified applocker xml file, all ok. worked fine on 14 of 16 servers, failing on 2. cannot find the issue.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Applocker script failing after installing edge. I have installed edge, copied the driver to the components folder. modified applocker xml file, all ok. worked fine on 14 of 16 servers, failing on 2. cannot find the issue.

L3 Networker
8 REPLIES 8

L3 Networker

the msedge_elf.dll is present in microsoft/edge/application/143.0.3650.66 folder. its present, there are no * in the path or in the xml file.

L6 Presenter

Can you confirm that you ran the script in an admin Powershell session?

Did you take a back up of the AppLocker file prior to making this change? If so, can you compare the two in an editor to see if any unexpected changes were introduced accidentally?

yes, i ran it as admin. no changes. i only uncommented the edge part and changed method from publisher to path.

 

Field_Content_versions_oct20__068Vy00001CHCN7IAP.png

L4 Transporter

Hello,

Because 14 servers are operating as intended after hardening you can try to use the hardening xml from one of those machines on the 2 failing.

 

There may be helpful error messages in the hardening log. Based on the screenshot it looks like Edge and Chrome dlls are failing and not just Edge.

Could you please try in this format? Also, you may try having method as hash

Add a custom DLL in the PSMConfigureAppLocker file

 

and

 

Read this too.

Configure Applocker | CyberArk Docs

With method Path its working on other PSMs, issue only on few PSMs. applocker xml is the same across all.

 

custom DLLs are not required for chrome or edge i guess. the error is for elf.dll for both browsers, both are present in installation path application/version folders. and elf.dll are not mentioned in the applocker.xml file.

L3 Networker

The issue is indeed with admin rights. The logs and the errors meet this kb but the resolution doesnt work for me. I am opening powershell as admin, even tried with local administrator. But something on the GPO is blocking.

 

PSM - Applocker PS Script gives error '*' violates pattern constraint

Event Viewer may provide more information on what is being blocked. I've seen a perfectly working PSM not work after an upgrade due to an endpoint protection agent as well and were able to localize it because of the Event Viewer logs.

 

Additionally, if you feel something on the GPO could be the culprit, check if there is any discrepancies on the GPOs applied to the working vs non-working PSM servers. RSOP can also be utilized.

  • 155 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!