Comments (4)
Interesting report! Thank you for submitting it.
I'll talk with the RTR engineering team and see if I can uncover an effective solution.
It also looks like the Expand-Archive
command is happening after the execution of runfile.exe
too...
from psfalcon.
In testing, it appears that PSFalcon is simply too fast for the CrowdStrike APIs. ;)
I submitted a queued job using Invoke-FalconDeploy
for a single device and the commands were issued within about 2 seconds. The RTR queue API doesn't have millisecond accuracy when commands are issued, so issuing commands as fast as PSFalcon does means that the queue has the potential to pass them to the target device out of order.
The only solution is to add a delay to Invoke-FalconDeploy
to ensure that no two commands are given in the same second. I'll add that in for the next release.
from psfalcon.
I've implemented the fix for the next release.
Could you try updating public\psf-real-time-response.ps1
in your local module, test Invoke-FalconDeploy
and let me know if it resolves your issue? You can update your module using the commands below.
Import-Module -Name PSFalcon
$ModulePath = (Show-FalconModule).ModulePath
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/CrowdStrike/psfalcon/d824c1cb1a96a540bfad6d06af4b7652e1d1b8e5/public/psf-real-time-response.ps1 -UseBasicParsing).Content > (Join-Path (Join-Path $ModulePath public) psf-real-time-response.ps1)
from psfalcon.
Hey Awesome thanks a lot for the feedback, i didn't expect one so quick, you rock !
I tried the fix but ended up with some (but fewer than previously) unordered execution of queued commands.
I edited your fix with a 2 seconds delay and it works perfectly.
if ($QueueOffline -eq $true) { Start-Sleep -Seconds 2 }
It seems a 2 seconds delay is necessary.
from psfalcon.
Related Issues (20)
- [ BUG ] Adding offset to Get-FalconHost throws an error HOT 1
- [ BUG ] Script execution failing for `Invoke-FalconRtr` `runscript` when using large number of host ids HOT 4
- When I use Invoke-FalconHostAction, should I use device ID unique to each host entries? If yes, I used the same but error stated No matching found for the ID. Please do assist HOT 2
- [ QUESTION ] `Uninstall-FalconSensor` - How long does it take? HOT 3
- [ QUESTION ] ... Change CID HOT 1
- Find-FalconHostName case sensitivity with error? HOT 6
- [ BUG ] `Get-FalconAsset` does not append `login_event` when using `Include` with a single result HOT 2
- [ QUESTION ] Bulk Removing USB Exception HOT 9
- [ BUG ] Unable to use severity `critical` with `Edit-FalconHorizonPolicy` HOT 2
- [ BUG ] `New-FalconScheduledScan` not sending `endpoint_notification` boolean HOT 2
- [ BUG ] User Management: List roles assigned to a user - Listed all roles in cid instead of user HOT 1
- [ BUG ] `Find-FalconHostname` returns maximum of 100 results HOT 2
- [ BUG ] `400: The ids parameter must be present...` error when using Turkish display language HOT 1
- [ BUG ] `Get-FalconRole` does not display custom roles HOT 4
- [ QUESTION ] `System.TypeInitializationException` error with `Uninstall-FalconSensor` HOT 4
- `SendASync` error with `Invoke-FalconDeploy` HOT 5
- [ BUG ] Get-FalconAsset code 400 error offset 10000 and limit 100 HOT 1
- [ BUG ] `Import-FalconConfig` ignores `FirewallGroup` HOT 1
- [ BUG ] `New-FalconReconRule` generating `Invalid Request` error with single rule HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psfalcon.