Prevent standard users from closing a macOS application/process

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

Prevent standard users from closing a macOS application/process

L0 Member

Does anyone know if it is possible to create a CyberArk EPM policy for macOS to prevent userrs from being able to terminate the process/application? Our internal security team have tasked me with preventing users from stopping a specific security tool from running.

4 REPLIES 4

L5 Sessionator

I did spot the other day that Activity manager some how I elevated Activity manager as it asked to create a justification when I was trying to force shutdown Word which had a apple spinning ball icon -

However I don't know if you can block an actual process from being prevented from end task, it's hard to imagine a security tool would let itself close off if you have policies in place, maybe remove Sudo rights you'd be surprised how little Devs even need them let alone standard users. does sound iffy to me if a user can stop a security tool, don't think you should want to rely on epm to prevent this?

Maybe look into creating a rule you can't elevate the Activity manager -

 

Full path

/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor

 

Source

/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor

 

 

Authorization rights

com.apple.activitymonitor.sudo

 

L4 Transporter

I did spot the other day that Activity manager some how I elevated Activity manager as it asked to create a justification when I was trying to force shutdown Word which had a apple spinning ball icon -

However I don't know if you can block an actual process from being prevented from end task, it's hard to imagine a security tool would let itself close off if you have policies in place, maybe remove Sudo rights you'd be surprised how little Devs even need them let alone standard users. does sound iffy to me if a user can stop a security tool, don't think you should want to rely on epm to prevent this?

Maybe look into creating a rule you can't elevate the Activity manager -

 

Full path

/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor

 

Source

/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor

 

 

Authorization rights

com.apple.activitymonitor.sudo

 

L4 Transporter

Hi @Matt Manning​ 

 

It seems that Trehman provided an answer to your question. Could you kindly let us know if this solution helped?

If so, please mark the answer as 'Select as Best' to assist other community members.

 

Thank you, Liad

Thanks @Touseef-ur rehman​ 

 

I ended up looking in to a launch daemon, with keep alive, and then using CyberArk to manage the permissions on that plist file. However, in the end got the security team to enable to agent's own self defence. Much easier!

 

Thanks again for the suggestion.

  • 222 Views
  • 4 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!