Skip to content

About

Advanced Automation Toolkit for ethical hackers and bug bounty hunters

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

56 Commits

Folders and files

Repository files navigation

DARKWIN β€” Advanced Automated Attack Toolkit (AATK)

⚠️ AUTHORIZED USE ONLY β€” Designed exclusively for authorized penetration testing, security assessments, ethical research, and scoped bug bounty programs. Unauthorized access or scanning without prior written consent is illegal.

Version 1.3.0 Python 3.10+ Docker Ready MIT License Author ARYAN AHIRWAR


πŸ“– Table of Contents


⚑ Overview

DARKWIN (AATK) is an enterprise-grade automated penetration testing and reconnaissance orchestration framework. It seamlessly integrates 30+ industry-standard offensive security tools (Nmap, Subfinder, Amass, Katana, Nuclei, Sqlmap, Ffuf, Dalfox, Metasploit, etc.) into unified, asynchronous, multi-stage attack pipelines with rich console telemetry, interactive HTML reporting, and an integrated real-time Web Dashboard.

# Reconnaissance & Perimeter Mapping
darkwin scan --target example.com --pipeline recon

# Full-Spectrum Vulnerability Assessment
darkwin scan --target example.com --pipeline full

# Bug Bounty Hunting Workflow
darkwin scan --target example.com --pipeline bugbounty

πŸš€ Quick Start

1. Automated Installation (Linux / Kali / Parrot / WSL2)

git clone https://github.com/VIPHACKER100/DarkWin-AATK.git
cd DarkWin-AATK

# Run automated bootstrap (installs dependencies, Go binaries, SecLists, & creates venv)
chmod +x scripts/*.sh
./scripts/setup.sh

# Activate virtual environment
source venv/bin/activate

# Verify installed external tools
darkwin list-tools

2. Manual Installation

python3 -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
pip install -e .
darkwin list-tools

πŸ“š Documentation Suite

Full technical guides, architectural blueprints, module specifications, and developer playbooks are available in the DOCS/ directory:

Guide Description
πŸ“‘ DOCS/README.md Documentation Index: Quick navigation and directory overview
πŸ“– DOCS/DOCUMENTATION.md Master Technical Specification: Comprehensive documentation of every function, feature, engine component, CLI command, configuration, and testing strategy
πŸ’» DOCS/CLI_GUIDE.md CLI Operator Playbook: Command syntax, parameter tables, real-world pentesting workflows, and troubleshooting
πŸ›οΈ DOCS/ARCHITECTURE.md System Architecture & Design: Concurrency model, lifecycle of a scan, target state machine, subprocess isolation, and telemetry protocol
πŸ“¦ DOCS/MODULES_CATALOG.md Security Modules Catalog: Detailed reference for all 50+ modules across all 10 categories, including external tools, commands, and generated artifacts
πŸ› οΈ DOCS/DEVELOPER_GUIDE.md Developer & Contributor Guide: Instructions for creating custom security modules, writing custom automation pipelines, using ToolRunner, and writing tests with mock fixtures

πŸ”„ Architecture & Pipelines

DARKWIN provides three purpose-built scanning pipelines:

Pipeline Key Stages Best For
recon Subdomain Enum β†’ DNS Resolution β†’ Reverse IP β†’ WHOIS/ASN β†’ Port Scan β†’ Web Probing Passive & active perimeter mapping, attack surface discovery
full Recon β†’ OSINT β†’ Web Crawling β†’ Vuln Assessment (XSS, SQLi, LFI, SSRF, RCE) β†’ Nuclei β†’ Network Audit β†’ HTML Report Comprehensive penetration testing & compliance audits
bugbounty Fast Recon β†’ Archive URL Mining β†’ Parameter Discovery β†’ High-Impact Vulns (XSS/SQLi/SSRF) β†’ S3 & Cloud Exposure Bug bounty hunting and high-signal vulnerability identification

πŸ›‘οΈ Security Capabilities & Modules

DARKWIN includes over 50 modular capabilities organized across 10 functional domains:

Category Modules External Binaries & Libraries
Reconnaissance Subdomain discovery, DNS brute, Reverse IP, WHOIS, ASN lookup, GitHub dorking, S3 bucket enumeration subfinder, assetfinder, amass, puredns, massdns
OSINT Email harvesting, document metadata extraction, social media enumeration, credential breach lookups theHarvester, exiftool, Hunter.io, HIBP APIs
Cloud Security Cloud storage & asset enumeration across AWS, GCP, and Azure cloud_enum, AWS S3 API
Web Discovery Archive URL harvesting, deep crawling, JavaScript static analysis, hidden parameter extraction katana, gau, waybackurls, arjun, gospider
Network & Services Port scanning, service versioning, SMB auditing, anonymous FTP checks, SSH cipher analysis nmap, masscan, smbclient, enum4linux
Vulnerabilities Reflected & DOM XSS, Error & Blind SQLi, LFI/Path Traversal, SSRF, RCE, CSRF, IDOR nuclei, dalfox, sqlmap, custom heuristic engines
Fuzzing High-speed directory fuzzing, REST/GraphQL API fuzzing, query parameter fuzzing ffuf, gobuster
Exploitation Exploit-DB matching, Metasploit RPC execution, multi-format payload generation searchsploit, pymetasploit3, msfconsole, msfvenom
Post-Exploitation Privilege escalation auditing, credential testing, persistence checks LinPEAS, WinPEAS, Impacket
Reporting Severity aggregation, finding correlation, executive Jinja2 HTML and structured JSON generation Jinja2, rich, ReportBuilder

πŸ’» CLI Reference

1. scan β€” Execute Automated Pipeline

darkwin scan --target <DOMAIN_OR_IP> [OPTIONS]
  • -t, --target TEXT (Required): Target domain, IP address, or URL.
  • -p, --pipeline [recon|full|bugbounty] (Default: recon): Pipeline to execute.
  • -o, --output-dir PATH (Default: ./results): Output directory for scan artifacts.
  • -c, --config PATH: Optional path to custom YAML config.
  • -v, --verbose: Enable debug logging.

2. run-module β€” Execute Single Module

darkwin run-module --target <TARGET> --module <MODULE_NAME> [OPTIONS]
  • -t, --target TEXT (Required): Target host or domain.
  • -m, --module TEXT (Required): Dot-notated module name (e.g. recon.subdomain_enum, network.port_scanner).
  • -a, --args TEXT: JSON dictionary of module-specific parameters.
  • -o, --output-dir PATH: Target output directory.

3. list-tools β€” Environment Audit

darkwin list-tools

Scans system $PATH and displays a color-coded status table indicating whether required external binaries are installed.

4. dashboard β€” Launch Web Management Console

darkwin dashboard --host 127.0.0.1 --port 5000

Launches the Flask & Socket.IO real-time telemetry server.


πŸ–₯️ Web Dashboard

DARKWIN features a real-time web portal powered by Flask and Socket.IO:

  • Launch Backend:
    darkwin dashboard --host 127.0.0.1 --port 5000
  • Optional Frontend Dev Server (Next.js):
    cd dashboard/frontend && npm run dev

Dashboard Features:

  • Scan Management: Launch, pause, or abort pipeline scans from the UI.
  • Live Terminal Telemetry: Real-time stdout/stderr stream from background tools via WebSockets.
  • Interactive Report Viewer: Embedded HTML reports with severity metrics and vulnerability breakdown.
  • Tool Health Monitor: Live status indicators for all registered external security binaries.

🐳 Docker Deployment

Run DARKWIN in an isolated container with all tools pre-configured:

# Build the Docker image
docker build -t darkwin-aatk .

# Run a scan with results saved to your host machine
docker run --rm -v $(pwd)/results:/app/results darkwin-aatk scan --target example.com --pipeline recon

πŸ§ͺ Testing Suite

DARKWIN includes an extensive Pytest suite covering both unit and integration tests:

# Run all tests
pytest -v

# Run unit tests only
pytest tests/unit/ -v

# Run integration tests only
pytest tests/integration/ -v

πŸ“ Directory Layout

DarkWin-AATK/
|-- pyproject.toml              # Project metadata, dependencies, CLI entrypoint
|-- Dockerfile                  # Containerized deployment specification
|-- README.md                   # Project overview & quick start
|-- DOCS/                       # Comprehensive documentation suite
|   |-- README.md               # Documentation suite index
|   |-- DOCUMENTATION.md        # Master technical reference
|   |-- CLI_GUIDE.md            # Operator playbook & workflow guide
|   |-- ARCHITECTURE.md         # System design & lifecycle specifications
|   |-- MODULES_CATALOG.md      # 50+ module reference catalog
|   `-- DEVELOPER_GUIDE.md      # Plugin & pipeline developer guide
|-- automation/                 # Pipeline orchestration logic
|   |-- recon_pipeline.py       # High-speed recon pipeline
|   |-- full_scan_pipeline.py   # Comprehensive multi-vector scan pipeline
|   `-- bug_bounty_pipeline.py  # Bug-bounty-optimized pipeline
|-- core/                       # Foundational orchestration framework
|   |-- darkwin.py              # Click CLI entrypoint
|   |-- engine.py               # DarkWinEngine controller
|   |-- pipeline.py             # Pipeline task runner & DSL
|   |-- target.py               # Target normalization & artifact tree manager
|   |-- tool_runner.py          # Subprocess wrapper with timeout & streaming
|   |-- tool_loader.py          # Binary discovery across $PATH
|   |-- config_loader.py        # YAML configuration loader
|   |-- progress.py             # Event listener interfaces
|   |-- console_progress.py     # Rich terminal spinners and tables
|   |-- logger.py               # Loguru structured logging
|   `-- config.yaml             # System defaults, timeouts, wordlists
|-- dashboard/                  # Management portal
|   |-- backend/app.py          # Flask + Socket.IO REST & WebSocket API
|   `-- frontend/               # Next.js web application
|-- modules/                    # Offensive capability libraries (50+ modules)
|   |-- recon/                  # Subdomains, DNS, WHOIS, ASN, GitHub, S3
|   |-- osint/                  # Emails, metadata, social media, breaches
|   |-- cloud/                  # AWS, Azure, GCP storage audits
|   |-- web/                    # Crawling, JS parsing, parameter discovery
|   |-- network/                # Port scanning, service versioning, SMB, FTP, SSH
|   |-- vulnerabilities/        # XSS, SQLi, LFI, SSRF, RCE, CSRF, IDOR
|   |-- fuzzing/                # Directory, API, and parameter fuzzing
|   |-- exploitation/           # Exploit-DB, Metasploit RPC, payload gen
|   |-- post_exploitation/      # LinPEAS/WinPEAS, lateral movement, persistence
|   `-- reporting/              # ReportBuilder and Jinja2 HTML generator
|-- templates/                  # Jinja2 HTML report templates
|-- scripts/                    # Bootstrap and installation shell scripts
`-- tests/                      # Pytest unit and integration test suite

βš–οΈ Legal Disclaimer & License

Disclaimer

This software is provided for educational and authorized security testing purposes only. Scanning or attempting to compromise targets without prior explicit written authorization from the target owner is strictly illegal under local, federal, and international law. The developers and contributors assume no liability for misuse, damages, or legal consequences resulting from the use of this toolkit.

License

Released under the MIT License.
Copyright Β© 2026 ARYAN AHIRWAR (VIPHACKER.100). All rights reserved.

About

Advanced Automation Toolkit for ethical hackers and bug bounty hunters

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages