CobblePot59 / ADcheck

Assess the security of your Active Directory with few or all privileges.
GNU General Public License v3.0
190 stars 22 forks source link

ADcheck

Assess the security of your Active Directory with few or all privileges. This tool offers functionalities similar to PingCastle, ORADAD, or even PurpleKnight (with some bonuses).

ADcheck is developed in pure Python to bypass operating system constraints.

Although textual, a simple color scheme is used to navigate through the returned information (🔴 red for really bad, 🟢 green for okay, ⚪ white for purely informative). A sample report is available here.

[!NOTE] At present, this tool has 79 checks and more are to come (see the TODO).

The collected information includes :

Usage

[!WARNING]
Currently, this tool is more geared towards penetration testers than auditors. If you intend to use it on Windows, it's necessary to exclude the project from the antivirus or Endpoint Detection and Response solution, as it utilizes Impacket, which is detected by these systems.

Option 1: Using pipx

  1. Install the python pipx package manager :

    python -m pip install pipx
  2. Add it to the PATH :

    pipx ensurepath
  3. Install ADcheck project :

    pipx install git+https://github.com/CobblePot59/ADcheck.git
  4. Run ADcheck, specifying the necessary parameters :

    ADcheck -d 'adcheck.int' -u 'Administrator' -p 'Password1' --dc-ip '192.168.1.1'

    Option 2: Using poetry

  5. Download ADcheck project :

    git clone https://github.com/CobblePot59/ADcheck.git
  6. Go to ADcheck project :

    cd ADcheck
  7. Install poetry the python dependency manager :

    python -m pip install poetry
  8. Install ADcheck project dependencies :

    poetry install
  9. Run ADcheck, specifying the necessary parameters :

    poetry run adcheck -d 'adcheck.int' -u 'Administrator' -p 'Password1' --dc-ip '192.168.1.1'

ADcheck.gif

TODO