Collect Trend Micro Email Security logs

Supported in:

This document explains how to ingest Trend Micro Email Security Advanced logs to Google Security Operations using Bindplane.

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 an instance of Trend Micro Email Security Advanced

Get Google SecOps ingestion authentication file

  1. Sign in to the Google SecOps console.
  2. Go to SIEM Settings > Collection Agents.
  3. Download the Ingestion Authentication File. Save the file securely on the system where Bindplane will be installed.

Get Google SecOps customer ID

  1. Sign in to the Google SecOps console.
  2. Go to SIEM Settings > Profile.
  3. Copy and save the Customer ID from the Organization Details section.

Install the Bindplane agent

Windows installation

  1. Open the Command Prompt or PowerShell as an administrator.
  2. Run the following command:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    

Linux installation

  1. Open a terminal with root or sudo privileges.
  2. 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

  1. Access the configuration file:
    • Locate the config.yaml file. 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).
  2. Edit the config.yaml file as follows:

    receivers:
        tcplog:
            # 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: 'TRENDMICRO_EMAIL_SECRUTIY'
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - tcplog
                exporters:
                    - chronicle/chronicle_w_labels
    
  3. Replace the port and IP address as required in your infrastructure.

  4. Replace <customer_id> with the actual Customer ID.

  5. Update /path/to/ingestion-authentication-file.json to 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 Services console or enter the following command:

    net stop BindPlaneAgent && net start BindPlaneAgent
    

Configure Syslog in Trend Micro Email Security

  1. Sign in to the Trendmicro Email Security web UI.
  2. Go to Logs > Syslog Settings.
  3. Select the Syslog Server Profiles tab.
  4. Click Add.
  5. Provide the following configuration details:
    • Profile name: Enter a unique and meaningful name.
    • Description: Enter a description of this profile.
    • Server address: Enter the Bindplane Agent IP address.
    • Port: Enter the Bindplane Agent port number.
    • Protocol: Select TCP.
    • Format: Select CEF.
    • Severity: Select Informational.
    • Facility: Select local0.
  6. Click Save.
  7. Go to the Syslog Forwarding tab.
  8. From the Detection logs list, select the newly created Syslog Profile.
  9. Select the Include spam detections checkbox.
  10. From the Audit logs list, select the newly created Syslog Profile.
  11. From the Mail tracking logs list, select the newly created Syslog Profile.
  12. From the URL click tracking logs list, select the newly created Syslog Profile.

Need more help? Get answers from Community members and Google SecOps professionals.