Skip to content

mdAqibb/attach-chain-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Attack Chain Framework

CLI-based penetration testing framework for modeling, visualizing, and reporting OWASP Top 10 attack chains.

Python Status License

Overview

The Attack Chain Framework is a CLI tool built for web application penetration testers and security researchers. It models real-world attack scenarios by chaining OWASP Top 10 vulnerabilities together, maps them to the cyber kill chain, and generates automated Markdown reports with Graphviz visualizations.

Built as a team project by cybersecurity students, this tool bridges the gap between vulnerability discovery and structured reporting.

Features

  • 🧠 Attack Chain Modeling — Graph-theory-based vulnerability chaining using NetworkX
  • ⚔️ Kill Chain Mapping — Maps attack steps to Lockheed Martin Cyber Kill Chain phases
  • 📊 Graphviz Visualization — Auto-generates visual attack path diagrams
  • 📝 Markdown Report Generation — One-click professional pentest reports
  • 🖥️ Interactive CLI — Menu-driven interface with ASCII banner

Installation

git clone https://github.com/mdAqibb/attach-chain-framework.git
cd attach-chain-framework
pip install networkx graphviz

Make sure Graphviz is also installed on your system.

Usage

python main.py

# or load a vulnerability file directly:
python main.py --input vulnerabilities.json

Menu Options:

  1. Load vulnerability JSON file
  2. Build attack chain
  3. Visualize attack chain
  4. Generate report
  5. Exit

Vulnerability File Format

[
  {"name": "SQL Injection", "severity": "Critical", "cvss": 9.8},
  {"name": "Broken Authentication", "severity": "High", "cvss": 7.5},
  {"name": "XSS", "severity": "Medium", "cvss": 6.1}
]

Output

File Description
output/attack_chain.png Visual attack chain graph
output/report.md Full penetration testing report

Tech Stack

Component Technology
Language Python 3.8+
Graph Engine NetworkX
Visualization Graphviz
Report Format Markdown

Author

Mohammed Aqib & Team
LinkedInGitHub


⚠️ Built for educational purposes and authorized penetration testing only. Always obtain written permission before testing any system.

About

CLI framework for modeling & visualizing OWASP Top 10 attack chains with kill-chain mapping and automated report generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages