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
  • Securing Networks
    • Setting up ATR for Firewalls
      • Setting up ATR for Barracuda CloudGen Control Center Firewall
      • Setting up ATR for Barracuda CloudGen Standalone Firewall
      • Setting up ATR for Cisco Adaptive Security Appliance
      • Setting up ATR for Cisco Meraki Firewall
      • Setting up ATR for Cisco Umbrella
      • Setting up ATR for FortiGate Firewall
      • Setting up ATR for the Palo Alto Firewall
      • Setting up ATR for SecureEdge
      • Setting up ATR for Sophos XG and XGS Firewall
      • Setting up ATR for SonicWall Firewall
      • Editing XDR ATR settings for a firewall
      • Setting up ATR for WatchGuard Firebox
      • Setting up ATR for Check Point Quantum Security Management
  • 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 ATR for Sophos XG and XGS Firewall
    Published Jul 09

    Setting up ATR for Sophos XG and XGS Firewall

    Subscribe

    What ATR does

    ATR determines whether an alert is malicious.

    If the alert is identified as malicious, the IP Address is automatically added to the firewall or network security solution block list, depending on how malicious ATR determines it to be.

    For more information about Automated Threat Response (ATR), see What is Automated Threat Response?.

    Setting up ATR

    You can consult the Sophos Firewall API Reference guide.

    To set up ATR for Sophos Firewall, do the following:

    • To enable the API configuration on the firewall

    • To add an Administrator profile

    • To add an Administrator User and add the the Administrator profile to it

    • To allow API access

    • To create an IP Host Group for Barracuda XDR Blocked IPs

    • To create a Firewall Rule to ensure the traffic from malicious IPs gets blocked on the Firewall

    • To enable ATR in XDR Dashboard

    To enable the API configuration on the firewall

    The Sophos API is disabled by default. You will need to enable it and allow access to specific IP addresses.

    Reference https://docs.sophos.com/nsg/sophos-firewall/21.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/BackupAndFirmware/API/APIConfiguration/index.html

    1. In Sophos Firewall, select Backup and firmware > API.

    2. Select the API configuration check box.

    3. In Allowed IP address, add the following XDR ATR IPs, as well as any other local IPs/networks required to use the API configuration.

      • 44.239.173.232

      • 35.155.74.247

        Sophos1.png
    4. Click Apply.

    To add an Administrator profile

    You can create an admin profile and allow API access to administrators with specific read-write permissions.

    1. In Sophos Firewall, select Profiles > Device access and create an administrator profile with specific rights.

      AddAdminProfile.png
    2. Click Save.  

    To add an Administrator User and add the the Administrator profile to it

    When you add a user with the API administrator profile, you can limit the administrator's rights based on the profile.

    1. In Sophos Firewall, select Authentication > Users.

    2. Click Add.

    3. Enter a username to use for authentication.
      NOTES
      Don’t use spaces, or special characters, such as underscores or dashes, in the username or the setup will fail.
      You can't change the username later.

    4. Enter a name for the user record.

    5. Enter a password.

    6. Set User type to Administrator.

    7. Select the API administrator profile you created.

      AddUser.png
    8. At the bottom of the page, click Administrator advanced settings and specify the following settings:

      • Schedule for device access Allows sign-ins to the web admin console during the schedule you select.

      • Login restriction for device access Allows sign-ins only from specified IP addresses. Add the following Barracuda XDR ATR IPs, along with any other local IPs/networks required to use the admin user:

        • 44.239.173.232

        • 35.155.74.247

          AddUser2.png
    9. Click Save.

    To allow API access

    Turn on the API configuration and allow API access from the administrator's IP addresses. (Similar action might have already been completed in step 1.)

    Reference: https://docs.sophos.com/nsg/sophos-firewall/21.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/BackupAndFirmware/API/HowToArticles/APIAllowAccess/index.html

    Ensure the zone of the administrator's IP address has access to the web admin console. You can do this on the Administration > Device access page using Local service ACL or Local service ACL exception rule.

    1. In Sophos Firewall, select Backup and firmware > API.

    2. Select API configuration.

    3. For Allowed IP address, enter the following ATR IP addresses:

      • 44.239.173.232

      • 35.155.74.247

        backupAndFirmware.png
    4. Click Apply. 

    To create an IP Host Group for Barracuda XDR Blocked IPs

    Barracuda XDR uses this Group to keep track of the IPs that are automatically blocked on the firewall. Add this group to any preexisting security rules/policies created to block traffic to/from anomalous IP addresses. If no security policy exists on the Sophos firewall, see follow the To create a Firewall Rule to ensure the traffic from malicious IPs gets blocked on the Firewall below.

    Reference: https://docs.sophos.com/nsg/sophos-firewall/21.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/HostsAndServices/IPHostGroup/HostsIPHostGroupAdd/index.html

    1. In Sophos Firewall, select Hosts and services > IP host group and select Add.

    2. Type a name for the host group.
      NOTE Don’t include a space in the IP host group name or ATR won’t function properly. We highly recommend using Barracuda_XDR_Blocked_IPs.

    3. Select the IP version.
      NOTE You can't create a host group that contains both IPv4 and IPv6 hosts.)

      To create an IP Host Group for Barracuda.png
    4. Click Save.

    To create a Firewall Rule to ensure the traffic from malicious IPs gets blocked on the Firewall

    Reference: https://docs.sophos.com/nsg/sophos-firewall/21.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/RulesAndPolicies/FirewallRules/FirewallRulesCountryBasedRuleCreate/index.html

    For Barracuda XDR to successfully block IPs on your firewall, you need to add the IP Host Group to a firewall rule that blocks this type of traffic. If you do not have a preexisting rule(s) in place, create one and add the IP host group to the firewall rule.

    1. Go to Rules and policies > Add firewall rule > New firewall rule.

    2. Create a firewall rule that blocks traffic from the IPs that are in the IP Host Group you created for XDR.

      To create a Firewall Rule.png
    3. Click Save.

    To enable ATR in XDR Dashboard

    1. In Barracuda Managed XDR Dashboard, select Network Security Network Security.png > Firewall ATR.

    2. In the Firewall table, click the Sophos XG/XGS row.

    3. Click Edit Config.

    4. Upload the following data:

      • External IP

      • Port (Admin console HTTPS port. Typically, the default port is “4444”.)

      • Admin Username

      • Admin Password

      • IP Host Group Name

    5. Click Save.


    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": "84fb5e709af5488088b55b8ee3888548"}