Logo: Ir Playbook Data Exfiltration

Ir Playbook Data Exfiltration

Organisatioun
gensecaihq
ir-playbook-data-exfiltration

Incident-Response-Playbook fir de Verdacht op Date-Exfiltratioun — Archivéiere vun Date fir den Export, Uploads op Cloud-Späicher, Exfiltratioun iwwer C2 oder DNS, eraushuelbar Medien an exposéiert Cloud-Buckets; benotzt dëst, wann Wazuh Indicateure fir d'Virbereedung oder den Transfert vun Date mellt (z. B. Reegelen 92212, 91846, 92038, 81101, 99548), oder wann Anomalien beim Volume oder bei den Destinatioune gemellt ginn. Fir déi meescht Detektioune vu Volume an DNS sinn individuell Reegelen néideg — kuckt Sektioun 1.

Add to TypingMind

Iwwersiicht

Editeurgensecaihq
RepositoryWazuh-Autopilot
Skill-Nummir-playbook-data-exfiltration
Stären
61
Forks
15
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    gensecaihq huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ir Playbook Data Exfiltration an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/ir-playbook-data-exfiltration
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/ir-playbook-data-exfiltration .claude/skills/ir-playbook-data-exfiltration
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ir Playbook Data Exfiltration an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ir Playbook Data Exfiltration automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ir Playbook Data Exfiltration net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

IR Playbook — Data Exfiltration

Severity high → critical depending on data classification and whether transfer is ongoing. Regulated data (PII/PHI/cardholder) can start breach-notification clocks, so record timestamps precisely. Rule IDs are from the stock Wazuh 4.14 ruleset (levels official). Full procedure, forensic commands and notification templates: references/playbook.md.

1. Detection signals

Stock Wazuh coverage for exfiltration is thin: it detects staging and some transfer tooling on Windows, cloud-provider findings, and USB storage. Volume thresholds and DNS tunnelling need network telemetry plus custom rules.

TechniqueStock Wazuh rules (level)Needs
T1560.001 Archive staging (Windows)rules 92212 (L14, compression by PowerShell), 92210 (L6, compression in Users\Public), 91846 (L10, PowerShell .NET compression), 91825 (L4), 91821 (L4, archive of a filesystem search)Sysmon Event ID 11, PowerShell/Operational
T1567.002 Exfil to cloud storagerule 92038 (L12, connection to a cloud resource started by a script/binary)Sysmon Event ID 1
T1114 Email collectionrule 91845 (L10, Outlook add-in loaded by PowerShell)PowerShell/Operational
T1052.001 Removable mediarule 81101 (L3, USB storage attached)Linux kernel USB logs
T1537 / cloud exposurerules 99855 (L12, S3 public read), 99856 (L12, S3 public write), 65061 (L3, GCP bucket permissions modified)AWS Security Hub / GCP integrations
EDR telemetry (if integrated)rules 99548 (L12), 99567 (L13), 99586 (L15) — Microsoft Graph "system is performing data exfiltration"MS Graph integration

Org-custom rules (the stock ruleset has none; create in range 100000–120000 and validate with wazuh-logtest):

BehaviourSuggested custom rule
T1041 / T1030 outbound volume (> 500 MB/h per host, or > 10 Mbps sustained 30 min)custom rule 100501 / custom rule 100502 on firewall/NetFlow/Zeek logs, <same_source_ip />
T1048.003 DNS tunnelling (long/encoded labels, > 100 queries/min, Base64 in TXT)custom rule 100520, custom rule 100521, custom rule 100522 on DNS server or Zeek dns.log
Large archive in temp/staging dirs (Linux)custom rule 100530 — child of FIM rules 554, 550 on staging paths with a size threshold
Uploads to unsanctioned cloud storage / webmailcustom rule 100550, custom rule 100551 on proxy logs with an allowlist of sanctioned domains
DLP policy violationcustom rule 100560 on your DLP product's decoder
Uploads to non-approved S3 / Azure / GCP bucketscustom rule 100570, custom rule 100571, custom rule 100572 on cloud audit logs

The reference playbook contains example XML for each — adapt field names to your decoders and validate with wazuh-logtest.

High-confidence combinations: staging archive then outbound spike from the same host; DNS tunnelling from a host with no business need for high DNS volume; departing-employee account.

2. Triage / investigation (investigation agent)

  1. get_wazuh_alerts for the host (agent_id, timestamp_start: "now-24h"); search_cases on host/user/destination.
  2. Answer:
    • What data? Classification of paths involved (finance, HR, source code, customer DB).
    • How much and where to (destination IP/domain/bucket, sanctioned or not)?
    • Still happening? Latest alert timestamps; get_agent_ports for live outbound connections.
    • Who? Role, recent HR flags, off-hours activity, first-time behaviour.
  3. Host evidence: get_agent_processes (rclone, curl/wget loops, 7z/rar, cloud sync clients, PowerShell uploads); search_security_events for the destination across the fleet; look back for preceding intrusion (brute force, malware, privilege escalation). Destination reputation → hand off to threat-intel.
  4. add_entities (host = victim, user = observed/attacker, destination ip/domain = attacker, staged paths as file), link_mitre, update_case (ongoing transfer of regulated data → critical; completed transfer of internal data → high).
  5. Insider vs external changes the path: insider → HR/legal, preserve evidence quietly; external → active intrusion. add_finding with evidence and a containment recommendation to response-planner.

Decision tree: sanctioned destination → likely FP (confirm with owner, tune, close); unsanctioned, small, no sensitive paths → medium; sensitive paths or > 1 GB finished → high; ongoing or preceded by intrusion → critical, contain now; DNS tunnelling confirmed → critical regardless of volume (implies malware/C2).

3. Response (response-planner)

Evidence before disruption: connections, process list and file hashes must already be in findings. Check wazuh_check_blocked_ip before proposing a block.

SituationProposal
Transfer ongoing to external IPpropose_action(type="block_ip", target=<dest ip>, params={"ip_address": <dest ip>, "agent_id": <host>}) (D3-ITF/D3-OTF)
Per-host firewall droppropose_action(type="firewall_drop", params={"agent_id": <host>, "ip_address": <ip>})
Exfil tool runningpropose_action(type="kill_process", params={"agent_id": <host>, "process_id": <pid>})
Staged archive on diskpropose_action(type="quarantine_file", params={"agent_id": <host>, "file_path": <path>}) (D3-FEV)
Compromised or malicious accountpropose_action(type="disable_user", params={"agent_id": <host>, "username": <user>})
Active intrusion with exfilpropose_action(type="isolate_host", params={"agent_id": <host>}) (high risk; supervised)

DNS-tunnel domains and cloud buckets can't be blocked by Wazuh active response — record them with add_finding for the network/cloud team (DNS sinkhole, bucket policy, CASB).

4. Eradication and recovery

  • Revoke tokens/keys used for the upload (cloud access keys, OAuth grants) — human task.
  • Remove staging files and exfil tooling; rotate credentials of affected accounts.
  • Confirm no further outbound anomalies for 72 h; tune DLP and egress rules.

5. Verification

The responder verifies executed actions (wazuh_check_blocked_ip, wazuh_check_process, wazuh_check_file_quarantine, wazuh_check_user_status, wazuh_check_agent_isolation).

6. Evidence, compliance and records

  • Chain of custody: who collected what, when, hash (ISO 27001 A.5.28) — in findings.
  • Estimate exposure (classification, file count, volume, record count); this feeds notification decisions.
  • Cardholder/health data involved → hand off to compliance for PCI DSS Req 10 / 12.10 and ISO A.5.24–A.5.28 mapping.
  • standard_refs e.g. MITRE-ATTACK:T1048.003, NIST-800-61r3:Respond, ISO-27001:A.5.26.
  • Hand off to reporting for a legal/privacy-ready timeline; missing custom rules → hand off to detection-engineer.

Escalation

ConditionEscalate to
Regulated data confirmed exfiltratedCISO, legal, privacy officer (notification clocks)
Insider suspectedHR + legal; restrict case visibility
Ongoing transfer, containment refused by policySOC lead for manual approval

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ir Playbook Data Exfiltration?

Incident-Response-Playbook fir de Verdacht op Date-Exfiltratioun — Archivéiere vun Date fir den Export, Uploads op Cloud-Späicher, Exfiltratioun iwwer C2 oder DNS, eraushuelbar Medien an exposéiert Cloud-Buckets; benotzt dëst, wann Wazuh Indicateure fir d'Virbereedung oder den Transfert vun Date mellt (z. B. Reegelen 92212, 91846, 92038, 81101, 99548), oder wann Anomalien beim Volume oder bei den Destinatioune gemellt ginn. Fir déi meescht Detektioune vu Volume an DNS sinn individuell Reegelen néideg — kuckt Sektioun 1.

Firwat Ir Playbook Data Exfiltration op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ir Playbook Data Exfiltration besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ir Playbook Data Exfiltration an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/ir-playbook-data-exfiltration an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ir Playbook Data Exfiltration benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ir Playbook Data Exfiltration benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ir Playbook Data Exfiltration domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ir Playbook Data Exfiltration gratis?

Jo. gensecaihq huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇