Lab 7 โ Stopping Data Exfiltration with Endpoint DLP
Kevin's file upload to ChatGPT was blocked in Lab 6 by Inline Web DLP. Undeterred, he decides to try a completely different approach โ one that bypasses the network proxy entirely. First he tries to open the sensitive file directly in Notepad++. Then, when that fails, he opens it in Word and tries to copy and paste the content instead. Neither the proxy nor the browser can stop these OS-level actions. Only Endpoint DLP can.
Kevin's new attempts happen entirely on the endpoint โ no network request, no HTTP POST, no file transfer. The controls that cannot catch these actions are:
| Control | Why it misses |
|---|---|
| Inline Web DLP (Lab 6) | No network traffic โ file access and clipboard never leave the OS |
| Browser DLP (Lab 8) | Only covers actions inside the browser |
| Proxy inspection | Proxy can inspect archive files up to 5 levels โ but these actions never reach the network |
Endpoint DLP operates at the OS layer โ intercepting file read attempts and clipboard operations before any data can be extracted, regardless of protocol, application, or network path.
Prerequisite โ Install Notepad++ on the Lab VMโ
Kevin needs a text editor capable of opening any file type. Run this command on the lab VM to install Notepad++:
Open PowerShell or Command Prompt on the lab VM and run the following command. Wait for installation to complete before starting Task 1.
winget install Notepad++.Notepad++
Notepad++ is a free, widely used text editor. In this scenario Kevin installs it thinking he can use it to open and read the raw contents of the sensitive payroll document โ bypassing Word's document protections.
Task 1 โ Block Application File Access to Sensitive Documentsโ
Configure an Application File Access rule, verify the Notepad++ application definition in DLP Resources, push the policy to the endpoint, then confirm Kevin's file open attempt is blocked and logged.
Step 1 โ Navigate to Endpoint DLP Policyโ
Navigate to the Endpoint DLP policy page:

The policy list will be empty โ this is expected. The Lab Tenant starts with no pre-configured Endpoint DLP rules. You will build the first rule from scratch in the steps below.
Step 2 โ Navigate to Endpoint DLP Resourcesโ
Before creating the AFA rule, review how applications are defined. Navigate to:

Step 3 โ Review the Notepad++ Application Definitionโ
In DLP Resources, click the Applications tab and search for notepad. Click the eye icon to view the Notepad++ (Windows) definition.

| Field | Value |
|---|---|
| Name | Notepad++ (Windows) |
| Original File Name | notepad++.exe |
| File Name | Notepad++.exe |
| Digitally Signed | Yes |
| Application Type | Well Known |
Application definitions use Original File Name + File Name + Digital Signature to uniquely identify an application. The digital signature check ensures the policy applies to the genuine Notepad++ binary โ a renamed or unsigned copy would not match.
Point out the Digitally Signed = Yes criterion โ this prevents a simple evasion where Kevin renames another executable to notepad++.exe. The policy targets the signed binary, not just the filename. Ask the group: how would you extend this to block any application, not just Notepad++?
Step 4 โ Create the Application File Access Ruleโ
Navigate back to Endpoint DLP Policy and click + Add DLP Rule:

| Field | Value |
|---|---|
| Rule Name | Block Sensitive Data with AFA |
| Channel | Application File Access |
| Applications | Notepad++ (Windows) |
| DLP Engines | DP Project Code |
| Action | Block |
| Rule Status | Enable |
Callout 1 โ Rule Name:
Block Sensitive Data with AFACallout 2 โ Channel: Application File Access Callout 3 โ Content Matching: Select DLP Engines Callout 4 โ DLP Engines: DP Project Code โ same engine from Lab 5 Callout 5 โ Action: Block Callout 6 โ Click Save
Step 5 โ Push the Updated Policy to the Endpointโ
After saving the rule, the policy must be pushed to the endpoint agent. On the lab VM:
- Right-click the Zscaler icon in the system tray
- Click Open Zscaler
- Navigate to Data Protection
- Click Update DLP Policy

Callout 1 โ ZCC Connectivity: Service Status ON Callout 2 โ Right-click ZCC tray icon โ Open Zscaler Callout 3 โ Click Data Protection Callout 4 โ Click Update DLP Policy
The Update DLP Policy step is important โ Endpoint DLP rules are enforced by the ZCC agent on the device. Without this step, the new rule exists in the cloud policy but has not been delivered to the endpoint. In production, policies are automatically synced on a schedule, but during lab we force an immediate update to ensure the rule is active before Kevin's test.
Step 6 โ Kevin Attempts to Open the File in Notepad++โ
Kevin right-clicks Dataparity_Q2_2025_Workforce_Financial_Summary.docx on the desktop and selects Edit with Notepad++.

The moment Notepad++ attempts to read the file, Application File Access intercepts at the OS layer โ before any data reaches the application.
Step 7 โ Endpoint DLP Blocks the File Readโ
Kevin sees two simultaneous events:

Zscaler block notification:
Blocked An application opened one or more files that contain potentially sensitive data. This activity was blocked by your organization.
- File Name: Dataparity_Q2_2025_Workforce_Financial_Summary.docx
- Destination: notepad++.exe
Notepad++ error dialog:
ERROR โ Can not open file
C:\Users\Zscaler\Desktop\Dataparity_Q2_2025_Workforce_Financial_Summary.docx
Notepad++ never displayed a single byte. The OS-level block happened before the application received any data.
This is the key contrast with Lab 6. In Lab 6, Kevin tried to send the file over the network โ the proxy caught it. Here, Kevin never made a network request. He tried to read a local file using a local application. The only thing that stopped him was the Endpoint DLP agent running on the machine itself.
Ask the group: "If Kevin renamed the file to something innocuous like budget.txt, would the block still fire?" Answer: yes โ Application File Access inspects file content, not just the filename.
Step 8 โ Navigate to Endpoint DLP Insightsโ

Callout 1 โ Click Logs in the top nav Callout 2 โ Select Insights Callout 3 โ Click Endpoint DLP Insights
Step 9 โ Review the AFA Violation Logโ

The log shows 2 Log Records Found โ both Application File Access events:
| Field | Value |
|---|---|
| Channel | Application File Access |
| Activity Type | File Read |
| Source Type | Local Drive |
| DLP Engine | 5 or more PII Identifiers, AAA, Trad... |
| Destination Name | notepad++.exe |
| Action Taken | Block |
| File Type | docx |
Activity Type: File Read is the key differentiator from the Clipboard channel. This tells Alex exactly what Kevin attempted โ a direct file read by an unauthorized application โ not a network upload or clipboard operation.
Task 2 โ Block Clipboard Exfiltration to Local Applicationsโ
Demonstrate that even when Kevin uses a legitimate application to access the file, Endpoint DLP Clipboard control blocks the paste into an unauthorized destination.
Kevin's reasoning: "Zscaler blocked Notepad++ from reading the file directly. But Word is allowed to open it โ it's the legitimate app for .docx files. If I open it in Word, copy the content, and paste it into Notepad++, maybe the endpoint agent won't catch it."
He's right that Word can open the file โ Application File Access doesn't block sanctioned applications. But the Clipboard channel catches the copy/paste at the OS clipboard layer, regardless of which application the content came from.
This task must be performed from the lab VM machine. Ensure the Zscaler Client Connector is running before proceeding.
Step 1 โ Navigate to Endpoint DLP Policyโ
The Clipboard rule is already configured. Alex can show the existing rule:

The existing Rule 1 โ Block Cut and Paste on Public Network shows:
- Channel: Clipboard
- Destination Application: Notepad++ (Windows)
- DLP Engine: DP Project Code
- Action: Block
Step 2 โ Configure the Clipboard DLP Ruleโ
Click the edit icon on Rule 1 to show the full rule configuration:

| Field | Value |
|---|---|
| Rule Name | Block Cut_n_Paste Sensitive Data |
| Channel | Clipboard |
| Destination Application | Notepad++ (Windows) |
| DLP Engines | DP Project Code |
| Action | Block |
The Clipboard rule is scoped to Notepad++ (Windows) as the destination. This means paste of sensitive content is blocked specifically when the destination is Notepad++. Setting the destination to Any would block paste of sensitive content into any application on the endpoint โ email clients, chat tools, IDE editors, or any other process.
Scoping to a specific application allows a graduated rollout โ start with the highest-risk destinations, then expand once the policy is tuned.
Step 3 โ Push Updated Policy to Endpointโ
After saving the Clipboard rule, push the policy to the endpoint:

Right-click ZCC tray icon โ Open Zscaler โ Data Protection โ Update DLP Policy
Step 4 โ Kevin Opens the Document in Word and Selects Sensitive Contentโ
Kevin opens Dataparity_Q2_2025_Workforce_Financial_Summary.docx in Microsoft Word โ which is allowed, as Word is a sanctioned application. He selects the entire document content containing customer names, emails, phone numbers, and SSNs.

Kevin presses Ctrl+C to copy. He then opens Notepad++ and attempts Ctrl+V to paste.
Step 5 โ Endpoint DLP Blocks the Pasteโ
Instead of pasting, Kevin sees a Zscaler block notification:

Blocked The copied content contains potentially sensitive data. This activity was blocked by your organization.
- Destination: notepad++.exe
Notepad++ remains empty โ not a single character was pasted.
Ask the group: "Kevin successfully opened the file in Word โ so why didn't Application File Access fire?" The answer: Word is a sanctioned application. AFA is scoped to Notepad++. The Clipboard rule catches the extraction attempt at the paste event โ a different, lower-level OS operation than a file read.
This is the architectural elegance of Endpoint DLP: multiple channels, each operating at a different OS layer, complementing each other.
Step 6 โ Navigate to Endpoint DLP Insightsโ

Step 7 โ Review the Clipboard Violation Logโ
Apply filter: Channel = Clipboard โ Run Query

| Field | Value |
|---|---|
| Channel | Clipboard |
| Activity Type | Paste Text |
| DLP Engine | DP Project Code |
| Rule Name | Block Cut and Paste on Public N... |
| Action Taken | Block |
Compare Activity Type: Paste Text (Task 2) vs Activity Type: File Read (Task 1). Two distinct OS-level events, two different channels, one unified Endpoint DLP Insights log โ giving Alex a precise audit trail of exactly what Kevin attempted at each layer.
Kevin tried two OS-level evasion techniques after his network upload was blocked in Lab 6:
- Application File Access (Task 1) โ tried to open the file directly in Notepad++. Blocked at the file read layer before any data reached the application.
- Clipboard (Task 2) โ opened in Word (allowed), copied content, tried to paste into Notepad++. Blocked at the clipboard paste layer.
Neither attempt generated network traffic. Neither was visible to the proxy. Only Endpoint DLP โ running at the OS layer โ could intercept them.
In Lab 8, Kevin tries one final approach: staying entirely inside the browser where neither the proxy nor endpoint file/clipboard controls can reach. That is where Browser DLP closes the final gap.
Strong transition to Lab 8: "Kevin has now been blocked via network upload (Lab 6), direct file access (Lab 7 Task 1), and clipboard copy/paste (Lab 7 Task 2). His last idea: stay entirely inside the browser and paste the content directly into a ChatGPT prompt. No file upload, no local app, no clipboard to a non-browser destination. That is Lab 8."
Lab Summaryโ
In this lab:
- Alex reviewed the Notepad++ application definition in DLP Resources
- Alex created an Application File Access rule using the DP Project Code engine
- Alex pushed the updated policy to the endpoint via ZCC โ Update DLP Policy
- Kevin right-clicked
Dataparity_Q2_2025_Workforce_Financial_Summary.docxโ Edit with Notepad++ โ blocked at OS file read layer - Alex confirmed Activity Type: File Read in Endpoint DLP Insights
- Kevin opened the file in Word (allowed), copied sensitive content, attempted to paste into Notepad++ โ blocked at OS clipboard layer
- Alex confirmed Activity Type: Paste Text in Endpoint DLP Insights โ two distinct channels, one unified log
Key Takeaway: Endpoint DLP closes the OS-layer gaps that proxy and browser DLP cannot cover. Application File Access and Clipboard are two complementary channels that together prevent both direct file extraction and content copy/paste exfiltration โ entirely off-network.