flight_control

CrowdStrike FalconPy CrowdStrike FalconPy CrowdStrike Subreddit

Falcon Flight Control (MSSP) examples

The examples within this folder focus on leveraging CrowdStrike's Falcon Flight Control to interact with child hosts.

Retrieve child CID for a host

Retrieves the child CID for a specified hostname.

Running the program

In order to run this demonstration, you you will need access to CrowdStrike API keys with the following scopes:

Service Collection
Scope

Flight Control

READ

Hosts

READ

Execution syntax

This sample leverages simple command-line arguments to implement functionality.

Basic usage

Retrieve the CID for a host within a child tenant.

GovCloud users can change their CrowdStrike region using the -b argument.

Command-line help

Command-line help is available via the -h argument.

Example source code

The source code for this example can be found here.

Get Child Prevention Policies

Retrieve prevention policies for some or all child tenants.

Running the program

In order to run this demonstration, you you will need access to CrowdStrike API keys with the following scopes:

Service Collection
Scope

Flight Control

READ

Prevention Policies

READ

Execution syntax

This sample leverages simple command-line arguments to implement functionality.

Basic usage

Retrieve prevention policies for all child tenants.

Retrieve prevention policies for specific child tenants.

Command-line help

Command-line help is available via the -h argument.

Example source code

The source code for this example can be found here.

Host Group Duplicator

Duplicates the specified host group within a parent to all child tenants.

Running the program

In order to run this demonstration, you you will need access to CrowdStrike API keys with the following scopes:

Service Collection
Scope

Flight Control

READ

Host Group

READ, WRITE

Execution syntax

This sample leverages simple command-line arguments to implement functionality.

Basic usage

Duplicate the specified host group to all child tenants.

GovCloud users can change their CrowdStrike region using the -b argument.

Command-line help

Command-line help is available via the -h argument.

Example source code

The source code for this example can be found here.

Execute a command on hosts across multiple children

Execute a single RTR command across multiple hosts within multiple child tenants.

Running the program

In order to run this demonstration, you you will need access to CrowdStrike API keys with the following scopes:

Service Collection
Scope

Flight Control

READ

Hosts

READ

Real Time Response

READ, WRITE

Real Time Response Admin

READ, WRITE

Execution syntax

This sample leverages simple command-line arguments to implement functionality.

Basic usage

Execute a Real Time Response command across hosts within all child tenants.

GovCloud users can change their CrowdStrike region using the -b argument.

Filter targeted hosts with a FQL filter.

Sort returned host results to alter the order of execution.

Perform more complex commands leveraging raw format using the -x argument.

Use multiple threads to perform processing.

Thread count can be specified with the -n argument. (Ignored when not multithreaded.)

Specify the output folder for execution results.

Limit the number of hosts returned per child CID.

Command-line help

Command-line help is available via the -h argument.

Example source code

The source code for this example can be found here.

Last updated

Was this helpful?