Coder Social home page Coder Social logo

gabrielduschl / automated-cme-password-spraying Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 2.0 108 KB

A script designed to test passwords against user accounts within an Active Directory environment, offering customizable Account Lockout Threshold and a Reset Account Lockout Counter.

Home Page: https://gabrielduschl.com/

License: MIT License

Python 100.00%
activedirectory crackmapexec cybersecurity it-security password password-security password-spray password-spraying passwordspraying penetration-test

automated-cme-password-spraying's Introduction

Automated CME Password Spraying

Python Version License Last Commit Maintenance Developed on

Banner

Overview

Automated CME Password Spraying is a Python script designed for efficient and targeted password spraying attacks using CrackMapExec (CME). It allows to automate the process of testing a list of passwords against a large number of users in a Windows Active Directory environment. After the Threshold is reached, a Reset Account Lockout counter is started. When this timer expires, the script continues. This script is intended for legitimate testing purposes only and should not be used for any illegal activities or unauthorized access.

Features

  • Password spraying against user accounts in a Windows Active Directory.
  • Efficient use of CrackMapExec for password spraying attacks.
  • Automated handling of user and password lists.
  • Adjustable Lockout Threshold and Lockout Reset Timer.
  • Clear reporting of successful password matches.

Prerequisites

  • Python 3.6 or higher
  • CrackMapExec tool installed

Usage

  1. Clone this repository: git clone https://github.com/GabrielDuschl/Automated-CME-Password-Spraying.git
  2. Navigate to the repository: cd Automated-CME-Password-Spraying
  3. Set it as executable: chmod +x CME-Password-Spraying.py
  4. Run the script: python3 CME-Password-Spraying.py

Configuration

  • --user or -u: File containing user IDs.
  • --password or -p: File containing passwords to be tested.
  • --threshold or -t: Account Lockout Threshold (default: 5).
  • --lockout or -l: Reset Account Lockout Counter in minutes (default: 15).
  • --domain or -d: Domain name for testing.
  • --pass-length or -pl: Minimum password length.

Example

python3 CME-Password-Spraying.py -u users.txt -p passwords.txt -t 3 -l 10 -d example.com -pl 8

License

This project is licensed under the MIT License. See LICENSE file for details.

Contact

For any questions or feedback, feel free to reach out:

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.