Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Match command output with command input (beacon_commands) #9

Open
breakid opened this issue Apr 22, 2019 · 0 comments
Open

Match command output with command input (beacon_commands) #9

breakid opened this issue Apr 22, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@breakid
Copy link
Owner

breakid commented Apr 22, 2019

Due to the way Cobalt Strike works (i.e., out-of-order execution and logging output with no information linking it to it's associated input), it is non-trivial to link input and output during post-processing. That said, it should be possible to limit the potential matches, potentially down to one in some cases.

Case 1:

  • Error output reported by Cobalt Strike appears immediately after an invalid command. This would be an easy win.

Case 2:

  • If there is only one input queued before a check-in, all output before the next input should be related to that one input (even if there are multiple output chunks).

Case 3:

  • There is only one input of each output type before a check-in. In this case, with accurate output parsing, it should be possible to link the outputs to the inputs, even if they are executed out of order.

If there are multiples of each command, such as multiple dsqueries, it becomes extremely difficult to match input to output.

@breakid breakid added the enhancement New feature or request label Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant