Elevation on Mac not working?

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

Elevation on Mac not working?

L3 Networker

Hi,

 

We have started testing EPM on Mac. I have made a block policy and that works. I also made an elevation policy and dont see any indications it is working, not in events management and not in policy audit. Is there something I forgot? Is there something special I have to do on Mac to get this working?

12 REPLIES 12

L4 Transporter

Hi @John Gordijn​ ,

 

I'm sorry to ask the obvious, but did you turn Auditing on within the Elevate policy you created? If you didn't turn it on, it will not record anything in Policy Audit for it.

 

Also, events covered under policy will never record in Events Management. This is only for unhandled events (not covered by policy).

 

-rwm

L3 Networker

Of course but yes, it is turned on.

L3 Networker

I managed to look in the logs and found an entry. Looks like the policy is being used, but all other things like the Enduser UI and auditing is turned off, while in the policy it is turned on.

L3 Networker

Field_Content_versions_oct20__068Ht00000UKmYSIA1.png

L4 Transporter

I would try doing a "Request Settings" from the Mac in question, to make sure it has the latest policies. Then try again. If it's still doing the same thing then I would recommend taking all this info and opening a Support case. Something definitely is not right here.

L3 Networker

Tried that. I see in the log that all the policies are there, but did not solve the issue. I will start a support case. Thanks.

Please let us know how it works out (is it a bug, something else you needed to do, etc.?).

 

Good luck!

Will do. Dont know yet if I have enough time this week to make a case.

L5 Sessionator

Hi @John Gordijn​ ,

 

Could you please share more information about the elevate policy you created - what type (executable, sudo, etc.) and what were the parameters.

Do you have in addition, default policy set ? if so, which one ?

In addition, what application / command did you run which you didn't see elevated.

 

Thanks,

Arik.

Hi,

 

We made a testpolicy. In this policy we added Excel as the executable.

Field_Content_versions_oct20__068Ht00000ULCwmIAH.pngField_Content_versions_oct20__068Ht00000ULCwrIAH.png

Thanks @John Gordijn​ ,

 

Not sure which elevations (=special rights) Excel needs so I would not expect here to elevation event.

To get elevation event you should run other applications that requires elevation such as keychain, System settings, sudo, PKG etc.

 

Thanks,

Arik.

Of course this is only a test to see if it works.

 

I also got the logentry:

2024-02-06 14:43:05.332 I com.cyberark.CyberArkEPMEndpointSecurityExtension[3077:2032a5] [com.cyberark.CyberArkEPM:Policy] ac_367246223798583: Process '/usr/libexec/xpcproxy' [38230:501:1:38230] try to exec '/Applications/Microsoft Excel.app/Contents/MacOS/Microsoft Excel' [38230:501:1:38230]: allow, deny caching, decision time 0.025846 seconds, PolicyMatch(name: "Elevate excel", id: 73680, isDefault: false, action: VFPA_ELEVATE, target: Target(type: VFPT_MAC_EXE, id: E0B86DFF-1BA8-44D1-A35F-8182FD72F155, childMode: nil, eventSuppressionOptions: 0b0, inheritable: false, distributorName: nil), restrictionId: nil, ui: nil, accessControlUI: nil, sendPolicyUsage: false, sendPolicyAutomation: false)

 

Despite the settings in the policy, the agent is not showing the dialog box and doesn't send policy audit info.

  • 3 Views
  • 12 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!