Microsoft AD FS Collection (v1.0.27)

Microsoft Active Directory Federation Services

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 AD FS


This pack includes XSIAM content.


Notes:

Configuration on Server Side

Validate that AD FS server role is enabled

  1. In the Server Manager, click Manage > Add Roles and Features.
  2. Click Server Roles in the left menu.
  3. Validate that Active Directory Federation Services is selected and installed.

    Server Screenshot

  4. To enable logging of AD FS, run the following commands in PowerShell with administrative privileges:
    • Set-AdfsProperties -LogLevel Basic - This command will enable basic logging of AD FS.
    • Get-AdfsProperties - This command will validate that the AuditLevel is set to Basic.

    Server Screenshot

  5. Additional validation of the logging can be located at the Windows Event Viewer:

    1. Run eventvwr.msc in the search bar.
    2. In the left directory tree, select Applications and Services Logs and validate that AD FS exists and Admin logs are located in the folder

    Server Screenshot

Collect Events from Vendor

Use the following option to collect events from the vendor:

Broker VM (Windows Event Collector)

To create or configure the Broker VM, use the information described here.

To connect and use Windows Event Collector, use the information described here.

When configuring the Windows Event Collector (WEC), use the following settings in the Configurations > Broker VMs > WEC > Collection Configuration section:

Server Screenshot

XDRC (XDR Collector)


To create or configure the Winlogbeat collector, use the information described here.

As Cortex XSIAM provides a YAML template for Microsoft AD FS Event Logs, you can use the following steps to create a collection profile:

  1. In Cortex XSIAM, select SettingsConfigurationsXDR CollectorsProfiles+Add ProfileWindows.
  2. Select Winlogbeat, then click Next.
  3. Configure the General Information parameters:
  1. Configure the settings for the profile selected in Step 2. To add the “Microsoft AD FS” template, select it and click Add.

Note: The AD FS XDR Collector supports AD FS and ADFS Auditing logs (provider_name).

Winlogbeat Configuration File

winlogbeat.event_logs: 
  - name: AD FS Auditing
    processors:
      - add_fields:
          fields:
            vendor: microsoft
            product: adfs
  - name: AD FS/Admin
    processors:
      - add_fields:
          fields:
            vendor: microsoft
            product: adfs