-
I am using the Invoke-Deploy command to send my executable to select endpoints. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
If you'd like to use a more complicated workflow (like using
Then you'll have to keep track of the responses and update accordingly. You can see an example of how to do this by looking at the code within |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. Could I start the session - send the command to CD into my folder then Invoke-Deploy and have it run from there? |
Beta Was this translation helpful? Give feedback.
-
Yes. You can see examples of that entire workflow on the wiki: https://github.com/CrowdStrike/psfalcon/wiki/Real-time-Response#send-real-time-response-commands-to-a-batch-of-hosts You'll basically follow those steps, but issue multiple commands to a single (or batch) session. If it's something that will take longer than the maximum timeout of 600 seconds (which defaults to 30 seconds if you don't specify it when issuing the command), you'll also need to keep a timer going and You'll also want to add logic to only continue if the previous command was successful, so you don't end up doing things like using |
Beta Was this translation helpful? Give feedback.
-
Hello, Is there another way? |
Beta Was this translation helpful? Give feedback.
Invoke-FalconDeploy
combines theput
andrun
Real-time Response commands.put
does not provide the ability to specify a destination--it uploads the file to the current directory. If you want it to be in a different directory, you have tocd
to that location first.Invoke-FalconDeploy
was created as a mechanism to deploy the Falcon Forensics executable, so I don't really have any intention of modifying it, especially because it works for most "upload and run this exe" use cases.If you'd like to use a more complicated workflow (like using
put
to place the file in a specific directory), I recommend either using a combination of commands withInvoke-FalconRTR
or creating a script with the ne…