r/proofpoint • • 24d ago

Enterprise Proofpoint Regular Expression for Blocking Sensitive Data

Hey folks,

Am looking for someone who can advise me and is an expert in proofpoint. I want to know that if I have a Proofpoint Core bundle, I know it does not include the DLP module. However, can I apply basic regular expression to block outbound data ?

As per my research, Its possible to do it by creating a Email Firewall policy for outbound, and in the condition we can add regular expression to block outbound emails based on the provided information like CreditCard or IDs etc. But, I do not have access to Proofpoint environment at the moment.

Can anyone using proofpoint confirm this? Please advise.

Thanks in Advance.

3 Upvotes

4 comments sorted by

4

u/everythingp1 24d ago

Yes, you can use regex in email firewall rules but we don't advise using too many because it can affect the performance. There is no hard set threshold on the number of regexes so use it at your own risk.

1

u/sparowski 24d ago

can you share the steps ? lets say I want to apply

(?i)\b(?:civil[\s_-]*id|id)\b\s*[:#=-]?\s*\d{12}\b

if anyone sending this to outbound email in the email content, it should be blocked

2

u/Inigomntoya 24d ago

I would HIGHLY recommend you get Email DLP through Proofpoint

It is much easier to implement things like this. Plus you get better reporting and it's easier to test this exact scenario before going into production.

That said, you CAN create an email firewall rule that uses that regular expression in the subject, body, and attachments. But you will see false positives and you will see false negatives.

First, look up the KB article titled "Measure Performance Impact of Regex or Email Firewall Rule" so you can monitor performance

Create a policy route to restrict it to one or two senders first.

Create and restrict the email firewall rule to that policy route. Also disable processing for default_inbound so it only looks at outbound email.

Add a condition: Select Message - All Parts. Select Matches Regular Expression for the operator and paste your regular expression into the value field.

Choose what you want to happen with messages (continue or quarantine/discard) and add your rule.

1

u/RevolutionaryLink952 23d ago

EmailDLP should be your goto. Your use case is exactly what it is designed to do. Plus it comes with prebuilt detectors ootb, so you don’t have to waste time with building complex regex.