Logo van Opsec

Opsec

Community
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.

Overzicht

Uitgevermrhlaingbwardev
Repositoryagentic-hacking-skills
Skillnaamopsec
Sterren
350
Forks
57
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door mrhlaingbwardev op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Opsec in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/opsec
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Opsec in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Opsec automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Opsec niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Opsec gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Opsec bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Opsec in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/opsec. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Opsec gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Opsec gebruiken?

Zoveel als je wilt. Je kunt Opsec gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Opsec gratis?

Deze skill is door mrhlaingbwardev op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇