Collect Trellix DLP logs
This document explains how to ingest Trellix (formerly McAfee) DLP (Data Loss Prevention) logs to Google Security Operations using Bindplane. This parser processes McAfee DLP logs in CSV format, transforming them into the Unified Data Model (UDM). It cleans the input, parses the CSV data, maps fields to UDM, handles specific DLP event types and severities, and enriches the UDM with additional metadata and security result details.
Before you begin
Make sure you have the following prerequisites:
- Google SecOps instance
- Windows 2016 or later, or a Linux host with systemd
- If running behind a proxy, firewall ports are open
- Privileged access to McAfee EPO
- McAfee DLP Endpoint Extension is installed and active
Get Google SecOps ingestion authentication file
- Sign in to the Google SecOps console.
- Go to SIEM Settings > Collection Agents.
- Download the Ingestion Authentication File. Save the file securely on the system where Bindplane will be installed.
Get Google SecOps customer ID
- Sign in to the Google SecOps console.
- Go to SIEM Settings > Profile.
- Copy and save the Customer IDfrom the Organization Detailssection.
Install the Bindplane agent
Install the Bindplane agent on your Windows or Linux operating system according to the following instructions.
Windows installation
- Open the Command Promptor PowerShellas an administrator.
-  Run the following command: msiexec / i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" / quiet
Linux installation
- Open a terminal with root or sudo privileges.
-  Run the following command: sudo sh -c " $( curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh ) " install_unix.sh
Additional installation resources
For additional installation options, consult the installation guide .
Configure the Bindplane agent to ingest Syslog and send to Google SecOps
- Access the configuration file: - Locate the config.yamlfile. Typically, it's in the/etc/bindplane-agent/directory on Linux or in the installation directory on Windows.
- Open the file using a text editor (for example, nano,vi, or Notepad).
 
- Locate the 
-  Edit the config.yamlfile as follows:receivers : udplog : # Replace the port and IP address as required listen_address : "0.0.0.0:514" exporters : chronicle/chronicle_w_labels : compression : gzip # Adjust the path to the credentials file you downloaded in Step 1 creds_file_path : '/path/to/ingestion-authentication-file.json' # Replace with your actual customer ID from Step 2 customer_id : < customer_id > endpoint : malachiteingestion-pa.googleapis.com # Add optional ingestion labels for better organization ingestion_labels : log_type : 'MCAFEE_DLP' raw_log_field : body service : pipelines : logs/source0__chronicle_w_labels-0 : receivers : - udplog exporters : - chronicle/chronicle_w_labels- Replace the port and IP address as required in your infrastructure.
- Replace <customer_id>with the actual customer ID.
- Update /path/to/ingestion-authentication-file.jsonto the path where the authentication file was saved in the Get Google SecOps ingestion authentication file section.
 
Restart the Bindplane agent to apply the changes
-  To restart the Bindplane agent in Linux, run the following command: sudo systemctl restart bindplane-agent
-  To restart the Bindplane agent in Windows, you can either use the Servicesconsole or enter the following command: net stop BindPlaneAgent && net start BindPlaneAgent
Configure Syslog Server in McAfee ePO
- Sign in to the McAfee ePOconsole.
- Go to Menu > Configuration > Registered Servers.
- Click New Server > Syslog Server.
- Provide the following configuration details: -  Name: Unique name for the Syslog server (for example, Google SecOps).
- Server Address: Enter the Bindplane agent IP address.
-  Port: Enter the Bindplane agent port number (default is 514).
- Protocol: Select UDP or TCP (depending on your Bindplane Agent installation).
-  Format: Use CSVorCEF.
 
-  Name: Unique name for the Syslog server (for example, 
- Click Save.
Configure DLP Event Forwarding
- Go to Menu > Data Protection > DLP Policy Manager.
- Click the DLP Policy Assignment Rulestab.
- Edit the rule that applies to your target systems or create a new one.
- Go to the Actionstab of the rule.
- Check the box for Log to Syslog Serverand select the Syslog Server you previously created.
- Savethe rule.
Enable DLP Incident Forwarding
- Go to Menu > Data Protection > DLP Incident Manager.
- Click Incident Actions.
- Create or edit an action to forward to syslog server.
- Assign this action to a rule in your DLP policy.
Deploy the Policy
- Go to System Tree > select the desired group or system.
- Click Actions > Agent > Wake Up Agents.
- Select the Send Policies.
- Click OK.
UDM mapping table
| Log Field | UDM Mapping | Logic | 
|---|---|---|
| action | security_result.action_details | Directly mapped from the actionfield. | 
| action | security_result.action | Derived from the actionfield.  Ifactionis 1, it's BLOCK. Ifactionis 0, it's ALLOW. Ifactionis 6, it's UNKNOWN_ACTION. | 
| agent_ver | metadata.product_version | Directly mapped from the agent_verfield (which comes fromcolumn8). | 
| class_count | additional.fields[4].key | Value is ClassCount. | 
| class_count | additional.fields[4].value.string_value | Directly mapped from the class_countfield. | 
| class_display | additional.fields[5].key | Value is ClassDisplay. | 
| class_display | additional.fields[5].value.string_value | Directly mapped from the class_displayfield. | 
| count | additional.fields[6].key | Value is Count. | 
| count | additional.fields[6].value.string_value | Directly mapped from the countfield. | 
| device_name | principal.hostname | Directly mapped from the device_namefield. | 
| dst | target.hostname | Directly mapped from the dstfield ifinc_typeis10000. | 
| dst | target.user.userid | Directly mapped from the dstfield ifinc_typeis not10000. | 
| dst_app | target.application | Directly mapped from the dst_appfield. | 
| dst_url | target.url | Directly mapped from the dst_urlfield. | 
| encrypt | security_result.detection_fields[1].key | Value is EncryptionProvider. | 
| encrypt | security_result.detection_fields[1].value | Directly mapped from the encryptfield. | 
| evidence_count | additional.fields[2].key | Value is EvidenceCount. | 
| evidence_count | additional.fields[2].value.string_value | Directly mapped from the evidence_countfield. | 
| fail_reason | additional.fields[3].key | Value is FailReason. | 
| fail_reason | additional.fields[3].value.string_value | Directly mapped from the fail_reasonfield. | 
| fail_reason | security_result.description | If fail_reasonis0, the value isNo Failure. Otherwise, the value isFailure Occurred. | 
| file | target.file.full_path | Directly mapped from the filefield. | 
| file_size | target.file.size | Directly mapped from the file_sizefield, converted to an unsigned integer. | 
| group | principal.user.attribute.labels.key | Value is group. | 
| group | principal.user.attribute.labels.value | Directly mapped from the groupfield. | 
| inc_id | metadata.product_log_id | Directly mapped from the inc_idfield (which comes fromcolumn1). | 
| inc_type | metadata.event_type | Used in conditional logic to determine the metadata.event_type. See logic for details. | 
| inc_type | metadata.product_event_type | Directly mapped from the inc_typefield (which comes fromcolumn2). | 
| ip | principal.ip | Extracted IP address from the ipfield using grok. | 
| local_date | metadata.event_timestamp | The timestamp from the local_datefield, parsed and converted to seconds since epoch. | 
| name | principal.user.user_display_name | Directly mapped from the namefield. Ifinc_typeis in [10000,10001,10002,40101,40400,40500,40700] andipis a valid IP, the value isSCAN_NETWORK. Ifinc_typeis40102andfileis not empty, the value isSCAN_FILE. Ifinc_typeis in [40301,40602], the value isPROCESS_UNCATEGORIZED. Otherwise, the value isGENERIC_EVENT. Hardcoded value:GCP_CLOUDAUDIT. Hardcoded value:Mcafee DLP. Hardcoded value:Mcafee. Ifstatus_idis in [1,2], the value isNEW. Ifstatus_idis in [3,4], the value isCLOSED. Ifstatus_idis in [5,6], the value isREVIEWED. Value isStatusId. Value isResolution Id. Value isExpected Action. | 
| process_name | target.process.file.full_path | Directly mapped from the process_namefield. | 
| resolution_id | security_result.about.labels[0].value | Directly mapped from the resolution_idfield. | 
| rule_name | security_result.rule_name | Directly mapped from the rule_namefield. | 
| rule_set | security_result.rule_labels.key | Value is rule_set. | 
| rule_set | security_result.rule_labels.value | Directly mapped from the rule_setfield. | 
| sev | security_result.severity | Derived from the sevfield. Ifsevis 1, it's INFORMATIONAL. Ifsevis 2, it's ERROR. Ifsevis 3, it's LOW. Ifsevis 4, it's HIGH. Ifsevis 5, it's CRITICAL. | 
| sev | security_result.severity_details | Directly mapped from the sevfield. | 
| status_id | principal.labels.value | Directly mapped from the status_idfield. | 
| total_count | additional.fields[1].key | Value is TotalCount. | 
| total_count | additional.fields[1].value.string_value | Directly mapped from the total_countfield. | 
| total_size | additional.fields[0].key | Value is TotalSize. | 
| total_size | additional.fields[0].value.string_value | Directly mapped from the total_sizefield. | 
| usb_serial_number | security_result.detection_fields[0].key | Value is USBSerialNumber. | 
| usb_serial_number | security_result.detection_fields[0].value | Directly mapped from the usb_serial_numberfield. | 
| user | principal.user.userid | Directly mapped from the userfield. | 
| user_ou | principal.user.group_identifiers | Directly mapped from the user_oufield. | 
| volume_serial_number | security_result.detection_fields[2].key | Value is VolumeSerialNumber. | 
| volume_serial_number | security_result.detection_fields[2].value | Directly mapped from the volume_serial_numberfield. | 
| expected_action | security_result.about.labels[1].value | Directly mapped from the expected_actionfield. | 
Need more help? Get answers from Community members and Google SecOps professionals.

