Microsoft Remote Web Access

You can configure your Windows Server 2012 R2 Essentials or Windows Server 2016 Essentials to allow for remote access while on the VPN. You can then capture the authentication events as audit logs for InsightIDR to ingest.

To start capturing VPN logs with these Windows Essential Servers:

  1. Configure Remote Web Access
  2. Configure Microsoft VPN
  3. Add a VPN Event Source

Configure Remote Web Access

The Microsoft community provides detailed instructions on how to configure remote web access here: https://techcommunity.microsoft.com/t5/Windows-Server-Essentials-and/Configuring-and-Customizing-Remote-Web-Access-on-Windows-Server/ba-p/398904

Alternatively follow the directions below to install the remote access server:

  1. On your Windows server, click Start or Home > Windows Server Essential Dashboard.
  2. On the “Get Started” page, click Set up Anywhere Access > Click to configure Anywhere Access.
  1. The “Set up Anywhere Access” window appears. Check the box if you want to skip router setup, and then click the Next button.
  2. In the “Set Up Your Domain Name” section, provide your domain information or choose to set up a new domain name. Click the Next button.
  3. Finish any following steps for configuring a domain name and click Next or Set Up.
  4. In the “Set Up Anywhere Access” section, check both boxes to configure a VPN and Remote Web Access. Click the Next button.

The installation of the remote access server and the VPN will execute in the background. 7. Click the Finish button when it is complete.

Configure Microsoft VPN

The Microsoft community provides detailed documentation on setting up the VPN for remote access here: https://techcommunity.microsoft.com/t5/Windows-Server-Essentials-and/Understanding-VPN-configuration-in-Windows-Server-2012-R2/ba-p/398928

Alternatively follow the directions below to configure the VPN:

  1. On your Windows server, navigate to “Routing and Remote Access” which should be available after the installation of the VPN and remote access server.
  2. Right click on your new remote server and click the Properties option.
  3. In the “General” tab, check the IPv4 Remote Access Server box. Click the Apply button.
  1. In the “Security” tab, click on the Authentication Methods button and then check on the options for Extensible Authentication Protocol (EAP) and Microsoft encrypted authentication version 2 (MS-CHAPv2). Then lick the OK button.
  2. Click the Apply button.
  3. On the “IPv4” tab, you can choose whether or not you want your VPN clients to receive a static IP address or receive an assigned IP from DHCP.
  4. Click the Apply button.
  5. On the “Logging” tab, select the Log All Events radio button and check the Log Additional Routing and Remote Access information check box.
  6. Click the OK button.

The VPN logs are available in the C:\Windows\Tracing directory.

Add a VPN Event Source

After you successfully configure your Windows server with a remote web access server and capture the VPN logs, you can ingest the logs in InsightIDR.

To do so:

  1. From your dashboard, select Data Collection on the left hand menu.
  2. When the Data Collection page appears, click the Setup Event Source dropdown and choose Add Event Source.
  3. From the “Security Data” section, click the VPN icon. The “Add Event Source” panel appears.
  4. Choose your collector and select Microsoft Remote Web Access as your event source. You can also name your event source if you want.
  5. Choose the timezone that matches the location of your event source logs.
  6. Optionally choose to send unfiltered logs.
  7. Configure your default domain and any advanced settings.
  8. Select Watch Directory as your data collection method and then check the box to Watch shared remote directory.
  9. Select an existing credential for your Windows server or optionally create a new credential.
  10. Enter the default folder path for the VPN logs, C:\Windows\Tracing
  11. Enter the scan interval for how often InsightIDR should check the file path.
  12. Optionally choose to include the file pattern of your log file.
  13. Click the Save button.