r/redteamsec • • Sep 28 '26

tradecraft Your EDR sees DNS. Until it doesn't.

Thumbnail
redhand.io
1 Upvotes

Let's be generous.

You have an EDR.
You might even have Sysmon.
You even enabled Microsoft DNS logging (which is probably where this hypothetical becomes unrealistic)

So you're covered for DNS, right?

Not quite.

A process can make DNS queries without Sysmon Event ID 22 ever seeing the hostname. With a little more effort, Event ID 3 disappears too. Throw encrypted DNS into the mix and things get even more interesting.

I tested how far you can push this on Windows, what each trick actually hides, and what evidence is still left when the host goes blind.


r/redteamsec • • Jun 17 '25

intelligence 10 Red-Team Traps Every LLM Dev Falls Into

Thumbnail
trydeepteam.com
8 Upvotes

The best way to prevent LLM security disasters is to consistently red-team your model using comprehensive adversarial testing throughout development, rather than relying on "looks-good-to-me" reviews—this approach helps ensure that any attack vectors don't slip past your defenses into production.

I've listed below 10 critical red-team traps that LLM developers consistently fall into. Each one can torpedo your production deployment if not caught early.

A Note about Manual Security Testing:
Traditional security testing methods like manual prompt testing and basic input validation are time-consuming, incomplete, and unreliable. Their inability to scale across the vast attack surface of modern LLM applications makes them insufficient for production-level security assessments.

Automated LLM red teaming with frameworks like DeepTeam is much more effective if you care about comprehensive security coverage.

1. Prompt Injection Blindness

The Trap: Assuming your LLM won't fall for obvious "ignore previous instructions" attacks because you tested a few basic cases.
Why It Happens: Developers test with simple injection attempts but miss sophisticated multi-layered injection techniques and context manipulation.
How DeepTeam Catches It: The PromptInjection attack module uses advanced injection patterns and authority spoofing to bypass basic defenses.

2. PII Leakage Through Session Memory

The Trap: Your LLM accidentally remembers and reveals sensitive user data from previous conversations or training data.
Why It Happens: Developers focus on direct PII protection but miss indirect leakage through conversational context or session bleeding.
How DeepTeam Catches It: The PIILeakage vulnerability detector tests for direct leakage, session leakage, and database access vulnerabilities.

3. Jailbreaking Through Conversational Manipulation

The Trap: Your safety guardrails work for single prompts but crumble under multi-turn conversational attacks.
Why It Happens: Single-turn defenses don't account for gradual manipulation, role-playing scenarios, or crescendo-style attacks that build up over multiple exchanges.
How DeepTeam Catches It: Multi-turn attacks like CrescendoJailbreaking and LinearJailbreaking
simulate sophisticated conversational manipulation.

4. Encoded Attack Vector Oversights

The Trap: Your input filters block obvious malicious prompts but miss the same attacks encoded in Base64, ROT13, or leetspeak.
Why It Happens: Security teams implement keyword filtering but forget attackers can trivially encode their payloads.
How DeepTeam Catches It: Attack modules like Base64, ROT13, or leetspeak automatically test encoded variations.

5. System Prompt Extraction

The Trap: Your carefully crafted system prompts get leaked through clever extraction techniques, exposing your entire AI strategy.
Why It Happens: Developers assume system prompts are hidden but don't test against sophisticated prompt probing methods.
How DeepTeam Catches It: The PromptLeakage vulnerability combined with PromptInjection attacks test extraction vectors.

6. Excessive Agency Exploitation

The Trap: Your AI agent gets tricked into performing unauthorized database queries, API calls, or system commands beyond its intended scope.
Why It Happens: Developers grant broad permissions for functionality but don't test how attackers can abuse those privileges through social engineering or technical manipulation.
How DeepTeam Catches It: The ExcessiveAgency vulnerability detector tests for BOLA-style attacks, SQL injection attempts, and unauthorized system access.

7. Bias That Slips Past "Fairness" Reviews

The Trap: Your model passes basic bias testing but still exhibits subtle racial, gender, or political bias under adversarial conditions.
Why It Happens: Standard bias testing uses straightforward questions, missing bias that emerges through roleplay or indirect questioning.
How DeepTeam Catches It: The Bias vulnerability detector tests for race, gender, political, and religious bias across multiple attack vectors.

8. Toxicity Under Roleplay Scenarios

The Trap: Your content moderation works for direct toxic requests but fails when toxic content is requested through roleplay or creative writing scenarios.
Why It Happens: Safety filters often whitelist "creative" contexts without considering how they can be exploited.
How DeepTeam Catches It: The Toxicity detector combined with Roleplay attacks test content boundaries.

9. Misinformation Through Authority Spoofing

The Trap: Your LLM generates false information when attackers pose as authoritative sources or use official-sounding language.
Why It Happens: Models are trained to be helpful and may defer to apparent authority without proper verification.
How DeepTeam Catches It: The Misinformation vulnerability paired with FactualErrors tests factual accuracy under deception.

10. Robustness Failures Under Input Manipulation

The Trap: Your LLM works perfectly with normal inputs but becomes unreliable or breaks under unusual formatting, multilingual inputs, or mathematical encoding.
Why It Happens: Testing typically uses clean, well-formatted English inputs and misses edge cases that real users (and attackers) will discover.
How DeepTeam Catches It: The Robustness vulnerability combined with Multilingualand MathProblem attacks stress-test model stability.

The Reality Check

Although this covers the most common failure modes, the harsh truth is that most LLM teams are flying blind. A recent survey found that 78% of AI teams deploy to production without any adversarial testing, and 65% discover critical vulnerabilities only after user reports or security incidents.

The attack surface is growing faster than defences. Every new capability you add—RAG, function calling, multimodal inputs—creates new vectors for exploitation. Manual testing simply cannot keep pace with the creativity of motivated attackers.

The DeepTeam framework uses LLMs for both attack simulation and evaluation, ensuring comprehensive coverage across single-turn and multi-turn scenarios.

The bottom line: Red teaming isn't optional anymore—it's the difference between a secure LLM deployment and a security disaster waiting to happen.

For comprehensive red teaming setup, check out the DeepTeam documentation.

GitHub Repo


r/redteamsec • • May 10 '26

[Release] Cascavel v3.0: A Python-based Quantum Security Framework with 85 Plugins for Red Teaming

Thumbnail
cascavel.pages.dev
0 Upvotes

I've just open-sourced Cascavel, a modular Red Team Intelligence Engine written in Python 3.10+. I built this because I was tired of chaining 10 different fragmented scripts together during engagements. Cascavel unifies recon, scanning, and exploitation into a single, highly extensible CLI framework.

Core Capabilities:

  • 85 Security Plugins: Covering 14 attack categories (XSS Polyglots, SSRF via IMDSv2, JWT Key Confusion, HTTP/2 Desync, GraphQL Introspection, Docker/K8s exposure, etc.).

  • 30+ Native Recon Integrations: Hooks directly into Nmap, Subfinder, Amass, Katana, Nuclei, and Shodan.

  • Cinematic Terminal UX: Built with Rich. It includes progress bars, an ANSI escape sanitizer (anti-terminal-injection), and graceful SIGINT/SIGTERM handling so you don't lose scan data if you kill the process.

  • Reporting: Auto-generates reports in PDF, Markdown, and JSON mapping findings by severity.

https://cascavel.pages.dev

The codebase is CI/CD hardened (Bandit, CodeQL, Semgrep). I’d love for the Red Team community to test it out, review the code, and let me know what attack vectors or plugins I should add next.


r/redteamsec • • Jul 15 '26

tradecraft [Tool] ENDGAME C2 - open-source Go C2 framework with built-in AI Console (natural language -> C2 commands, auto-analyzes output, confirm-before-execute)

1 Upvotes

ENDGAME

ENDGAME es un framework C2 escrito en Go, servidor de un solo binario, op-log en SQLite, multi-operador. Agente para Windows y Linux (compilado cruzado, sin CGO). Lo estuve construyendo para compromisos internos y ahora lo estoy liberando públicamente.

Hecho con IA, pensado y dirigido por un humano.

Lo más importante por lo que vale la pena empezar es la AI Console, porque todo C2 que le metió "AI" últimamente solo tiene una ventanita de chat pegada al lado. Esta es diferente.

AI Console

Funciona como una pestaña dentro del mismo panel de consola donde están las terminales de tu agente: sin ventana modal, sin cambiar de contexto, lado a lado con la pestaña del shell normal.

El prompt del sistema incluye todo el set de comandos del C2, el sistema operativo / arch del agente / usuario / nivel de privilegios / transporte, y la cola de tareas actual: el modelo sabe qué herramientas hay disponibles.

Describes el objetivo en lenguaje natural y la AI responde con comandos nativos de C2 (no comandos crudos de shell), cada uno envuelto en una tarjeta de ejecución. Confirma antes de ejecutar: la AI nunca manda tareas por su cuenta, cada sugerencia requiere que hagas click explícitamente.

Después de la ejecución, la salida se manda automáticamente de vuelta al modelo para análisis y sugerencia del siguiente paso. Puedes mantener el loop andando o saltearte en cualquier momento.

Funciona con Ollama (local, en entornos aislados) o con la API de Anthropic Claude. Probado con qwen3.6, deepseek-r1, claude-sonnet.

Transportes y agente

7 transportes: HTTP, HTTPS, mTLS, DNS, DNS sobre HTTPS, SMB con named pipe, TCP en bruto.

Evasión (Windows): máscara de sleep Ekko, AMSI vía VEH hardware breakpoint (sin parches), ETW blind, NTDLL sin desenganchar, spoof de PPID, DLL fantasma UDRL, BLOCKDLLS, borrado de headers HTTP, URIs malleable de beacon.

Inyección: remote thread, APC early-bird, secuestro de thread, fork-and-run, proceso hollowing, UDRL, 7 métodos de salto lateral.

Post-explotación (clic derecho en cualquier agente en la GUI)

Robo/almacenamiento de tokens, LSASS minidump, volcado de NTDS (ntdsutil IFM), screenshot + screenwatch, keylogger, portapapeles, bypass de UAC (fodhelper/computerdefaults/sdclt), secuestro de COM, persistencia (registry/schtask/service/startup/COM), anti-forense, ejecución en proceso con BOF + CLR.

Movimiento lateral

psexec, smbexec, atexec, wmi, dcom, winrm, ssh: cada uno crea un agente hijo enlazado en el grafo de la kill-chain.

GUI

Vista del grafo de kill-chain (clic derecho en cualquier agente), explorador de archivos, gestor de loot, pestaña de pentest interno (SMB/RDP/WinRM/MSSQL/SSH), matriz MITRE ATT&CK, multi-operador con RBAC. Los reportes se exportan como HTML, JSON, capa de MITRE Navigator y resumen ejecutivo de la AI.

Inicio rápido

git clone https://github.com/endgamec2framework/endgame
cd endgame
./install.sh

Un solo script instala Go, compila el server + el agente, genera certificados mTLS, crea el perfil del operador y arranca el server. Vuelve a correr para actualizar: conserva los certificados y el estado del operador.

GitHub: https://github.com/endgamec2framework/endgame Docs: https://endgamec2framework.com

https://youtube.com/@endgamec2framework

Solo para pruebas de penetración autorizadas, engagements de red team, entornos de laboratorio y uso educativo. Las builds por defecto incluyen IOCs conocidos: mira la sección de IOCs en los docs antes de cualquier engagement real.


r/redteamsec • • Aug 11 '26

What are you guys actually using to practice red teaming?

Thumbnail
resources.codelivly.com
0 Upvotes

I’ve been trying to move away from just watching courses and reading writeups and actually spend more time doing stuff.

Curious what people here use regularly.

AD labs? CTFs? HTB? Self-built labs? Real engagements?

Also interested in what you think is a waste of time for someone trying to get better at red teaming.


r/redteamsec • • 23d ago

intelligence php2shell-lab — a black-box Docker range for PHP2Shell (CVE-2026-109618/19) with a closing heap-leak window

Thumbnail
github.com
2 Upvotes

I built a reproducible, engine-level practice range for PHP2Shell and put it on GitHub. Not another "run the PoC" box:

Black-box by design — no Server: PHP, no phpinfo, version fingerprinting must come from behavior, not headers

The heap-disclosure window is time-boxed: it's open right after boot and closes. Leak first, recon second — window time spent browsing is gone until next up

Two privilege paths to proof.txt, different elegance grades

Honest platform matrix: RCE landing verified on x86_64; on Apple Silicon/ARM the disclosure chain is the intended solution (documented, not hidden)

Calibrated against an autonomous pentest agent over multiple live-fire rounds; human expectation 2–4h

>

docker compose up -d --build and go. MIT licensed, full kill chain in docs/SOLUTION.md.

https://github.com/tani2shell/php2shell-lab

Feedback and write-ups welcome — file an issue if a step fights you.


r/redteamsec • • Dec 28 '23

tradecraft Is there still use for physical trade anymore

0 Upvotes

I'm quite new to red teaming, the thing that brought me here was my fascination with lockpicking and RFID hacking. The more I look however it seems these days it's mostly code ran programs that are quite difficult to learn for me personally ( I am quite slow and It takes a long long time for anything to really make sense for me) the issue is I already have somewhat good social engineering as I am able to get my mates and I out of situations and into many different places trough just how I talk and what I say as well as acting the part. I'm worried that my social engineering knowledge and skills are a dying art in today's climate of code ran AI programs


r/redteamsec • • Dec 23 '23

Any tricks for Disabling SEP, Cybereason

0 Upvotes

Hello Hackers, I am looking for TTPs to crash, disable (doing anything bad to Symantec Endpoint Protection, cybereason) specifically without requiring elevation.

Feel free to share TTPs for other EDRs as well. They might work.

Enjoy the holidays! Merry Xmas.


r/redteamsec • • Mar 09 '25

malware The Stuxnet Story: How a Digital Worm Changed Cyber Warfare Forever

Thumbnail
journal.hexmos.com
0 Upvotes

r/redteamsec • • Mar 21 '26

Built a full Havoc C2 lab on MX Linux under 6GB RAM, documented every dependency error so you don't have to suffer

Thumbnail medium.com
5 Upvotes

Been setting up a home red team lab on limited hardware. Didn't want to go the usual Kali route — too heavy, too much copy-pasting, not enough actual understanding.

Ended up building Havoc C2 from source on MX Linux as the attacker VM, Windows 10 LTSC as target, antiX Linux as host. Whole thing runs under 6GB RAM comfortably.

The build process on MX Linux was painful — spdlog/fmt ABI mismatch on Debian trixie, toml11 v4 vs v3 API conflict, Demon submodule silently failing, Hit every wall possible.

Documented everything — every error, every fix, in order. So anyone trying the same setup doesn't spend 2AM debugging toml template argument errors.

Happy to answer questions about the setup in comments.


r/redteamsec • • Sep 18 '23

How do you get a debit/credit card without linking it to you?

3 Upvotes

For Ops Sec purposes:

  • how will you get a debit/credit card or whatsoever that you can use to pay for AWS etc without having it traced back to you?

P.S.: Legal methods only please. Please don’t suggest buying off credit card details from dumps etc.


r/redteamsec • • Aug 08 '26

intelligence Agentic Pentesting: The Model Is Only Part of the System

Thumbnail
github.com
1 Upvotes

One thing I think agentic pentesting benchmarks need to get much better at is separating model capability from harness capability.

A useful comparison shouldn’t just report “X vulnerabilities found”.

I’d like to see validated findings reported alongside wall-clock time, model cost, evidence quality, repeatability across runs and exactly what information the agent was allowed to see.

Otherwise two systems using the same model can be measuring completely different things.

For me, the interesting question isn’t “which LLM is the best pentester?”

It’s “which system can turn model capability into reproducible, evidence-backed security findings most efficiently?”


r/redteamsec • • 5d ago

NukeRat Framework: A post exploitation framework for advanced Red Team operations

Thumbnail
github.com
0 Upvotes
Armory+550 adapted BOF and .NET utilities
CommunicationCustom C2 with external platforms (e.g. Telegram, Discord, etc.)
Runtime evasionIndirect syscalls, stack spoofing, sleep mask, AMSI/ETW patch, etc.
InjectionsAllocation modes: VirtualAlloc, section, and module stomping
LOTLLiving off the Land integration with +240 native Windows binaries (LOLBAS)
Static evasionPE customization
ImplantsCross platform: Windows, Linux, macOS (ARM support)
LinuxImplants compatible with Linux BOFs
AIIntegration with agents (DeepSeek, local, etc.)
ReportsExecuted commands, IOCs, and compromised hosts

r/redteamsec • • Oct 18 '22

New to cybersecurity

0 Upvotes

I want to become a pentester. I’ve done a ton of research in regards to certification and ctf’s before posting on here. I do not want to get a degree in computer science so please any info to a noob would be greatly appreciated that would be an alternative route/path to be able to get a job. Give me your opinion on how I should get started. I’m wiping an old laptop I have to use for Linux and practice coding but I know nothing of Linux or anything else to this regard. Treat me like you would someone who knows nothing about cybersecurity. Thank you.


r/redteamsec • • Jul 30 '26

qsa.sh – A single curl command executes a security audit of your IP, with results instantly displayed in your CLI | No piping required

Thumbnail
qsa.sh
2 Upvotes

I built qsa.sh to give you an instant, outside-in security scan of your own public IP straight from your terminal.

You can run it like this:

curl qsa.sh

What it does: It triggers a real external port and vulnerability scan (using open-source tools like naabu, nmap + vulners, and nuclei) of the public IP you're connecting from, streamed live back to your terminal in about 30 seconds.

How it handles safety & consent:

Only your IP: There is no target input field. You cannot point it at anyone else.

The 15-second abort window: When you run the command, it prints your detected IP and gives you a 15-second grace period (Ctrl-C) to abort before anything is actually scanned.

Refusals: Known CGNAT, mobile-carrier, and detected VPN/Tor/IPv6 origins are refused outright.

Zero retention: The results are entirely ephemeral and streamed live—nothing is written to disk.

Curious to hear what people think.


r/redteamsec • • Aug 12 '26

intelligence Cyberstrike and Abliterated Model Large

Thumbnail
docs.abliteration.ai
0 Upvotes

Use abliterated-model-large with Cyberstrike to use the best publicly available offensive security model with the #1 open-source offensive security harness to adversarially test your systems. Frontier benchmarks in Cybergym, AgentHarm, and AgentDojo. The model was abliterated and fine-tuned not just to allow all offensive testing but was fine-tuned for it.


r/redteamsec • • Jul 02 '25

Daniel Miessler vs Marcus Hutchins - Are LLMs intelligent? Debate

Thumbnail
youtu.be
0 Upvotes

Daniel Miessler vs Marcus Hutchins - Are LLMs intelligent ? Debate

There was a debate between Daniel Miessler and Marcus Hutchins publish on Marcus his YouTube channel yesterday and Its quite fascinating. After watching the full video, I tend to side more with Marcus on this. And Daniel also made some bad arguments and fallacies in this debate imo. But it was refreshing to watch. What do you guys think ? Here is the debate:


r/redteamsec • • Aug 28 '26

Red Clippy: Open-Source AI-Assisted Pentest Management

Thumbnail
github.com
0 Upvotes

Red Clippy is built for pentesters who want to work with LLMs, not hand over the entire pentest to them. The pentester stays in control, decides what to test and how to proceed, while the LLM handles the testing work.

  • Pentester in control: You decide what gets tested and guide the engagement.

  • LLM-powered testing: Let the LLM perform security checks while you provide direction.

  • MCP support: Works with Claude, z.ai GLM, Codex, and other MCP clients.

  • Persistent state: Keeps track of targets, tests, findings, and progress across sessions.

  • Structured workflow: Keeps the entire pentest organized and manageable.


r/redteamsec • • Jul 24 '26

tradecraft I Made Claude AI Build a Fake Windows Login

Thumbnail
github.com
0 Upvotes

r/redteamsec • • Jan 08 '23

tradecraft Offensive Rust

10 Upvotes

OFFENSIVE RUST Launched! Want to level up your offensive security game? Check out our new Rust for Offensive Security course! From Rust basics to advanced techniques like Active Directory enumeration, reverse shells, and hiding processes, we've got you covered. Enroll now to take your skills to the next level!

⚙️ Rust Basics ⚙️ Advanced Rust ⚙️ Enumerating Active Directory ⚙️ Executing OS Commands ⚙️ A Rusty reverse shell ⚙️ Introduction to WINAPI ⚙️ Shellcode Injection ⚙️ DLL Injection ⚙️ Windows Named Pipes ⚙️ DLL Proxying ⚙️ Writing our Reflective Loader ⚙️ Process Hollowing ⚙️ Process Doppelganging ⚙️ Patching AMSI ⚙️ API Hashing ⚙️ API Hooking ⚙️ Hooking IAT ⚙️ Hiding any process from task manager ⚙️ NTFS Transactions

https://redteamsorcery.teachable.com/p/offensive-rust

infosec #cybersecurity #redteam #malware


r/redteamsec • • Nov 01 '23

malware Please suggest Fake ransomware in .exe format

1 Upvotes

Hello folks, I am looking an .exe file for a ransomware simulation. If not exe, can work with some other file type.

Thanks in advance.. Happy hacking!! 👻


r/redteamsec • • Nov 04 '21

tradecraft Hash cracking service for members /r/redteamsec

9 Upvotes

If you need a hash cracking service write to me. Here I have a sample of brute force cracking of an 11 character password for SHA256. It took 11 seconds.

I have built computers for my own red teaming and pentesting. But sometimes computers don't work so I'm happy to help for money to crack your hash.

Maybe this will make your red teaming better.

NTLM:

My computers:

  1. 6 x GPU RX 6600 XT

  2. 10 x GPU RX 6600 XT

I can crack bruteforce or on my or your dictionaries. We bill hourly for the number of GPUs. I suggest a price of $1 per GPU per hour of work. Discounts for larger orders.

If you order for example 10 hours and the password is broken after 2 hours I will return you money for not used time.

If you have any other idea then let me know.


r/redteamsec • • Jul 15 '25

Certs !!

Thumbnail example.com
0 Upvotes

hey !! i'm doing hackthebox for now , did tryhackme in past , so i got some basic knowledge for pentesting , which certitficate should i do , to get a job or even selected for one . Also one thing i live in india so if possible guide me according to that. Thanks !!