AAPP-MART

About
AAPP‑MART (AI-Powered Autonomous Attack Path Prediction & Multi‑Agent Red Team Simulation Engine) is a cybersecurity engine designed for breach and attack simulation (BAS), adversary emulation, security validation, threat modeling, and risk assessment.
AAPP-MART is designed to analyze available security and environment data, model potential attack paths, and support controlled simulation workflows. Its capabilities and results depend on the implemented components, configuration, and input data. Simulated outcomes do not confirm real-world exploitability or compromise.
The project provides an extensible foundation for authorized security assessment, threat modeling, risk analysis, and security research. It complements-not replaces-vulnerability scanners, compliance assessments, and human-led red or purple team exercises.
Why AAPP-MART?
AAPP-MART combines AI-powered attack path prediction, multi-agent red team simulation, attack graph analysis, and risk-based security assessment in a single cybersecurity engine. Instead of treating vulnerabilities and security findings as isolated events, AAPP-MART analyzes how weaknesses, assets, identities, network relationships, and adversarial techniques can combine to form realistic attack paths.
AAPP analyzes available security and environment data to identify potential attack paths using the methods supported by the implementation. MART models selected adversary activities through supported simulation workflows. Analysis and simulation results depend on the available data and implemented capabilities; they do not confirm real-world exploitability or compromise.
Use Cases
- AI-Powered Autonomous Attack Path Prediction (AAPP)
- Multi-Agent Red Team Simulation (MART)
- Attack Surface & Lateral Movement Modeling
- MITRE ATT&CK Aligned Threat Simulation
- Vulnerability Prioritization & Risk Scoring
- Continuous Security Assessment
- Attack Simulation Research
How it Works
AI-Powered Autonomous Attack Path Prediction (AAPP)
Analyzes available asset, vulnerability, permission, and relationship data to identify and prioritize potential attack paths. Results depend on the input data and implemented analysis methods; they do not by themselves confirm that a path is exploitable.
Multi-Agent Red Team Simulation (MART)
Coordinates the simulation workflows and agent capabilities supported by the current implementation. These workflows model selected adversary activities; simulated outcomes should not be interpreted as evidence of real compromise.
Core Orchestration Engine
Coordinates analysis and simulation workflows, manages simulation state, and produces structured results and reports. The available capabilities depend on the implemented modules and configuration.
Legal & Authorized Use
AAPP-MART is intended solely for offensive security, adversary emulation, security validation, threat modeling, and risk assessment within environments where explicit permission has been granted.
Users are fully responsible for ensuring compliance with all applicable laws, regulations, and organizational policies when operating this system.
Unauthorized use of this system is strictly prohibited and may violate applicable laws and regulations.
See Ethics & Responsible Use Guidelines for details.
Who is this for
- CISOs, InfoSec managers, and executive stakeholders seeking actionable security intelligence
- Security, engineering, and risk teams aiming to proactively assess and improve cyber resilience
- Internal/External red and purple teams requiring realistic, repeatable adversary emulation
- Organizations subject to regulatory or compliance mandates (MITRE ATT&CK, NIST, CIS, PCI DSS, ISO 27001, etc.)
Features
- AI-Powered Autonomous Attack Path Prediction (AAPP)
- Multi-Agent Red Team Simulation (MART)
- Core Orchestration Engine
- Graph-Based Attack Path Modeling
- MITRE ATT&CK-Aligned Adversary Behavior
- Risk-Based Security Posture Analysis
- ML-Assisted Vulnerability Prioritization
For full details, refer to the Features file.
Demo
Usage
python demo/aapp_mart.py --target 10.10.20.15
Output
=== AAPP-MART - AI-Powered Autonomous Attack Path Prediction & Multi-Agent Red Team Simulation Engine Demo ===
[*] Simulation Started...
[*] Initial Entry Point: 10.10.20.15 (WORKSTATION-01, Linux)
[+] [Agent-Recon ] Reconnaissance | MITRE: T1595 | CVE: N/A | Severity: LOW | Status: SUCCESS | Active scanning detected on (10.10.20.15)
[+] [Agent-Access ] Initial Access | MITRE: T1078 | CVE: N/A | Severity: HIGH | Status: SUCCESS | Valid account abuse
[+] [Agent-Exploitation] Privilege Escalation | MITRE: T1068 | CVE: CVE-2024-1086 | Severity: CRITICAL | Status: SUCCESS | Kernel privilege escalation simulated
[+] [Agent-Pivot ] Lateral Movement | MITRE: T1021 | CVE: N/A | Severity: HIGH | Status: SUCCESS | Remote service pivoting to (10.10.20.45)
[+] [Agent-Collection ] Collection | MITRE: T1005 | CVE: N/A | Severity: CRITICAL | Status: SUCCESS | Backup data discovery and collection on (10.10.20.25)
[✓] Simulation Completed Successfully
=== COMPREHENSIVE RISK SUMMARY ===
[*] Target IP (Initial Entry Point) : 10.10.20.15 (WORKSTATION-01)
[*] Risk Score : 8.32/10 (HIGH)
[*] Summary : DC (10.10.20.45) breached via Workstation (10.10.20.15) kernel privilege escalation using CVE-2024-1086. Backup Server (10.10.20.25) compromise.
[*] Duration : 2.50s
[*] Simulated Step Count : 5 Stages
[*] Affected Assets : 4 Systems (3 Compromised, 1 Isolated, 0 Blocked)
[*] Started At : 2026-12-31T23:59:42.114Z
[*] Generated At : 2026-12-31T23:59:45.329Z
--- Affected Critical Assets ---
[!] WORKSTATION-01 | IP: 10.10.20.15 | Type: Endpoint | Severity: HIGH | Status: Compromised | Detail: Initial Vector
[!] FILE-SERVER-01 | IP: 10.10.20.2 | Type: Storage | Severity: HIGH | Status: Isolated | Detail: Domain Admin Access
[!] DOMAIN-CONTROLLER-01 | IP: 10.10.20.45 | Type: Identity/AD | Severity: CRITICAL | Status: Compromised | Detail: Data Exfiltrated
[!] BACKUP-SERVER-01 | IP: 10.10.20.25 | Type: Backup Server | Severity: HIGH | Status: Compromised | Detail: Backup Access
=== REPORT EXPORT FORMAT ===
[1] JSON Report
[2] CSV Report
[3] JSON + CSV Report
Select Report Format [1-3]: 3
[+] JSON Report Exported: demo/logs/attack_path_10_10_20_15_20261231_235945.json
[+] CSV Report Exported: demo/logs/attack_path_10_10_20_15_20261231_235945.csv
This IP/hostname is an example target used for demonstration purposes only.
Installation
Supported Operating Systems
- Linux: Recommended for development, testing, and deployment
- Windows: Supported for development and testing with Visual Studio Code and WSL2
- macOS: Supported for local development and testing
Requirements
- Python 3.13+
- pip for Python dependency installation
- Make for repository automation and common development tasks
- Git for repository management
- Pytest for automated testing and validation
Optional Components
- Docker: Used for containerized labs, and testing.
For full details, refer to the Installation Guide file.
Quick Start
1. Clone & Setup
# Clone repository
git clone https://github.com/secwexen/aapp-mart.git
cd aapp-mart
# Create virtual environment
python -m venv .venv
# Activate virtual environment
source .venv/bin/activate # Linux/Mac
.\.venv\Scripts\Activate.ps1 # Windows
# Install AAPP-MART
python -m pip install .
# Install the development dependencies
python -m pip install -e ".[dev]"
2. Run the API
Start the local API server:
uvicorn aapp_mart.api.app:app --app-dir src --host 127.0.0.1 --port 8000
The API will be available at:
- Health Check:
http://127.0.0.1:8000/health
- Swagger UI:
http://127.0.0.1:8000/docs
- ReDoc:
http://127.0.0.1:8000/redoc
- OpenAPI Schema:
http://127.0.0.1:8000/openapi.json
The API binds to 127.0.0.1 by default and is accessible only from the local machine.
3. Run Tests
Run the full pytest suite:
python -m pytest -v
For full details, refer to the Quick Start file.
How to Use AAPP-MART
- Review the project documentation and deployment guidance.
- Run the demo to understand the expected workflow and outputs.
- Prepare an approved test target and valid input data.
- Execute the relevant command or module in a controlled environment.
- Review the generated report and validate the findings before using them operationally.
AAPP-MART is a security assessment and simulation tool. Outputs must be reviewed with human judgment and used only within the authorized scope of the assessment.
Documentation
License
Copyright © 2026 secwexen.
This project is licensed under the Apache-2.0 License.
See the LICENSE file for full details.
Contributing
Contributions and suggestions are welcome!
- Fork the repository and create a feature or fix branch (e.g.
feature/feature-name, fix/bug-name, docs/update-readme, chore/dependency-update).
- Make your changes and add relevant tests.
- Use clear commit messages (e.g. Conventional Commits:
feat:, fix:, docs:, refactor:).
- Ensure all tests pass (
pytest) and code style checks (e.g. make lint).
- Open a pull request referencing related issues when possible.
- All PRs must pass CI checks before merging.
Please open an issue before submitting major changes or new features.
See Contributing Guidelines for detailed contribution guidelines.
Roadmap
Planned improvements for the AAPP-MART Community Edition include:
- Improved attack-path analysis and prioritization
- Enhanced risk assessment and vulnerability analysis
- Improved CLI usability and input validation
- More consistent JSON and CSV reporting
- Better performance, reliability, and simulation reproducibility
- Improved CVE data handling and MITRE ATT&CK mapping coverage
These items represent planned improvements and may evolve as development progresses.
For the full roadmap and upcoming features, see Roadmap.
- GitHub Issues - Report bugs or request features
- Contributing - Submit improvements
Security
If you discover a security vulnerability, please follow our responsible disclosure process.
See Security Policy for instructions on reporting issues securely.
评论