-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BOF Refactor, Windows Service and fixes #78
Closed
martindube
wants to merge
56
commits into
MythicAgents:main
from
martindube:mdube_fixes_and_features
Closed
BOF Refactor, Windows Service and fixes #78
martindube
wants to merge
56
commits into
MythicAgents:main
from
martindube:mdube_fixes_and_features
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…l, and zip-inspect commands
…into new-features
…hnique to foce synchrony
martindube
force-pushed
the
mdube_fixes_and_features
branch
from
November 18, 2024 00:27
1a22a58
to
91f253d
Compare
fixed spelling
- Replace MythicRPC().execute -> MythicRPC* - Move functions to bof_utilities - Use a new class: CoffCommandBase - Standardize the definition of process_response() - Use a default completion function
…king yet with Obfuscar
martindube
force-pushed
the
mdube_fixes_and_features
branch
from
November 18, 2024 18:06
fa221f4
to
43a3019
Compare
Closing. We'll use #79 instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello maintainers!
Here's a PR with fixes but also features. I'm not used to contribute so feel free to comment. I did my best to make commits in a cherry-pickable format.
Challenge with BOFs
I would like to start by sharing that I have only 1 week of experience with Athena and a few months with Mythic. I could have felt in a rabbit hole.
That being said, using the
main
branch of Athena and the associated container, no BOF were working. For reasons I do not fully understand, the "parent" task is never marked as completed. In addition, the subtask output is never sent to the parent task either. I don't know if this is a bug in Mythic but I found a "simple" way to fix it: Use completion callbacks. This is the commit refactord36ac3d137d3c7e6de6c0546f0d7cc3775eb0096
.I read this documentation carefuly and I couldn't find a better way to fix this. In addition, the
Mythic.execute
approach was getting deprecated so I took time to modernize it.Summary
Fixes:
env
)Features:
Refactor example
Before:
After: