How to Configure Endpoint Detect Policies

12 min. readlast update: 12.01.2026

ThreatLocker Endpoint Detect policies watch for specific behavior on computers with the ThreatLocker agent installed and respond automatically when that behavior occurs. Each policy is made up of conditions that describe what to look for and policy actions that describe what ThreatLocker should do when those conditions are met.

Endpoint Detect policies can monitor activity such as files being executed, network connections, registry changes, and Windows Event Logs.

In this article, we will walk through how to create an Endpoint Detect policy and how they can be used to monitor your organization.

Navigating to Detect Policies

To create a new Detect policy, hover over the 'Detect' tab on the left-hand side of the ThreatLocker Portal. Then, select the 'Detect Policies' button from the pop-out menu.

At the top of the Detect Policies page, navigate to the top left-hand side of the page and select the button with a computer icon.

This opens the Create Endpoint Detect Policy sidebar.

Creating an Endpoint Detect Policy

Once the sidebar is opened, there will be 5 different sections available to help configure your policy: Policy Info, Applies To, Policy Conditions, Policy Actions, and Policy Expiration.

Policy Info

  1. Policy Name – The name of your policy. This field is required.
  2. Icon – The icon displayed next to your policy on the Detect Policies page. By default, the 'crosshairs' icon is selected.
  3. Description – A description of the policy's purpose.
  4. Labels – Tags used to organize your policy, such as MITRE ATT&CK technique IDs.
  5. Policy Active – A toggle that determines whether the policy is active. This toggle is on by default.

Applies To

The Applies To dropdown determines which devices the policy monitors. By default, Entire Organization is selected. You can also choose a Global group, a Computer Group, or an individual computer.

Policy Conditions

Policy conditions tell ThreatLocker what activity to look for, and the conditions are split into two groups:

  • If ALL conditions are true – Every condition in this group must be met for the policy to match.
  • If ANY conditions are true – At least one condition in this group must be met for the policy to match.
    • You must have at least one condition in the If ALL conditions are true section in order to create a policy. Because Action Type is required, this field can be used to fulfill the requirement.

When both groups contain conditions, the policy matches only when all conditions in the first group AND at least one condition in the second group are met. Use the green '+' button to add a condition row and the red '-' button to remove one.

Action Type

The first row in the If ALL conditions are true group is always Action Type. Use the Value dropdown to select one or more Action Types the policy should evaluate. These will match the Action Types found in the Unified Audit, but exclude ones related to Cloud Detect:

  • Execute
  • Install
  • Network
  • Registry - Only available for Windows
  • Read
  • Write
  • Move
  • Delete
  • Baseline
  • PowerShell
  • Elevate
  • New Process
  • Configuration
  • Memory
  • DNS
  • Running Process
  • Elevated
  • OS Event Log

Note: Some Action Types can't be combined with certain conditions. When a selected condition doesn't apply to an Action Type, that Action Type will be grayed out with the message "Not available with the selected conditions." For example, selecting the 'Application' condition makes Network, Registry, Baseline, and PowerShell unavailable.

Conditions

The Conditions dropdown applies the type of activity or data the ThreatLocker Agent should check for. Selecting a condition provides you with options for operators and values to apply to your policy. The following conditions are available for Endpoint Detect Policies:

All OS Types:

  • Application
  • Canary File Path
  • Category
  • Certificates
  • CMD Line Parameters
  • Country
  • Created By Process
  • Creator ProcessId
  • Current Built-In Threat Level
  • Current Threat Level
  • Data
  • Destination Domain
  • Destination IP Address
  • Destination Port
  • Device Type
  • Effective Action
  • Elevation Status
  • Encryption Status
  • File Size (Bytes)
  • Full Path
  • Full Path With CmdLine
  • Hostname
  • Monitor Only
  • Monitor: TL DB File
  • Network Direction
  • Occurrences
  • Parent Process: Application
  • Parent Process: Certificate
  • Parent Process: File Size (Bytes)
  • Parent Process: SHA256
  • Parent Process: ThreatLocker Hash
  • Policy
  • Policy Action
  • Policy Name
  • Previously Matched Policies
  • Process File Size
  • Process Path
  • Process Path With CmdLine
  • Risk
  • Serial Number
  • SHA256
  • Source IP Address
  • Thread Start Address
  • ThreadId
  • ThreatLocker Hash
  • Total Bytes
  • Transport Layer
  • Username

Windows Only

  • Event Log ID
  • Event Log Keywords
  • Event Log Level
  • Event Log Message
  • Event Log Name
  • Event Log Opcode
  • Event Log Task Category
  • Registry Key Change
  • Windows Agent Version

MAC Only

  • System Log Category
  • System Log Format String 
  • System Log Message
  • System Log Process
  • System Log Sender
  • System Log Subsystem
  • System Log Type
  • maxOS Agent Version MAC ONLY

Linux Only

  • Linux Agent Version

Operators

The Operator specifies how the Condition's value is compared to the value entered. Each condition might have different operators, and the following is a list of ones that can appear when creating a policy:

  • Matches
  • Does not match
  • Condtains
  • Does not contain
  • Starts with
  • Ends with
  • Equal to
  • Greater than
  • Greater than or equal to

Policy Actions

Once you have entered the conditions for your Detect policy, it is time to specify the Policy Actions. Policy actions specify what ThreatLocker should do when a policy's conditions are met. Users can apply multiple policy actions to a policy. To start, select an action from the dropdown field.

The following policy actions are available for Endpoint Detect policies:

  • Call Rest API
    • Sends the matching log to an API endpoint from ThreatLocker servers.
  • Call Rest API (Client)
    • Sends the matching log to an API endpoint directly from the device.
  • Call Webhook
    • Sends the matching log to a webhook from ThreatLocker servers.
  • Call Webhook (Client)
    • Sends the matching log to a webhook directly from the device.
  • Create Alert
    • Creates an alert that will appear in the Detect Alert Center when triggered.
  • Create Connectwise Ticket
    • Creates a ticket in ConnectWise using your Connectwise integration.
  • Create Datto Ticket
    • Creates a ticket in Datto using your Datto integration.
  • Create Dynamics 365 Ticket
    • Creates a ticket in Dynamics 365 using your Dynamics 365 integration.
  • Create HaloPSA Ticket
    • Creates a ticket in HaloPSA using your HaloPSA integration.
  • Create Kaseya Ticket
    • Creates a ticket in Kaseya using your Kaseya integration.
  • Create ServiceNow Ticket
    • Creates a ticket in ServiceNow using your ServiceNow integration.
  • Create SolarWinds Ticket
    • Creates a ticket in SolarWinds using your SolarWinds integration.
  • Create Ticket
    • Creates a ticket using an integration with a ticketing system. This Policy Action requires that you have an integration configured that can create tickets.
  • Disable Application Control Policy
    • Turns off an active Application Control policy.
  • Disable Legacy Network Policy
    • Turns off an active Network Control policy.
  • Disable Storage Control Policy
    • Turns off an active Storage Control policy.
  • Enable Application Control Policy
    • Turns on an inactive Application Control policy.
  • Enable Legacy Network Policy
    • Turns on an inactive Network Control policy.
  • Enable Storage Control Policy
    • Turns on an inactive Storage Control policy.
  • Initiate Windows Defender Full Scan
    • Starts a full Microsoft Defender scan on the device.
  • Initiate Windows Defender Quick Scan
    • Starts a quick Microsoft Defender scan on the device.
  • Isolate Machine
    • Blocks all network activity on the device except communication with ThreatLocker.
  • Kill Matching Process
    • Ends the process that matched the policy.
  • Lockdown Machine
    • Makes the device inaccessible by locking it and restricting its network communication to ThreatLocker.
  • Send Email
    • Sends an email to chosen recipients.
  • Send Push Notification
    • Sends a push notification to selected ThreatLocker administrators.
  • Take No Action
    • Records the match without taking any action.

Create Alert

The 'Create Alert' action generates an alert in the ThreatLocker Detect Alert Center. Custom alerts created in your organization will not be monitored by Cyber Hero MDR, unlike Master Detect policies, which are monitored. The following fields are available to you when creating an alert:

  1. Severity – The severity level of the alert. You can choose between Information, Warning, and Severe.
  2. Threat Level – The number that is added to the asset's threat level when the policy is triggered. By default, this number is set to 0.
  3. Summary – A brief description of your alert. This is a required field.
  4. Add Variable into Summary – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the alert once triggered.
  5. Details (Optional) – A place to add additional information about the triggered alert. This can be a more robust explanation of the alert's intended purpose.
  6. Add Variable into Details – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the alert once triggered.
  7. Request Monitoring – Allows you to request that the Cyber Hero MDR team monitor alerts from this policy.

Call Rest API and Call Webhook

The 'Call Rest API' and 'Call Webhook' actions send information about the matching log to another system, such as a SIEM. The standard versions send the request from ThreatLocker servers, while the '(Client)' versions send the request directly from the device. To start, the following fields will appear when adding "Call Rest API" as a policy action:

  1. SIEM Platform – Choose from a list of specified SIEM platforms. This option is not available for the Client version.
  2. Method – The HTTP method used for the request. Users can select from the following options: GET, POST, PUT, DELETE, or PATCH.
  3. URL (Optional) – The address that the request is sent to. This can be left blank.
  4. Content Type – The format of the request, which defaults to application/json.
  5. Headers (Optional) – The request headers, which should be entered one per line in the format Header:Value. This field is optional.
  6. Add Variable into Headers – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the policy once triggered.
  7. Body (Optional) – The content of the request. This field only appears for POST, PUT, and PATCH methods.
  8. Add Variable into Body – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the policy once triggered.
  9. Max Header Items – Determines the number of items in the Header to be sent per Rest API Call. This field will only appear for POST, PUT, and PATCH methods.
  10. Authorization Token Response (Optional) – Select 'OAuth 2.0' if the endpoint requires a token.
  11. Authorization Token API URL (Optional) - Where ThreatLocker requests the token.
  12. Authorization Token Request Headers (Optional) – How ThreatLocker will request the token.
  13. Add Variable into Authorization Token Request Headers – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the policy once triggered.
  14. Test API – Sends a test request to confirm the connection.

The following fields will appear when adding "Call Webhook" as a policy action:

  1. SIEM Platform – Choose from a list of specified SIEM platforms. This option is not available for the Client version.
  2. Method – The HTTP method used for the request. Users can select from the following options: GET, POST, PUT, DELETE, or PATCH.
  3. URL (Optional) – The address that the request is sent to. This can be left blank.
  4. Content Type – The format of the request, which defaults to application/json.
  5. Headers (Optional) – The request headers, which should be entered one per line in the format Header:Value. This field is optional.
  6. Add Variable into Headers – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the policy once triggered.
  7. Body (Optional) – The content of the request. This field only appears for POST, PUT, and PATCH methods.
  8. Add Variable into Body – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the policy once triggered.
  9. Max Header Items – Determines the number of items in the Header to be sent per Rest API Call. This field will only appear for POST, PUT, and PATCH methods.
  10. Test API – Sends a test request to confirm the connection.

Policy Expiration

The 'Policy Expiration' section determines how long the policy is active.

  1. No Policy Expiration – The policy stays active until it is turned off or deleted. This is selected by default.
  2. Set Policy Expiration – The policy becomes inactive on the specified date and time.
  3. Schedule Policy – The policy is only active during the times you set. Select a 'Day', a 'Start Time', and how long the policy should stay active in 'Hours' and 'Minutes'. Use the green '+' button to add another day.

Once your policy is configured, select the 'Create' button to save it. Selecting 'Cancel' closes the sidebar without saving.

Was this article helpful?