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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added rbcd attack script #1108

Merged
merged 3 commits into from Oct 22, 2021
Merged

Added rbcd attack script #1108

merged 3 commits into from Oct 22, 2021

Conversation

ShutdownRepo
Copy link
Contributor

@ShutdownRepo ShutdownRepo commented Jun 29, 2021

Hi there 馃憢 this script is inspired and mostly based on existing code found on:

I see this as an improvement to the existing scripts mentioned above as this one can

  • pass-the-hash/ticket/key/cache, ...
  • write new SIDs to the msDS-AllowedToActOnBehalfOfOtherIdentity
  • remove specific entries of that property (instead of flushing everything kill-bill style)
  • flush all entries of that property
  • read entries and resolve SIDs to sAMaccountnames
  • doesn't need full dinstinguished names as arguments (the scripts uses ldapdomaindump)

Screenshot from 2021-06-29 18-04-01
Screenshot from 2021-06-29 18-04-16

Co-author: @p0dalirius

More info about this: Kerberos delegation attacks

@0xdeaddood 0xdeaddood added the in review This issue or pull request is being聽analyzed label Oct 22, 2021
Copy link
Collaborator

@0xdeaddood 0xdeaddood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ShutdownRepo and @p0dalirius !

Great implementation! Just one thing, we need to modify the header to keep the same style in all the examples.

Thanks!!

examples/rbcd.py Outdated Show resolved Hide resolved
Co-authored-by: 0xdeaddood <56035084+0xdeaddood@users.noreply.github.com>
@ShutdownRepo
Copy link
Contributor Author

Yup agreed! Thanks for doing the change!

@0xdeaddood
Copy link
Collaborator

Thanks a lot guys! Merging...

@0xdeaddood 0xdeaddood merged commit b66cd36 into fortra:master Oct 22, 2021
@0xdeaddood 0xdeaddood removed the in review This issue or pull request is being聽analyzed label Oct 22, 2021
@ShutdownRepo ShutdownRepo deleted the rbcd branch October 23, 2021 14:02
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

2 participants