data-exfiltration-test
Skill1 starsChanged 11 days agoMITView on GitHub
Test whether DLP and monitoring controls detect data exfiltration using MITRE ATT&CK TA0010 techniques.
In this repository124 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-agent-reconSkill
- ai-supply-chainSkill
- exfiltration-via-aiSkill
- indirect-injectionSkill
- llm-fuzzingSkill
- prompt-injectionSkill
- rag-poisoningSkill
- tool-abuseSkill
- chain-analysisSkill
- chain-auth-to-takeoverSkill
- chain-customSkill
- chain-graph-walkSkill
- chain-idor-to-mass-dataSkill
- chain-info-to-exploitSkill
- chain-multi-appSkill
- chain-ssrf-to-cloudSkill
- chain-web-to-rceSkill
- chain-xss-to-account-takeoverSkill
- email-securitySkill
- engagement-flowSkill
- finding-disciplineSkill
- http-headers-securitySkill
- oob-interactionsSkill
- opsec-disciplineSkill
- research-firstSkill
- scope-disciplineSkill
- scope-importSkill
- session-contextSkill
- 2fa-bypassSkill
- api-abuseSkill
- auth-bypassSkill
- broken-access-controlSkill
- business-logicSkill
- cache-poisoningSkill
- clickjackingSkill
- corsSkill
- credential-testingSkill
- crlf-injectionSkill
- cryptographic-oracleSkill
- csrfSkill
- css-injectionSkill
- deserializationSkill
- email-injectionSkill
- file-uploadSkill
- fuzzingSkill
- graphqlSkill
- grpcSkill
- host-headerSkill
- http-smugglingSkill
- idorSkill
- info-disclosureSkill
- jwtSkill
- lateral-movementSkill
- lfi-rfiSkill
- mass-assignmentSkill
- oauthSkill
- open-redirectSkill
- parameter-pollutionSkill
- password-resetSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use ONLY synthetic test data — NEVER real sensitive data
- Very specific: line 32
Use OAST integration (engine/oast.py) for callback collection
- Distinctive: line 33
Test: can data leave via DNS queries without detection?
- Distinctive: line 39
Test data in HTTP headers (custom headers, cookies, user-agent)
- Distinctive: line 40
Test data in request body (POST to external endpoint)
- Distinctive: line 41
Test data in URL parameters
- Distinctive: line 42
Test data encoded in image/file uploads
- Distinctive: line 43
Use OAST endpoint as receiver
- Distinctive: line 64
Test sustained low-volume exfiltration (slow drip)
- Distinctive: line 65
Test burst exfiltration (large volume, short window)
- Distinctive: line 70
ALWAYS use synthetic test data, NEVER real PII/secrets
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Exfiltration Control Testing
MITRE ATT&CK: TA0010 (Exfiltration) Gate: EVERY exfiltration test requires explicit operator authorization Purpose: Test whether DLP and monitoring controls detect data leaving
Objective
Assess the effectiveness of data loss prevention (DLP) controls and monitoring by attempting controlled exfiltration of test data through various channels.
Pre-checks
- Scope MUST explicitly authorize exfiltration testing
- Use ONLY synthetic test data — NEVER real sensitive data
- Confirm monitoring/SOC team is aware (or not, depending on test type)
- Prepare test data tokens that can be traced back to the test
- Operator gate: approve each exfiltration channel before testing
Steps
1. DNS Exfiltration Test
- Encode test data in subdomain labels (e.g., base32-encoded chunks)
- Use OAST integration (engine/oast.py) for callback collection
- Test: can data leave via DNS queries without detection?
- Channels: direct DNS, DNS-over-HTTPS, DNS tunneling
- Evidence: callback received = exfiltration possible, not detected
2. HTTP(S) Exfiltration Test
- Test data in HTTP headers (custom headers, cookies, user-agent)
- Test data in request body (POST to external endpoint)
- Test data in URL parameters
- Test data encoded in image/file uploads
- Use OAST endpoint as receiver
- Evidence: request received at OAST = exfiltration channel open
3. Out-of-Band Channel Testing
- ICMP tunneling feasibility (ping with data payload)
- WebSocket exfiltration (if WebSocket connections allowed outbound)
- SMTP exfiltration (email with test data if mail relay available)
- Evidence: successful OOB data receipt
4. Encoding and Evasion
- Base64/hex encoding of test data
- Chunked transfer in small increments
- Steganographic embedding in allowed file types
- Compression before exfiltration
- Purpose: test if DLP inspects encoded/compressed content
5. Volume and Rate Assessment
- Determine maximum data transfer rate before detection
- Test sustained low-volume exfiltration (slow drip)
- Test burst exfiltration (large volume, short window)
- Evidence: threshold at which monitoring triggers (if ever)
Gotchas
- ALWAYS use synthetic test data, NEVER real PII/secrets
- Some DLP solutions only inspect cleartext — encrypted channels may bypass
- Cloud environments may have different egress controls than on-prem
- WAF/proxy may block some channels but not log the attempt
- DNS exfil is often the last channel blocked — test it
Chain Anchors
- gives: exfiltration-path, dlp-bypass
- needs: rce, shell, ssrf, or any outbound communication capability
Evidence Requirements
- Each test: channel used, data sent (hash only), received confirmation
- Detection assessment: was it logged? was it blocked? was it alerted?
- Timeline: how long between exfiltration and detection (if detected)
- Tag: Demonstrated (data exfiltrated undetected) / Inferred (channel open)
- Include OAST correlation tokens for each test
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

