Zoomed Image

Baselines

Endpoint Management Guide

Security

Baselines

A security baseline is a named set of settings for the firewall, AppLocker, audit policy and hardening. The Baselines tab shows which computers have a baseline and what enforcing it would change. Open it from Endpoints > Endpoints Dashboard > Security > Baselines.

You create and change baselines here, with Manage Baselines. You assign a baseline to computers from Endpoints > Endpoint List > Change > Security Policy > Assign Baseline. See Baselines.

Getting started

  1. Click Manage Baselines > New Baseline. In Start From, choose Locked server to start from a copy of it, or leave it blank to start empty.
  2. Name the baseline and set what it does. A copy of Locked server needs your collection server as a probe. See Manage Baselines.
  3. In Endpoints > Endpoint List, select one computer and click Change > Security Policy > Assign Baseline. Choose your baseline.
  4. Back here, read Enforcing Would for that computer. Nothing has changed on it yet.
  5. When the grace period has passed, select the assignment and click Security Baseline Actions > Enforce Now.

While no computer has a baseline, the Security Baseline Assignments grid reads "No computers have a baseline yet. Select computers in Endpoints, then Change, Security Policy, Assign Baseline. It starts report-only."

The Baselines tab with an empty Security Baseline Assignments grid above the Baselines grid showing the Locked server baseline

Postures

Each assignment has a posture.

Posture What happens on the computer
Manage Nothing yet. The assignment is report-only. The grid shows what enforcing would change.
Enforce The baseline's settings are applied to the computer.

An assignment starts in Manage with a grace period. The baseline sets the length (14 days for the shipped Locked server baseline). Enforce is refused until the grace period ends.

The Security Baseline Assignments grid

One row per computer and baseline. The grid refreshes every 60 seconds.

Column What it shows
Computer The computer
Baseline The baseline assigned to it
Posture Manage or Enforce
Grace Days Left Days until Enforce is allowed. 0 means it is allowed now.
Enforce From The end of the grace period
Enforcing Would What enforcing would change on this computer, read from its last firewall check

Enforcing Would is the drift between the computer and its baseline. It lists each change, for example "enable the firewall on every profile" and "block inbound by default". It reads "firewall already compliant" when the firewall needs no change. It reads "unknown until the nightly check has run" when the computer has no firewall reading yet.

The Baselines grid

One row per baseline.

Column What it shows
Baseline The name
Assigned How many computers have it
Enforcing How many of those are in Enforce
Grace Days The grace period for new assignments
Firewall Settings For example inbound=block;outbound=block;merge=off;enabled=on
Declared Rules The firewall rules it allows
Protected Paths Addresses that must stay reachable
AppLocker For example exe=audit;msi=audit;script=audit
Audit Policy For example processcreation=on;cmdline=on;scriptblock=on
Hardening For example smb1=off;llmnr=off;wdigest=off;autorun=off;rdpnla=on
Description What the baseline is for

The examples are the settings of the shipped Locked server baseline.

Actions

Select assignments in the Security Baseline Assignments grid. Then choose an action from the Security Baseline Actions dropdown button above the grid.

Action What it does Confirm message
Enforce Now Sets the posture to Enforce and applies the baseline to the selected computers "Enforce the baseline on these machines now? Each run can be undone from Activity."
Back to Manage Sets the posture back to Manage. Nothing on the computer changes. "Put the selected assignments back to report-only?"
Unassign Removes the assignment "Remove the baseline from the selected machines? Settings already applied stay as they are."

Enforce Now sends one action per part of the baseline that has settings: firewall policy, AppLocker policy, audit policy and hardening. Watch the runs in Activity > Jobs. See Jobs.

Enforce Now refuses in two cases:

  • An assignment is still in its grace period. The message names the date enforcement is allowed from (UTC).
  • The selected assignments belong to more than one baseline. Select assignments of one baseline at a time.

Manage Baselines

Manage Baselines is the dropdown button next to Security Baseline Actions. Each item first asks which baseline to work on.

Item What it does
New Baseline Creates a baseline. Start From copies the settings of an existing baseline. Leave it blank to start empty.
Edit Baseline Changes a baseline. Disabled baselines are listed too, so you can enable one again.
Disable Baseline Takes a baseline off the Assign Baseline list. Computers already assigned keep it, and settings already applied stay as they are.

The baseline dialog has these fields. A part left blank is left out when the baseline is enforced.

Field What it holds
Name The name in the Assign Baseline list
Description What the baseline is for
Grace Period (days) Days after assigning before Enforce Now is allowed, from 0 to 365
Enabled No takes the baseline off the Assign Baseline list
Firewall Settings, Firewall Rules and Probes As in Set Firewall Policy. See Firewall Policy.
Lockdown and Keep as Administrators Audit or Enforce runs only Program Files and Windows, blocks installs and cuts local administrators. See Lockdown.
Programs, Installers, Scripts and Also Allow As in Set AppLocker Policy. See AppLocker Policy.
Audit Settings and Hardening Settings As in Set Audit Policy and Apply Hardening Settings. See Harden and Audit Policy.

Saving changes only the baseline. Computers already assigned keep their posture and enforce-from date. They get the new settings the next time the baseline is enforced.

A baseline is refused, and the dialog opens again with what you typed, in these cases:

  • The name is empty, or another baseline has it.
  • Grace Period (days) is empty, or outside 0 to 365.
  • Inbound is blocked and Firewall Rules has no in:tcp:3389 or in:tcp:5985 rule. A baseline must never close its own management path.
  • Outbound is blocked and Probes is empty.
  • Firewall Rules or Probes are filled in without Firewall Settings, or Also Allow without the AppLocker modes.

The shipped Locked server baseline allows WinRM (in:tcp:5985) in from any address and has no probes. Before you assign it, edit it or a copy:

  • Narrow the WinRM rule to your management range, for example in:tcp:5985:10.0.0.0/24.
  • Add a rule out to your collection server, for example out:tcp:44399:<collection server address>.
  • Add that address to Probes, for example COLL1:44399. Assign is refused until there is at least one probe.

The Baselines grid shows a change within a minute.

Undo

Each enforcement run can be undone from Activity. See Run Detail and Undo. Back to Manage and Unassign change only the assignment record. They do not undo settings already applied to a computer.

Key points

  • The firewall change probes the paths that must survive. If a probe fails, the computer puts its previous firewall policy back.
  • A baseline that would block inbound traffic with no management path is refused.
  • Assign to one computer first. Read Enforcing Would for it before you assign more.