Home > Glossary > CompTIA PenTest+ > Data Exfiltration

📖 What is Data Exfiltration?

Data Exfiltration is the unauthorized transfer of sensitive data from a target system to an external location controlled by an attacker. This is often performed using covert channels, such as DNS tunneling or encrypted HTTPS requests, to avoid detection.

🥋 Sensei Says:

"DNS tunneling is a common exam topic for exfiltration because it often bypasses strict firewall rules that allow DNS traffic."

📚 Certification: CompTIA PenTest+ (PT0-002)

🔑 What are the Key Concepts of Data Exfiltration?

  • Covert channels involve hiding data within legitimate protocol traffic, such as DNS or ICMP, to bypass egress filtering and avoid detection by security monitors.
  • Data staging is the critical preparatory step where attackers collect, compress, and often encrypt sensitive information in a central location before transferring it externally.
  • Common exfiltration protocols include HTTPS for blending with web traffic and DNS for bypassing strict firewalls that typically allow name resolution requests.
  • Steganography allows attackers to conceal sensitive data within innocuous files, like images or audio, making it difficult for deep packet inspection tools to detect.
  • DLP (Data Loss Prevention) systems are the primary defense, monitoring for sensitive data patterns and unusual outbound traffic volumes to identify exfiltration attempts.

🎯 How does Data Exfiltration appear on the PT0-002 Exam?

A scenario might describe a target environment with strict egress filtering that blocks all ports except 53; you will likely need to identify DNS tunneling as the method for exfiltration.

You may be asked to identify the specific phase of a penetration test where the operator aggregates and compresses stolen data into a hidden directory before transmission.

Expect questions where you must choose the best method to exfiltrate data while avoiding detection by a network-based IDS that performs deep packet inspection on HTTP traffic.

❓ Frequently Asked Questions

What is the difference between data exfiltration and data leakage?

Exfiltration is an intentional, malicious act of moving data out of a network. Leakage is typically accidental, such as a misconfigured cloud storage bucket that leaves data publicly accessible.


Why is HTTPS preferred over FTP for modern data exfiltration?

HTTPS traffic is ubiquitous and encrypted, allowing it to blend in with normal web browsing and preventing security tools from seeing the actual content being transferred.


How does data staging help an attacker avoid detection?

Staging allows the attacker to minimize the number of outbound connections and the time spent transferring data, reducing the chance of triggering volume-based network alerts.

Related Terms from CompTIA PenTest+

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

Test Your Knowledge

Think you understand Data Exfiltration? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium