USM Anywhere™

Forward NXLog Messages Directly to the USM Anywhere Sensor

The simplest method to receive NXLog messages is to install NXLog Community Edition (CE) on each Microsoft Windows host and configure it to forward messages to the USM Anywhere Sensor. In the event of a sensor disconnect, NXLog messages are cached locally and will be forwarded when the connection resumes.

To install NXLog and create your configuration file

  1. On your Windows host, download and install the newest NXLog Community Edition.
  2. Make a backup copy of the original file C:\Program Files (x86)\nxlog\conf\nxlog.conf and give it another name.
  3. Log in to USM Anywhere and go to Settings > System.
  4. In the left navigation panel, click NXLog Configuration to open the page.

    NXLog Configuration main screen

  5. Select the plugin or plugins to collect NXLogs. You do not need to select any plugin to collect default Windows Logs or Sysmon logs.

    Note: Plugins with asterisk require additional configuration on the Windows host. See Enable Logging in Vendor Software for details.

  6. Select the protocol you want to use.

    Note: To use TLS, you need to download the certificate from USM Anywhere, and place the file USM-Anywhere-Syslog-CA.pem in C:\Program Files (x86)\nxlog\cert.

  7. Enter the IP address of your USM Anywhere Sensor.
  8. Click Create File to generate the new nxlog.conf file and save it to C:\Program Files (x86)\nxlog\conf\nxlog.conf.
  9. Open Windows Services and restart the NXLog service.
  10. In USM Anywhere, verify that you are receiving NXLog events.

PatternDB

If you want to limit the events collected and sent to USM Anywhere, you can download the patterndb file provided by AT&T Cybersecurity and place it in C:\Program Files (x86)\nxlog\conf on your Windows machine. Follow the procedure above to download the NXLog configuration file and select the PatternDB plugin.

Important: Windows Event IDs not present in patterndb.xml are not forwarded. Excluding events not relevant to security helps improve the overall performance of the plugin. Consequently, some correlation rules may not be triggered because they rely on those events.

Microsoft Sysmon

System Monitor (Sysmon) is a Windows system service and device driver that remains resident across system reboots to monitor and log system activity to the Windows Event Log. It provides detailed information about process creations, network connections, and changes to file creation time. Sysmon is a free Windows Sysinternals tool from Microsoft. Using NXLog, you can send Sysmon logs to USM Anywhere for event correlation.

To collect Sysmon logs

  1. Download the NXLog configuration file from USM Anywhere. You do not need to select any plugin for Sysmon.
  2. Open the NXLog configuration file, look for the <Input eventlog> tag and add this line under <QueryList>:

    <Select Path="Microsoft-Windows-Sysmon/Operational">*</Select>\

    With the line added, it should look like this example:

    <Input eventlog>

    Module im_msvistalog

    Query <QueryList>\

    <Query Id="0">\

    <Select Path="Application">*</Select>\

    <Select Path="System">*</Select>\

    <Select Path="Security">*</Select>\

    <Select Path="Microsoft-Windows-Sysmon/Operational">*</Select>\

    </Query>\

    </QueryList>

    </Input>

  3. Save the file.
  4. Open Windows Services and restart the NXLog service.
  5. In USM Anywhere, verify that you are receiving Sysmon events.

Enable Logging in Vendor Software

Some of the vendor plugins need to be configured to enable logging so that USM Anywhere can receive the logs. If you are using any of the plugins below, follow the described integration process to initiate system logging for the plugin.

Manual File Creation and Installation Process

If you are unable to create the nxlog.conf file using the process above, or if you wish to edit it manually, you can use the manual process instead.

To install NXLog CE and configure forwarding

  1. Download the newest stable NXLog Community Edition.
  2. Make a backup copy of the original C:\Program Files (x86)\nxlog\conf\nxlog.conf file and give it another name.
  3. Download the NXLog configuration for USM Anywhere and save it as your new nxlog.conf file.
  4. Open the configuration file for editing and replace usmsensoriphere with the IP address of the USM Anywhere Sensor.

    USM Anywhere listens for syslog at UDP port 514, TCP port 601, or TLS/TCP port 6514.

  5. Depending on the protocol you decide to use, edit the configuration file as detailed below. Make sure USM Anywhere allows inbound requests to the corresponding port.

  6. Some sections in the nxlog.conf file have been commented out to improve performance. Depending on which product you want to collect logs from, you need to uncomment the corresponding section or sections.
  7. Save the file.
  8. Open Windows Services and restart the NXLog service.
  9. Open USM Anywhere and verify that you are receiving NXLog events.

Note: If you need to debug NXLog, open C:\Program Files (x86)\nxlog\data\nxlog.log.