Skip to content

Invoke FalconResponderCommand

bk-cs edited this page Oct 21, 2022 · 20 revisions

Invoke-FalconResponderCommand

SYNOPSIS

Issue a Real-time Response active-responder command to an existing single-host or batch session

DESCRIPTION

Sessions can be started using 'Start-FalconSession'. A successfully created session will contain a 'session_id' or 'batch_id' value which can be used with the '-SessionId' or '-BatchId' parameters.

The 'Wait' parameter will use 'Confirm-FalconResponderCommand' to check for command results every 5 seconds for a total of 60 seconds.

Requires 'Real Time Response: Write'.

PARAMETERS

Name Type Min Max Allowed Pipeline PipelineByName Description
Command String cat
cd
clear
cp
csrutil
encrypt
env
eventlog backup
eventlog export
eventlog list
eventlog view
filehash
get
getsid
help
history
ifconfig
ipconfig
kill
ls
map
memdump
mkdir
mount
mv
netstat
ps
reg delete
reg load
reg query
reg set
reg unload
restart
rm
runscript
shutdown
umount
unmap
update history
update install
update list
update install
users
xmemdump
zip
Real-time Response command
Argument String Arguments to include with the command
OptionalHostId String[] Restrict execution to specific host identifiers
Timeout Int32 30 600 Length of time to wait for a result, in seconds
SessionId String X Session identifier
BatchId String X Batch session identifier
Wait Switch Use 'Confirm-FalconResponderCommand' to retrieve single-host command results

SYNTAX

Invoke-FalconResponderCommand [-Command] <String> [[-Argument] <String>] [[-OptionalHostId] <String[]>] [[-Timeout] <Int32>] -BatchId <String> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>]
Invoke-FalconResponderCommand [-Command] <String> [[-Argument] <String>] -SessionId <String> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>]

SDK Reference

falconpy

BatchActiveResponderCmd
RTR-ExecuteActiveResponderCommand

USAGE

2022-10-21: PSFalcon v2.2.3

Clone this wiki locally