Jump to content

Possible to block OneDrive in ESET Endpoint Security?


vs2018sv
 Share

Recommended Posts

Is it possible to use the application blocking to do this?

If someone was to install onedrive at a later time, I would like to make sure it is blocked and they can not log in.

Link to comment
Share on other sites

  • ESET Insiders

I guess you can either create a hips rule blocking execution of the OneDrive application.

otherwise you can create a dynamic group of computers with OneDrive installed, and simply send them an uninstall job a group join. This way OneDrive would be uninstalled automatically if someone reinstalled it.

A third option would be to block network traffic to the domains/ips hosting the OneDrive services, however that may also block access to to other o365 services, so I would go with option one or two.

the better option would to create a gpo to block the usage of OneDrive, however that requires a domain/Intune or other management system 

Link to comment
Share on other sites

Rekun, I appreciate your feedback!

 

I created a HIPS rule that blocks C:\Users\*\AppData\Local\Microsoft\OneDrive.exe, but I was still able to open the program.

I don't want to block the IP's for the reasons you indicated. I believe most of these IP's will be used by other MS service's.

Link to comment
Share on other sites

Could you share your rule? 

You should create a block HIPS rule which affects applications and under 'Source Applications' you should set 'All Applications'. Then for application actions you should enable 'Start new application' and on the next screen you should specify the application you would like to block. The field supports multiple entries so you can have all possible locations. As far as I am aware you are missing one folder from your path. The OneDrive folders should be: 

C:\Users\<USERNAME>\AppData\Local\Microsoft\OneDrive\OneDrive.exe or C:\Users\<USERNAME>\AppData\Local\OneDrive\bin\OneDrive.exe

I hope this helps, let us know if you manage to sort it out.

Edited by Ufoto
Link to comment
Share on other sites

  • 2 weeks later...
On 12/31/2021 at 10:39 AM, Ufoto said:

Could you share your rule? 

You should create a block HIPS rule which affects applications and under 'Source Applications' you should set 'All Applications'. Then for application actions you should enable 'Start new application' and on the next screen you should specify the application you would like to block. The field supports multiple entries so you can have all possible locations. As far as I am aware you are missing one folder from your path. The OneDrive folders should be: 

C:\Users\<USERNAME>\AppData\Local\Microsoft\OneDrive\OneDrive.exe or C:\Users\<USERNAME>\AppData\Local\OneDrive\bin\OneDrive.exe

I hope this helps, let us know if you manage to sort it out.

Can I use a wildcard for the <USERNAME>?

I want it to be blocked for all user's on a given machine? Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...