|
| 1 | +[[security-response-actions-config]] |
| 2 | += Configure third-party response actions |
| 3 | + |
| 4 | +// :description: Configure {elastic-sec} to perform response actions on hosts protected by third-party systems. |
| 5 | +// :keywords: serverless, security, how-to, configure |
| 6 | + |
| 7 | +preview:[] |
| 8 | + |
| 9 | +preview::[] |
| 10 | + |
| 11 | +You can direct third-party endpoint protection systems to perform response actions on enrolled hosts, such as isolating a suspicious endpoint from your network, without leaving the {elastic-sec} UI. This page explains the configuration steps needed to enable response actions for these third-party systems: |
| 12 | + |
| 13 | +* CrowdStrike |
| 14 | +* SentinelOne |
| 15 | + |
| 16 | +Check out <<security-third-party-actions>> to learn which response actions are supported for each system. |
| 17 | + |
| 18 | +.Prerequisites |
| 19 | +[NOTE] |
| 20 | +==== |
| 21 | +* <<elasticsearch-manage-project,Project features add-on>>: Endpoint Protection Complete |
| 22 | +* <<general-assign-user-roles,User roles>>: **SOC manager** or **Endpoint operations analyst** |
| 23 | +* Endpoints must have actively running third-party agents installed. |
| 24 | +==== |
| 25 | + |
| 26 | +Select a tab below for your endpoint security system: |
| 27 | + |
| 28 | +++++ |
| 29 | +<div class="tabs" data-tab-group="endpoint-response-actions-response-actions-config"> |
| 30 | + <div role="tablist" aria-label="endpoint-response-actions-response-actions-config"> |
| 31 | + <button role="tab" aria-selected="true" aria-controls="endpoint-response-actions-response-actions-config-crowdstrike-panel" id="endpoint-response-actions-response-actions-config-crowdstrike-button"> |
| 32 | + CrowdStrike |
| 33 | + </button> |
| 34 | + <button role="tab" aria-selected="false" aria-controls="endpoint-response-actions-response-actions-config-sentinelone-panel" id="endpoint-response-actions-response-actions-config-sentinelone-button" tabindex="-1"> |
| 35 | + SentinelOne |
| 36 | + </button> |
| 37 | + </div> |
| 38 | + <div tabindex="0" role="tabpanel" id="endpoint-response-actions-response-actions-config-crowdstrike-panel" aria-labelledby="endpoint-response-actions-response-actions-config-crowdstrike-button"> |
| 39 | +++++ |
| 40 | +//// |
| 41 | +/* NOTE TO CONTRIBUTORS: These DocTabs have very similar content. If you change anything |
| 42 | + in this tab, apply the change to the other tabs, too. */ |
| 43 | +//// |
| 44 | + |
| 45 | +To configure response actions for CrowdStrike-enrolled hosts: |
| 46 | + |
| 47 | +. **Enable API access in CrowdStrike.** Create an API client in CrowdStrike to allow access to the system. Refer to CrowdStrike's docs for instructions. |
| 48 | ++ |
| 49 | +** Give the API client the minimum privilege required to read CrowdStrike data and perform actions on enrolled hosts. Consider creating separate API clients for reading data and performing actions, to limit privileges allowed by each API client. |
| 50 | +*** To isolate and release hosts, the API client must have `Read` access for Alerts, and `Read` and `Write` access for Hosts. |
| 51 | +** Take note of the client ID, client secret, and base URL; you'll need them in later steps when you configure {elastic-sec} components to access CrowdStrike. |
| 52 | +** The base URL varies depending on your CrowdStrike account type: |
| 53 | +*** US-1: `https://api.crowdstrike.com` |
| 54 | +*** US-2: `https://api.us-2.crowdstrike.com` |
| 55 | +*** EU-1: `https://api.eu-1.crowdstrike.com` |
| 56 | +*** US-GOV-1: `https://api.laggar.gcw.crowdstrike.com` |
| 57 | +. **Install the CrowdStrike integration and {agent}.** Elastic's {integrations-docs}/crowdstrike[CrowdStrike integration] collects and ingests logs into {elastic-sec}. |
| 58 | ++ |
| 59 | +.. Go to **Project Settings** → **Integrations**, search for and select **CrowdStrike**, then select **Add CrowdStrike**. |
| 60 | +.. Configure the integration with an **Integration name** and optional **Description**. |
| 61 | +.. Select **Collect CrowdStrike logs via API**, and enter the required **Settings**: |
| 62 | ++ |
| 63 | +*** **Client ID**: Client ID for the API client used to read CrowdStrike data. |
| 64 | +*** **Client Secret**: Client secret allowing you access to CrowdStrike. |
| 65 | +*** **URL**: The base URL of the CrowdStrike API. |
| 66 | +.. Select the **Falcon Alerts** and **Hosts** sub-options under **Collect CrowdStrike logs via API**. |
| 67 | +.. Scroll down and enter a name for the agent policy in **New agent policy name**. If other agent policies already exist, you can click the **Existing hosts** tab and select an existing policy instead. For more details on {agent} configuration settings, refer to {fleet-guide}/agent-policy.html[{agent} policies]. |
| 68 | +.. Click **Save and continue**. |
| 69 | +.. Select **Add {agent} to your hosts** and continue with the <<enroll-agent,{agent} installation steps>> to install {agent} on a resource in your network (such as a server or VM). {agent} will act as a bridge collecting data from CrowdStrike and sending it back to {elastic-sec}. |
| 70 | +. **Create a CrowdStrike connector.** Elastic's {kibana-ref}/crowdstrike-action-type.html[CrowdStrike connector] enables {elastic-sec} to perform actions on CrowdStrike-enrolled hosts. |
| 71 | ++ |
| 72 | +[IMPORTANT] |
| 73 | +==== |
| 74 | +Do not create more than one CrowdStrike connector. |
| 75 | +==== |
| 76 | ++ |
| 77 | +.. Go to **Stack Management** → **Connectors**, then select **Create connector**. |
| 78 | +.. Select the **CrowdStrike** connector. |
| 79 | +.. Enter the configuration information: |
| 80 | ++ |
| 81 | +*** **Connector name**: A name to identify the connector. |
| 82 | +*** **CrowdStrike API URL**: The base URL of the CrowdStrike API. |
| 83 | +*** **CrowdStrike Client ID**: Client ID for the API client used to perform actions in CrowdStrike. |
| 84 | +*** **Client Secret**: Client secret allowing you access to CrowdStrike. |
| 85 | +.. Click **Save**. |
| 86 | +. **Create and enable detection rules to generate {elastic-sec} alerts.** (Optional) Create <<security-rules-create,detection rules>> to generate {elastic-sec} alerts based on CrowdStrike events and data. The {integrations-docs}/crowdstrike[CrowdStrike integration docs] list the available ingested logs and fields you can use to build a rule query. |
| 87 | ++ |
| 88 | +This gives you visibility into CrowdStrike without needing to leave {elastic-sec}. You can perform supported endpoint response actions directly from alerts that a rule creates, by using the **Take action** menu in the alert details flyout. |
| 89 | + |
| 90 | +++++ |
| 91 | + </div> |
| 92 | + <div tabindex="0" role="tabpanel" id="endpoint-response-actions-response-actions-config-sentinelone-panel" aria-labelledby="endpoint-response-actions-response-actions-config-sentinelone-button" hidden=""> |
| 93 | +++++ |
| 94 | +//// |
| 95 | +/* NOTE TO CONTRIBUTORS: These DocTabs have very similar content. If you change anything |
| 96 | + in this tab, apply the change to the other tabs, too. */ |
| 97 | +//// |
| 98 | + |
| 99 | +To configure response actions for SentinelOne-enrolled hosts: |
| 100 | + |
| 101 | +. **Generate API access tokens in SentinelOne.** You'll need these tokens in later steps, and they allow {elastic-sec} to collect data and perform actions in SentinelOne. |
| 102 | ++ |
| 103 | +Create two API tokens in SentinelOne, and give them the minimum privilege required by the Elastic components that will use them: |
| 104 | ++ |
| 105 | +** SentinelOne integration: Permission to read SentinelOne data. |
| 106 | +** SentinelOne connector: Permission to read SentinelOne data and perform actions on enrolled hosts (for example, isolating and releasing an endpoint). |
| 107 | ++ |
| 108 | +Refer to the {integrations-docs}/sentinel_one[SentinelOne integration docs] or SentinelOne's docs for details on generating API tokens. |
| 109 | +. **Install the SentinelOne integration and {agent}.** Elastic's {integrations-docs}/sentinel_one[SentinelOne integration] collects and ingests logs into {elastic-sec}. |
| 110 | ++ |
| 111 | +.. Go to **Project Settings** → **Integrations**, search for and select **SentinelOne**, then select **Add SentinelOne**. |
| 112 | +.. Configure the integration with an **Integration name** and optional **Description**. |
| 113 | +.. Ensure that **Collect SentinelOne logs via API** is selected, and enter the required **Settings**: |
| 114 | ++ |
| 115 | +*** **URL**: The SentinelOne console URL. |
| 116 | +*** **API Token**: The SentinelOne API access token you generated previously, with permission to read SentinelOne data. |
| 117 | +.. Scroll down and enter a name for the agent policy in **New agent policy name**. If other agent policies already exist, you can click the **Existing hosts** tab and select an existing policy instead. For more details on {agent} configuration settings, refer to {fleet-guide}/agent-policy.html[{agent} policies]. |
| 118 | +.. Click **Save and continue**. |
| 119 | +.. Select **Add {agent} to your hosts** and continue with the <<enroll-agent,{agent} installation steps>> to install {agent} on a resource in your network (such as a server or VM). {agent} will act as a bridge collecting data from SentinelOne and sending it back to {elastic-sec}. |
| 120 | +. **Create a SentinelOne connector.** Elastic's {kibana-ref}/sentinelone-action-type.html[SentinelOne connector] enables {elastic-sec} to perform actions on SentinelOne-enrolled hosts. |
| 121 | ++ |
| 122 | +[IMPORTANT] |
| 123 | +==== |
| 124 | +Do not create more than one SentinelOne connector. |
| 125 | +==== |
| 126 | ++ |
| 127 | +.. Go to **Stack Management** → **Connectors**, then select **Create connector**. |
| 128 | +.. Select the **SentinelOne** connector. |
| 129 | +.. Enter the configuration information: |
| 130 | ++ |
| 131 | +*** **Connector name**: A name to identify the connector. |
| 132 | +*** **SentinelOne tenant URL**: The SentinelOne tenant URL. |
| 133 | +*** **API token**: The SentinelOne API access token you generated previously, with permission to read SentinelOne data and perform actions on enrolled hosts. |
| 134 | +.. Click **Save**. |
| 135 | +. **Create and enable detection rules to generate {elastic-sec} alerts.** (Optional) Create <<security-rules-create,detection rules>> to generate {elastic-sec} alerts based on SentinelOne events and data. |
| 136 | ++ |
| 137 | +This gives you visibility into SentinelOne without needing to leave {elastic-sec}. You can perform supported endpoint response actions directly from alerts that a rule creates, by using the **Take action** menu in the alert details flyout. |
| 138 | ++ |
| 139 | +When creating a rule, you can target any event containing a SentinelOne agent ID field. Use one or more of these index patterns: |
| 140 | ++ |
| 141 | +|=== |
| 142 | +| Index pattern| SentinelOne agent ID field |
| 143 | + |
| 144 | +| `logs-sentinel_one.alert*` |
| 145 | +| `sentinel_one.alert.agent.id` |
| 146 | + |
| 147 | +| `logs-sentinel_one.threat*` |
| 148 | +| `sentinel_one.threat.agent.id` |
| 149 | + |
| 150 | +| `logs-sentinel_one.activity*` |
| 151 | +| `sentinel_one.activity.agent.id` |
| 152 | + |
| 153 | +| `logs-sentinel_one.agent*` |
| 154 | +| `sentinel_one.agent.agent.id` |
| 155 | +|=== |
| 156 | ++ |
| 157 | +[NOTE] |
| 158 | +==== |
| 159 | +Do not include any other index patterns. |
| 160 | +==== |
| 161 | + |
| 162 | +++++ |
| 163 | + </div> |
| 164 | +</div> |
| 165 | +++++ |
0 commit comments