Giter Site home page Giter Site logo

sr882915 / activedirectoryattacktool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-viper-one/activedirectoryattacktool

0.0 0.0 0.0 175 KB

ADAT is a small tool used to assist CTF players and Penetration testers with easy commands to run against an Active Directory Domain Controller. This tool is is best utilized using a set of known credentials against the host.

Shell 100.00%

activedirectoryattacktool's Introduction

ActiveDirectoryAttackTool

ActiveDirectoryAttackTool (ADAT) tool is used to assist CTF players and Penetration testers with helpful commands to run against an Active Directory Domain Controller. This tool is best utilized using a set of known working credentials against the host.

Usage: General

Standard usage

bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d Security.local

Usage with LDAP base search

bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d Security.local -l "DC=Security,DC=Local"

Usage with GitHub for script repositories (Target system has internet access)

bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d Security.local

Usage: Systems with no internet access

If the system you are testing has no internet access or is a CTF machine, ADAT will download the required GitHub repositories to your attacking system. Ensure you specify the -L parameter and set both the LocalIP and LocalPort variables within the script to that of your attacking system.

bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d Security.local -L

ADAT will run a http python3 server on the attacking system using the LocalIP and LocalPort parameters.


Usage: Standalone Windows Systems

Usage for non domain joined systems, whilst not officially supported by ADAT, many of the commands can be run against a standalone Windows system.

bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d . -L
bash ADAT.sh -u ViperOne -p Password123 -t 10.10.10.100 -d WORKGROUP -L

Usage: Null Mode

Null mode is useful for when you do not have any valid usernames or credentials to run against the target Domain Controller.

bash ADAT.sh -t 10.10.10.100 -d Security.local -N

Supported Protocols

Some of the protocols ADAT prints out commands for:

  • DNS
  • Kerberos
  • LDAP
  • MSSQL
  • NTP
  • RDP
  • SMB
  • WinRM

Supported Tools

Some of the tools ADAT prints out commands for:

  • BloodHound
  • Crackmapexec (Including modules and PowerShell commands)
  • Impacket toolset
  • Metasploit
  • Nmap
  • ldapdomaindump
  • ldapsearch
  • pywerview
  • xfreerdp

ADAT produces commands for both external and internal usage.

Examples

image image

image image

OSCP

ADAT is OSCP friendly, the commands it prints out might not be. Please be cautious about what commands and scripts invoke before running in an exam environment.

Disclaimer

The resulting commands printed by ADAT should only be used within an authorized envionment. The author is not responsible for any damages caused.

activedirectoryattacktool's People

Contributors

the-viper-one avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.