> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/f/falcon-crowdstrike-forensics.md).

# Falcon Crowdstrike Forensics

Falcon Crowdstrike Forensics collects forensic triage data from endpoints for incident response and threat hunting. OctoXLabs reads hosts, looks up their open forensic collectors, and reads Falcon users.

## Use cases

* **List hosts known to Falcon Forensics.** Show every device reported by this adapter.

```
Adapters = falcon-crowdstrike-forensics
```

* **Find hosts with no forensic coverage.** Compare the Falcon sensor inventory with Forensics. Hosts that only appear in the sensor inventory are listed.

```
Adapters = falcon-crowdstrike AND NOT Adapters = falcon-crowdstrike-forensics
```

## Before you begin

### Network

| Source              | Destination                                                               | Port | Protocol |
| ------------------- | ------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | CrowdStrike API (Domain parameter, default `https://api.crowdstrike.com`) | 443  | HTTPS    |

The domain depends on the region of your Falcon cloud. Use the domain shown where you created the client ID and secret. If a proxy is set, requests go through it. The connector does not verify the TLS certificate.

### Required permissions

| Scope or role   | Permission | Needed for              |
| --------------- | ---------- | ----------------------- |
| Hosts           | Read       | Device inventory        |
| User Management | Read       | User accounts           |
| Forensics       | Read       | Forensic collector data |

To view, create or modify API clients you need the Falcon Administrator role.

Required Falcon subscriptions, according to the baseline: Falcon Insight XDR and Falcon Forensics. The API client must have the **Falcon Forensics** scope with Read permission.

## Create credentials in CrowdStrike Falcon

{% stepper %}
{% step %}

### Open API clients

In the Falcon console, go to **Support** > **API Clients and Keys**.
{% endstep %}

{% step %}

### Add an API client

Click **Add new API Client**. Enter a descriptive name and grant **Read** on the scopes listed under Required permissions.
{% endstep %}

{% step %}

### Save the secret

Click save. Copy the **Client ID** and **Client Secret**. The secret is shown only once, so store it safely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type               | Default                       | Description                                                            |
| ------------- | -------- | ------------------ | ----------------------------- | ---------------------------------------------------------------------- |
| Domain        | No       | String             | <https://api.crowdstrike.com> | Base URL of the API for your region. Include the scheme.               |
| Client id     | Yes      | String             | None                          | API client ID.                                                         |
| Client secret | Yes      | String (sensitive) | None                          | API client secret.                                                     |
| Timeout       | No       | Integer            | 30                            | Seconds to wait for API responses.                                     |
| Thread count  | No       | Integer            | 32                            | Parallel threads that read collectors per host. Minimum 1, maximum 32. |
| Proxy         | No       | String             | None                          | Proxy address, used as `http://<value>` for HTTP and HTTPS.            |

## Troubleshooting

| Error message                                                                                                             | Cause                       | Fix                        |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------- | -------------------------- |
| Max retries exceeded for {url}                                                                                            | The API kept answering 500. | Run discovery again later. |
| Crowdstrike servers has failed to respond in given time. Given time: {timeout}. You may try to increase timeout duration. | The request timed out.      | Increase Timeout.          |

## Change history

{% hint style="info" %}
Available starting from version 5.6.6.
{% endhint %}
