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

Find SPN using Organizational Units #15

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

Conversation

guervild
Copy link
Contributor

@guervild guervild commented May 1, 2022

Hello,

New methods to list the servicePrincipalName based on this article: https://m365internals.com/2021/11/08/kerberoast-with-opsec/. To use the method, the option --opsec must be used.

It will look for specific OU name (default : service, application), then check if these OUs contains object with SPN.
Filter options can be used to replace the default keywords.

The problem is that i could not find a method to have the correct lastlogontime value, and the msDS-SupportedEncryptionTypes .

Example:

.\StandIn --spn --opsec
.\StandIn --spn --opsec --filter test

Also, i added a new function name --ous that list all the organizational units.
Example:

.\StandIn --ous
.\StandIn --ous --opsec --filter test

@guervild guervild changed the title Filter SPN using Organizational Units Find SPN using Organizational Units May 1, 2022
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