Microsoft Purview - Paint By Numbers Series (Part 3a) – DLP for Endpoint (SIT-based)
Published Apr 02 2022 09:21 PM 2,625 Views
Microsoft

paint_by_numbers_splash_picture.jpg

 

Before we start, please not that if you want to see a table of contents for all the sections of this blog and their various Purview topics, you can locate the in the following link:

Microsoft Purview- Paint By Numbers Series (Part 0) - Overview - Microsoft Tech Community

 

 

Disclaimer

This document is not meant to replace any official documentation, including those found at docs.microsoft.com.  Those documents are continually updated and maintained by Microsoft Corporation.  If there is a discrepancy between this document and what you find in the Compliance User Interface (UI) or inside of a reference in docs.microsoft.com, you should always defer to that official documentation and contact your Microsoft Account team as needed.  Links to the docs.microsoft.com data will be referenced both in the document steps as well as in the appendix.

All of the following steps should be done with test data, and where possible, testing should be performed in a test environment.  Testing should never be performed against production data.

Target Audience

The Data Loss Protection (DLP) section of this blog series is aimed at Security and Compliance officers who need to prevent data from being emailed to users in untrusted domains.

 

 

Document Scope

This document is meant to guide an administrator who is “net new” to Microsoft E5 Compliance through the use of Data Loss Prevention for Endpoints with a Sensitivity Label.

We will only step through a basic DLP case (see the Use Case section) with an Endpoint Device, specifically copying to a clipboard, printing, and copying to a USB device.

For the purpose of this document, an Endpoint Device is either a Windows 10 or Window 11 device AND it is a physical device, not a virtual device.

 

Out-of-Scope

This document does not cover any other aspect of Microsoft E5 Compliance, including:

  • Sensitive Information Types
  • Exact Data Matching
  • Data Protection Loss (DLP) for Exchange, OneDrive
  • Microsoft Cloud App Security (MCAS)
  • Records Management (retention and disposal)
  • Overview of Advanced eDiscovery (AeD)
  • Reports and Analytics available in of Advanced eDiscovery (AeD)
  • Insider Risk Management
  • Privacy Management

It is presumed that you have a pre-existing of understanding of what Microsoft E5 Compliance does and how to navigate the User Interface (UI).

It is also presumed you are using an existing Information Types (SIT) or a Exact Data Match (EDM) you have created for your testing.

 

If you wish to set up and test any of the other aspects of Microsoft E5 Compliance, please refer to Part 1 of this blog series (listed in the link below) for the latest entries to this blog.  That webpage will be updated with any new walk throughs or Compliance relevant information, as time allows.

Microsoft Compliance - Paint By Numbers Series (Part 1) - Sensitive Information Types - Microsoft Te...

Use Case

We will prevent a user on a Windows 10 or Windows 11 device from being able to

  • copying to a clipboard
  • printing
  • copying to a USB device.

The data we will be blocking will be our “HR Data” SIT created in part 1a of this series.  This is blocking is done to prevent accidental leakage of data or purposeful removal or theft of company data.

 

Overview of Document

  1. Create an Endpoint policy with a Sensitivity Label to block Copy to Clipboard, Copy to USB, Print.
  2. Test Copying to clipboard
  3. Test Printing
  4. Test Copying to USB

 

Definitions

N/A

 

Notes

  • DLP and Clipboard – Endpoint DLP will allow you to copy data from one file to another if you are in the same program (example – from one Word file to another Word file).  It will NOT allow you to copy data from one file to another if that second file is in a different program (example – from a Word file to a Text File).
  • DLP and USB – For testing, the Windows 10/11 device must be a physical device, not a virtual machine (VM).  This is because some VM’s allow for USB devices treat USB devices as physical devices.  Other VMs treat USB devices as Network shares.  Performing DLP against both USB and Network shares is possible, but we will not be testing DLP against Networks shares in this part of the blog.

 

Pre-requisites

  • Verify that you have performed Part 1 of this blog series (creating a Sensitive Information Type).  If you have not done that part of the blog, you will need to populate your test environment with test data for the steps to follow.
  • Verify that your endpoint Devices is on-boarded.  If you are not sure how to do this, look at the next section.

 

Verify Device is On-boarded

Verify that your Endpoint Device has been onboarded

  1. Go onboard devices via Security,
    1. Method #1: Go to Security.microsoft.com -> Endpoints -> Device inventory

James_Havens_1-1648940506632.png

 

b. Method #2: Go to Compliance.microsoft.com -> Settings -> Device onboarding -> Devices

 

James_Havens_2-1648940526829.png

 

  1. You should then see a list of your on-boarded devices, similar to the example below.

James_Havens_0-1648940475391.png

 

Creating and testing Endpoint DLP policies

 

Create Endpoint DLP policy

 

  1. On the left-hand navigation field, select Data Loss Prevention.

James_Havens_0-1648954215726.png

 

  1. In the right-hand pane, select Policies and Create Policy

James_Havens_1-1648954234647.png

 

  1. First you need to Choose the information to Protect.  Select Custom –> Custom Policy and then click Next.

 

James_Havens_2-1648954271693.png

 

  1. Name your Policy and give it a description.  Then click Next.
    1. Example = Name – Endpoint DLP (SIT)
    2. Example = Description – USB, Print, Clipboard

 

James_Havens_3-1648954313033.png

 

  1. Chose the Locations to apply the policy.  For this DLP policy, we will deselect everything Exchange for the Devices.
    1. Under Included, leave the All as the default.
    2. Under Excluded, leave the None as the default.
    3. Click Next.

 

James_Havens_4-1648954334179.png

 

  1. Define DLP rules settings
    1. Click Create or Customize advanced DLP rules and click Next.
    2. Now click Create Rule.

 

James_Havens_5-1648954351938.png

 

c. In the Customize advanced DLP rules, click Create Rule

 

James_Havens_6-1648954391352.png

 

d. Name your Rule and give it a description.

i. Example = Name – Endpoint DLP (SIT) Rule

ii. Example = Description – Endpoint DLP (SIT) Rule

 

James_Havens_7-1648954417477.png

 

e. Under Conditions, click Add Condition and select Add -> Sensitive info types and select your SIT.  I am selecting the SIT labeled HR Data that I created in part 1a of this blog series.  Let us place the confidence of this SIT to High Confidence.

 

Note - If you do not wish to use the EDM you created in Part 1a of this blog series, you can use the SIT you created in part 1 of this blog series

 

James_Havens_8-1648954434971.png

 

f. On the right-hand side you will see a drop down.  Leave this at the default of Any of these.

 

James_Havens_9-1648954465375.png

 

g. Do NOT add a second Condition for this test, but you can add multiple Conditions for your own testing later- on.

 

James_Havens_10-1648954554693.png

 

h. Do not added an Exception.  Again, you can do this for your own testing at a later time.

 

James_Havens_11-1648954575876.png

 

i. Under Actions, select Add an Action -> Audit or restrict activities on devices.

 

James_Havens_12-1648954590483.png

 

j. Change all activities from Audit to Block.  We will only be testing Copy to Clipboard, Copy to USB removable media, and Print.  However, this will allow you to a) be sure that those 3 scenarios are blocked along with everything else, and b) it will allow you to test other Endpoint DLP options on your own later-on.

 

James_Havens_13-1648954603913.png

 

k. Now go to User Notifications.  Here you will set up the alerts to be sent to your administrator or compliance officer. 

 

i. Select On

 

ii. Select Customize the notification.  This will alert the users that they have violated the DLP policy.  If desired, create a custom title and content.

 

James_Havens_14-1648954624091.png

 

l. Leave the rest of the options in the Rules pane with their defaults.  We will not need them for the next parts of our testing.  Click Save and then click Next.

 

  1. Now we arrive at the step to configure Test or turn on the policy.  Let us enable Turn it on right away, and then click Next.

 

James_Havens_15-1648954644531.png

 

  1. Review your policy and create it.  You will see a summary of what you have created.  If everything looks correct, click Submit.

James_Havens_16-1648954662812.png

 

  1. Click Done

 

  1. In the Policies, click the 3 vertical dots next to your new policy.

 

James_Havens_1-1648940959718.png

 

  1. Select Move to top.  This will place the policy in the 0 slot, which will give it priority over all DLP policies.  From a testing perspective, this will force this policy to take effect before any other policies you might have created previously.

 

James_Havens_0-1648940936549.png

 

  1. Now wait between 15 minutes and 24 hours for your policy to be synchronized to your Endpoint Device.  This can take up to 7 days depending on how your tenant replication is configured on the backend.  You are now done with creating your Endpoint DLP SIT policy and are ready to move to the testing phase.

Test Copying data to clipboard

 

  1. Open File Explore and navigate to a file with SIT data.

 

James_Havens_2-1648957612847.png

 

a. I will be using a file called “HR Data – SSN.docx”

James_Havens_4-1648957830651.png

 

  1. Open the file.

 

  1. Select several lines of data.

 

James_Havens_3-1648957765854.png

 

  1. Right click and select Copy.

 

  1. Open a new file in Word or some other application.  I will choose word.

 

  1. Paste the copied information to the new file.  You should receive a notification similar to the one below.

James_Havens_0-1648957552636.png

 

  1. Click Dismiss.  You are now done with this part of the test.

 

Test Printing data

 

  1. Open File Explore and navigate to a file with SIT data.

James_Havens_2-1648957612847.png

 

a. I will be using a file called “HR Data – SSN.docx”

James_Havens_1-1648957595651.png

 

  1. Open the file and select Print to PDF

 

  1. You should see a pop-up message indicating that file is blocked from printing.

James_Havens_0-1648957552636.png

 

 

  1. Click Dismiss.  You are now done with this part of the test.

Test Copying data to USB

 

  1. Open File Explore and navigate to a file with SIT data.

James_Havens_2-1648957612847.png

 

a. I will be using a file called “HR Data – SSN.docx”

 

James_Havens_1-1648957595651.png

 

 

  1. Click on the file and click Copy.

 

  1. Paste into a USB device.

 

  1. You should see a pop-up message indicating that file is blocked from printing.

 

James_Havens_0-1648957552636.png

 

  1. Click Dismiss.  You are now done with this part of the test.

 

Appendix and Links

 

 

 

 

 

Co-Authors
Version history
Last update:
‎Nov 03 2022 10:07 AM
Updated by: