PT0-003 practice question 21 of 30
[Attacks and Exploits] A penetration tester discovers data to stage and exfiltrate. The client has authorized movement to the tester's attacking hosts only. Which of the following would be most appropriate to avoid alerting the SOC?
Full set: 351 questionsThe most appropriate method to exfiltrate data while avoiding detection is to use strong encryption and blend in with normal network traffic. AES-256 is a strong, industry-standard encryption algorithm that will effectively conceal the data's content. Tunneling this encrypted data over TCP port 443, the standard port for HTTPS traffic, is highly effective for stealth. Security Operations Centers (SOCs) expect to see large volumes of encrypted traffic on this port, making it difficult for them to distinguish the malicious exfiltration from legitimate, encrypted web communications without performing intensive and not always feasible TLS inspection. This combination offers the highest likelihood of evading detection.
A. Apply UTF-8 to the data and send over a tunnel to TCP port 25. UTF-8 is a character encoding format, not encryption; it provides no confidentiality. Port 25 (SMTP) traffic is heavily monitored, and non-standard data would be highly anomalous and easily flagged.
B. Apply Base64 to the data and send over a tunnel to TCP port 80. Base64 is a trivially reversible encoding scheme, not encryption. Sending large amounts of non-HTTP data over port 80, even encoded, is a well-known pattern that is easily detected by network security monitoring tools.
C. Apply 3DES to the data and send over a tunnel UDP port 53. DNS tunneling over UDP port 53 is a classic exfiltration technique that SOCs specifically monitor for. The unusual volume, size, and frequency of DNS queries required for bulk transfer are highly suspicious and easily detected.
1. MIT OpenCourseWare, 6.858 Computer Systems Security, Fall 2014, Lecture 15: Network Security. The lecture notes discuss network firewalls and their typical configurations. They highlight that outbound connections on ports 80 (HTTP) and 443 (HTTPS) are often permitted with minimal filtering, making them attractive channels for attackers to establish command and control or exfiltrate data. Using port 443 leverages the existing expectation of encrypted traffic for stealth. (Reference: Section on "Firewalls").
2. P. V. Kulkarni, A. S. Kulkarni, and A. A. Kadam, "A Survey of Network-Based Automated Exfiltration Techniques," 2018 2nd International Conference on Inventive Systems and Control (ICISC), 2018, pp. 103-108. This academic survey discusses various data exfiltration methods. It notes that protocols like HTTP/S are commonly used for exfiltration because their traffic is prevalent and often allowed through firewalls. It also contrasts this with DNS tunneling (Option C), which is described as a known covert channel that generates anomalous and detectable network patterns. (DOI: 10.1109/ICISC.2018.8399099, Section III.A & III.B).
3. Stallings, W., & Brown, L. (2018). Computer Security: Principles and Practice (4th ed.). Pearson. Chapter 2, "Cryptographic Tools," distinguishes between encoding schemes like Base64, which are used for data representation, and encryption algorithms like AES, which are designed to provide confidentiality. This foundational concept confirms that options A and B, which use encoding, would fail to properly hide the data from inspection. (Reference: Chapter 2, "Symmetric Encryption and Message Confidentiality").
Keep practicing
Take the free PT0-003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PT0-003 practice questions
- Question 1[Attacks and Exploits] A penetration tester is trying to get unauthorized access to a web…
- Question 2[Attacks and Exploits] During an internal penetration test, a tester compromises a Window…
- Question 3[Attacks and Exploits] During an assessment, a penetration tester gains a low-privilege s…
- Question 4A penetration tester cannot complete a full vulnerability scan because the client's WAF i…
- Question 5[Tools and Code Analysis] Which of the following techniques is the best way to avoid dete…
- Question 6[Attacks and Exploits] A penetration tester finishes a security scan and uncovers numerou…
