项目介绍

dn9uy3n/Modern-Red-Team-Infrastructure 是一个托管在 GitHub 上的开源项目,目前获得 328 个 Star、34 次 Fork。

仓库全名
dn9uy3n/Modern-Red-Team-Infrastructure
Star 数
328
Fork 数
34

README 摘要

Modern Red Team Infrastructure A comprehensive modern architecture model is proposed to integrate platform solutions and tooling to support a professional Red Team. Report & Document This includes referenced documents, workflows, report templates, and tools to support Red Team campaigns in particular and Red Team operations in general. Reference|Description| Red Team GitLab Handbook|GitLab's open-source Red Team…

完整内容见 GitHub 原始 README 或本页 。

常见问题

如何获取 Modern-Red-Team-Infrastructure 的源码?

可以直接克隆仓库:git clone https://github.com/dn9uy3n/Modern-Red-Team-Infrastructure.git,默认分支为 main;安装与运行步骤见仓库 README。

Modern-Red-Team-Infrastructure 最近还在维护吗?

仓库最近一次更新为 1 周前,当前没有未关闭的 Issue;Star 数为 328,可作为社区活跃度的参考。

关于

A comprehensive modern architecture model is proposed to integrate platform solutions and tooling to support a professional Red Team.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

README

Modern Red Team Infrastructure

A comprehensive modern architecture model is proposed to integrate platform solutions and tooling to support a professional Red Team.

Red Team Infrastructure

Report & Document

This includes referenced documents, workflows, report templates, and tools to support Red Team campaigns in particular and Red Team operations in general.

Reference Description
Red Team GitLab Handbook GitLab’s open-source Red Team operations handbook covering methodology, processes, tooling, and best practices for conducting enterprise-level adversarial engagements.
IBM Red teaming IBM’s overview of red teaming methodology, adversary simulation approaches, and how organizations can leverage offensive security testing to strengthen defenses.
Red Team Community-driven platform aggregating red team tools, techniques, resources, and knowledge sharing for offensive security professionals.
VECTR Adversary emulation and purple teaming platform by Security Risk Advisors for planning, executing, and tracking red team campaigns — maps TTPs to MITRE ATT&CK, documents detection coverage, and measures security posture improvements over time.

RedTeam

Recommended certifications to comprehensively enhance the skills of Red Team members.

Certificates/Courses Description
Red Team Ops I & II In-depth hands-on course teaching advanced adversary simulation using Cobalt Strike, covering OPSEC-safe tradecraft, lateral movement, privilege escalation, and evasion techniques.
BOF Development & Tradecraft Specialized course teaching Beacon Object File (BOF) development for Cobalt Strike, enabling custom in-memory capabilities without dropping artifacts to disk.
OSCP+ OffSec’s foundational penetration testing certification teaching practical exploitation, enumeration, privilege escalation, and report writing through hands-on lab environment.
OSEP Advanced evasion techniques and breaching defenses certification covering AV/EDR bypass, lateral movement in hardened environments, and custom payload development.
OSWE Advanced web application security certification focusing on white-box code review, exploiting custom web applications, and developing proof-of-concept exploits.
OSED Windows exploit development certification teaching buffer overflows, shellcoding, reverse engineering, and advanced exploitation techniques on x86 and x64 architectures.
OSEE Expert-level exploit development course covering advanced Windows internals, kernel exploitation, sandbox escapes, and cutting-edge offensive research techniques.
Malware Development Course Comprehensive course teaching malware creation from scratch using C/C++, covering process injection, EDR evasion, custom loaders, shellcode execution, and obfuscation.
Ransomware Internals, Simulation & Detection Course Deep dive into ransomware mechanics, encryption techniques, propagation methods, and how to safely simulate ransomware operations for red team exercises.
Offensive Phishing Operations Course Practical course on planning and executing sophisticated phishing campaigns, including infrastructure setup, payload development, and credential harvesting techniques.
Modern Initial Access and Evasion Tactics Course covering contemporary initial access vectors, living-off-the-land techniques, AMSI/ETW bypasses, and blending into target environments undetected.
Red Teaming (TryHackMe) Interactive learning path covering red team fundamentals, network exploitation, Active Directory attacks, C2 frameworks, and adversarial emulation methodologies.
Phishlet Developer Masterclass Hands-on course teaching how to create custom Evilginx phishlets for various web applications to bypass MFA through man-in-the-middle session hijacking.
EvilGoPhish Mastery Complete guide to deploying and operating EvilGoPhish combining GoPhish’s campaign management with Evilginx’s MFA bypass capabilities.
Evilginx Professional Masterclass Professional-level course on Evilginx deployment, infrastructure hardening, phishlet customization, and executing advanced credential harvesting operations.

AI Agent

AI agents are recommended to assist humans in the red team campaign deployment process. AI Agents can interact with other components via MCP. However, we must still emphasize the importance of human decision-making and accountability.

AI Agent/MCP App/Rules Description
Cursor AI-powered code editor that provides contextual code generation, intelligent autocomplete, and natural-language editing to accelerate exploit and tool development.
Claude Anthropic’s advanced AI assistant designed for safe, helpful, and reliable assistance, capable of code analysis, explanation, threat modeling, and documentation.
Windsurf AI coding assistant offering full-repository understanding, intelligent code completion, AI pair-programming chat, and enterprise-grade security to boost developer productivity.
Antigravity AI agent specialized in software development workflows, offering intelligent code completion, refactoring suggestions, and automated testing capabilities.
Continue.dev Open-source AI code assistant supporting multiple LLMs, providing autocomplete, code explanations, and customizable prompts directly within the IDE.
HexStrike AI Advanced MCP server that enables AI agents (Claude, GPT, Copilot, etc.) to autonomously run over 150 cybersecurity tools for automated pentesting, vulnerability discovery, bug‑bounty automation, and security research, bridging LLMs with real‑world offensive capabilities.
Cursor Best Practices Repository of best‑practice guidelines and rules for using Cursor to maximize code generation, refactoring, and automated testing efficiency.
awesome-cursorrules Curated collection of useful Cursor rules for code generation, refactoring, and testing.
Shannon Fully autonomous AI pentester that discovers real exploits in web applications, achieving a 96.15 % success rate on the hint‑free XBOW benchmark; it automates scanning, vulnerability identification, and exploit generation.
Darkmoon Open source (GPL-3.0) autonomous AI red team agent covering web, API, Active Directory and Kubernetes, usable as an MCP host for agent driven operations.
CS-MCP MCP server implementation for Cobalt Strike (based on version 4.12), providing a programmable interface to control Cobalt Strike via the MCP protocol for automation and AI‑agent integration.
Malicious Machine Learning Models - Moltroad Poisoned pretrained models. Subtle backdoors, gradient attacks, adversarial triggers. Deploy and watch systems compromise themselves. Perfect for supply chain infiltration.
raptor Raptor turns Claude Code into a general-purpose AI offensive/defensive security agent. By using Claude.md and creating rules, sub-agents, and skills, and orchestrating security tool usage, we configure the agent for adversarial thinking, and perform research or attack/defense operations.
ars0n-framework-v2 Modular bug bounty framework wrapping 50+ open-source security tools (Amass, Subfinder, Nuclei, Katana, sqlmap…) in Docker containers, enforcing a structured recon methodology with centralized scan data; ships an MCP server exposing 157 tools for AI-assisted recon, triage, and vulnerability scanning.
pentagi Fully autonomous AI Agents system capable of performing complex penetration testing tasks
strix Open-source autonomous AI pentesting agents that find and fix vulnerabilities — recon, exploitation, and real PoC validation with multi-agent orchestration; developer-first CLI, auto-fix patches, compliance-ready reports, and CI/CD integration (GitHub Actions). Runs locally with Docker plus your own LLM key, or via Strix Cloud.
dreadnode Dreadnode is a terminal-native platform for building, evaluating, and deploying offensive security agents.
claude-evidence AI-powered evidence capture and documentation framework for automated security testing and red team operations tracking.
Agentic-Bug-Hunter AI-powered bug bounty hunting toolkit covering recon → vulnerability discovery → validation (7-Question Gate) → submission-ready reporting for HackerOne, Bugcrowd, Intigriti, and Immunefi; works as a standalone CLI, Claude Code plugin, or MCP server with 9 specialized agents.
Pentest-Swarm-AI Open-source, self-hosted autonomous pentester built on a real swarm architecture — dozens of AI agents coordinate via a stigmergic blackboard to recon, classify, exploit, and report; chains attacks (BOLA/IDOR, JWT forgery, SSRF, SQLi, mass assignment) and proves vulnerabilities with captured evidence. Bring your own model (Claude, OpenAI-compatible, Ollama/LM Studio) and the ProjectDiscovery toolchain.
BreachWeave Multi-agent collaborative pentest architecture with Manager / Solver / Observer roles: the Manager orchestrates, parallel Solvers explore different attack paths, and an Observer supervises and corrects course; layered Idea/Memory state, context compression, and a dedicated pentest branch for authorized engagements (1st place, Tencent Cloud Intelligent Pentest Hackathon).
ARTEX Autonomous AI pentest orchestration system (Go + Next.js + PostgreSQL) with Planner/Worker agents, dual asset/exploration graphs for long engagements, and human-in-the-loop approval gates; bring your own LLM key (Claude, GPT, DeepSeek). Winner of Baidu’s agent+ challenge; original repo went closed-source — this is the community backup of the last open-source release.
CyberStrikeAI AI-native security operations platform in Go: Eino-powered agents with Deep/Plan-Execute/Supervisor multi-agent modes, graph workflows, 100+ curated tool recipes via MCP, RAG knowledge base, and governance features (RBAC, audit logs, human-in-the-loop approvals); includes built-in C2 and WebShell management for authorized operations.
PentestGPT Automated penetration testing agentic framework (USENIX Security 2024) — multi-stage pipeline (recon → exploit → walkthrough for CTF; asset discovery → vulnerability identification → report for pentests) that drives Claude Code or Codex autonomously; preserves the interactive human-in-the-loop legacy mode with a Pentesting Task Tree across many LLM providers.
Hermes Agent Self-improving general-purpose AI agent by Nous Research with a closed learning loop: creates and refines skills from experience, persistent cross-session memory, scheduled cron automations, subagent delegation, and a messaging gateway (Telegram, Discord, Slack…); works with any model/provider, runs locally or on remote terminal backends (SSH, Docker, Modal, Vercel Sandbox).
triad Engagement driver that chains two AI layers: Strix scans inside a Docker sandbox (no credentials), then Triad hands each finding into Cairn’s Fact/Intent graph as hints and intents for credentialled workers to exploit toward a stated goal; rules-of-engagement contracts, terminal dashboard (Rust TUI), progress telemetry, and report generation. Works standalone or as a Hermes plugin.

AI Model/LLM Server

LLM Server Description
OpenAI Leading AI research organization providing GPT models through API for natural language processing, code generation, and complex reasoning tasks.
huggingface Open platform hosting thousands of pre-trained models, datasets, and tools for NLP, computer vision, and machine learning experimentation.
DeepTeam Open-source AI red teaming framework (by Confident AI) for testing LLM applications against 40+ vulnerability types — jailbreaks, prompt injection, hallucination, bias, PII leakage — with automated attack generation and evaluation reports aligned to OWASP LLM Top 10 and NIST AI RMF.
PentestAgent All-in-one AI offensive security assistant with MCP architecture and RAG-based knowledge base; integrates 15+ security tools (Nmap, Metasploit, FFUF, SQLMap, Nuclei) via MCP servers, supports autonomous agent mode with pentesting task trees, predefined workflows, and markdown report generation.

Continuous Automated Red Team (CART)

“Continuous automated red teaming (CART) solutions enable organizations to continuously assess security posture in real time. CART solutions use automation to discover assets, prioritize vulnerabilities and conduct attacks using tools and exploits developed and maintained by industry experts.” - IBM Red teaming

CART Description
rengine Automated reconnaissance framework with GPT-powered vulnerability analysis, continuous monitoring, subdomain discovery, endpoint extraction, and comprehensive reporting.
bbot Recursive OSINT automation tool finding 20-50% more subdomains through AI/NLP-powered mutations, passive API enumeration, and intelligent DNS brute-forcing.
flowsint Self-hosted, graph-based OSINT investigation platform: explore relationships between domains, IPs, people, emails, and crypto wallets through automated enrichers (subdomain discovery, WHOIS, breach checks, Maigret username search) on a Neo4j graph with privacy-first local storage.
redamon An AI-powered agentic red team framework that automates offensive security operations, from reconnaissance to exploitation to post-exploitation, with zero human intervention.

Data Leak

Data Leak Description
Group-IB Search engine for identifying exposed databases, credentials, and sensitive information from historical breaches for threat intelligence and exposure assessment.
IntelX Search engine for identifying exposed databases, credentials, and sensitive information from historical breaches for threat intelligence and exposure assessment.
AK Log query Telegram channel for data leak notifications and exposed database intelligence.
Leak Radar Telegram bot providing real-time alerts on data leaks and exposed credentials from various sources.

Search Engine

Search Engine Description
Shodan Internet-wide scanner indexing exposed devices, services, and vulnerabilities across global IP space for attack surface discovery and threat intelligence.
ZoomEye Cyberspace search engine providing device fingerprinting, service detection, and vulnerability mapping across internet-connected systems.
Censys Internet scanning platform offering comprehensive visibility into exposed assets, certificates, and infrastructure for attack surface management.
ViewDNS.info Collection of DNS and networking tools providing reverse IP lookup, DNS records, port scanning, and historical DNS data.
DNSDumpster Free domain research tool for discovering DNS records, subdomains, and mapping organizational infrastructure through passive reconnaissance.
Sourcegraph Universal code search engine enabling rapid discovery of code patterns, vulnerabilities, and sensitive data across public and private repositories.
Hunter.io Email discovery and verification platform for finding corporate email addresses, patterns, and organizational contacts for social engineering research.

C2 Platform

C2 Platform Description
Cobalt Strike Industry-standard commercial C2 framework with malleable profiles, Beacon payload, post-exploitation modules, process injection, and team collaboration for red team operations.
BruteRatel Advanced C2 framework with userland hook removal, sleep masking, customizable communication channels, and superior EDR evasion designed for professional red teams.
Loki Lightweight open-source C2 framework emphasizing simplicity and OPSEC-safe design for covert command and control operations. “EDR/AV evasion can be achieved through implantation using a script-jack vulnerability in electron applications.”
Sliver Cross-platform open-source C2 by Bishop Fox supporting mTLS/WireGuard/HTTP/DNS, dynamic code generation, multiplayer mode, and compile-time obfuscation.
MythicAgents Collaborative multi-platform C2 with plug-and-play agent architecture, containerized microservices, flexible communication profiles, and browser-based team interface.
Havoc Modern open-source C2 alternative to Cobalt Strike featuring Demon agents, indirect syscalls, sleep obfuscation, and modular payload design for evasion.
Nimhawk Stealthy C2 framework written in Nim language offering native speed, small payload sizes, and cross-platform capabilities for red team engagements.
Specter Insight Commercial cross-platform .NET post-exploitation C2 framework for red team engagements and threat emulation; PowerShell implants with 167 built-in SpecterScripts, payload obfuscation pipelines, AMSI/logging bypass, and ELK integration with pre-built MITRE ATT&CK dashboards.
Adaptix C2 Open-source, extensible C2 framework with a cross-platform agent (Windows, Linux, macOS), HTTP/S listeners, GUI and console operator clients, .NET in-memory assembly execution, and a community extension ecosystem for custom agents and post-exploitation modules.
Sryxen “A platform developed by EvilByte focuses on exfiltrating data from victim endpoints and evading security controls.”
Rust Pulse C2
Bear C2 Bear C2 is a compilation of C2 scripts, payloads, and stagers used in simulated attacks by Russian APT groups
RTLC2 Red Team Lab Command and Control (RTLC2) is a C2 framework that provides a platform for red team operations.
ArachneC2 Advanced C2 framework with sophisticated command and control capabilities for red team operations.
AzaleaControl Commercial command & control platform for red team operations and authorized testing: HVNC/HRDP remote control, credential dumping (SAM, DPAPI, DCSync), AD enumeration, PsExec lateral movement, privilege escalation (kernel CVEs, potato suite), indirect syscalls for EDR evasion, ring-3 rootkit, Windows Defender/Tamper Protection bypass, SOCKS5 pivoting, and a builder with multiple output formats (shellcode, DLL, .lnk, .bat).

Facing-the-world

The isolation layer between the Red Team’s sensitive systems and the internet.

Facing-the-world Description
BounceBack Highly configurable malleable redirector with embedded WAF functionality — IP/ASN/User-Agent allowlists, malleable C2 profile validation, and domain fronting support to filter malicious traffic and shield C2 infrastructure.
C3 Custom Command and Control framework enabling creation of resilient, decentralized C2 channels through various interconnected relay mechanisms.
Drip Self-hosted tunneling solution for exposing local services to the internet through your own domain — unlimited tunnels and bandwidth, bearer-token access control, and per-tunnel QoS bandwidth limiting; useful for exposing redirector or phishing infrastructure without third-party tunneling services.
InfraGuard Infrastructure hardening and protection tool for securing red team facing-the-world components with advanced filtering and threat detection capabilities.

Phishing Platform

Phishing Platform Description
Evilginx Pro Commercial version of Evilginx offering advanced reverse-proxy phishing with session token stealing to bypass MFA, including premium support and additional features.
Evilginx 3.0 Open-source man-in-the-middle attack framework transparently proxying authentication flows to capture credentials and session cookies, defeating 2FA/MFA protections.
Gophish Open-source phishing simulation platform with campaign management, email template customization, landing pages, real-time analytics, and REST API for security awareness training.
EvilGoPhish Integration combining Gophish’s campaign management with Evilginx’s MFA bypass capabilities for sophisticated phishing simulations.
GitHubDeviceCodePhishing Phishing technique abusing GitHub’s OAuth device code flow: the target is lured into entering an attacker-supplied code on GitHub’s legitimate login page, granting the attacker’s application an access token to the victim’s account.
CamPhish Camera phishing tool that generates a malicious link; when the target opens it and grants camera permission, the tool silently captures snapshots from the victim’s device camera and collects basic device information.
SocialFish Open-source phishing framework for social engineering campaigns with credential harvesting and phishing page creation capabilities.

Legit Mail Server

Using Legit Mail servers helps us bypass some automatic email filters, preventing emails from being marked as suspicious or spam.

Legit Mail Server Description
GoDaddy Email Professional email hosting service providing legitimate SMTP infrastructure for phishing campaigns requiring reputable sender domains.
Mailgun Transactional email API service offering programmatic email delivery, tracking, and delivery optimization for large-scale phishing campaigns.
SendGrid Cloud-based email delivery platform with high deliverability rates, detailed analytics, and API access for automating phishing operations.

Beacon/Implant

These sample code snippets can be used to improve, customize, or even create new malware samples to suit the Red Team campaign.

Repo/Tool Description
Rust for malware Development Educational repository teaching Rust-based implant development leveraging memory safety, low-level control, and cross-compilation for modern red team operations.
ChromElevator (Chrome App-Bound Encryption Decryption) Tool for bypassing Chrome’s App-Bound Encryption to extract cookies, credentials, and sensitive data from Chromium-based browsers for post-exploitation.
EvilBytecode GitHub collection of malware development PoCs and offensive tooling written in Go, Rust and C++, demonstrating process injection, direct syscalls/NTAPI evasion, payload loaders, and various EDR bypass techniques.
OffensiveCpp Curated collection of C++ offensive security projects including process injection, EDR bypass, shellcode loaders, and exploitation techniques.
OffensiveGo Repository of offensive Golang projects for implant development, infrastructure tooling, and cross-platform exploitation utilities.
OffensiveRust Collection of Rust-based offensive security tools demonstrating system-level programming for malware development and post-exploitation.
SharpCollection Pre-compiled .NET assembly collection for red team operations including privilege escalation, lateral movement, and Active Directory exploitation.
UnProtect Comprehensive malware evasion techniques database documenting anti-analysis, anti-debugging, and EDR/AV bypass methods with classification and PoCs.
DumpChromeSecrets Tool for extracting Chrome’s App-Bound Encryption to extract cookies, credentials, and sensitive data from Chromium-based browsers for post-exploitation.
Malware Source Code Personal archive of Windows malware source code snippets and research write-ups (WINAPI-based payloads) maintained by the vx-underground administrator; educational resource pointing to the broader vx-underground source-code collection.
Crystal-Kit This repo is a technical and social experiment to explore whether replacing Cobalt Strike’s evasion primitives (Sleepmask/BeaconGate).
SysWhispers4 SysWhispers is a tool that generates position-independent shellcode that calls Windows API functions directly, bypassing user-mode hooks and improving EDR evasion.
CrossC2 generate CobaltStrike’s cross-platform payload
BinarySpy A tool for automatic patch shellcode into binary file to bypass AV.
Crystal-Grotto Sliver armory repository providing modular beacon and implant enhancements for advanced red team operations.
CloakBrowser Browser-based implant delivery and execution framework for seamless code execution within target environments.
OperatorsKit Collection of 40+ Beacon Object Files (BOFs) for Cobalt Strike and other C2 frameworks, covering enumeration (security products, exclusions, shares, Sysmon), defense evasion (Defender exclusions, firewall rules, DLL sideloading/hijacking), credential attacks (Kerberoasting, password spraying, NetNTLM capture), and injection (PoolParty via Windows Thread Pools).
Cuban-Eight WSL distro packager that wraps a Windows PE payload as a double-clickable .wsl file; on launch, Windows registers it as a Linux distro and the payload executes via WSL interop (binfmt_misc) with a minimal ~18KB rootfs and spoofable distro identity (Ubuntu, Kali, Debian…) for stealthy initial access.

Lab Environment

After developing a malware sample for the campaign, we need to assess its detectability using static signatures while ensuring that this sample is not recorded on the cloud systems of antivirus solutions.

Yara Rule Description
Elastic Protections Artifacts Elastic Protections Artifacts is a collection of Yara rules for detecting and identifying malicious artifacts in a lab environment.
Defender Yara Defender Yara is a collection of Yara rules for detecting and identifying malicious artifacts in a lab environment.

评论

暂无评论