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

Added renameMachine.py #1224

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ShutdownRepo
Copy link
Contributor

Preparing a Pull Request that introduces scripts that allow to exploit the Kerberos sAMAccountName spoofing attacks (CVE-2021-42278 + CVE-2021-42287).

This attack chain allows regular users to spoof domain controllers.
The requirement to this attack is to have an unpatched KDC and full control over a machine account (to be able to edit its sAMAccountName and servicePrincipalName attributes). Full control over a machine account can be gained by creating it in the first place (e.g. by leveraging the MachineAccountQuota domain-level attribute if it's greater than 0)

Screenshot from 2021-12-10 22-21-10

References

@ShutdownRepo ShutdownRepo marked this pull request as ready for review February 4, 2022 09:15
@anadrianmanrique anadrianmanrique added the in review This issue or pull request is being analyzed label Feb 16, 2023
@0xdeaddood 0xdeaddood added the low Low priority item label Feb 23, 2023
ShutdownRepo added a commit to ThePorgs/impacket that referenced this pull request Aug 4, 2024
@gabrielg5 gabrielg5 self-assigned this Sep 19, 2024
@gabrielg5 gabrielg5 removed the in review This issue or pull request is being analyzed label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Examples low Low priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants