Skip to content

parse_data ignores badPatterns that interrupt response data#7

Open
j0wns wants to merge 1 commit intofortalice:mainfrom
j0wns:fix/ldap_search_bof_crash_on_queued_command_output
Open

parse_data ignores badPatterns that interrupt response data#7
j0wns wants to merge 1 commit intofortalice:mainfrom
j0wns:fix/ldap_search_bof_crash_on_queued_command_output

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.

1 participant