Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent389 Banner

Version License Python Platform

Agent389

Agent389 is a professional, high-fidelity LDAP injection and enumeration engine designed for autonomous vulnerability research and exploitation. Inspired by the precision and lethality of tactical operations, Agent389 implements a multi-signal detection pipeline to uncover deep-seated directory service flaws while maintaining full operational stealth.


Tactical Overview

Agent389 addresses the complexity of modern LDAP-backed web applications by implementing an advanced detection pipeline. Unlike traditional scanners, Agent389 correlates timing differentials, boolean response shifts, and out-of-band signals to build a deterministic proof of vulnerability.

Key Capabilities

  • Autonomous Parameter Discovery: Intelligent crawler that identifies hidden input vectors, including JSON keys, form fields, and URI fragments.
  • Polymorphic WAF Evasion: Real-time mutation of injection strings to bypass signature-based and heuristic filtering layers.
  • Three-Stage Verification: Automated proof-of-concept generation that confirms exploitability through differential analysis.
  • Directory Schema Fingerprinting: Passive and active probing to identify backend directory types (Active Directory, OpenLDAP, 389 Directory Server).
  • Adaptive Rate Control: Dynamic request throttling to ensure target stability and bypass rate-limiting defenses.

Technical Specifications

Agent389 is structured as a modular tactical suite, allowing for granular control over the scanning lifecycle:

Module Functional Responsibility
Engine Core orchestration of phase-based injection and state management.
Discovery Surface area mapping and recursive parameter identification.
Detection Multi-vector analysis pipeline (Timing, Boolean, Error, OOB).
Extraction High-speed data exfiltration engine for blind LDAP enumeration.
Intelligence Stateful memory system for payload optimization and WAF adaptation.

Operational Deployment

Initial Setup

To deploy Agent389 in your environment, utilize the integrated professional installer:

git clone https://github.com/project-hellhound-org/Agent389.git
cd Agent389
chmod +x install.sh
./install.sh

Usage Guide

Agent389 offers a comprehensive set of arguments to tailor your scan to specific target environments, from simple unauthenticated checks to stealthy, stateful WAF-bypassing operations.

Basic Execution

Run a standard tactical scan against a target environment:

agent389 https://target-app.internal --threads 10 --budget 1000

Authentication & Session Management

To test authenticated endpoints, you can supply session credentials, cookies, or headers:

# Using raw cookies
agent389 https://target.com --cookies "session=abc123XYZ; user=admin"

# Using specific headers (e.g. Bearer Token)
agent389 https://target.com --headers "Authorization:Bearer token123"

# Using Form-based authentication (automatically fetches session)
agent389 https://target.com --auth-url https://target.com/login --auth-data "username=admin&password=Password123"

Risk & Intensity Control

Adjust the aggression and invasiveness of the scan:

# Risk Level 1: Passive/Error-based and Boolean checks only (Safe)
agent389 https://target.com --risk 1

# Risk Level 2 (Default): Includes timing-based differential analysis
agent389 https://target.com --risk 2

# Risk Level 3: Maximum aggression, allows Out-Of-Band (OOB) and Data Extraction
agent389 https://target.com --risk 3 --extract

Bypass & WAF Evasion

When encountering modern WAFs (Web Application Firewalls) or strict filtering:

# CDN Mode: Increases timing thresholds for environments behind Cloudflare/Akamai
agent389 https://target.com --cdn-mode

# Polymorphic WAF Bypass: Specify mutation depth for payload shifting
agent389 https://target.com --poly-depth 5

# Stateful Exploitation: Enable stateful attack chaining and deferred probing
agent389 https://target.com --stateful --state-delay 3.0

Complete Argument Reference

Flag Category Description
--auth-url, --auth-data Auth Provide URL and payload for automated form login
--cookies, --headers Auth Pass custom session tokens and HTTP headers
--endpoints FILE Scan Load a predefined list of target endpoints from JSON
--threads, --budget Scan Adjust concurrency and max request caps
--rate-limit RPS Scan Enforce a strict requests-per-second limit
--resume Scan Resume a halted scan from checkpoint.json
--risk {1,2,3} Config Set scan aggressiveness (1=Safe, 3=Aggressive)
--cdn-mode Config Adjust timing thresholds for latency/CDN jitter
--extract Config Enable blind LDAP attribute extraction
--stateful Evasion Exploit second-order injection vulnerabilities
--mutation-depth N Evasion Depth for chained payload mutation (default: 3)
--output-format Output Output findings format (json or sarif)
--findings FILE Output Customize the JSON handoff output filename
--audit FILE Output Save complete NDJSON audit trail

Contributors

  • Abinav3ac (Lead Contributor & Architect)

See the full list of Contributors.


Author & License

  • Author: Abinav3ac
  • License: Distributed under the GNU General Public License v3.0. See LICENSE for details.

Project Hellhound Tactical Unit

About

autonomous LDAP injection security toolkit designed for high-fidelity vulnerability discovery and exploitation. It implements advanced detection oracles, polymorphic bypass chains, and stateful memory tracking to uncover deep-seated LDAP flaws

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages