Microsoft Workplace Community Blog

Font size: +
5 minutes reading time (958 words)

Block applications with Indicators

Microsoft Defender for Endpoint offers several options to block applications; you have the following options, file hashes, IP addresses, URLs/Domains and Certificates. These settings can be found at the following location in the Microsoft Defender for endpoint security portal; navigate to settings, Endpoints and under the Rules heading you will find the Indicators option. 

In this blog post I will explain step by step how you can use the certificate of an application to block it and also remove it if the user manage to install the application anyway. I will describe the other options in another blog later on this Year.

Application Microsoft Defender for Endpoint
Weblink
MDATP Settings - Microsoft 365 security
Topic
Block Firefox application

Steps

Below are the steps that must be taken to block an application by extracting a certificate from an executable.

Download Firefox executable 
Download Firefox - Official website
Extract Certificate from Firefox executable
Steps are in the Post below - Follow the steps
Create Policy in the Microsoft Defender for Endpoint Security Portal
MDATP Settings - Microsoft 365 security
Remediate devices
Steps are in the Post below - Follow the steps

Before you begin

It's important to understand the following requirements prior to creating indicators for certificates:

  • This feature is available if your organization uses Windows Defender Antivirus and Cloud-based protection is enabled.
  • The Antimalware client version must be 4.18.1901.x or later.
  • Supported on machines on Windows 10, version 1703 or later, Windows server 2016 and 2019.
  • The virus and threat protection definitions must be up to date.
  • This feature currently supports entering .CER or .PEM file extensions.

Block applications with Indicators - Block Firefox

Below I describe step by step the process to block Firefox. I am talking about Firefox, you can use any application you want. I advise you to always test it first and not to deploy directly in production.

Download Firefox
Download Firefox - Official website

The first step is to download the application. I am using Firefox as an example, but you can use any application that provides a certificate.


Navigate to the executable file

  1. To extract the certificate from the executable; locate the Firefox file and open its properties.

Extract certificate - Step one

  1. Select "Digital signature".
  2. Then select the certificate. If there are several, it is not necessary to extract them all.
  3. Then click on "Details".

View Certificate - Step two

  1. Click on "View Certificate".

View Certificate - Step three

  1. Select "Details".
  2. Click on "Copy to File".

Certificate Export wizard - Step four

  1. Click on "Next".

Certificate Export wizard - Step Vijf

  1. Make sure the option "DER encoded binary X.509 (.CER)" is selected.
  2. Then click on "Next".

Certificate Export wizard - Step Six

  1. Click on "Browse" to safe the certificate to the local machine.
  2. Then click on "Next".



Certificate Export wizard - Step Seven

  1. Click on "Finish" to safe the certificate to the local machine.

Navigate to the location to create the policy - Step Eight
Microsoft has announced that "SecurityCenter" is going to disappear; for that reason I show you, that the best way to create the policy is in the new "security" portal.

  1. Navigate to the following location "MDATP Settings - Microsoft 365 security".
  2. These are the steps to navigate to it.
    1. In the bottom left corner select "Settings".
    2. Then select "Endpoints".
    3. Then select "Indicators".
    4. Then select "Certificates".
  3. To add the certificate press "Add item".

Create Indicator to block Firefox - Step Nine
Indicator Details

  1. Click on "Choose File".
  2. Navigate to the location where you saved the .CER file.
  3. Then click on "Next".

Create Indicator to block Firefox - Step Ten
Response Action

  1. Click on "Block" to ensure that Firefox is seen as an unwanted application.
  2. Give the policy a name; this is required.
  3. Give the Policy a description; this is required.

Create indicator to block Firefox - Step eleven
Attention: This is an important choice. My advice is always to test new policies on a select number of devices first. So create a devices group with some test devices. I choose "all devices" since this is not a production environment but my test environment.

  1. So choose "select from list" here to not apply this policy to all devices immediately.
  2. Then click on "Next".

Below is the link to a Microsoft document how to create a device group.


Create indicator to block Firefox - Step twelve

  1. Click on "Save"

Create indicator to block Firefox - Step thirteen
This is all to create the policy. The following points are to consider.

  1. The time duration before this policy is active is three hours and sometimes even longer.
  2. Below is a demo video how quickly Windows Defender for Endpoint detects the download of Firefox. Should the user install the application anyway it will still be detected and uninstalled later, the user may then be prompted for a restart.

Create indicator to block Firefox - Step fourteen
Under incidents, it indicates that there was a device that tried to install Firefox.

  1. Navigate to the following location "MDATP Settings - Microsoft 365 security".
  2. Under the section "incidents & alerts" you can view the incident


×
Stay Informed

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.

Setup Windows Autopilot and add existing devices
Unpin Microsoft store from the taskbar
 

Comments (0)

Rated 0 out of 5 based on 0 voters
There are no comments posted here yet

Leave your comments

  1. Posting comment as a guest.
Rate this post:
0 Characters
Attachments (0 / 3)
Share Your Location