This is a serious offensive security reference covering C2 infrastructure hardening, redirector architecture, and operational security discipline for extended engagements. You get concrete guidance on never exposing team servers directly (always bind localhost, tunnel through Cloudflare or websocat), building smart nginx redirectors that deflect blue team scanners to legitimate sites, and customizing malleable profiles to mimic real traffic like Teams or O365. The tiered infrastructure model is smart: burn high-reputation phishing domains fast, run active ops through short-haul HTTP beacons, and keep a separate long-haul DNS channel sleeping once a day for persistence. Staged payload thinking and LOLBin preference over powershell.exe show real world paranoia. Heavy on Cobalt Strike examples but the OPSEC principles transfer to any framework.

GitHub stars
280
last updated
May 28, 2026

Install

$ npx -y skills add hypnguyen1209/offensive-claude --skill advanced-redteam --agent claude-code

Installs into .claude/skills of the current project.

Files


name: advanced-redteam-ops description: Use when designing C2 infrastructure or OPSEC for a long-haul red-team op — redirectors, malleable profiles, tiered/segregated infra, living-off-the-land, data exfiltration metadata: type: offensive phase: operations kill_chain: phase: [c2, actions] step: [6, 7] attck_tactics: [TA0011, TA0008, TA0010] depends_on: [edr-evasion, exploit-development, red-team-ops] feeds_into: [threat-hunting] inputs: [c2_framework, redirector_config] outputs: [c2_infrastructure, opsec_report, exfil_channel]

Advanced Red Team Operations

When to Activate

  • Planning advanced red team engagements
  • Designing C2 infrastructure with OPSEC
  • Understanding APT TTPs and operational security
  • Long-term persistent access scenarios

C2 Infrastructure Design

Redirectors (Never Expose Team Server Directly)

Rule: Team server ONLY binds to localhost. NEVER bind to 0.0.0.0 or external interface.

# Cobalt Strike team server (bind locally)
./TeamServerImage -Dcobaltstrike.server_port=50050 \
  -Dcobaltstrike.server_bindto=127.0.0.1 \
  -Djavax.net.ssl.keyStore=./cobaltstrike.store \
  teamserver 127.0.0.1 <password>

Sponsors

Details

Repository
github.com/hypnguyen1209/offensive-claude
Categories
Security, Mobile Development
License
MIT
First seen
Jun 11, 2026

More from hypnguyen1209/offensive-claude

All 25

Recommended

More Security
1hypnguyen1209 avatarweb-pentesthypnguyen1209/offensive-claudeFull-spectrum web application penetration testing — OWASP Top 10, API security, authentication attacks, business logic, WAF bypass, race conditions0skills.sh installs
2jezweb avatarMCP OAuth Cloudflarejezweb/claude-skillsAdd OAuth authentication to MCP servers on Cloudflare Workers. Uses @cloudflare/workers-oauth-provider with Google OAuth for Claude.ai-compatible authentication0skills.sh installs
3sugarforever avatarNext.js Security Scansugarforever/01coder-agent-skillsComprehensive security vulnerability scanner for Next.js and TypeScript/JavaScript projects. Detects OWASP Top 10 vulnerabilities, XSS, injection flaws, authent0skills.sh installs
4sugarforever avatarPython Security Scansugarforever/01coder-agent-skillsComprehensive security vulnerability scanner for Python projects including Flask, Django, and FastAPI applications. Detects OWASP Top 10 vulnerabilities, inject0skills.sh installs
5tbartel74 avatarsecurity-audit-scannertbartel74/Vigil-CodeAutomated security scanning for Vigil Guard v2.0.0. Use for OWASP Top 10 checks, TruffleHog secret detection, npm/pip vulnerability scanning, 3-branch service s0skills.sh installs
6thebushidocollective avatarPHP Security Patternsthebushidocollective/hanUse when essential PHP security patterns including input validation, SQL injection prevention, XSS protection, CSRF tokens, password hashing, secure session man0skills.sh installs