Create A DLP Policy To Block A Word From Been Copied

Today I will be showing you how to create a DLP policy to block a word from been copied to a txt document, warn the user with a pop-up message and report the incident to ePO. This rule can be useful to block from copping critical text onto another document. For this policy to work we are going to do the following:

Create a Classification

First we are going to create a classification for the word “Credit Card”. This is the word we want to monitor or block.

  1. In ePO select “Menu>Data Protection>Classification”.
  2. Click on “New Classification”.
  3. Give it a name “Contain Credit Card Classification” and click “OK”.
  4. Now click “Action>New Content Classification Criteria”.
  5. Name it “Contains Credit Card Criteria” and select “Dictionary” on the left.
  6. Leave comparison as “one of (or)”, and click on the 3 dots, this will present you with the build in list.
  7. For this example we are going to create a new list, click on “New Item”.
  8. Name this list “Contain Credit Card Dictionary“, at the bottom under “Phrase” type the phrase we will be blocking “Credit Card“. Scroll to the right.
  9. Then click the “Add” button to add the phrase we want to block.
  10. Scroll back, and check that the phrase was added and then click on “Save”.
  11. Next look for the value “Contain Credit Card Dictionary”, add a check and then click “OK”.
  12. On the next window click “Save” at the bottom of the page.
  13. Next, click on “Actions>Save Classification”.
Creating A Rule Set & Policy Assignment Using DLP Policy Manager.

On the next steps we are going to create a rule set for how our rule is going to work. For this rule set we are going to be using “Clipboard Protection”. After the rule set is created, we must assign it to a policy.

  1. In ePO go to “Menu>Data Protection>DLP Policy Manager”.
  2. First we are going to create a rule set, click on “Action>New Rule Set”.
  3. Name it “Prevent Credit Card from being copied“, and press “OK”.
  4. Click on the rule set we just created “Prevent Credit Card from being copied”.
  5. Make sure the tab “Data Protection” is selected, click on “Action>New Rule>Clipboard Protection”.
  6. Name the rule “Prevent Credit Card from being copied Protection“, then change the state from disable to “Enable” and severity from warning to “Major”. Next under classification click on the 3 new dots.
  7. On the next screen select “Contains Credit Card Classification” then click OK.
  8. Select the “Reaction” Tab, in Action change it to “Block” under notification section click on the 3 dots.
  9. Next click “New Item”.
  10. Next name it “Tried to copy the word Credit Card” and under description type the message the user will received, “You have just tried to copy the word “Credit Card” and it has been blocked. This action violates company policy!“. Then click “Save”.
  11. Next put a check mark next to “Tried to copy the word Credit Card” then click “OK”.
  12. Checked “Report Incident” and then click “Save”.
  13. On the next page click “Close” and close until your back at DLP Policy Manger.
  14. Next we want to apply this rule to a policy, click on the Policy Assignment tab. Click “Action>Select Assign Rule Sets to a Policy”.
  15. Select the policy you wish to assign this rule set to, for this example I am using “My Default DLP Policy”. Make sure the rule set “Prevent Credit Card from been copied” is checked then click “OK”.
  16. Next click on “Actions>Apply Selected Policies”.
  17. On the next window select the DLP policy “My Default Policy” and click “Apply Policy”.
  18. You will get a confirmation that the policy apply successfully, click “OK”.
  19. The policy Pending Changes will change from “Yes” to “No”.
Testing The Rule-Set Policy On A System

Our last step is to send an a wake up call to the system we are testing with and test our rule set and policy assignment. If everything was done correctly, DLP should block the word “Credit Card” from been copied and paste to another document.

  1. Go to System Tree, find the system, check it and click on “Wake up Agents”.
  2. On the next windows select “Force complete policy and task update” then click “OK”.
  3. To make sure the policies enforce properly, open the agent monitor by right click on the McAfee icon, select “McAfee Agent Status Monitor”.
  4. Click on “Check New Policies” and “Enforce Policies”.
  5. On the desktop create two new text files, name them test-1 and test-2. Open test-1.txt file and type the word Credit Card, highlight and copy it. Then open the second file and try to past it, it will get blocked and on the bottom right corner you will received a message from DLP letting you know that copying the word “Credit Card was blocked.

This is a list of actions that can be blocked:

  • Application File Access Protection
  • Clipboard Protection <- This is what we just used
  • Cloud Protection
  • Email Protection
  • Network Communication Protection
  • Network Share Protection
  • Printer Protection
  • Removable Storage Protection
  • Screen Capture Protection
  • Web Post Protection

As an ePO administrator, you should be able to view this incidents from the ePO console.

  1. To review the incident go to “Menu>Data Protection>DLP Incident Manager”.
  2. In the DLP Incident Manager you should be able to see that there was an attempt to copy the word “Credit Card” with the clipboard.
  3. To review the details, click on the “Incident ID” number.
  4. The details of the incident reported will pop up, giving you details of the computer that reported the incident, user login to the system, rule  and classification that was trigger,  etc.

This concludes this guide on how to create a DLP policy to block a word from been copied, if you have any question or comments please let me know in the comment area.

Leave a Reply

Your email address will not be published. Required fields are marked *