Overview
Real-time Response (RTR) enables interactive command execution on CrowdStrike Falcon hosts. This API provides read-only commands for investigating hosts without making changes to the system.All RTR operations require an active session. Sessions expire after 5 minutes of inactivity unless refreshed.
Session Management
Start-FalconSession
Initialize a single-host or batch Real-time Response session.Host identifier(s). Use
Get-FalconHost to retrieve host IDs.Add non-responsive hosts to the offline queue for automatic connection when they come online.
Add hosts to an existing batch session. Must be a valid batch session UUID.
Length of time to wait for a result, in seconds. Valid range: 1-600.
Length of time to wait for a result from target host(s), in seconds. Valid range: 1-600.
session_id, batch session returns batch_id and host details.
Required Permission: Real time response: Read
Example: Single Host Session
Example: Batch Session
Get-FalconSession
Search for existing Real-time Response sessions.Session identifier(s) to retrieve.
Falcon Query Language expression to filter results (e.g.,
"created_at:>'2024-01-01'").Property and direction to sort results.
Maximum number of results per request. Valid range: 1-1000.
Position to begin retrieving results for pagination.
Expand search to include all sessions created within your environment (requires additional permission).
Restrict search to sessions in the offline queue.
Retrieve detailed information for each session.
Repeat requests until all available results are retrieved.
Real time response: Read (and Real time response audit: Read when using -Cid)
Example: Get Session Details
Update-FalconSession
Refresh a session to prevent expiration (extends the 5-minute timeout).Host identifier for a single-host session.
Batch session identifier.
Add non-responsive hosts to the offline queue.
Host identifier(s) to remove from a batch session.
Length of time to wait for a result, in seconds. Valid range: 1-600.
Real time response: Read
Example: Refresh Session
Remove-FalconSession
Terminate an active Real-time Response session.Session identifier to remove.
Real time response: Read
Example: Close Session
Read-Only Commands
Invoke-FalconCommand
Execute read-only RTR commands that do not modify the host system.Real-time Response command to execute. Available commands:
cat- Display file contentscd- Change directoryclear- Clear screencsrutil- Check System Integrity Protection status (macOS)env- Display environment variableseventlog backup- Backup Windows event logseventlog export- Export Windows event logseventlog list- List Windows event logseventlog view- View Windows event log entriesfilehash- Calculate file hashgetsid- Get security identifierhelp- Display available commandshistory- Show command historyifconfig- Display network configuration (Unix/macOS)ipconfig- Display network configuration (Windows)ls- List directory contentsmount- Display mounted filesystemsnetstat- Display network connectionsps- List running processesreg query- Query Windows registryusers- List logged-in users
Arguments to include with the command (e.g., file path, registry key).
Session identifier for single-host execution.
Batch session identifier for multi-host execution.
Restrict batch execution to specific host identifiers.
Length of time to wait for a result, in seconds. Valid range: 1-600.
Length of time to wait for a result from target host(s), in seconds. Valid range: 1-600.
Automatically poll for command completion using
Confirm-FalconCommand.Real time response: Read
Example: List Processes
Example: Check Registry Key
Confirm-FalconCommand
Verify the status of a read-only command (required to acknowledge command completion).Command request identifier returned from
Invoke-FalconCommand.Sequence identifier for command ordering.
Real time response: Read
Example: Manual Confirmation
Remove-FalconCommand
Remove a command from a queued Real-time Response session.Session identifier containing the queued command.
Cloud request identifier of the command to remove.
Real time response: Read
Example: Cancel Queued Command
Workflow Examples
Batch Session Workflow
Complete Batch Investigation
Best Practices
Command Execution
- Use the
-Waitparameter for automatic result polling - Always confirm commands to acknowledge completion
- Batch commands return per-host results
- Check for errors in command output before proceeding
Error Handling
Robust RTR Workflow
Related APIs
- RTR Admin - Administrative commands with write access
- RTR Scripts - Custom script management and execution