Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda XDR
Results will update as you type.
  • Barracuda XDR Dashboard Basics
  • Using Bailey AI Assistant in Barracuda Managed XDR
  • Introduction to the XDR Dashboard
  • Integrations
  • Working with the Security Operations Center
  • Reporting
  • Securing the Cloud
  • Securing Email
  • Securing Endpoints
  • Infrastructure
    • Working with the Collectors Page
      • Setting up the XDR Collector
        • Setting up the XDR Collector for Linux
        • Troubleshooting the XDR Collector
        • Setting up the XDR Collector for Windows
          • Resetting a Sensor
          • Setting up the XDR Collector for Barracuda IDS for Windows
            • Increasing Suricata Cache memory limits
        • Generating the token to enroll the BX500 hardware device
      • Filtering the Collectors Page
  • Securing Networks
  • Viewing security vulnerabilities
  • Administration
  • Barracuda Managed Vulnerability Security
  • Setting up new customer accounts

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Setting up the XDR Collector for Barracuda IDS for Windows
    Published Oct 01

    Setting up the XDR Collector for Barracuda IDS for Windows

    Subscribe

    This setup is for the XDR Collector only. If you are using a physical or virtual sensor, refer to Integrating Barracuda IDS.

    The XDR Collector runs as a service in your environment. While the minimum specifications are listed below, the required resources depend on the number of active integrations and the amount of data being processed.

    Install the XDR Collector on each server you want to monitor. 

    Minimum Requirements

    To set up the XDR Collector, the minimum requirements are the following:

    Minimum requirements

    Minimum requirements

    CPU

    2vCPU

    Disk Size

    10GB SSD

    Memory

    1GB

    Network interface card (NICs)

    2

    Operating System

    • Windows Server 2016 and higher

    • Windows 10 and higher

    Windows Server 2022  is recommended.

    IP Address Requirements

    Two private static IP addresses are required, one for each Ethernet interface.

    Required Endpoint/Port Communication

    The XDR Collector must be able to communicate to the following endpoints/ports:

    Logstash

    elastic-agent-on-prem.ingest.skoutsecure.com:5044

    Management Server

    b5e9a5096e0a4f7782cc444c8edbbd5e.fleet.us-east-1.aws.found.io:443

    Update Server

    artifacts.elastic.co:443

    Setting up the XDR Collector

    To set up the XDR Collector, you must do the following procedures:
    • To configure a static IP address

    • To install the XDR Collector

    • To set up switch port mirroring

    • To install Suricata

    • To trigger a manual alert for threat simulation (Optional)

    To configure a Static IP Address

    Configure a static IP address for each Ethernet interface. See the documentation for your specific version of Windows.

    To install the XDR Collector

    If you want to install the Collector on multiple Windows servers at the same time, consider using the Deploying the XDR Collector on multiple Windows servers procedure.

    The install command is unique for each account and should only be run on systems within that account's network.

    1. In Barracuda XDR Dashboard, click Infrastructure Infrastructure.png > Collectors.

    2. In the Policies table, next to the on-prem policy, click Action > Install.

    3. Click Windows.

      WindowsButton.png

    4. Copy the command at the bottom of the dialog box.

      WindowsCode.png

    5. On the appropriate system, run Powershell as an administrator, paste the command, and run it.

    It may take up to 30 minutes for the install to complete.

    Whenever possible, follow the procedure to install the agent.

    If downloading the agent package from the Dashboard fails, you can download the package from a browser. Save the package to a temp folder. If you save it to your desktop, the install fails.

    To set up Switch Port Mirroring

    Click a link for specific configurations for the following:

    • Configuring Port Mirroring on VMWare

    • Configuring Port Mirroring on Hyper-V

    1. Connect the secondary Ethernet interface on the XDR Collector's host machine to the mirrored port on the switch.

    2. Configure the switch to mirror traffic in both directions on all other ports on the switch.

    To install Suricata 
    • If the number of source ports in the switch mirroring session is greater than or equal to 24, then it is recommended to increase the cache memory of Suricata from the default value of 1MB to 8MB. For more information, see Increasing Suricata Cache memory limits.

    • Add the executable for both Suricata and XDR Collector to the Allow List in all antivirus and endpoint protection software (except in SentinelOne)

      • Suricata: "C:\Program Files\Suricata\suricata.exe"

      • XDR Collector: "C:\Program Files\Elastic\Agent\elastic-agent.exe"

    • Do not upgrade either Suricata or the XDR Collector without confirmation from XDR support as this may result in configuration discrepancies. Barracuda XDR Collector upgrades are managed by Barracuda Networks.

    • If the IP address of the host's secondary interface is changed, then repeat steps 3 and 4 of the installation process.

    1. Download NPCAP from https://npcap.com/#download (enable WinPcap API-compatible Mode)

    2. Run installation script in PowerShell as Administrator:

      $suricataPath = "C:\Program Files\Suricata" New-Item -ItemType Directory -Path $suricataPath -Force Invoke-WebRequest -Uri "https://skout-csd-assets-public.s3.amazonaws.com/suricata/windows/suricata-windows-scripts.zip" -OutFile "$suricataPath\scripts.zip" Expand-Archive -Path "$suricataPath\scripts.zip" -DestinationPath $suricataPath -Force Remove-Item "$suricataPath\scripts.zip" -Force powershell -ExecutionPolicy Bypass -File "$suricataPath\install-suricata-service.ps1"
    3. Configure HOME_NET in C:\Program Files\Suricata\suricata.yaml

    Suricata should now be running in the background. To verify that Suricata is generating new entries in the log file, run the following command. Modify the path if your install directory is different.
    Get-Content Get-ChildItem -Path "C:\Program Files\Suricata\log" -Filter "*.json" | Sort-Object LastWriteTime -Descending | Select-Object -First 1 | Get-Content -Tail 10 -Wait

    To trigger a manual alert for threat simulation

    In order to trigger a test alert, run the following command from PowerShell on any system within your network:
    Invoke-WebRequest -Uri http://testmynids.org/uid/index.html

    Upgrading from 7.x to 8.x

    For customers with Suricata 7.x already installed, run the following commands in PowerShell as Administrator:

    Invoke-WebRequest -Uri "https://skout-csd-assets-public.s3.amazonaws.com/suricata/windows/Upgrade-Suricata-8.ps1" -OutFile "Upgrade-Suricata-8.ps1" powershell -ExecutionPolicy Bypass -File "Upgrade-Suricata-8.ps1"

    The upgrade script will:

    • Auto-detect existing interface IP

    • Backup current configuration

    • Uninstall 7.x and install 8.0.6

    • Restore configuration

    • Restart the service

    Technical reference: https://documentation.campus.barracuda.com/wiki/pages/createpage.action?spaceKey=XDRENG&title=Windows%20Suricata%208.0.6%20Upgrade%20-%20Scripts%20%26%20Testing


    To Uninstall Suricata

    1. In the Windows, open Add or Remove Programs.

    2. Remove Suricata.

    3. Remove NpCap.

    4. As Administrator, open PowerShell and paste the following command. Modify the path if your install directory is different. Press enter to remove the scheduled tasks.
      & "C:\Program Files\Suricata\remove-scheduled-tasks.ps1"

    5. Optionally, delete the suricata directory: "C:\Program Files\Suricata"

     


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 11, "requestCorrelationId": "adda480f9254476c833e27713bc0f146"}