mitre/caldera

sequential ability operations

Opened this issue · 2 comments

Hi there

I'm trying to figure out how to run an operation in a sequantial order. I do not want caldera to "smartly" decide how to run an operation.

as an example I haven an op that

  1. creates a staging dir
  2. downloads a payload and moves it into the dir
  3. executes the payload

however, caldera for some reason ignores my order of steps and goes like this:

  1. create staging dir
  2. tries to execute the payload (which isnt there as its downloaded in step 2...) - errors out. stops operation...

I am assuming it has something to do with the planner, but I cant seem to figure it out, the documentation is not very clear or I am missing something obvious.

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

Are these abilities from one of the open-source plugins? If so, which ones are you using? Otherwise, if these are custom abilities, are you able to provide the yml file contents (without any sensitive information)? It sounds like the second ability may have some requirements or restrictions that prevents your agent from running it (e.g. unsupported executor, missing fact)