Skip to content

rlucha-crowdstrike/foundry-sample-rapid-response

 
 

Repository files navigation

CrowdStrike Falcon

Rapid Response sample Foundry app

The Rapid Response sample Foundry app is a community-driven, open source project which serves as an example of an app which can be built using CrowdStrike's Foundry ecosystem. foundry-sample-rapid-response is an open source project, not a CrowdStrike product. As such, it carries no formal support, expressed or implied.

This app is one of several App Templates included in Foundry that you can use to jumpstart your development. It comes complete with a set of preconfigured capabilities aligned to its business purpose. Deploy this app from the Templates page with a single click in the Foundry UI, or create an app from this template using the CLI.

Description

The Rapid Response sample Foundry app provides a way to orchestrate execution of executables and removal of files across Windows-based systems, either by targeting specifying specific hosts or by targeting the host groups.

This app illustrates the following functionality amongst other components:

  • use of LogScale saved searches
  • use of RTR script orchestration via workflows, including scheduling
  • use of UI components and extensions
  • use of file uploads
  • use of functions

Basic information

Dependencies

Foundry capabilities used

  • Collections. Used by the app to store state information, such as metadata about created jobs, execution history, and an audit log.
  • Functions. Backend business logic for invoking workflows, normalizing and aggregating data to be returned to the UI, and modifying the state of the collections.
  • LogScale queries. Query results of RTR script execution from LogScale to extract metadata about on which hosts the scripts successfully executed.
  • RTR scripts. Executes executables on a target system. Removes files from a targeted system.
  • UI navigation. Adds the app to the Falcon navigation for easy access.
  • UI pages. Custom UI pages to display results and manage the app.
  • Workflow templates. Workflows for orchestrating the execution of the jobs against individual hosts and host groups.

Languages and frameworks used

Directory structure

  • collections. Schemas used in the collections used by this app.
  • functions
    • Func_Jobs: Creates and updates jobs, invokes workflows, and manages the audit log.
    • job_history: Manages the job execution history.
  • rtr-scripts
    • check_file_exist: RTR script which checks if an executable or file is present on a Windows system.
    • remove_file: RTR script which removes a file or executable if the file is present on a Windows system.
  • saved-searches/Query_By_WorkflowRootExecutionID: LogScale saved search for retrieving events by a workflow execution ID.
  • ui/pages/rapid-response-react: Single Page Application which serves as the frontend of the app.
  • workflows: Workflow template definitions. Fusion workflows are created from the templates in this directory.
    • Install_software_Job_Template.yml: Workflow to upload and invoke an executable via RTR on hosts. Results are written to LogScale.
    • Notify_job_execution_template.yml: Workflow which notifies the job_history function to report results of the Install_software_Job_Template and Remove_file_template.yml.
    • Remove_file_template.yml: Workflow to remove files from targeted hosts. Results are written to LogScale.

Deploying and installing the app

For detailed info about deploying and installing this app in your CID, see the Falcon Foundry product documentation:

Foundry resources

See our product documentation:



WE STOP BREACHES

About

Rapid Response sample Foundry app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 59.8%
  • Go 28.7%
  • CSS 9.5%
  • JavaScript 1.5%
  • Other 0.5%