Logotipo de Opsec

Opsec

Comunidad
mrhlaingbwardev
opsec

Use as pre-validation layer BEFORE any other skill. Activates when user says any security/attack/scan command. Ensures VPN is connected, user agents rotate, fingerprint is clean, and operational environment is isolated from personal identity. This runs FIRST before any other skill executes.

Descripción general

Editormrhlaingbwardev
Repositorioagentic-hacking-skills
Nombre de la habilidadopsec
Estrellas
350
Forks
57
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por mrhlaingbwardev en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Opsec en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/opsec
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrhlaingbwardev/agentic-hacking-skills.git /tmp/agentic-hacking-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-hacking-skills/skills/opsec .claude/skills/opsec
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Opsec en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Opsec automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Opsec no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Operational Security (OPSEC) - PRE-FLIGHT CHECKLIST

TRIGGER RULES

AUTOMATICALLY activates before ANY other skill when user says: anything targeting a domain/IP or involving security testing. This is the FIRST check - nothing runs without OPSEC validation.


GOLDEN RULES (NEVER BREAK THESE)

Rule 1: THE ORIGIN MUST NEVER BE VISIBLE - EVER

This is the single most important rule. The target must NEVER be able to trace anything back to the operator's origin country.

yaml
❌ NEVER expose:
  - Origin timezone
  - Origin language setting
  - Origin IP addresses
  - Origin VPN exit nodes
  - Origin names, emails, phone numbers
  - Origin bank accounts or payment methods
  - Origin keyboard layout or typing patterns
  - Origin cultural references in any pretext
  - Fonts or character sets that reveal the origin OS
  - Browser history or bookmarks with origin sites
  - Any document metadata (author, company, language)

✅ ALL operations must point to a PLAUSIBLE DIFFERENT COUNTRY:
  - Choose ONE cover country per campaign
  - Every single detail must match that country
  - VPN exit → that country
  - Timezone → that country
  - Browser language → that country
  - Created accounts → names from that country
  - Emails → patterns common in that country
  - Online behavior → typical of that country's users

Good cover countries: Singapore, Malaysia, Thailand, Vietnam, Japan, South Korea,
or Western countries matching the target language

Rule 1b: CONSISTENT COVER IDENTITY

Every piece of evidence must tell the SAME story:

yaml
If your cover is "Singapore-based IT contractor":
  - VPN exit: Singapore IP (residential, not datacenter)
  - Timezone: UTC+8 (Singapore)
  - Language: en-SG, zh-SG, ms-SG
  - Names: Singaporean Chinese/Malay/Indian names
  - Email: singapore-based provider, .sg domain
  - Browser behavior: Singapore patterns
  - Working hours: Singapore business hours
  - No origin timezone, no origin language, NO ORIGIN SIGNALS

Rule 2: SEPARATE IDENTITIES

Personal: Google account, real name, real phone, home IP, personal email
Cover ID: Fake identity matching cover country
Operational: Burner email, fake name (cover country), VPN IP, burner phone
NEVER THE THREE SHALL MEET

Rule 3: ONE-USE INFRASTRUCTURE

  • Each campaign/target gets NEW: VPN, email, accounts, domains
  • Never reuse between targets
  • Never reuse between campaigns on same target

Rule 4: ASSUME YOU'RE WATCHED

  • Everything you do creates telemetry
  • The target's SOC is watching
  • Your ISP/webhost logs everything
  • The only question is: does your traffic look suspicious?

PRE-FLIGHT CHECKLIST (RUN THESE BEFORE ANY COMMAND)

[ ] CHECK 1: VPN STATUS

powershell
# 1. Check current IP
$before = (Invoke-WebRequest -Uri "https://api.ipify.org" -UseBasicParsing).Content
Write-Output "Current IP: $before"

# 2. Verify VPN shows different IP from origin country
# The target should see: a different country, residential IP preferred

# 3. Verify no DNS leaks
$dns = (Resolve-DnsName -Name api.ipify.org -Server 8.8.8.8).IPAddress
Write-Output "DNS resolves to: $dns"
# If DNS != your ISP's DNS, you're leaking

# 4. VPN Kill Switch: if VPN drops, block all traffic
# Windows: check if kill switch is configured in your VPN client

VPN REQUIREMENTS:

  • NO free VPNs (they log, sell data, are flagged)
  • NO known pentest VPNs (PIA, Windscribe, Mullvad are flagged)
  • Residential IP preferred (not datacenter IP - those are easy to block)
  • Exit in target's region or COVER country (exiting in the origin country gives you away instantly)
  • Pay with Monero or anonymous crypto, never personal card
  • Separate VPN per target, never same exit node across campaigns
  • VPN provider based in COVER country if possible, or privacy-friendly jurisdiction

[ ] CHECK 2: BROWSER FINGERPRINT

javascript
// Before touching target, check what browser exposes:
// https://amiunique.org or browserleaks.com

// Check these:
1. User-Agent: is it updated? recent Chrome/Firefox/Edge?
2. Screen resolution: matches your declared OS?
3. Timezone: matches your VPN exit country?
4. Language: matches your supposed location?
5. WebGL: unique fingerprint. Consider spoofing.
6. Canvas fingerprint: very unique. Consider spoofing.
7. Fonts: OS font list is unique to your machine.
8. Plugins: disable unnecessary browser plugins.
9. WebRTC: can leak real IP even behind VPN (DISABLE IT!)
10. Cookies: clear all before starting new target.

[ ] CHECK 3: USER AGENT PREPARATION

powershell
# User Agent rotation strategy:
# NEVER use the same UA twice for same target

# UA Rotation Pool (rotate through these):

$uaPool = @(
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/126.0.0.0 Safari/537.36",
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0",
    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 Safari/605.1.15",
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0",
    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/125.0.0.0 Safari/537.36",
    "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 Mobile/15E148"
)

# Pick random UA, use for this session only
$selectedUA = $uaPool | Get-Random

UA Rotation Rules:

  • Rotate EVERY request to the target
  • Match UA to the tool being used (curl vs browser vs script)
  • Mobile UAs for mobile endpoints
  • Desktop UAs for web apps
  • Never use default tool UAs (curl/7.x, python-requests, go-http-client)


COUNTRY ATTRIBUTION COVER - THE CRITICAL DETAILS

Why Attribution Analysis Is Your Biggest Threat

Nation-states and SOCs use ATTRIBUTION to identify attackers. They don't block you immediately - they watch, profile, and trace back. Every digital fingerprint tells a story:

yaml
They check:
  🌐 IP geolocation → "Where is this person?"
  ⏰ Active hours → "What timezone do they live in?"
  🌍 Browser language → "What language do they speak?"
  ⌨️ System fonts → "What OS/language pack?"
  📧 Email patterns → "What culture/locale?"
  💳 Payment methods → "Where do they bank?"
  🧾 Domain registration → "Who are they really?"
  👤 Social media → "What is their real identity?"

If ANY two signals point to the origin, attribution starts. If THREE+ signals point to the origin, you are identified.

The Signal Map: What Your Op Reveals

SignalWhat It TellsHow It Betrays The Origin
IP geolocationCountryAny origin-country IP = instant flag
TimezoneActive hoursActivity during origin-country night hours
Language headerBrowser localeOrigin language code in Accept-Language
System fontsOS localeNative-script fonts in the font list
Keyboard layoutTypist's languageOrigin keyboard layout
Typing patternsNative languageTyping speed, errors, spacing characteristic of origin users
Working hoursTimezoneActivity during origin business hours for a mismatched cover
Search historyLanguage & regionOrigin-language searches, origin ccTLD sites
Payment methodCitizenshipOrigin bank card, origin payment apps
Email providerRegionOrigin-specific provider, origin ccTLD email
Social mediaReal identityFriends and posts from the origin country
Code commitsIdentityOrigin name, origin timezone, origin code in profile
Domain WHOISIdentityOrigin address, phone, email in WHOIS
SSL certificateOrganizationOrigin org name in cert
DNS serversProviderOrigin DNS hosting
Content languageNative languageOrigin language in phishing pages, comments, commit messages
Tools/payloadsSignatureTools known to be used by origin-based groups

The Cover Country Strategy

yaml
For EACH campaign, choose a cover country. Then SCORCH everything else:

✅ COVER COUNTRY SIGNALS (ALL MUST MATCH):
  [✓] VPN exit in cover country (residential IP)
  [✓] Browser language = cover country's language
  [✓] Timezone = cover country's timezone
  [✓] Active hours = cover country's business hours
  [✓] Names/identities = cover country's naming conventions
  [✓] Email provider popular in cover country
  [✓] System fonts = typical for cover country OS
  [✓] Payment method from cover country
  [✓] All written content in cover country's dialect

❌ ORIGIN SIGNALS (ZERO TOLERANCE):
  [✗] NO origin-country IP (any VPN exit must be cover country)
  [✗] NO origin timezone (set system to cover country's tz)
  [✗] NO origin language (remove from browser completely)
  [✗] NO origin fonts installed on op machine
  [✗] NO origin keyboard layout on op machine
  [✗] NO writing in the origin language during any ops communication
  [✗] NO origin names in any account creation
  [✗] NO origin payment methods (cards, payment apps)
  [✗] NO origin phone numbers (even burner SIMs)
  [✗] NO origin ccTLD email domains
  [✗] NO origin social media activity during campaign
  [✗] NO origin websites in browser history
  [✗] NO origin ccTLD domains in DNS cache or history
  [✗] NO origin-language code comments or variable names
  [✗] NO origin cultural references in pretexts

Cover Country Selection Guide

yaml
Pick based on TARGET LOCATION:

Target in USA/UK/Australia:
  Cover: USA (California/New York), UK, Canada, Australia
  🚫 Do NOT use: the origin country or nearby countries

Target in Singapore/Malaysia:
  Cover: Singapore, Malaysia, Australia, UK
  🚫 Do NOT use: the origin country or nearby countries

Target in Japan/Korea:
  Cover: Japan, South Korea, USA
  🚫 Do NOT use: the origin country or nearby countries

Target in Thailand:
  Cover: Singapore, Malaysia, USA, UK
  🚫 Do NOT use: the origin country (too close, easy cross-reference)

Target in EU:
  Cover: Germany, Netherlands, France, UK, USA
  🚫 Do NOT use: the origin country or any nearby country

System-Level OPSEC for Attribution Hiding

powershell
# BEFORE ANY OPERATION, run these checks:

# 1. Check system timezone (MUST NOT be the origin timezone)
tzutil /g
# If it is the origin timezone → tzutil /s "<Cover Country Standard Time>"

# 2. Check browser languages (MUST NOT have the origin language)
# Chrome: chrome://settings/languages → only cover country languages
# Remove all origin-related languages

# 3. Check system installed languages
Get-WinUserLanguageList
# If any origin language → remove it
# $lang = Get-WinUserLanguageList | Where-Object LanguageTag -eq "<origin-lang-code>"
# $lang | ForEach-Object { $_.Remove() }

# 4. Check system locale
Get-Culture  # Must show cover country, not the origin

# 5. VPN: verify no connection originates from the origin country
(Invoke-WebRequest -Uri "https://ipinfo.io/json" -UseBasicParsing).Content
# Check: country, timezone, language fields

# 6. Browser fingerprint: test at https://browserleaks.com or https://amiunique.org
# Check: WebRTC leak, timezone, language, fonts, canvas

Digital Trail Consistency (The Hardest Part)

The most common attribution failure is SINGLE SIGNAL INCONSISTENCY:

yaml
You do everything right EXCEPT:
  ❌ Your GitHub commit timestamp shows origin business hours
     but your VPN says you're in the US (it's the middle of the night there)
     → Defenders: "Commit at that hour? Unusual, but maybe.
        Let's check other signals..."

  ❌ Your phishing page is in perfect English
     but WHOIS domain registered with an origin-country phone number
     → Defenders: "English page + origin phone = attribution done"

  ❌ You use US VPN, US names, US email
     but browser Accept-Language shows the origin language as primary
     → Defenders: "US VPN but origin language = just a proxy user"

Every signal must tell the same story. One mismatch = attribution.


DIGITAL HYGIENE

Browser Isolation:

  • Dedicated browser profile for EACH target
  • No extensions (or only essential ones like proxy switcher)
  • No saved passwords
  • Private/incognito mode always
  • Clear everything between sessions: cache, cookies, localStorage, history

Network Isolation:

[Your Machine]
     ↓
[VPN1 - entry] (residential proxy, act as anonymizing layer)
     ↓
[VPN2 - exit] (in target's region)
     ↓
[Optional: Tor] (only if speed isn't critical)
     ↓
[Target]

Account/Identity Compartmentalization:

PurposeEmailPaymentPhoneIdentity
Domain regburnermail1@MoneroBurner SIMFake name
VPS/VPNburnermail2@MoneroBurner SIMFake name
Social mediaburnermail3@N/ABurnerFake persona
Testingburnermail4@N/AN/AFake persona
Personalreal@Real cardRealREAL

NEVER Cross-Contaminate:

  • ❌ Same email for domain purchase and social media
  • ❌ Same payment method across any two ops accounts
  • ❌ Log into personal accounts from ops environment
  • ❌ Log into ops accounts from personal environment

TOOL HYGIENE

Curl Configuration:

Don't use default curl. It's fingerprinted by User-Agent and TLS fingerprint.

powershell
# curl - minimal fingerprint
curl.exe --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/126.0.0.0" --compressed -s

# Add TLS parameters to match browser
curl.exe --tlsv1.2 --tls-max 1.2 --ciphers "ECDHE-RSA-AES128-GCM-SHA256"

Tool Modifications:

  • Nmap: Use -T2 (slow), random decoys, spoof MAC
  • Gobuster/ffuf: Add random delays, rotate UAs, throttle requests
  • sqlmap: Never default UA, use --random-agent, --delay 2
  • Hydra/medusa: Never default, throttle aggressively, randomize timing

Default Tool FPs to AVOID:

ToolDefault FPWhat to Change
curlcurl/8.x.xChange User-Agent
sqlmapsqlmap/#.#--random-agent, --mobile
nmapNmap, T4-T2, --spoof-mac, -D RND:10
gobustergobuster/3.xChange UA with proxy
hydraUser-Agent: hydra-m option, change UA in source
pythonpython-requests/2.xAlways set custom UA

COMMUNICATIONS SECURITY

Never Discuss Operations On:

  • ❌ Personal phone or messaging apps
  • ❌ Your real Signal/Telegram with real identity
  • ❌ Slack, Discord, Teams (corporate environments)
  • ❌ Email (even encrypted email metadata is visible)
  • ❌ SMS (completely insecure)

Use For Op Comm:

  • ✅ Burner Signal (burner phone number)
  • ✅ Session (no phone number required, ephemeral)
  • ✅ SimpleX (no identifiers at all)
  • ✅ Matrix (self-hosted, encrypted)
  • ✅ End-to-end encrypted + ephemeral + no metadata

IF COMPROMISED: BURN PROTOCOL

Signs You're Being Hunted:

  • Target goes silent (no interaction)
  • Your infrastructure becomes unreachable
  • Your domains taken offline without notice
  • Unusual connection attempts to your boxes
  • Your C2 returns unusual responses
  • Certificates revoked

Immediate Actions:

  1. CUT ALL LINES - kill all C2 connections NOW
  2. SHUTDOWN all infrastructure - servers, redirectors, domains
  3. DESTROY logs - local logs, cloud logs, infrastructure logs
  4. BURN accounts - all burner emails, domain regs, VPS accounts
  5. ISOLATE op machine - don't connect to anything
  6. ANALYZE how - trace back what exposed you
  7. WAIT 3+ months before any new operations
  8. NEVER reuse any infrastructure, accounts, or patterns

If Physical Raid Imminent:

  • Full disk encryption (boot password, not auto-login)
  • Remote wipe script ready
  • Separate boot partitions (clean OS for plausible deniability)
  • Op data never on personal devices
  • Op comms on separate devices entirely

PERSONAL / OP SEPARATION (HARD RULES)

Absolutely Separate Hardware:

  • Personal computer
  • Operational computer (clean OS, no personal accounts)

If same machine (virtual isolation):

  • Dedicated VM for ops (not the host OS)
  • VM has its own VPN (independent from host)
  • No network bridging between host and VM
  • VM DNS goes through VPN, not host
  • Host has zero ops artifacts

Absolutely Separate:

Personal Phone         ≠        Op Phone
Real ID Burner SIM only
Home Address Vacant address/mail drop
Real Email Burner emails only
Real Name Code name only
Physical location VPN exit to target's region
Bank/Crypto Monero only
Social media Siloed fake persona per target

SESSION TRACKING LOG

Before starting ANY operation:

Cover Country: _________________  (this is who you appear to be)
Target: _________________
Date:   _________________
VPN Exit IP: _________________
VPN Exit Country: _________________
Timezone Set: _________________
Language Set: _________________
User Agent Used: _________________
Browser Fingerprint Verified: _________________
Tool Set: _________________
Op Account Used: _________________
Purpose: _________________
Burn After: _________________

Log this in an encrypted file, NOT in your personal notes or cloud.

Preguntas frecuentes

¿Qué hace la habilidad de IA Opsec?

Use as pre-validation layer BEFORE any other skill. Activates when user says any security/attack/scan command. Ensures VPN is connected, user agents rotate, fingerprint is clean, and operational environment is isolated from personal identity. This runs FIRST before any other skill executes.

¿Por qué usar Opsec en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Opsec está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Opsec en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/opsec. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Opsec?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Opsec?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Opsec con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Opsec?

mrhlaingbwardev la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇