targetedKerberoast - Kerberoast With ACL Abuse Capabilities
targetedKerberoast is a Python script that can, like many others (e.g. GetUserSPNs.py), print "kerberoast" hashes for user accounts that have a SPN set. This tool brings the following additional feature: for each user without SPNs, it tries to set one (abuse of a write permission on the servicePrincipalName attribute), print the "kerberoast" hash, and delete the temporary SPN set for that operation. This is called targeted Kerberoasting. This tool can be used against all users of a domain, or supplied in a list, or one user supplied in the CLI. More information about this attack The Hacker Recipes - Kerberoast The Hacker Recipes - Targeted KerberoastingUsage This tool supports the following authentications (NTLM) Cleartext password (NTLM) Pass-the-hash (Kerberos) Cleartext password (Kerberos) Pass-the-key / Overpass-the-hash (Kerberos) Pass-the-cache (type of Pass-the-ticket) Among other things, targetedKerberoast supports multi-level verbosity, just append -v, -vv, ... to the command :) Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H LMHASH:NTHASH, --hashes LMHASH:NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) ">usage: targetedKerberoast.py -h -v -q -D TARGET\_DOMAIN -U USERS\_FILE --request-user username -o OUTPUT\_FILE --use-ldaps --only-abuse --no-abuse --dc-ip ip address -d DOMAIN -u USER -k --no-pass | -p PASSWORD | -H [LMHASH:NTHASH | --aes-key hex key]Queries target domain for SPNs that are running under a user account and operate targeted Kerberoastingoptional arguments: -h, --help show this help message and exit -v, --verbose verbosity level (-v for verbose, -vv for debug) -q, --quiet show no information at all -D TARGET_DOMAIN, --target-domain TARGET_DOMAIN Domain to query/request if different than the domain of the user. Allows for Kerberoasting across trusts. -U USERS_FILE, --users-file USERS_FILE File with user per line to test --request-user username Requests TGS for the SPN associated to the user specified (just the username, no domain needed) -o OUTPUT_FILE, --output-file OUTPUT_FILE Output filename to write ciphers in JtR/hashcat format --use-ldaps Use LDAPS instead of LDAP --only-abuse Ignore accounts that already have an SPN and focus on targeted Kerberoasting --no-abuse Don't attempt targeted Kerberoastingauthentication & connection: --dc-ip ip address IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter -d DOMAIN, --domain DOMAIN (FQDN) domain to authenticate to -u USER, --user USER user to authenticate withsecrets: -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameter s. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H LMHASH:NTHASH, --hashes LMHASH:NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) Below is an example what the tool can do. Credits and references Credits to the whole team behind Impacket and its contributors. Download targetedKerberoast
Read more...
___________________________
@hacking_Attack
@Hacking_Video
targetedKerberoast is a Python script that can, like many others (e.g. GetUserSPNs.py), print "kerberoast" hashes for user accounts that have a SPN set. This tool brings the following additional feature: for each user without SPNs, it tries to set one (abuse of a write permission on the servicePrincipalName attribute), print the "kerberoast" hash, and delete the temporary SPN set for that operation. This is called targeted Kerberoasting. This tool can be used against all users of a domain, or supplied in a list, or one user supplied in the CLI. More information about this attack The Hacker Recipes - Kerberoast The Hacker Recipes - Targeted KerberoastingUsage This tool supports the following authentications (NTLM) Cleartext password (NTLM) Pass-the-hash (Kerberos) Cleartext password (Kerberos) Pass-the-key / Overpass-the-hash (Kerberos) Pass-the-cache (type of Pass-the-ticket) Among other things, targetedKerberoast supports multi-level verbosity, just append -v, -vv, ... to the command :) Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H LMHASH:NTHASH, --hashes LMHASH:NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) ">usage: targetedKerberoast.py -h -v -q -D TARGET\_DOMAIN -U USERS\_FILE --request-user username -o OUTPUT\_FILE --use-ldaps --only-abuse --no-abuse --dc-ip ip address -d DOMAIN -u USER -k --no-pass | -p PASSWORD | -H [LMHASH:NTHASH | --aes-key hex key]Queries target domain for SPNs that are running under a user account and operate targeted Kerberoastingoptional arguments: -h, --help show this help message and exit -v, --verbose verbosity level (-v for verbose, -vv for debug) -q, --quiet show no information at all -D TARGET_DOMAIN, --target-domain TARGET_DOMAIN Domain to query/request if different than the domain of the user. Allows for Kerberoasting across trusts. -U USERS_FILE, --users-file USERS_FILE File with user per line to test --request-user username Requests TGS for the SPN associated to the user specified (just the username, no domain needed) -o OUTPUT_FILE, --output-file OUTPUT_FILE Output filename to write ciphers in JtR/hashcat format --use-ldaps Use LDAPS instead of LDAP --only-abuse Ignore accounts that already have an SPN and focus on targeted Kerberoasting --no-abuse Don't attempt targeted Kerberoastingauthentication & connection: --dc-ip ip address IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter -d DOMAIN, --domain DOMAIN (FQDN) domain to authenticate to -u USER, --user USER user to authenticate withsecrets: -k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameter s. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H LMHASH:NTHASH, --hashes LMHASH:NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) Below is an example what the tool can do. Credits and references Credits to the whole team behind Impacket and its contributors. Download targetedKerberoast
Read more...
___________________________
@hacking_Attack
@Hacking_Video
Deri Protocol Bug Bounty Program
https://deri-protocol.medium.com/deri-protocol-bug-bounty-program-fc2b0f8ba3ae?source=rss------bug_bounty-5
___________________________
@hacking_Attack
@Hacking_Video
https://deri-protocol.medium.com/deri-protocol-bug-bounty-program-fc2b0f8ba3ae?source=rss------bug_bounty-5
___________________________
@hacking_Attack
@Hacking_Video
Medium
Deri Protocol Bug Bounty Program
After the release of Perpetual Protocol on Binance Smart Chain and Polygon Network, we’re thrilled to reveal our bug bounty program with…
After the release of Perpetual Protocol on Binance Smart Chain and Polygon Network, we’re thrilled to reveal our bug bounty program with…Continue reading on Medium » (https://deri-protocol.medium.com/deri-protocol-bug-bounty-program-fc2b0f8ba3ae?source=rss------bug_bounty-5)
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
Medium
Deri Protocol Bug Bounty Program
After the release of Perpetual Protocol on Binance Smart Chain and Polygon Network, we’re thrilled to reveal our bug bounty program with…
targetedKerberoast - Kerberoast With ACL Abuse Capabilities
http://www.kitploit.com/2021/09/targetedkerberoast-kerberoast-with-acl.html
___________________________
@hacking_Attack
@Hacking_Video
http://www.kitploit.com/2021/09/targetedkerberoast-kerberoast-with-acl.html
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
targetedKerberoast - Kerberoast With ACL Abuse Capabilities
targetedKerberoast is a Python script that can, like many others (e.g. GetUserSPNs.py (https://github.com/SecureAuthCorp/impacket/blob/master/examples/GetUserSPNs.py)), print "kerberoast" hashes (https://www.kitploit.com/search/label/Hashes) for user accounts that have a SPN set. This tool brings the following additional feature: for each user without SPNs, it tries to set one (abuse of a write permission on the servicePrincipalName attribute), print the "kerberoast" hash, and delete the temporary SPN set for that operation. This is called targeted Kerberoasting. This tool can be used against all users of a domain, or supplied in a list, or one user supplied in the CLI. More information about this attack The Hacker Recipes - Kerberoast (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/kerberoast) The Hacker Recipes - Targeted Kerberoasting (https://www.thehacker.recipes/active-directory-domain-services/movement/access-control-entries/targeted-kerberoasting)
Usage
This tool supports the following authentications (NTLM) Cleartext password (NTLM) Pass-the-hash (https://www.thehacker.recipes/active-directory-domain-services/movement/lm-and-ntlm/pass-the-hash) (Kerberos) Cleartext password (Kerberos) Pass-the-key (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-key) / Overpass-the-hash (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/overpass-the-hash) (Kerberos) Pass-the-cache (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-cache) (type of Pass-the-ticket (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-ticket)) Among other things, targetedKerberoast supports multi-level verbosity, just append -v, -vv, ... to the command :) Kerberos authentication. Grabs credentials (https://www.kitploit.com/search/label/Credentials) from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES (https://www.kitploit.com/search/label/AES) key to use for Kerberos Authentication (https://www.kitploit.com/search/label/Authentication) (128 or 256 bits) ">usage: targetedKerberoast.py [-h] [-v] [-q] [-D TARGET_DOMAIN] [-U USERS_FILE] [--request-user username] [-o OUTPUT_FILE] [--use-ldaps] [--only-abuse] [--no-abuse] [--dc-ip ip address] [-d DOMAIN] [-u USER]
[-k] [--no-pass | -p PASSWORD | -H [LMHASH:]NTHASH | --aes-key hex key]
Queries target domain for SPNs that are running under a user account and operate targeted Kerberoasting
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbosity level (-v for verbose, -vv for debug)
-q, --quiet show no information at all
-D TARGET_DOMAIN, --target-domain TARGET_DOMAIN
Domain to query/request if different than the domain of the user. Allows for Kerberoasting across trusts.
-U USERS_FILE, --users-file USERS_FILE
File with user per line to test
--request-user username
Requests TGS for the SPN associated to the user specified (just the username, no domain needed)
-o OUTPUT_FILE, --output-file OUTPUT_FILE
Output filename to write ciphers in JtR/hashcat format
--use-ldaps Use LDAPS instead of LDAP
--only-abuse Ignore accounts that already have an SPN and focus on targeted Kerberoasting
--no-abuse Don't attempt targeted Kerberoasting
authentication & connection:
___________________________
@hacking_Attack
@Hacking_Video
Usage
This tool supports the following authentications (NTLM) Cleartext password (NTLM) Pass-the-hash (https://www.thehacker.recipes/active-directory-domain-services/movement/lm-and-ntlm/pass-the-hash) (Kerberos) Cleartext password (Kerberos) Pass-the-key (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-key) / Overpass-the-hash (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/overpass-the-hash) (Kerberos) Pass-the-cache (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-cache) (type of Pass-the-ticket (https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pass-the-ticket)) Among other things, targetedKerberoast supports multi-level verbosity, just append -v, -vv, ... to the command :) Kerberos authentication. Grabs credentials (https://www.kitploit.com/search/label/Credentials) from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES (https://www.kitploit.com/search/label/AES) key to use for Kerberos Authentication (https://www.kitploit.com/search/label/Authentication) (128 or 256 bits) ">usage: targetedKerberoast.py [-h] [-v] [-q] [-D TARGET_DOMAIN] [-U USERS_FILE] [--request-user username] [-o OUTPUT_FILE] [--use-ldaps] [--only-abuse] [--no-abuse] [--dc-ip ip address] [-d DOMAIN] [-u USER]
[-k] [--no-pass | -p PASSWORD | -H [LMHASH:]NTHASH | --aes-key hex key]
Queries target domain for SPNs that are running under a user account and operate targeted Kerberoasting
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbosity level (-v for verbose, -vv for debug)
-q, --quiet show no information at all
-D TARGET_DOMAIN, --target-domain TARGET_DOMAIN
Domain to query/request if different than the domain of the user. Allows for Kerberoasting across trusts.
-U USERS_FILE, --users-file USERS_FILE
File with user per line to test
--request-user username
Requests TGS for the SPN associated to the user specified (just the username, no domain needed)
-o OUTPUT_FILE, --output-file OUTPUT_FILE
Output filename to write ciphers in JtR/hashcat format
--use-ldaps Use LDAPS instead of LDAP
--only-abuse Ignore accounts that already have an SPN and focus on targeted Kerberoasting
--no-abuse Don't attempt targeted Kerberoasting
authentication & connection:
___________________________
@hacking_Attack
@Hacking_Video
GitHub
impacket/examples/GetUserSPNs.py at master · fortra/impacket
Impacket is a collection of Python classes for working with network protocols. - fortra/impacket
--dc-ip ip address IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter
-d DOMAIN, --domain DOMAIN
(FQDN) domain to authenticate to
-u USER, --user USER user to authenticate with
secrets:
-k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameter s. If valid credentials cannot be found, it will use the ones specified in the
command line
--no-pass don't ask for password (useful for -k)
-p PASSWORD, --password PASSWORD
password to authenticate with
-H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH
NT/LM hashes, format is LMhash:NThash
--aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits)
Below is an example what the tool can do.
___________________________
@hacking_Attack
@Hacking_Video
-d DOMAIN, --domain DOMAIN
(FQDN) domain to authenticate to
-u USER, --user USER user to authenticate with
secrets:
-k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameter s. If valid credentials cannot be found, it will use the ones specified in the
command line
--no-pass don't ask for password (useful for -k)
-p PASSWORD, --password PASSWORD
password to authenticate with
-H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH
NT/LM hashes, format is LMhash:NThash
--aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits)
Below is an example what the tool can do.
___________________________
@hacking_Attack
@Hacking_Video
Credits and references
Credits to the whole team behind Impacket (https://github.com/SecureAuthCorp/impacket/) and its contributors.
Download targetedKerberoast (https://github.com/ShutdownRepo/targetedKerberoast)
___________________________
@hacking_Attack
@Hacking_Video
Credits to the whole team behind Impacket (https://github.com/SecureAuthCorp/impacket/) and its contributors.
Download targetedKerberoast (https://github.com/ShutdownRepo/targetedKerberoast)
___________________________
@hacking_Attack
@Hacking_Video
GitHub
GitHub - fortra/impacket: Impacket is a collection of Python classes for working with network protocols.
Impacket is a collection of Python classes for working with network protocols. - fortra/impacket
I'm curious.
https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/
Does anyone know the least known C2 out there? I use beacon for most the time which is Unreliable.. if you have recommendation let me know please. submitted by /u/R3dd3v3l (https://www.reddit.com/user/R3dd3v3l)
[link] (https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/) [comments] (https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/)
___________________________
@hacking_Attack
@Hacking_Video
https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/
Does anyone know the least known C2 out there? I use beacon for most the time which is Unreliable.. if you have recommendation let me know please. submitted by /u/R3dd3v3l (https://www.reddit.com/user/R3dd3v3l)
[link] (https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/) [comments] (https://www.reddit.com/r/redteamsec/comments/po22zs/im_curious/)
___________________________
@hacking_Attack
@Hacking_Video
Reddit
From the redteamsec community on Reddit: I'm curious.
Posted by R3dd3v3l - No votes and 4 comments
Hacking Articles Tips Tricks Videos Tutorials
Photo
hacking: security in practice
CVE-2021-3437 | HP OMEN Gaming Hub Privilege Escalation Bug Hits Millions of Gaming Devices
https://external-preview.redd.it/MPfWmvQVkpJKXZ-0epCVld9HIgpPp6eWsK-xk-TLCkw.jpg?width=640&crop=smart&auto=webp&s=5254dff517b89b561ab454c5fb9d10045d0bc97b submitted by /u/GHIDRAdev
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
CVE-2021-3437 | HP OMEN Gaming Hub Privilege Escalation Bug Hits Millions of Gaming Devices
https://external-preview.redd.it/MPfWmvQVkpJKXZ-0epCVld9HIgpPp6eWsK-xk-TLCkw.jpg?width=640&crop=smart&auto=webp&s=5254dff517b89b561ab454c5fb9d10045d0bc97b submitted by /u/GHIDRAdev
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
CVE-2021-3437 | HP OMEN Gaming Hub Privilege Escalation Bug Hits...
Posted in r/hacking by u/GHIDRAdev • 3 points and 0 comments
hacking: security in practice
What is the difference between a script kiddie and someone using a pre-built tool?
My understanding is that script-kiddies can't make/ code their programs and they don't understand what the code is doing only what the results are. Is this correct? or is there a better distinction?
submitted by /u/theUnholyVenom
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
What is the difference between a script kiddie and someone using a pre-built tool?
My understanding is that script-kiddies can't make/ code their programs and they don't understand what the code is doing only what the results are. Is this correct? or is there a better distinction?
submitted by /u/theUnholyVenom
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
What is the difference between a script kiddie and someone using a...
My understanding is that script-kiddies can't make/ code their programs and they don't understand what the code is doing only what the results...
Deri Protocol Bug Bounty Program
After the release of Perpetual Protocol on Binance Smart Chain and Polygon Network, we’re thrilled to reveal our bug bounty program with…Continue reading on Medium »
Read more...
After the release of Perpetual Protocol on Binance Smart Chain and Polygon Network, we’re thrilled to reveal our bug bounty program with…Continue reading on Medium »
Read more...
Powershell brute force attack via rdp
https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/
So I've been tasked with staging a brute force attack via rdp in powershell with no dependencies on external files. Essentially just running through a list of login names and random passwords. This is to test the functionality and response of our current SentinelOne implementation and verify it works as expected. Any ideas on this before I start going down this rabbit hole? submitted by /u/user257 (https://www.reddit.com/user/user257)
[link] (https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/) [comments] (https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/)
___________________________
@hacking_Attack
@Hacking_Video
https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/
So I've been tasked with staging a brute force attack via rdp in powershell with no dependencies on external files. Essentially just running through a list of login names and random passwords. This is to test the functionality and response of our current SentinelOne implementation and verify it works as expected. Any ideas on this before I start going down this rabbit hole? submitted by /u/user257 (https://www.reddit.com/user/user257)
[link] (https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/) [comments] (https://www.reddit.com/r/Pentesting/comments/po2xx9/powershell_brute_force_attack_via_rdp/)
___________________________
@hacking_Attack
@Hacking_Video
reddit
Powershell brute force attack via rdp
So I've been tasked with staging a brute force attack via rdp in powershell with no dependencies on external files. Essentially just running...
Deep Web
The Difference Between These 2 Subreddits
I was wondering whats the difference between this subreddit (r/deepweb) and the subreddit r/onions ?
submitted by /u/TheToxicNinja20
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
The Difference Between These 2 Subreddits
I was wondering whats the difference between this subreddit (r/deepweb) and the subreddit r/onions ?
submitted by /u/TheToxicNinja20
[link] [comments]
___________________________
@hacking_Attack
@Hacking_Video
reddit
The Difference Between These 2 Subreddits
I was wondering whats the difference between this subreddit ([**r/deepweb**](https://www.reddit.com/r/deepweb/)**) and the subreddit** r/onions **?**
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!targetedKerberoast - Kerberoast With ACL Abuse Capabilities
targetedKerberoast is a Python script that can, like many others (e.g. GetUserSPNs.py), print "kerberoast" hashes for user accounts that have a SPN set. This tool brings the following additional feature: for each user without SPNs, it tries to set one (abuse of a write permission on the
More information about this attack
* The Hacker Recipes - Kerberoast
* The Hacker Recipes - Targeted Kerberoasting
Usage
This tool supports the following authentications
* (NTLM) Cleartext password
* (NTLM) Pass-the-hash
* (Kerberos) Cleartext password
* (Kerberos) Pass-the-key / Overpass-the-hash
* (Kerberos) Pass-the-cache (type of Pass-the-ticket)
Among other things, targetedKerberoast supports multi-level verbosity, just append
Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) ">
Below is an example what the tool can do.
Credits and references
Credits to the [...]
___________________________
@hacking_Attack
@Hacking_Video
targetedKerberoast is a Python script that can, like many others (e.g. GetUserSPNs.py), print "kerberoast" hashes for user accounts that have a SPN set. This tool brings the following additional feature: for each user without SPNs, it tries to set one (abuse of a write permission on the
servicePrincipalNameattribute), print the "kerberoast" hash, and delete the temporary SPN set for that operation. This is called targeted Kerberoasting. This tool can be used against all users of a domain, or supplied in a list, or one user supplied in the CLI.More information about this attack
* The Hacker Recipes - Kerberoast
* The Hacker Recipes - Targeted Kerberoasting
Usage
This tool supports the following authentications
* (NTLM) Cleartext password
* (NTLM) Pass-the-hash
* (Kerberos) Cleartext password
* (Kerberos) Pass-the-key / Overpass-the-hash
* (Kerberos) Pass-the-cache (type of Pass-the-ticket)
Among other things, targetedKerberoast supports multi-level verbosity, just append
-v, -vv, ... to the command :)Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line --no-pass don't ask for password (useful for -k) -p PASSWORD, --password PASSWORD password to authenticate with -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH NT/LM hashes, format is LMhash:NThash --aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits) ">
usage: targetedKerberoast.py [-h] [-v] [-q] [-D TARGET_DOMAIN] [-U USERS_FILE] [--request-user username] [-o OUTPUT_FILE] [--use-ldaps] [--only-abuse] [--no-abuse] [--dc-ip ip address] [-d DOMAIN] [-u USER]
[-k] [--no-pass | -p PASSWORD | -H [LMHASH:]NTHASH | --aes-key hex key]
Queries target domain for SPNs that are running under a user account and operate targeted Kerberoasting
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbosity level (-v for verbose, -vv for debug)
-q, --quiet show no information at all
-D TARGET_DOMAIN, --target-domain TARGET_DOMAIN
Domain to query/request if different than the domain of the user. Allows for Kerberoasting across trusts.
-U USERS_FILE, --users-file USERS_FILE
File with user per line to test
--request-user username
Requests TGS for the SPN associated to the user specified (just the username, no domain needed)
-o OUTPUT_FILE, --output-file OUTPUT_FILE
Output filename to write ciphers in JtR/hashcat format
--use-ldaps Use LDAPS instead of LDAP
--only-abuse Ignore accounts that already have an SPN and focus on targeted Kerberoasting
--no-abuse Don't attempt targeted Kerberoasting
authentication & connection:
--dc-ip ip address IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter
-d DOMAIN, --domain DOMAIN
(FQDN) domain to authenticate to
-u USER, --user USER user to authenticate with
secrets:
-k, --kerberos Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameter s. If valid credentials cannot be found, it will use the ones specified in the
command line
--no-pass don't ask for password (useful for -k)
-p PASSWORD, --password PASSWORD
password to authenticate with
-H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH
NT/LM hashes, format is LMhash:NThash
--aes-key hex key AES key to use for Kerberos Authentication (128 or 256 bits)
Below is an example what the tool can do.
Credits and references
Credits to the [...]
___________________________
@hacking_Attack
@Hacking_Video