Skip to content
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

parse_data ignores badPatterns that interrupt response data #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

j0wns
Copy link

@j0wns j0wns commented Sep 21, 2023

This is my first contribution. I do hope I've done this right.

Cobaltstrike allows users to queues tasks while others are running. If a user queues a task while ldapsearch BOF is returning data there is chance the logged command will appear between ldapsearch response messages for a single active directory object. If bofhound encounters queued tasks within an object's result_region it will crash.

This commit adds a list of "badPatterns" bofhound will ignore while it is inside the critical section of a result_region.
Ignored lines are visible when debug flag is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant