Microsoft NPS (v1.0.13)

Modeling Rules for the Microsoft NPS logs collector

Author
Cortex XSOAR
Support
xsoar
URL
https://www.paloaltonetworks.com/cortex
Categories
Analytics & SIEM

Modeling rules (1)

Parsing rules (1)

XDRC Templates (1)

README

Microsoft NPS

This pack includes XSIAM content

Configuration on Server Side

  1. Open the NPS console or the NPS Microsoft Management Console (MMC) snap-in.
  2. In the console tree, click Accounting.
  3. In the details pane, in Log File Properties, click Change Log File Properties. The Log File Properties dialog box opens.
  4. In Log File Properties, on the Settings tab, in Log the following information, ensure that you choose to log enough information to achieve your accounting goals. For example, if your logs need to accomplish session correlation, select all checkboxes.
  5. In the Logging failure action, select If logging fails, discard connection requests if you want NPS to stop processing Access-Request messages when log files are full or unavailable for some reason. If you want NPS to continue processing connection requests if logging fails, do not select this check box.
  6. In the Log File Properties dialog box, click the Log File tab.
  7. On the Log File tab, in Directory, type the location where you want to store NPS log files. The default location is the systemroot\System32\LogFiles folder.
  8. To distinguish between different system logs, create a folder named “NPS” in the mentioned directory C:\Windows\system32\LogFiles\. The final path should look as follows C:\Windows\system32\LogFiles\NPS
  9. In Format, click DTS Compliant. If you prefer, you can instead select a legacy file format, such as ODBC (Legacy) or IAS (Legacy).
  10. ODBC and IAS legacy file types contain a subset of the information that NPS sends to its SQL Server database. The DTS Compliant file type’s XML format is identical to the XML format that NPS uses to import data into its SQL Server database. Therefore, the DTS Compliant file format provides a more efficient and complete transfer of data into the standard SQL Server database for NPS.
  11. In Create a new log file, to configure NPS to start new log files at specified intervals, click the interval that you want to use:

Filebeat Collection

In order to use the collector, you need to use the following option to collect events from the vendor:

XDRC (XDR Collector)

You will need to use the information described here.
You can configure the vendor and product by replacing [vendor]_[product]_raw with msft_nps_raw
When configuring the instance, you should use a YAML that configures the vendor and product, just as seen in the below configuration for the Microsoft NPS product.
Copy and paste the below YAML in the “Filebeat Configuration File” section (inside the relevant profile under the “XDR Collectors Profiles”).

Filebeat Configuration file

filebeat.inputs:
- type: filestream
  enabled: true
  paths:
    - c:\windows\system32\logfiles\NPS\*.log
  processors:
    - add_fields:
        fields:
          vendor: msft
          product: nps

Please note: The above configuration uses the default location of the logs.
In case your linux saves the logs under a different location, you would need to change it in the yaml (under the paths field).